From freebsd at edvax.de Fri Aug 1 00:41:25 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 1 00:41:35 2008 Subject: keyboard!! In-Reply-To: <48922FD7.8000805@chessgriffin.com> References: <20080731203912.GA5364@thought.org> <20080731205731.GA56756@slackbox.xs4all.nl> <48922FD7.8000805@chessgriffin.com> Message-ID: <20080801024122.d2be8c57.freebsd@edvax.de> On Thu, 31 Jul 2008 17:34:15 -0400, Chess Griffin wrote: > I use an original model M made in the mid 1980's and love it. Same here, too. I'm actually typing this on it (black logo, detachable HIL cable). > You can > still order used and new original Model M's from > http://www.clickykeyboards.com/ including the 84-key space saver model. If I may ask this at this time the topic came up: Is there a manufacturer that sells the "mainframe terminal keyboards" with the two lines (24) function keys and cross cursor control in a PC-compatible variant? I'm talking about something like this: http://www.affirmtech.net/Affirmative_Thin_Client%20.jpg I know Cherry (Auerbach, Oberpfalz, Germany) did sell them many years ago, even other ones with DEC LK250 or POS layout with re-legendable keys (wow!), but they don't seem to be available anymore. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 From catalin at starcomms.com Fri Aug 1 00:50:54 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Fri Aug 1 00:51:03 2008 Subject: Controlling read access In-Reply-To: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> Message-ID: <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> Hello John, If you are providing only FTP services for those users, perhaps you want to go for an FTP server that handles virtual users. I'm using pure-ftpd and it works great. Google will help you find some nice howto's for same. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of John Almberg Sent: Thursday, July 31, 2008 10:17 PM To: freebsd-questions@freebsd.org Subject: Controlling read access I operate a server on which I am typically the only ssh user, but I do provide a small number of users ftp access. Each user has their own home directory. Currently all home directories have read permission set for 'other'. This means if I log in as one user, I can read and even download the contents of other users home directories. I want to block this read access. What is the best way to do this? Turn off the read bit for 'other'? Or is there some better way? Thanks: John _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any form of dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited if you are not the intended recipient of this e-mail. Please note that e-mails are susceptible to change. STARCOMMS PLC shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. STARCOMMS PLC does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. STARCOMMS PLC reserves the right to monitor all e-mail communications, whether related to the business of STARCOMMS or not, through its internal or external networks. From freebsd at meijome.net Fri Aug 1 01:16:32 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Aug 1 01:16:40 2008 Subject: own OS-Name In-Reply-To: <87k5f242by.fsf@kobe.laptop> References: <4891256E.6090903@yahoo.de> <20080731075515.c0f01099.wmoran@potentialtech.com> <4891B48E.9090907@yahoo.de> <87k5f242by.fsf@kobe.laptop> Message-ID: <20080801111628.70e8367f@ayiin> On Thu, 31 Jul 2008 16:20:49 +0300 Giorgos Keramidas wrote: > It's certainly possible. The OpenBSD team did this when they split off > NetBSD. The Dragonfly BSD folks have done it already when they branched > from FreeBSD 4.X. So you can definitely do it. But you should probably > understand a lot about the way the system works before doing that, and > changing just the "uname" output is not enough. there is also the other side of the coin, that of user-land apps that parse the output of uname to handle things in different ways. It may not be the best way to do things , but it's done quite a bit. Of course, this is be irrelevant if you plan to have a completely locked up OS .... And there is also all the other software that is bundled in base, openssh, comes to mind: $ nc -v localhost 22 Connection to localhost 22 port [tcp/ssh] succeeded! SSH-2.0-OpenSSH_4.5p1 FreeBSD-20061110 .... and man pages, and doc, B _________________________ {Beto|Norberto|Numard} Meijome Two things have come out of Berkeley, Unix and LSD. It is uncertain which caused the other. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd at meijome.net Fri Aug 1 01:18:20 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Aug 1 01:18:27 2008 Subject: "no toe capability on..." In-Reply-To: <20080731120921.GA9754@aurora.oekb.co.at> References: <20080731120921.GA9754@aurora.oekb.co.at> Message-ID: <20080801111816.6e277b1d@ayiin> On Thu, 31 Jul 2008 14:09:21 +0200 Ewald Jenisch wrote: > Hi, > > Today I updated kernel & system on one of my machines (FreeBSD > 7.0). After the update which ran absolutely smooth I'm seeing spurious > messages both on the console and in /var/log/messages like the > following: > > no toe capability on 0xc2e66400 +1 , different address: no toe capability on 0xc48e3800 bge0: mem 0xb0200000-0xb020ffff irq 16 at device 0.0 on pci2 > > Grep-ing through the sources I found the above message to come from > /usr/src/sys/netinet/tcp_offload.c. As far as I understand this has > something to do with TcpOffloadEngine. yup > > Please note that this is a box several years old (2GHz P4) with three > Intel FXP FastEthernet-cards. > > So here are my questions: > > o) Has anybody else seen the above messages? > > o) Can they safely be ignored? > > o) If not - what can I do to get rid of them? > they seem harmless enough. B _________________________ {Beto|Norberto|Numard} Meijome Unix is user friendly. However, it isn't idiot friendly. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From fbsd06 at mlists.homeunix.com Fri Aug 1 01:18:49 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Aug 1 01:18:55 2008 Subject: Bypassing Transparent Proxy In-Reply-To: References: <207569.19851217533049107.JavaMail.javamailuser@localhost> Message-ID: <20080801020236.4ea7058c@gumby.homeunix.com.> On Thu, 31 Jul 2008 15:57:26 -0600 (MDT) Warren Block wrote: > On Thu, 31 Jul 2008, Jay Hall wrote: > >> > Is there an easy way to bypass the proxy server when accessing this > > one address? > > Instead of in the firewall, you can do that with squid: > > http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592 > > In case that URL doesn't work, it's the "Can I make Squid go direct > for some sites?" question about the always_direct access list. That makes squid itself go direct, bypassing other caches in the hierarchy, but the access is still going through squid. From dpchrist at holgerdanske.com Fri Aug 1 01:37:45 2008 From: dpchrist at holgerdanske.com (David Christensen) Date: Fri Aug 1 01:37:51 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations Message-ID: freebsd-questions: I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a Netgear GS108 Gigabit switch. The machine currently hosts CVS, and I plan to add FTP and mirroring eventually. I would like to add a PCI Gigabit Ethernet network interface card (NIC) to the computer and was wondering what cards other people are using and how they liked them. Any comments and/or recommendations would be appreciated. TIA, David From gnemmi at gmail.com Fri Aug 1 02:04:17 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Fri Aug 1 02:04:24 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: References: Message-ID: <200807312304.11784.gnemmi@gmail.com> On Thursday 31 July 2008 22:19:21 David Christensen wrote: > freebsd-questions: > > I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a > Netgear GS108 Gigabit switch. The machine currently hosts CVS, and I plan > to add FTP and mirroring eventually. > > > I would like to add a PCI Gigabit Ethernet network interface card (NIC) to > the computer and was wondering what cards other people are using and how > they liked them. Any comments and/or recommendations would be appreciated. re0 in here re0@pci0:3:0:0: class=0x020000 card=0x81361019 chip=0x813610ec rev=0x01 hdr=0x00 "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter driver" Works like a charm. No complains :) -- Blessings Gonzalo Nemmi From modulok at gmail.com Fri Aug 1 02:04:30 2008 From: modulok at gmail.com (Modulok) Date: Fri Aug 1 02:04:36 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: References: Message-ID: <64c038660807311904l45537647v5330c9a499882393@mail.gmail.com> > I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a > Netgear GS108 Gigabit switch. The machine currently hosts CVS, and I plan > to add FTP and mirroring eventually. > > I would like to add a PCI Gigabit Ethernet network interface card (NIC) to the > computer and was wondering what cards other people are using and how they > liked them. Any comments and/or recommendations would be appreciated. Intel PWLA8391GTBLK, available on newegg for under $25 (USD). I've been running two of these on a FreeBSD 6 machine for about a year now, with zero problems. The use the em(4) driver, written by Intel. On a side note, I did have problems with the Netgear GS108 line of switches, where they would completely lock up at random intervals when daisy chained together. (This was not caused by the Intel network cards.) When not connected to one-another they seem to be stable, as I still two of these with no problems. Best of luck. -Modulok- From kitche at kitchetech.com Fri Aug 1 02:05:11 2008 From: kitche at kitchetech.com (Matthew Donovan) Date: Fri Aug 1 02:05:18 2008 Subject: Compile firefox with debug symbols In-Reply-To: References: Message-ID: <2456.129.44.246.121.1217555131.squirrel@kitchetech.com> > Hi, > > I have some problems with firefox (it just don't > start - as well as openoffice.) I think it is a > broken lib - but though I recompiled all the libs > it still does not work. > Now I'll do it the right way and use gdb but until > now I had no success compiling a binary of firefox > (or regxpcom which also hangs) with debug symbols > > I tried " make DEBUG=on LOGGING=on" but this produced > also only the stripped binaries. > > So - how can I build firefox (form the ports) with > debug symbols? > > Thank you, > Martin L. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > This is how to do it cd /usr/ports/www/firefox2 or 3 and make config and select the Debug option From wblock at wonkity.com Fri Aug 1 02:45:58 2008 From: wblock at wonkity.com (Warren Block) Date: Fri Aug 1 02:46:07 2008 Subject: Bypassing Transparent Proxy In-Reply-To: <20080801020236.4ea7058c@gumby.homeunix.com.> References: <207569.19851217533049107.JavaMail.javamailuser@localhost> <20080801020236.4ea7058c@gumby.homeunix.com.> Message-ID: On Fri, 1 Aug 2008, RW wrote: > On Thu, 31 Jul 2008 15:57:26 -0600 (MDT) > Warren Block wrote: > >> On Thu, 31 Jul 2008, Jay Hall wrote: >> >>>> Is there an easy way to bypass the proxy server when accessing this >>> one address? >> >> Instead of in the firewall, you can do that with squid: >> >> http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592 >> >> In case that URL doesn't work, it's the "Can I make Squid go direct >> for some sites?" question about the always_direct access list. > > That makes squid itself go direct, bypassing other caches in the > hierarchy, but the access is still going through squid. Oh. Sorry. All right, I know squid can do it, but can't remember how. -Warren Block * Rapid City, South Dakota USA From agus.262 at gmail.com Fri Aug 1 02:49:23 2008 From: agus.262 at gmail.com (Agus) Date: Fri Aug 1 02:49:29 2008 Subject: Imposible to update/upgrade ports.... In-Reply-To: <20080730123201.3219ed25@scorpio> References: <20080730123201.3219ed25@scorpio> Message-ID: 2008/7/30 Gerard > On Wed, 30 Jul 2008 12:53:21 -0300 > Agus wrote: > > >Hi guys, > > > >I'v been delaying the installed ports upgrade cause i was testing my > >server and now that it it in production i wanted to upgrade them and > >find it impossible... > > > >I am running > > uname -a > >FreeBSD everest.himalaya.network 6.1-RELEASE FreeBSD 6.1-RELEASE #0: > >Mon May 21 19:48:05 ART 2007 > > > >I did a cvsup to update all ports which did it successfully...then > >installed portmanager and portsaudit.... > > > >did a pkg_version -v and find the outdated ports, like sec, mysql and > >more.... > > > >Now while trying to update with > > > >portmanager sysutils/rsync -l -ui -f > >#Then also tried without the f > > > >get this errors: > >--------------------------------- > > > >portmanager 0.4.1_9 > > > > perl-5.8.8_1 /lang/perl5.8 > > make Strike 2 > > > >it gets like its looping while updating perl.... > >For what i saw, portmanager seems to try to update all dependencies > >too..and is failing in that.... > > > >Something similar happened while trying to update apache22 > > > >Its my first try updating/upgrading ports...and it was hard to find a > >doc explaining this....i mean..there are lots of docs but each with > >different methods... > > > >Well, hope you can give me a jhand.. > > I use portmanager myself occasionally. They this: > > 1) Update your ports tree > 2) Run: portmanager -u -l -y -p > > If it fails again, look in the log file (/var/log/portmanager.log) and > see what it says. You can post the error message back here. > > > -- > Gerard > gerard@seibercom.net > > Convention is the ruler of all. > > Pindar > Hi mate, I update the ports tree with cvsup ports-file... all ok but when i did portmanager -u -l -y -p i starts, but then it has to remove some ports and one of that ports is portmanager itself so it cores.....:( so weird...Its really difficult to update the ports....i dont even wanna know to pass to rel 7.... Dunno how to do it really... Will have to remove all ports installed and then update ports and reinstall them? what would happen to my confs...? Thanks, Agustin From roberthuff at rcn.com Fri Aug 1 02:59:19 2008 From: roberthuff at rcn.com (Robert Huff) Date: Fri Aug 1 02:59:25 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: References: Message-ID: <18578.31748.337951.8423@jerusalem.litteratus.org> David Christensen writes: > I would like to add a PCI Gigabit Ethernet network interface card > (NIC) to the computer and was wondering what cards other people > are using and how they liked them. Any comments and/or > recommendations would be appreciated. Realtek-based cards were mentioned; they seem to do well under light to moderate loads, but not so well when the going gets tough. Intel-based cards, on the other hand, have a superior track record; probably doesn't hurt the driver is maintained by Intel. I replaced an re() card with a Pro/1000 dual port, and watched errors drop from ~1% to _0_ in 11 days of moderate to heavy usage. Robert Huff From darko.listsniffer at gmail.com Fri Aug 1 03:05:59 2008 From: darko.listsniffer at gmail.com (darko gavrilovic) Date: Fri Aug 1 03:06:07 2008 Subject: own OS-Name In-Reply-To: <4891B48E.9090907@yahoo.de> References: <4891256E.6090903@yahoo.de> <20080731075515.c0f01099.wmoran@potentialtech.com> <4891B48E.9090907@yahoo.de> Message-ID: <82f3feb90807312005l42c617ex50826fe6aad0de6d@mail.gmail.com> On Thu, Jul 31, 2008 at 8:48 AM, Markus Mueller wrote: > > the command "uname" must get these information from a file. > in which file are these informations ? > i can editing this file simply with my own informations and my "OS" based on > FREEBSD. > this can be the solution of my problem. Compiling a custom kernel I do not believe qualifies as your own BSD OS. I think you have to branch it like OpenBSD & DragonFlyBSD e.t.c. It's not that easy to do. -- regards, dg "..but the more you use clever tricks, the less support you'll get ..." -- M.W.Lucas From gnemmi at gmail.com Fri Aug 1 03:10:33 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Fri Aug 1 03:10:40 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <18578.31748.337951.8423@jerusalem.litteratus.org> References: <18578.31748.337951.8423@jerusalem.litteratus.org> Message-ID: <200808010010.28280.gnemmi@gmail.com> On Thursday 31 July 2008 23:59:16 Robert Huff wrote: > David Christensen writes: > > I would like to add a PCI Gigabit Ethernet network interface card > > (NIC) to the computer and was wondering what cards other people > > are using and how they liked them. Any comments and/or > > recommendations would be appreciated. > > Realtek-based cards were mentioned; they seem to do well under > light to moderate loads, but not so well when the going gets tough. > Intel-based cards, on the other hand, have a superior track > record; probably doesn't hurt the driver is maintained by Intel. I > replaced an re() card with a Pro/1000 dual port, and watched errors > drop from ~1% to _0_ in 11 days of moderate to heavy usage. Thanks for that info Robert ! Will take it into consideration next time I buy a NIC :) You just probably turned me into Pro/1000 ;) -- Blessings Gonzalo Nemmi From biancalana at gmail.com Fri Aug 1 03:54:03 2008 From: biancalana at gmail.com (Alexandre Biancalana) Date: Fri Aug 1 03:54:10 2008 Subject: carp+openospfd In-Reply-To: <200807301806.04141.nvass@teledomenet.gr> References: <8e10486b0807292151wa67d464kfd906da08a2f8053@mail.gmail.com> <200807301239.59573.nvass@teledomenet.gr> <8e10486b0807300656j54a6fb31p65add890fd00bc8c@mail.gmail.com> <200807301806.04141.nvass@teledomenet.gr> Message-ID: <8e10486b0807312054i7b3ca5f1x19f4899ef5a638c3@mail.gmail.com> On 7/30/08, Nikos Vassiliadis wrote: > On Wednesday 30 July 2008 16:56:23 Alexandre Biancalana wrote: > > On 7/30/08, Nikos Vassiliadis wrote: > > > On Wednesday 30 July 2008 07:51:52 Alexandre Biancalana wrote: > > > > Hi list, (I already ask this on -net, but I get no answers) > > > > > > > > I have two 100Mbit link (L2L, lan to lan) between the company and > > > > our datacenter, on each side I have two redudant (pf+carp) > > > > firewalls. > > > > > > > > I configured one vlan for each 100Mbit link and used carp to do > > > > the failover between machines on each side, the vlan interfaces are > > > > configured without ip address (with Max's > > > > carpdev patch), only carp interfaces have ips. > > > > > > > > I want to use OpenOSPFD to distribute our internal routes and do > > > > automatic failover+loadbalance of this two 100Mbit links. > > > > > > > > This work ? Someone have a similar setup ? Any hints ? > > > > > > I think using OSPF and CARP on the same interface could have > > > unexpected results. > > > > I see some examples > > > You get to have two ways to forward packet to a destination. > One via CARP and one via OSPF. I think it's a possible source > of errors. > > > > > > > I would use CARP on the "lan to lan" link to provide redundancy > > > and load balancing. Do you have to use OSPF? > > > That is, is there an OSPF domain in which you have to be part of? > > > > I use CARP for firewall redundancy on each side. I want to use OSPF to > > easy distribute routes on my networks, the failover and load balance > > of the links are a desirable plus. > > > So, there is an OSPF domain besides the four FreeBSD firewalls, right? Is what I want to configure.... > > Could you provide your network's topology? > Is it something like: > LAN1----CLUSTER1====CLUSTER2----LAN2 > where: > CLUSTER1 = CARP(FW1, FW2) > CLUSTER2 = CARP(FW3, FW4) Local Network Datacenter Network FW1 (master) FW3(master) Link1(100Mbit) (10.0.0.49/30) carp206 <------------------------------> carp20 (10.0.0.50/30) (10.0.0.45/30) carp207 <------------------------------> carp30 (10.0.0.46/30) Link2 (100Mbit) FW2 (slave) FW4(slave) Yes, in my setup I want to do failover of the firewalls (if FW1 crash FW2 assume the two links, firewall rules,etc) and loadbalance+failover of two 100Mbit links (I want to use the two links together (100+100) and if one of then fail all the traffic be routed to another) The firewalls failover this is working great with Carp. My difficulties is to configure OpenOSPFD to distribute routes in this setup, the links failover+loadbalance comes naturally after ospf running. > For example, in the above diagram you cannot load > balance the traffic, it will always go through the > same routers: > FW1 and FW3 or > FW1 and FW4 or > FW2 and FW3 or > FW2 and FW4. > > It will of course failover in case of a FW failure. Yes. Only one firewall is master on each side. > > > > I would use CARP on the "lan to lan" link to provide redundancy > > and load balancing. > > > So, my suggestion above is false, at least with the current > CARP on FreeBSD. > > Please supply more info about your setup, I hope that you understand, if not I can draw something more detailed. Thank you for your time. Alexandre From frase at frase.id.au Fri Aug 1 04:15:05 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Fri Aug 1 04:15:32 2008 Subject: Compile firefox with debug symbols In-Reply-To: References: Message-ID: <20080801035716.GA28414@bacardi.frase.id.au> On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote: > Hi, > > I have some problems with firefox (it just don't > start - as well as openoffice.) I think it is a > broken lib - but though I recompiled all the libs > it still does not work. > Now I'll do it the right way and use gdb but until > now I had no success compiling a binary of firefox > (or regxpcom which also hangs) with debug symbols > > I tried " make DEBUG=on LOGGING=on" but this produced > also only the stripped binaries. > > So - how can I build firefox (form the ports) with > debug symbols? > > Thank you, > Martin L. WITH_DEBUG is the variable you're interested in. It must be defined, so something like: `make WITH_DEBUG=yes install` should do the trick. Cheers, frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/0584241a/attachment.pgp From af300wsm at gmail.com Fri Aug 1 04:26:02 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Fri Aug 1 04:26:09 2008 Subject: Having some problems with a FreeBSD mail server (SMTP) In-Reply-To: <000801c8f2f0$3a49ff60$72010c0a@wbt.wbtsystems.com> References: <200807301835.17740.af300wsm@gmail.com> <000801c8f2f0$3a49ff60$72010c0a@wbt.wbtsystems.com> Message-ID: <200807312225.57211.af300wsm@gmail.com> On Thursday 31 July 2008 03:31:36 Barry Byrne wrote: > > Andrew: > > I've seen a similar problem from time to time with Outlook 2003 clients. > For seemingly no reason whatsoever, they give a timeout sending mail. > Googling the error code throws up many with the same error and no solution > that I've found. Telneting to port 25 or even running the Outlook test mail > account feature still work, while Outlook comlains it can't send. > > The workaround is to quit Outlook and start again. By quitting Outlook, the > user must choose 'exit' from the 'file' menu. Simply closing the close box > still leaves Outlook in memory and the problem remains. The problem seems > to happen perhaps once or twice a month for some users. > > Regards, > > Barry To everyone who responded, Thanks for the great suggestions. A couple of you replied that they've seen issues with this and resolved them by closing down Outlook, by the "File --> Exit" method rather than the "X" in the upper right. I'm really beginning to suspect this because the pastor I was working with told me that our senior pastor explained to him that he could send from a particular coffee shop in town when he couldn't from church. Though I can't personally see a down side to having an office in a Starbucks (I don't know the name of the actual shop they were in), I think that the Outlook client get's some bad stuff in the cache that is flushed out when they shutdown their computers to go make the journey. The pastor I was dealing with said he went there and all of this mail sent without a hitch. The other possibility is that the ISP is blocking some particular port. We did just change ISP's within the last 2 weeks and according to this pastor, these sending problems originated at that time. We'll see. Andy From rsmith at xs4all.nl Fri Aug 1 06:05:57 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 1 06:06:04 2008 Subject: keyboard!! In-Reply-To: <20080801024122.d2be8c57.freebsd@edvax.de> References: <20080731203912.GA5364@thought.org> <20080731205731.GA56756@slackbox.xs4all.nl> <48922FD7.8000805@chessgriffin.com> <20080801024122.d2be8c57.freebsd@edvax.de> Message-ID: <20080801060546.GA71969@slackbox.xs4all.nl> On Fri, Aug 01, 2008 at 02:41:22AM +0200, Polytropon wrote: > On Thu, 31 Jul 2008 17:34:15 -0400, Chess Griffin wrote: > > I use an original model M made in the mid 1980's and love it. > > Same here, too. I'm actually typing this on it (black logo, > detachable HIL cable). > > > > You can > > still order used and new original Model M's from > > http://www.clickykeyboards.com/ including the 84-key space saver model. > > If I may ask this at this time the topic came up: Is there a > manufacturer that sells the "mainframe terminal keyboards" with > the two lines (24) function keys and cross cursor control in > a PC-compatible variant? Is this what you're looking for? http://pckeyboards.stores.yahoo.net/122keyterkey.html Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/8c9a45b5/attachment.pgp From noc at hdk5.net Fri Aug 1 06:07:43 2008 From: noc at hdk5.net (Al Plant) Date: Fri Aug 1 06:07:52 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <200807312304.11784.gnemmi@gmail.com> References: <200807312304.11784.gnemmi@gmail.com> Message-ID: <4892A49C.7080902@hdk5.net> Gonzalo Nemmi wrote: > On Thursday 31 July 2008 22:19:21 David Christensen wrote: >> freebsd-questions: >> >> I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a >> Netgear GS108 Gigabit switch. The machine currently hosts CVS, and I plan >> to add FTP and mirroring eventually. >> >> >> I would like to add a PCI Gigabit Ethernet network interface card (NIC) to >> the computer and was wondering what cards other people are using and how >> they liked them. Any comments and/or recommendations would be appreciated. > > re0 in here > > re0@pci0:3:0:0: class=0x020000 card=0x81361019 chip=0x813610ec rev=0x01 > hdr=0x00 > > "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter driver" > > Works like a charm. > No complains :) > Aloha, I have 12 of the Trendnet Branded Realteck 8169 nic cards in use here. No problems and good speed. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From nejc at skoberne.net Fri Aug 1 06:53:58 2008 From: nejc at skoberne.net (=?windows-1252?Q?Nejc_=8Akoberne?=) Date: Fri Aug 1 06:54:05 2008 Subject: Building a FreeBSD based mail server In-Reply-To: <4890F1D9.7090900@studsvik.com> References: <4890F1D9.7090900@studsvik.com> Message-ID: <4892B1C0.2060401@skoberne.net> Hello, > mailserver. However, never having done this before myself, I was > wondering if anyone here > had any useful comments about this guide, particularly if you think it's > missing any key points > that will leave me cursing at my monitor late one night. > I'm currently planning on using FreeBSD 7.0-RELEASE, although I'm > certainly open to > sugegstions if people think a different version would serve better. I am running a dozen of such installations and I have to say that the guide is great (also since the author has provided Maia Mailguard FreeBSD port). There were some things that I had to do in order to make it work for me (you can ask me privately if you stumble upon problems), but in general it is OK. Also, if you decide to use RoundCube as webmail, you can check my PostfixAdmin-RoundCube "bridge" (although still in development, but it should work) - http://nejc.skoberne.net/rcpfa . HTH, Nejc From maslak at ihlas.net.tr Fri Aug 1 06:54:18 2008 From: maslak at ihlas.net.tr (Yavuz Maslak) Date: Fri Aug 1 06:54:26 2008 Subject: How to update from 7.0-stable-200805 to 7.0-stable-200807 ? Message-ID: <001601c8f3a3$6f552910$dc96eed5@ihlasnetym> I use 7.0-STABLE-200805. I want to update it to 7.0-STABLE-200807. How do I update for the last updates clearly ? is there a way to update without reboot the machine or with only one reboot ? From wojtek at wojtek.tensor.gdynia.pl Fri Aug 1 07:28:26 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Aug 1 07:28:33 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <200807312304.11784.gnemmi@gmail.com> References: <200807312304.11784.gnemmi@gmail.com> Message-ID: <20080801092757.N5640@wojtek.tensor.gdynia.pl> > > re0 in here > > re0@pci0:3:0:0: class=0x020000 card=0x81361019 chip=0x813610ec rev=0x01 > hdr=0x00 > > "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter driver" > > Works like a charm. > No complains :) > lots of versions of this chip are buggy. From a at jenisch.at Fri Aug 1 07:29:23 2008 From: a at jenisch.at (Ewald Jenisch) Date: Fri Aug 1 07:29:30 2008 Subject: "no toe capability on..." In-Reply-To: References: <20080731120921.GA9754@aurora.oekb.co.at> Message-ID: <20080801072920.GB3159@aurora.oekb.co.at> On Thu, Jul 31, 2008 at 09:13:29AM -0600, Warren Block wrote: > > Looks like it. They're debug messages that shouldn't still be in there. > They were removed in version 1.2 but then reappeared in 1.4.2.1: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=1.1;r2=1.2 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=1.4;r2=1.4.2.1 > > Thanks for locating the source of the problem. I entered a PR (#126138) > but forgot to put in a pointer to your message--and now can't, since the > PR database claims #126138 doesn't exist. I'll try again later. > Hi Warren, Wow that was really fast - thanks much for filing a PR! ...good to know that this message is just for debug and relatively harmless... Kind regards, -ewald From sonic2000gr at gmail.com Fri Aug 1 07:47:36 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Fri Aug 1 07:47:49 2008 Subject: How to update from 7.0-stable-200805 to 7.0-stable-200807 ? In-Reply-To: <001601c8f3a3$6f552910$dc96eed5@ihlasnetym> References: <001601c8f3a3$6f552910$dc96eed5@ihlasnetym> Message-ID: <4892BF91.6030205@gmail.com> Yavuz Maslak wrote: > I use 7.0-STABLE-200805. > > I want to update it to 7.0-STABLE-200807. > > How do I update for the last updates clearly ? > > is there a way to update without reboot the machine or with only one reboot ? > > > Use csup to synchronize your source: - Copy the file /usr/share/examples/cvsup/stable-supfile to your home dir (run commands as root or with sudo) - Edit and change default host to a mirror near you ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#HANDBOOK-MIRRORS-CHAPTER-SGML-CENTRAL-CVSUP ) - csup -g -L2 stable-supfile - Follow these instructions to rebuild your system: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html You will need to reboot twice, once after you install the kernel and a second time when you install world, after the final mergemaster step. From gnemmi at gmail.com Fri Aug 1 07:52:15 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Fri Aug 1 07:52:21 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <20080801092757.N5640@wojtek.tensor.gdynia.pl> References: <200807312304.11784.gnemmi@gmail.com> <20080801092757.N5640@wojtek.tensor.gdynia.pl> Message-ID: <200808010452.08875.gnemmi@gmail.com> On Friday 01 August 2008 04:28:17 Wojciech Puchar wrote: > > re0 in here > > > > re0@pci0:3:0:0: class=0x020000 card=0x81361019 chip=0x813610ec rev=0x01 > > hdr=0x00 > > > > "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter > > driver" > > > > Works like a charm. > > No complains :) > > lots of versions of this chip are buggy. Mmmmm Good to know ... Couple that with Roberts advise and you guys just put me on the lookout for a new NIC. Will follow Robert's advice and look for an Intel one. Robert, could you please pinpoint an Intel card for me? One that can be buyed boxed .. stand alone NIC? (nowadays the only way to get NIC seems to be by buying one with a motherboard attached to it). Thanks a lot for the advices guys :) -- Blessings Gonzalo Nemmi From gnemmi at gmail.com Fri Aug 1 08:06:22 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Fri Aug 1 08:06:29 2008 Subject: KDE choppy sound (System Notificactions only) Message-ID: <200808010506.16001.gnemmi@gmail.com> Quite simple and straight forward. [gonzalo@inferna ~]% uname -a FreeBSD inferna.inferna.com.ar 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Jul 20 03:44:42 ART 2008 root@inferna.inferna.com.ar:/usr/obj/usr/src/sys/INFERNA i386 [gonzalo@inferna ~]% Sound system and driver are built into my kernel. Sound works like a charm in here (Amarok for ogg/mp3, Kaffeine for videos, Doom3, World of Padman, Quake3, etc, etc ), everything build from ports. The only "gotcha" are KDE's "System Notificactions" (start up, shutdown, etc ..). They are not exactly choppy .. they seem to eat miliseconds of sound ... sound doesn t cut .. it remains a stream .. is just that some miliseconds dissapear. Is there a workaround for that? I already tried: /etc/syscontl.conf kern.ipc.shmmax=100000000 kern.ipc.shmall=65536 but to no avail .. System Notificactions are still choppy ... maybe it's ony me ... Anyone getting the same on your systems? pciconf -vl pcm0@pci0:4:2:0: class=0x040100 card=0x80401102 chip=0x00021102 rev=0x08 hdr=0x00 vendor = 'Creative Technology LTD.' device = 't4780010004541 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780' class = multimedia subclass = audio (just in case .. the card is _not_ an OEM from DELL ... it was originally buyed Boxed, brand new, and the exact model was Sound Blaster Live! X-Gamer Edition, and it is 4.1). Any help will be greatly appreciated Thanks :) -- Blessings Gonzalo Nemmi From gnemmi at gmail.com Fri Aug 1 08:20:12 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Fri Aug 1 08:20:19 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <18578.31748.337951.8423@jerusalem.litteratus.org> References: <18578.31748.337951.8423@jerusalem.litteratus.org> Message-ID: <200808010520.05910.gnemmi@gmail.com> On Thursday 31 July 2008 23:59:16 Robert Huff wrote: > David Christensen writes: > > I would like to add a PCI Gigabit Ethernet network interface card > > (NIC) to the computer and was wondering what cards other people > > are using and how they liked them. Any comments and/or > > recommendations would be appreciated. > > Realtek-based cards were mentioned; they seem to do well under > light to moderate loads, but not so well when the going gets tough. > Intel-based cards, on the other hand, have a superior track > record; probably doesn't hurt the driver is maintained by Intel. I > replaced an re() card with a Pro/1000 dual port, and watched errors > drop from ~1% to _0_ in 11 days of moderate to heavy usage. Robert, sorry to bother, but is this one ok? http://www.intel.com/products/desktop/adapters/pro1000gt/pro1000gt-overview.htm I can get it in here for us$20 each. http://articulo.mercadolibre.com.ar/MLA-38975340-placa-de-red-intel-101001000-pro1000-gt-desktop-adapter-_JM If you give me a tumb up, I'll be buying a few tomorrow :) Thanks -- Blessings Gonzalo Nemmi From martin.laabs at mailbox.tu-dresden.de Fri Aug 1 08:45:49 2008 From: martin.laabs at mailbox.tu-dresden.de (Martin Laabs) Date: Fri Aug 1 08:45:58 2008 Subject: Compile firefox with debug symbols In-Reply-To: <20080731210011.GB56756@slackbox.xs4all.nl> References: <20080731210011.GB56756@slackbox.xs4all.nl> Message-ID: Hi, On Thu, 31 Jul 2008 23:00:11 +0200, Roland Smith wrote: > On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote: >> I have some problems with firefox (it just don't >> start > Try starting firefox from a terminal. It will print a message if it > cannot find a library. My previous message is misleading in this point. There are all libraries firefox needs. But I think there is a bug somwhere in some library since firefox (and regxpcom which is also belongs to firefox) just do not start. (With no error or debug message) GDB says, that it hangs in _umtx_op() which has something to do with the pthreads. Here is a part of the backtrace: #0 0x28362329 in _umtx_op () from /lib/libc.so.7 #1 0x29201381 in pthread_cleanup_push () from /usr/local/lib/firefox/components/libstoragecomps.so #2 0x291fd848 in pthread_mutex_getprioceiling () from /usr/local/lib/firefox/components/libstoragecomps.so #3 0x283f24b4 in pthread_mutex_lock () from /lib/libc.so.7 #4 0x2809c2f2 in PR_Lock () from /usr/local/lib/libplds4.so.1 #5 0x2809c472 in PR_EnterMonitor () from /usr/local/lib/libplds4.so.1 #6 0x280ac265 in PR_FindSymbol () from /usr/local/lib/libplds4.so.1 #7 0x2849ba92 in nsServiceManager::UnregisterService () from /usr/local/lib/firefox/libxpcom_core.so [...] However - since there are no debugging symbols in the binary itself I can't trace it back to a specific function, library or bug. Thank you, Martin L. From solskogen at carebears.mine.nu Fri Aug 1 09:27:17 2008 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Fri Aug 1 09:27:24 2008 Subject: Changing sshd to start earlier Message-ID: Oh hai! Is it possible to change the order when rc scripts are staring? I would like sshd (from base) to be started before anything else. -- chs From wojtek at wojtek.tensor.gdynia.pl Fri Aug 1 09:47:50 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Aug 1 09:47:59 2008 Subject: Changing sshd to start earlier In-Reply-To: References: Message-ID: <20080801114657.P1739@wojtek.tensor.gdynia.pl> > Is it possible to change the order when rc scripts are staring? > I would like sshd (from base) to be started before anything else. add # REQUIRE: sshd in scripts that has to start after sshd From nvass at teledomenet.gr Fri Aug 1 10:32:16 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Fri Aug 1 10:32:24 2008 Subject: carp+openospfd In-Reply-To: <8e10486b0807312054i7b3ca5f1x19f4899ef5a638c3@mail.gmail.com> References: <8e10486b0807292151wa67d464kfd906da08a2f8053@mail.gmail.com> <200807301806.04141.nvass@teledomenet.gr> <8e10486b0807312054i7b3ca5f1x19f4899ef5a638c3@mail.gmail.com> Message-ID: <200808011333.21884.nvass@teledomenet.gr> On Friday 01 August 2008 06:54:02 Alexandre Biancalana wrote: > The firewalls failover this is working great with Carp. My > difficulties is to configure OpenOSPFD to distribute routes in this > setup, Two points: 1) Did you try to run OSPF on the CARP interface? Or the physical one? I don't think running OSPF on the CARP interface will work, cause the CARP interface receives nothing while at BACKUP mode. 2) Specify the router-id yourself to avoid OpenOSPFD's autoselection, remember that the CARP interface has the same IP address on both hosts and that's not very nice to OSPF:) > the links failover+loadbalance comes naturally after ospf > running. No, OSPF cannot provide load balancing, as FreeBSD does not support equal cost multipath routing, that is you can use one and only one next hop for a destination. So, in short, OSPF will not do load balancing, as it does with other vendors you may be familiar with. If you run CARP on the LAN links as well(which you probably do), you should test and see how CARP's ARP level load balancing fits your network... Hope this helps a bit, Nikos From reddvinylene at gmail.com Fri Aug 1 10:51:50 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 10:52:04 2008 Subject: Jails and multiple IPs Message-ID: Big ups to Bjoern A. Zeeb for his multiple IP patch as well as his friendly support service ;) I'd just like to confirm, however, if this is how it's done? # cd /usr/src # wget http://people.freebsd.org/~bz/bz_jail7-20080727-11-at146062.diff # patch -p6 < bz_jail7-20080727-11-at146062.diff # make buildworld # make buildkernel KERNCONF=GENERIC # make installworld # make installkernel KERNCONF=GENERIC # mergemaster -U Now to the jail part (this is exactly how I created the jail in the first place) # export D=/usr/jail/camel # mkdir -p $D # make world DESTDIR=$D # cd etc/ # make distribution DESTDIR=$D # mount -t devfs devfs $D/dev Also, under jail_X_ip in rc.conf, must I enter the IPs one by one or can I specify an entire range? Thank you all! Redd Vinylene http://www.home.no/reddvinylene From bcook at poughkeepsieschools.org Fri Aug 1 13:27:14 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Fri Aug 1 13:27:21 2008 Subject: secure access to AS/400 ? Message-ID: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> Hello All, Seems OT, but I have been asked to give someone remote access to an AS/ 400 we have here. As I am not knowledgeable about AS/400's I do not know if there is an openssh/sshd app that could be put on there. They give everyone access 'locally' via telnet and some IBM gui app at the moment; the software: eNetwork Personal Communications AS/400 Client Access Express for Windows Workstation Program Version 4.3 If they can not find some form of sshd to put on the AS/400, I could give people access to a FreeBSD via ssh and then have them use 'something' to connect to it. Is there some terminal emulator that I would have to give them? I don't know how the AS works or what people use on it or use it for.. so please excuse the seemingly ignorant questions.. Thanks in advance From modulok at gmail.com Fri Aug 1 13:31:28 2008 From: modulok at gmail.com (Modulok) Date: Fri Aug 1 13:31:35 2008 Subject: dumping mounted file systems with insufficient space... In-Reply-To: <48903C4C.2090902@infracaninophile.co.uk> References: <64c038660807300154ue4e5a0cyb792b46fd3ec6037@mail.gmail.com> <48903C4C.2090902@infracaninophile.co.uk> Message-ID: <64c038660808010631x44ec934cnc04dd8ab17d49519@mail.gmail.com> >> I can use dump(8) an active, mounted file systems via the -L flag. >> According to the manual, this first creates a snapshot of the file >> system, to the .snap directory of the file systems root. What if the >> file system to be dumped, does not have sufficient free-space to store >> a snapshot? Can I still safely dump(8) a mounted file system? > > A snapshot doesn't take any significant /extra/ space itself. Rather it > consists of marking the state of the system at that time and provides a > view (via the .snap directory) of that state of the filesystem. Of course, > subsequent modifications of the filesystem can cause more space than > otherwise expected to be used up -- as both the snapshot and the latest > versions of anything have to be kept around -- but how much impact this has > depends entirely on the IO traffic characteristics of your particular > filesystem and cannot be predicted in any useful fashion without a great > deal more information. > > If snapshots won't work for you, another trick (if you can swing it) is to > have the data on a RAID1 mirror. Then you can detach one of the mirrors, > back it up and then reattach the mirror. Doing this with gmirror is a > simple matter of writing about a 10 line shell script. Other mirroring > hard/soft-ware may be less cooperative. However you do it, this will > involve an extended period while mirrors resynchronise after the backup > where your file system won't have the desired level of resilience. > > If you can't use snapshots, can't split the mirror and you can't unmount > the filesystem, then the next best thing is to make the filesystem as > quiescent as possible. Basically, shut down any processes using the > filesystem. That's probably as unacceptable as any of the other > alternatives -- in which case, you can still go ahead and dump the > filesystem, but don't expect the generated dump to be 100% consistent. > It will be 'good enough' for some purposes, but files actively involved > in IO at the time the dump is made are likely to be corrupted. > > 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 Thank you for the clarification about snapshots, Matthew. I went with a dump to another disk and it worked out without any problems :) -Modulok- From perrin at apotheon.com Fri Aug 1 13:46:34 2008 From: perrin at apotheon.com (Chad Perrin) Date: Fri Aug 1 13:46:40 2008 Subject: rc.suspend/rc.resume was: resume (hate to even ask) In-Reply-To: <539c60b90807311132x326d8323h873428425368da51@mail.gmail.com> References: <539c60b90807311132x326d8323h873428425368da51@mail.gmail.com> Message-ID: <20080801134025.GB11304@kokopelli.hydra> On Thu, Jul 31, 2008 at 11:32:12AM -0700, Steve Franks wrote: > I just realized no one probably replied to my email due to the gross > ambiguity of the english language. No, I am not looking for a job. > See below ;) I have to admit I thought you were talking about your curriculum vitae and so on when I first saw the original subject, and not about ACPI problems. Thanks for clarifying. > > On Wed, Jul 30, 2008 at 3:17 PM, Steve Franks wrote: > > Ok, > > > > I have too many systems with varying degrees of working freebsd on > > them, and I can't seem to leave well enough alone. I hear lots of > > people having sucess with suspend, and I can't get it to work on a > > single system. > > > > My current strongest desire is to get it running on my hp ze4500 > > laptop. I've played with the stuff in the handbook, but that just > > took me from having a blank screen and no responses from Ctl-Alt-F(x) > > to now the fan comes on for a moment on resume, then the system powers > > off....doesn't seem to matter if X is up or not. > > > > I've kldunloaded usb, radeon, sound, drm, what else should I try? > > Also, rc.resume has a typo, right? I'm susposed to change the > > #kldunload usb section to add kldload usb (and friends) right? I hope someone offers some more insight -- I've been having some issues with suspend/resume as well. Unfortunately, I don't really have any help to offer. I guess I'm just commiserating. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] They always say that when life gives you lemons you should make lemonade. I always wonder -- isn't the lemonade going to suck if life doesn't give you any sugar? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/f48ed2f2/attachment.pgp From david.gurvich at verizon.net Fri Aug 1 13:53:18 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Aug 1 13:53:25 2008 Subject: Timeout on wireless ipw0 using wpa and dhcp Message-ID: <20080801095306.083027b4@verizon.net> Hello, I have been having an issue with maintaining a connection that seems to hang at random intervals. The only messages I see are about the interface 'ipw0: link state changed to DOWN' then UP a few times until the connection is reestablished or I have to '/etc/rc.d/netif restart ipw0'. If left on it's own reestablishing the connection takes under 60 seconds, using netif is about 5 seconds including typing the command. I suspect an issue with either dhcp, wpa_supplicant, or the ipw wireless driver. I was not able to get the ipw driver to work at all in FreeBSD-6.3 and suspect the driver. Is there anyway to pin down the problem? From david.gurvich at verizon.net Fri Aug 1 14:08:53 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Aug 1 14:09:02 2008 Subject: rc.suspend/rc.resume was: resume (hate to even ask) In-Reply-To: <20080801134025.GB11304@kokopelli.hydra> References: <539c60b90807311132x326d8323h873428425368da51@mail.gmail.com> <20080801134025.GB11304@kokopelli.hydra> Message-ID: <20080801100827.118377a8@verizon.net> Can you verify that acpi is loaded and working, 'sysctl -a |grep acpi' ? Suspend/Resume will not work properly with apm and requires acpi. You might also try disabling the loading of any extra modules, particularly sound, on boot in /boot/loader.conf and see if any of that helps. I needed to load acpi_ibm, add a tweak for the mouse in /boot/loader.conf and stop a wireless interface in rc.suspend before resume started working properly on my thinkpad T23. Only loading acpi_ibm seemed intuitive to me, I still don't know what 'hint.psm.0.flags="0x3000"' does, and I suspect issues with the ipw driver in FreeBSD but can't find any information on that. Hope something there helps, David From david.gurvich at verizon.net Fri Aug 1 14:16:01 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Aug 1 14:16:08 2008 Subject: Find what options a precompiled package uses Message-ID: <20080801101549.54603d85@verizon.net> How does one find the options that a particular package was built with, without installing the package? I don't see any such options in pkg_info and wondered if there were some other tool. From redtick at sbcglobal.net Fri Aug 1 14:16:26 2008 From: redtick at sbcglobal.net (Mark Busby) Date: Fri Aug 1 14:16:34 2008 Subject: secure access to AS/400 ? In-Reply-To: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> Message-ID: <914532.40874.qm@web81208.mail.mud.yahoo.com> "B. Cook" wrote: Hello All, Seems OT, but I have been asked to give someone remote access to an AS/ 400 we have here. As I am not knowledgeable about AS/400's I do not know if there is an openssh/sshd app that could be put on there. They give everyone access 'locally' via telnet and some IBM gui app at the moment; the software: eNetwork Personal Communications AS/400 Client Access Express for Windows Workstation Program Version 4.3 If they can not find some form of sshd to put on the AS/400, I could give people access to a FreeBSD via ssh and then have them use 'something' to connect to it. Is there some terminal emulator that I would have to give them? I don't know how the AS works or what people use on it or use it for.. so please excuse the seemingly ignorant questions.. Thanks in advance _______________________________________________ Look at http://tn5250.sourceforge.net/, as far as security your going to be disappointed. If your on the same subnet as the as400, a simple telnet session will allow you in the machine with a user name and pass. IBM dropped the ball with this systems security, as you prob know. For years they have toyed with the idea of killing the OS, but keep it alive at the last second. I work with it, but I don't like IBM's idea of security. From dkelly at hiwaay.net Fri Aug 1 14:25:18 2008 From: dkelly at hiwaay.net (David Kelly) Date: Fri Aug 1 14:25:24 2008 Subject: Find what options a precompiled package uses In-Reply-To: <20080801101549.54603d85@verizon.net> References: <20080801101549.54603d85@verizon.net> Message-ID: <20080801142515.GA19107@Grumpy.DynDNS.org> On Fri, Aug 01, 2008 at 10:15:49AM -0400, David Gurvich wrote: > How does one find the options that a particular package was built with, > without installing the package? I don't see any such options in > pkg_info and wondered if there were some other tool. You could go to the port in /usr/ports/ and "make patch" which will do everything right up to building the port. Then browse the sources to see what has been selected. Sometimes its easier to see the options selected by watching the port compile. A simple "make" will compile the port but not install it. A potential problem is that if a build dependency is missing it will try to build and install that first. A build dependency is something needed to build the port but not needed to run the port. Precompiled ports bypass the need for build dependencies. Or you could just study the Makefile and supporting files in /usr/ports/ to see what the defaults are for your particular precompiled port. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From kdk at daleco.biz Fri Aug 1 14:30:31 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Fri Aug 1 14:30:40 2008 Subject: secure access to AS/400 ? In-Reply-To: <914532.40874.qm@web81208.mail.mud.yahoo.com> References: <914532.40874.qm@web81208.mail.mud.yahoo.com> Message-ID: <48931DF8.8010006@daleco.biz> Mark Busby wrote: > > "B. Cook" wrote: Hello All, > > Seems OT, but I have been asked to give someone remote access to an AS/ > 400 we have here. It is OT. > As I am not knowledgeable about AS/400's I do not know if there is an > openssh/sshd app that could be put on there. They give everyone > access 'locally' via telnet and some IBM gui app at the moment; the > software: > > eNetwork Personal Communications AS/400 > Client Access Express for Windows > Workstation Program > Version 4.3 > > If they can not find some form of sshd to put on the AS/400, I could > give people access to a FreeBSD via ssh and then have them use > 'something' to connect to it. > > Is there some terminal emulator that I would have to give them? > > I don't know how the AS works or what people use on it or use it for.. > so please excuse the seemingly ignorant questions.. > > Thanks in advance > _______________________________________________ > > > Look at http://tn5250.sourceforge.net/, as far as security your going to be disappointed. > > If your on the same subnet as the as400, a simple telnet session will allow you in the machine with a user name and pass. IBM dropped the ball with this systems security, as you prob know. For years they have toyed with the idea of killing the OS, but keep it alive at the last second. I work with it, but I don't like IBM's idea of security. According to this: http://www-306.ibm.com/software/network/pcomm/features/ IBM's "Personal Communications" (which you list) supports secure connections via SSL/TLS. HTH, Kevin Kinsey -- The price of success in philosophy is triviality. -- C. Glymour From 4711 at chello.at Fri Aug 1 14:32:48 2008 From: 4711 at chello.at (Christian Hiris) Date: Fri Aug 1 14:32:55 2008 Subject: secure access to AS/400 ? (OT) In-Reply-To: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> References: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> Message-ID: <200808011606.05344.4711@chello.at> On Friday 01 August 2008, B. Cook wrote: > Hello All, > > Seems OT, but I have been asked to give someone remote access to an AS/ > 400 we have here. > > As I am not knowledgeable about AS/400's I do not know if there is an > openssh/sshd app that could be put on there. They give everyone > access 'locally' via telnet and some IBM gui app at the moment; the > software: > > eNetwork Personal Communications AS/400 > Client Access Express for Windows > Workstation Program > Version 4.3 > > If they can not find some form of sshd to put on the AS/400, I could > give people access to a FreeBSD via ssh and then have them use > 'something' to connect to it. > > Is there some terminal emulator that I would have to give them? > > I don't know how the AS works or what people use on it or use it for.. > so please excuse the seemingly ignorant questions.. > > Thanks in advance > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" It's possible to set up a sshd on an AS/400 (aka "iSeries" aka "system i"). AFAIK you need to run OS Version V5R3M or higher on AS/400 and install the "PASE tools" lic-program. For more information see the links below: http://www-03.ibm.com/servers/enable/site/porting/tools/openssh.html http://wiki.midrange.com/index.php/SSH Depending on the version of the Client Access Emulator, it's allso possible to setup TN5250 via SSL, but you need to configure SSL on the AS/400 to make this happen. There are at least two 5250 terminal emulatiors in the ports tree. (/usr/ports/net/tn5250 and tn5250j). Cheers ch -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x1A9BE943 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu From david.gurvich at verizon.net Fri Aug 1 14:34:45 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Aug 1 14:34:52 2008 Subject: Find what options a precompiled package uses In-Reply-To: <20080801142515.GA19107@Grumpy.DynDNS.org> References: <20080801101549.54603d85@verizon.net> <20080801142515.GA19107@Grumpy.DynDNS.org> Message-ID: <20080801103327.68e4db05@verizon.net> I don't want to know what options are set for building a port. I want to know what options were used in a previously built port that is either available as a tar file or installed on a system, preferably checking the tar file for the options. From vmutu at pcbi.upenn.edu Fri Aug 1 14:38:51 2008 From: vmutu at pcbi.upenn.edu (Valeriu Mutu) Date: Fri Aug 1 14:38:58 2008 Subject: Find what options a precompiled package uses In-Reply-To: <20080801103327.68e4db05@verizon.net> References: <20080801101549.54603d85@verizon.net> <20080801142515.GA19107@Grumpy.DynDNS.org> <20080801103327.68e4db05@verizon.net> Message-ID: <20080801143850.GB31923@snowball.pcbi.upenn.edu> On Fri, Aug 01, 2008 at 10:33:27AM -0400, David Gurvich wrote: > I don't want to know what options are set for building a port. > I want to know what options were used in a previously built port that > is either available as a tar file or installed on a system, preferably > checking the tar file for the options. You might find some hints by downloading/unpacking the package and using 'ldd' on the binary to see what shared libraries it is linked to. Valeriu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Valeriu Mutu From jmc-freebsd at milibyte.co.uk Fri Aug 1 14:42:58 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Fri Aug 1 14:43:07 2008 Subject: Some ports ignored by portversion Message-ID: <200808011542.54713.jmc-freebsd@milibyte.co.uk> With pkg_version I get the following: curlew:/root# pkg_version -vL= diablo-jdk-1.5.0.07.01_10 < needs updating (port has 1.5.0.07.01_11) en-openoffice.org-GB-2.3.1 < needs updating (port has 2.4.1) firefox-2.0.0.14_1,1 < needs updating (port has 2.0.0.16,1) gnutls-2.4.1 < needs updating (port has 2.4.1_1) jdk-1.6.0.3p4 < needs updating (port has 1.6.0.3p4_3) k3b-1.0.4_2 < needs updating (port has 1.0.4_3) kdebase-3.5.8_2 < needs updating (port has 3.5.8_3) kdebase-kompmgr-3.5.8_1 < needs updating (port has 3.5.8_2) linux-sun-jdk-1.4.2.16 < needs updating (port has 1.4.2.18) ocaml-lablgl-1.02_1 < needs updating (port has 1.03) ocaml-lablgtk2-2.6.0_4 < needs updating (port has 2.10.1_1) p5-Error-0.17014 < needs updating (port has 0.17015) phpMyAdmin-2.11.5.2 < needs updating (port has 2.11.8.r1) speex-1.2.r1,1 < needs updating (port has 1.2.r1_1,1) unison-2.13.16_1 < needs updating (port has 2.27.57_1) wine-1.1.0,1 < needs updating (port has 1.1.2,1) ... which is what I would expect but portversion gives: curlew:/root# portversion -vL= gnutls < needs updating (port has 2.4.1_1) k3b < needs updating (port has 1.0.4_3) kdebase < needs updating (port has 3.5.8_3) kdebase-kompmgr < needs updating (port has 3.5.8_2) p5-Error < needs updating (port has 0.17015) speex < needs updating (port has 1.2.r1_1,1) The "missing" ports (*jdk*, openoffice.org, firefox-2, ocaml*, phpMyAdmin, unison and wine) are all marked as held in pkgtools.conf. Until today they would be shown by portversion as being in need of updating but held. I think portversion also used to show the version number of the currently installed port. The "missing" ports don't even show up in a full listing with portbersion -v. This change in behaviour might be a result of to me experimenting with portmaster as a possible replacement for portupgrade. In order to ensure that the held ports wouldn't get upgraded by portmaster I created +IGNOREME files in their /var/db/pkg directories. I imagine the ports database must have been affected as a result of this but I've tried deleting the +IGNOREME files, and even removing the holds from pkgtools.conf but that made no difference to portversion. I've tried pkgdb with -F and -u options but still no joy. It looks like it's not just portversion that's affected, pkgdb can't find the "missing" ports either: curlew:/root# pkgdb -o gnutls-2.4.1 security/gnutls security/gnutls curlew:/root# pkgdb -o unison-2.13.16_1 ? ? curlew:/root# How do I repair my ports? -- Mike Clarke From dkelly at hiwaay.net Fri Aug 1 14:52:13 2008 From: dkelly at hiwaay.net (David Kelly) Date: Fri Aug 1 14:52:20 2008 Subject: Find what options a precompiled package uses In-Reply-To: <20080801103327.68e4db05@verizon.net> References: <20080801101549.54603d85@verizon.net> <20080801142515.GA19107@Grumpy.DynDNS.org> <20080801103327.68e4db05@verizon.net> Message-ID: <20080801145149.GA19285@Grumpy.DynDNS.org> On Fri, Aug 01, 2008 at 10:33:27AM -0400, David Gurvich wrote: > I don't want to know what options are set for building a port. > I want to know what options were used in a previously built port that > is either available as a tar file or installed on a system, preferably > checking the tar file for the options. If you got the precomipled port from official sources then that which is in /usr/ports *is* how it was optioned, with the possible exception of the X stuff. If someone else precompiled the port, then ask them. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From ml at netfence.it Fri Aug 1 15:03:53 2008 From: ml at netfence.it (Andrea Venturoli) Date: Fri Aug 1 15:04:00 2008 Subject: secure access to AS/400 ? In-Reply-To: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> References: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> Message-ID: <489325CD.7030402@netfence.it> B. Cook ha scritto: > As I am not knowledgeable about AS/400's I do not know if there is an > openssh/sshd app that could be put on there. AS/400 supports telnet over SSL, though I never found it to be in use. > If they can not find some form of sshd to put on the AS/400 Normally it all boils down to: they could, but will not bother to (they probably never used it and don't have experience with it, anyway). > I could > give people access to a FreeBSD via ssh and then have them use > 'something' to connect to it. I would not do so, since you would need local users on the FreeBSD box, which I usually try and avoid. > Is there some terminal emulator that I would have to give them? If you really want to go this way, tn5250 is in ports. VPNs (with whatever technology) might be a better solution. bye av. From david.gurvich at verizon.net Fri Aug 1 15:15:49 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Aug 1 15:15:56 2008 Subject: Static ip wpa_supplicant In-Reply-To: <20080731195327.6d49e9a8@verizon.net> References: <20080731195327.6d49e9a8@verizon.net> Message-ID: <20080801110618.2c17c7db@verizon.net> I think I have the beginnings of an idea. Do not set WPA in rc.conf, only DHCP, and use 'script "script_name";' in /etc/dhclient.conf. Then have that script do the configuration. Has anyone used dhclient.conf with a custom script? From glarkin at FreeBSD.org Fri Aug 1 15:17:42 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Fri Aug 1 15:17:49 2008 Subject: Find what options a precompiled package uses In-Reply-To: <20080801101549.54603d85@verizon.net> References: <20080801101549.54603d85@verizon.net> Message-ID: <48932909.7040305@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Gurvich wrote: | How does one find the options that a particular package was built with, | without installing the package? I don't see any such options in | pkg_info and wondered if there were some other tool. | _______________________________________________ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" | Hi David, ~From what I can tell here, that information is not recorded in the package file. For instance, I build a lot of packages with custom options in what I call a "template jail". Then I build other jails and run pkg_add for all of the packages that I want to install in them. In the template jail, there's a /var/db/ports/ directory with subdirectories for each port that uses the OPTIONS variable. My /var/db/ports/wget/options file looks like this: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for wget-1.11.2_1 _OPTIONS_READ=wget-1.11.2_1 WITHOUT_GNUTLS=true WITHOUT_IPV6=true WITHOUT_NLS=true WITH_OPENSSL=true I just logged into another jail and extracted the wget .tgz file into a temp directory and ran some text searches like so: jail16# zcat /packages/wget-1.11.2_1.tgz | tar xvfB - x +CONTENTS x +COMMENT x +DESC x +MTREE_DIRS x man/man1/wget.1.gz x bin/wget x etc/wgetrc.sample x info/wget.info jail16# find . -type f -exec grep -H WITH_ {} \; jail16# find . -type f -exec grep -H WITHOUT_ {} \; As you can see, nothing matched in the extracted package files. I wonder how easy it would be to add an enhancement to pkg_create to store the /var/db/ports//options file to the package as "+OPTIONS"? That would be very helpful to what I'm doing, and I'd also like to see better support for maintaining those options when upgrading ports from source. Can anyone comment on the pkg_add enhancement and what side-effects that might have? Regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIkykJ0sRouByUApARAiWtAJ9Kp20t1MLxIudmsUdCYiMy41s8FgCaAs4X iqXRJAj58IFxMY3/QO0MJaI= =awIm -----END PGP SIGNATURE----- From pprocacci at datapipe.com Fri Aug 1 15:23:58 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Fri Aug 1 15:24:05 2008 Subject: Static ip wpa_supplicant In-Reply-To: <20080801110618.2c17c7db@verizon.net> References: <20080731195327.6d49e9a8@verizon.net> <20080801110618.2c17c7db@verizon.net> Message-ID: <48932A83.7000909@datapipe.com> David Gurvich wrote: > I think I have the beginnings of an idea. Do not set WPA in rc.conf, > only DHCP, and use 'script "script_name";' in /etc/dhclient.conf. Then > have that script do the configuration. Has anyone used dhclient.conf > with a custom script? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Why don't you assign the ip address via DHCP using the mac address of the card? From reddvinylene at gmail.com Fri Aug 1 15:31:24 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 15:31:31 2008 Subject: I can't make world without the "games" group? Message-ID: Hello! Why can't I make world without the "games" group? I run a serious server, not a kindergarten ;) I don't want the games group there, I just don't need it! Thanks! From ml at netfence.it Fri Aug 1 15:37:19 2008 From: ml at netfence.it (Andrea Venturoli) Date: Fri Aug 1 15:37:27 2008 Subject: secure access to AS/400 ? In-Reply-To: <489325CD.7030402@netfence.it> References: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> <489325CD.7030402@netfence.it> Message-ID: <48932DA4.4000707@netfence.it> Andrea Venturoli ha scritto: > B. Cook ha scritto: > >> As I am not knowledgeable about AS/400's I do not know if there is an >> openssh/sshd app that could be put on there. > > AS/400 supports telnet over SSL, though I never found it to be in use. > > > >> If they can not find some form of sshd to put on the AS/400 > > Normally it all boils down to: they could, but will not bother to (they > probably never used it and don't have experience with it, anyway). > > > >> I could give people access to a FreeBSD via ssh and then have them use >> 'something' to connect to it. > > I would not do so, since you would need local users on the FreeBSD box, > which I usually try and avoid. > > > > > Is there some terminal emulator that I would have to give them? > > If you really want to go this way, tn5250 is in ports. > > > > > VPNs (with whatever technology) might be a better solution. I forgot: altough I never tried this, you may want to experiment with stunnel to allow for telnet/SSL on the client side, without the need to enable it on the server side. Disadvantage is, you lose the ability to discriminate which user can connect from the outside and which cannot. bye av. From wilsoncpu at aol.com Fri Aug 1 15:08:12 2008 From: wilsoncpu at aol.com (Mark Wilson) Date: Fri Aug 1 15:48:57 2008 Subject: Question re IPs-to-CIDR conversion program Message-ID: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both. I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which sounds like it might be a good model. Unfortunately, I can't download the file (get "Forbidden") page, nor locate user "eivind" on the FreeBSD Homepages page to ask him/her about it. (It's dated 2001, in case that helps; apparently eivind is long gone...) 1. Can anyone get me a copy of this program? Or... 2. Put me in touch with its author so I can ask about it?? Or... 3. Point me to another program which does what I need? Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs calculator in JavaScript, but going this other direction seems much harder, and far more confusing. ------------------------------------------------------- Mark Wilson, CPUWORKS.COM wilsoncpu@aol.com ------------------------------------------------------- From reddvinylene at gmail.com Fri Aug 1 15:51:33 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 15:51:41 2008 Subject: I can't make world without the "games" group? In-Reply-To: <8d9c091a0808010835o37add3e5s62123bb46c1cb1bb@mail.gmail.com> References: <8d9c091a0808010835o37add3e5s62123bb46c1cb1bb@mail.gmail.com> Message-ID: That is so cool! Thanks! On Fri, Aug 1, 2008 at 5:35 PM, Curt Micol wrote: > man src.conf(5) > > On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene wrote: >> Hello! >> >> Why can't I make world without the "games" group? I run a serious >> server, not a kindergarten ;) >> >> I don't want the games group there, I just don't need it! >> >> Thanks! >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > # Curt Micol > From freebsd at edvax.de Fri Aug 1 15:53:13 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 1 15:53:21 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: Message-ID: <20080801175310.efc76a0e.freebsd@edvax.de> Hi! On Fri, 1 Aug 2008 17:31:22 +0200, "Redd Vinylene" wrote: > Why can't I make world without the "games" group? I run a serious > server, not a kindergarten ;) > > I don't want the games group there, I just don't need it! Alltough the system's games group does not require much disk space, there's a way not to build them: Create /etc/src.conf or midify it with the following statement: WITHOUT_GAMES Refer to "man src.conf" for further things not to build. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 From pprocacci at datapipe.com Fri Aug 1 15:57:14 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Fri Aug 1 15:57:21 2008 Subject: Question re IPs-to-CIDR conversion program In-Reply-To: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> References: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> Message-ID: <4893324F.9070406@datapipe.com> Mark Wilson wrote: > I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both. > I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which sounds like it might be a good model. > Unfortunately, I can't download the file (get "Forbidden") page, nor locate user "eivind" on the FreeBSD Homepages page to ask him/her about it. > (It's dated 2001, in case that helps; apparently eivind is long gone...) > > 1. Can anyone get me a copy of this program? Or... > 2. Put me in touch with its author so I can ask about it?? Or... > 3. Point me to another program which does what I need? > > Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs calculator in JavaScript, but going this other direction seems much harder, and far more confusing. > > > > > > ------------------------------------------------------- > Mark Wilson, CPUWORKS.COM > wilsoncpu@aol.com > ------------------------------------------------------- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You may want to look at ipcalc (/usr/ports/net-mgmt/ipcalc) From d.hill at yournetplus.com Fri Aug 1 15:58:20 2008 From: d.hill at yournetplus.com (Duane Hill) Date: Fri Aug 1 15:58:27 2008 Subject: Question re IPs-to-CIDR conversion program In-Reply-To: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> References: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> Message-ID: On Fri, 1 Aug 2008, Mark Wilson wrote: > > I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both. > I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which sounds like it might be a good model. > Unfortunately, I can't download the file (get "Forbidden") page, nor locate user "eivind" on the FreeBSD Homepages page to ask him/her about it. > (It's dated 2001, in case that helps; apparently eivind is long gone...) > > 1. Can anyone get me a copy of this program? Or... > 2. Put me in touch with its author so I can ask about it?? Or... > 3. Point me to another program which does what I need? > > Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs calculator in JavaScript, but going this other direction seems much harder, and far more confusing. If you know anything about Perl, you can use the port: /usr/ports/net/p5-Net-CIDR-Lite to convert back-and-forth. For documentation, I referred to: http://search.cpan.org/dist/Net-CIDR-Lite/Lite.pm -d From reddvinylene at gmail.com Fri Aug 1 15:59:13 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 15:59:19 2008 Subject: src.conf: WITHOUT_SOMETHING Message-ID: Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and reinstall my world. What will happen to the previous install of SOMETHING? Will it be removed or just left there to rot? Thank you! From asenchi at gmail.com Fri Aug 1 15:59:38 2008 From: asenchi at gmail.com (Curt Micol) Date: Fri Aug 1 15:59:45 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: Message-ID: <8d9c091a0808010835o37add3e5s62123bb46c1cb1bb@mail.gmail.com> man src.conf(5) On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene wrote: > Hello! > > Why can't I make world without the "games" group? I run a serious > server, not a kindergarten ;) > > I don't want the games group there, I just don't need it! > > Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- # Curt Micol From reddvinylene at gmail.com Fri Aug 1 16:04:34 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 16:04:40 2008 Subject: src.conf: WITHOUT_SOMETHING Message-ID: Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and reinstall my world. What will happen to the previous install of SOMETHING? Will it be removed or just left there to rot? Thank you! From jack at jarasoft.net Fri Aug 1 16:06:36 2008 From: jack at jarasoft.net (Jack Raats) Date: Fri Aug 1 16:06:43 2008 Subject: Adding device to FreeBSD 6.3-STABLE Message-ID: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I would like to add the zyd device to FreeBSD. The zyd driver allready is in FreeBSD 7.0. Which steps do I have to take to add the zyd device to FreeBSD? Jack -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 iD8DBQFIkzSKPh5RwW/NzC4RAqMKAJ987kbR57nNejUHOaNPOLabP2jKWACgm6Ts iOvTzyGUw1evnXmmHSa6+RA= =f1r1 -----END PGP SIGNATURE----- From lists at jnielsen.net Fri Aug 1 16:13:04 2008 From: lists at jnielsen.net (John Nielsen) Date: Fri Aug 1 16:13:11 2008 Subject: Adding device to FreeBSD 6.3-STABLE In-Reply-To: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> References: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> Message-ID: <200808011213.41335.lists@jnielsen.net> On Friday 01 August 2008, Jack Raats wrote: > I would like to add the zyd device to FreeBSD. > The zyd driver allready is in FreeBSD 7.0. > Which steps do I have to take to add the zyd device to FreeBSD? Sorry, what are you asking? What version of FreeBSD are you using and what do you need help doing? JN From rsmith at xs4all.nl Fri Aug 1 16:33:07 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 1 16:34:57 2008 Subject: secure access to AS/400 ? In-Reply-To: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> References: <3E40D840-E616-41CA-8708-B06904699432@poughkeepsieschools.org> Message-ID: <20080801163304.GB86807@slackbox.xs4all.nl> On Fri, Aug 01, 2008 at 09:27:12AM -0400, B. Cook wrote: > Hello All, > > Seems OT, but I have been asked to give someone remote access to an AS/ > 400 we have here. > Is there some terminal emulator that I would have to give them? Try x11/x3270 Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/d1776da3/attachment.pgp From modelnine at modelnine.org Fri Aug 1 16:36:31 2008 From: modelnine at modelnine.org (Heiko Wundram) Date: Fri Aug 1 16:37:09 2008 Subject: Adding device to FreeBSD 6.3-STABLE In-Reply-To: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> References: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> Message-ID: <200808011840.33381.modelnine@modelnine.org> Am Freitag, 1. August 2008 18:06:33 schrieb Jack Raats: > I would like to add the zyd device to FreeBSD. > The zyd driver allready is in FreeBSD 7.0. > Which steps do I have to take to add the zyd device to FreeBSD? Upgrade to 7.0? How to do that is documented on freebsd.org in the handbook. If the driver isn't available in 6[.x]-STABLE (I have no idea, I run 7-STABLE), it's not been backported, meaning that there hasn't been (or not sufficient) interest in doing that, and I'd presume that you don't want to do that either (or lack the technical skills to do so, which I don't mean in a derogative way), so your only real option is to upgrade. Oh, by the way: it's generally not considered good manners to cross-post to several mailinglists. One is enough, and in your case, -questions was just fine. -- Heiko Wundram From njm at njm.f2s.com Fri Aug 1 16:42:07 2008 From: njm at njm.f2s.com (N.J. Mann) Date: Fri Aug 1 16:42:14 2008 Subject: src.conf: WITHOUT_SOMETHING In-Reply-To: References: Message-ID: <20080801161236.GA3363@oberon.njm.f2s.com> In message , Redd Vinylene (reddvinylene@gmail.com) wrote: > Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and > reinstall my world. > > What will happen to the previous install of SOMETHING? Will it be > removed or just left there to rot? After doing make installworld you should do a make delete-old . During the latter which you will be prompted to delete the various bits which you no longer require. Cheers, Nick. -- From pprocacci at datapipe.com Fri Aug 1 16:51:59 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Fri Aug 1 16:52:05 2008 Subject: Adding device to FreeBSD 6.3-STABLE In-Reply-To: <200808011213.41335.lists@jnielsen.net> References: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> <200808011213.41335.lists@jnielsen.net> Message-ID: <48933F23.1050201@datapipe.com> John Nielsen wrote: > On Friday 01 August 2008, Jack Raats wrote: > >> I would like to add the zyd device to FreeBSD. >> The zyd driver allready is in FreeBSD 7.0. >> Which steps do I have to take to add the zyd device to FreeBSD? >> > > Sorry, what are you asking? What version of FreeBSD are you using and what > do you need help doing? > > JN > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > To make the device available without recompiling your kernel you do the following: kldload if_zyd To have zyd available after reboots add it to /boot/loader.conf as: if_zyd_load="YES" From jack at jarasoft.net Fri Aug 1 17:02:03 2008 From: jack at jarasoft.net (Jack Raats) Date: Fri Aug 1 17:02:13 2008 Subject: Adding device to FreeBSD 6.3-STABLE References: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> <200808011213.41335.lists@jnielsen.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - ----- Original Message ----- From: "John Nielsen" To: ; "Jack Raats" Cc: "freebsd-stable" Sent: Friday, August 01, 2008 6:13 PM Subject: Re: Adding device to FreeBSD 6.3-STABLE > On Friday 01 August 2008, Jack Raats wrote: >> I would like to add the zyd device to FreeBSD. >> The zyd driver allready is in FreeBSD 7.0. >> Which steps do I have to take to add the zyd device to FreeBSD? > Sorry, what are you asking? What version of FreeBSD are you using and what > do you need help doing? I want to add the zyd device to FreeBSD 6.3-STABLE. The device driver is available on FreeBSD 7.0. I want to know the staps to backport the zyd drvier to 6.3. Updating to FreeBSD 7 is not (yet) an option. Jack -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 iD8DBQFIk0GKPh5RwW/NzC4RAqn2AKCH8ZFPhpeW3flgrr6CbE8SUyCttwCcD0UV Ak+tDf3ApJgKbC/9zgETHSE= =kRjL -----END PGP SIGNATURE----- From reddvinylene at gmail.com Fri Aug 1 17:26:22 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 17:26:38 2008 Subject: The best way to upgrade my FreeBSD and its jails Message-ID: My dedicated server is mother, its two jails are camel and box. Is this the best way to upgrade all of them? Pretty cool huh? - # FreeBSD/i386 mother.reddvinylene.no csup /etc/cvsupfile && \ cd /usr/src && \ make buildworld && \ make buildkernel && \ make installworld && \ make installkernel && \ make delete-old && \ make delete-old-libs && \ mergemaster -U&& \ export D=/usr/jail/camel && \ make installworld DESTDIR=$D && \ make installworld installkernel DESTDIR=$D && \ make delete-old DESTDIR=$D && \ make delete-old-libs DESTDIR=$D && \ cd etc/ && \ make distribution DESTDIR=$D && \ cd .. && \ mergemaster -U -D $D && \ export D=/usr/jail/box && \ make installworld DESTDIR=$D && \ make installworld installkernel DESTDIR=$D && \ make delete-old DESTDIR=$D && \ make delete-old-libs DESTDIR=$D && \ cd etc/ && \ make distribution DESTDIR=$D && \ cd .. && \ mergemaster -U -D $D && \ chflags -R noschg /usr/obj/* && \ rm -rf /usr/obj/* - Redd Vinylene http://www.home.no/reddvinylene From reddvinylene at gmail.com Fri Aug 1 17:28:03 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 17:28:10 2008 Subject: The best way to upgrade my FreeBSD and its jails Message-ID: My dedicated server is mother, its two jails are camel and box. Is this the best way to upgrade all of them? Pretty cool huh? - # FreeBSD/i386 mother.reddvinylene.no csup /etc/cvsupfile && \ cd /usr/src && \ make buildworld && \ make buildkernel && \ make installworld && \ make installkernel && \ make delete-old && \ make delete-old-libs && \ mergemaster -U&& \ export D=/usr/jail/camel && \ make installworld DESTDIR=$D && \ make installworld installkernel DESTDIR=$D && \ make delete-old DESTDIR=$D && \ make delete-old-libs DESTDIR=$D && \ cd etc/ && \ make distribution DESTDIR=$D && \ cd .. && \ mergemaster -U -D $D && \ export D=/usr/jail/box && \ make installworld DESTDIR=$D && \ make installworld installkernel DESTDIR=$D && \ make delete-old DESTDIR=$D && \ make delete-old-libs DESTDIR=$D && \ cd etc/ && \ make distribution DESTDIR=$D && \ cd .. && \ mergemaster -U -D $D && \ chflags -R noschg /usr/obj/* && \ rm -rf /usr/obj/* - Redd Vinylene http://www.home.no/reddvinylene From freebsd at edvax.de Fri Aug 1 17:33:35 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 1 17:33:42 2008 Subject: The best way to upgrade my FreeBSD and its jails In-Reply-To: References: Message-ID: <20080801193332.b854ffd7.freebsd@edvax.de> Hi! On Fri, 1 Aug 2008 19:26:20 +0200, "Redd Vinylene" wrote: > My dedicated server is mother, its two jails are camel and box. Is > this the best way to upgrade all of them? > > Pretty cool huh? Uh, bad idea. :-) If I remember correctly, you cannot update the system within "one rush" if you don't use the binary update with the freebsd-update utility. According to your script > cd /usr/src && \ > make buildworld && \ > make buildkernel && \ seems to be okay up to this point, but > make installworld && \ > make installkernel && \ is not recommended to be done in MUM. Refer to the corresponding section of the handbook: Build world and kernel first, then install the new kernel and reboot the system into SUM with it; then run "mergemaster -p", install the world and run "mergemaster". I think "make delete-old" comes afterwards. But I think you can update the jails camel and box as you described. The handbook will tell you more precisely what to do. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 From reddvinylene at gmail.com Fri Aug 1 19:10:22 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 19:10:34 2008 Subject: src.conf: There's no WITHOUT_IPFW? Message-ID: There's WITHOUT_IPFILTER and WITHOUT_PF, but no WITHOUT_IPFW? /usr/src/UPDATING doesn't mention IPFW being removed. Thanks! From freebsd at edvax.de Fri Aug 1 19:16:28 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 1 19:16:38 2008 Subject: src.conf: There's no WITHOUT_IPFW? In-Reply-To: References: Message-ID: <20080801211625.2abfd4cc.freebsd@edvax.de> Hi! On Fri, 1 Aug 2008 21:10:20 +0200, "Redd Vinylene" wrote: > There's WITHOUT_IPFILTER and WITHOUT_PF, but no WITHOUT_IPFW? > /usr/src/UPDATING doesn't mention IPFW being removed. IPFW hasn't been removed. You can compile it into your kernel or load the module (I usually do the first one); the tools to control ipfw are part of the base system (/sbin/ipfw). If you don't want to use ipfw, don't compile it into your kernel and don't load the module. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 From 000.fbsd at quip.cz Fri Aug 1 19:18:23 2008 From: 000.fbsd at quip.cz (Miroslav Lachman) Date: Fri Aug 1 19:18:33 2008 Subject: The best way to upgrade my FreeBSD and its jails In-Reply-To: References: Message-ID: <48935D68.2080603@quip.cz> Redd Vinylene wrote: > My dedicated server is mother, its two jails are camel and box. Is > this the best way to upgrade all of them? > > Pretty cool huh? > > - > > # FreeBSD/i386 mother.reddvinylene.no > > csup /etc/cvsupfile && \ > > cd /usr/src && \ > > make buildworld && \ > > make buildkernel && \ > > make installworld && \ > > make installkernel && \ > > make delete-old && \ > > make delete-old-libs && \ > > mergemaster -U&& \ > > export D=/usr/jail/camel && \ > > make installworld DESTDIR=$D && \ > > make installworld installkernel DESTDIR=$D && \ > > make delete-old DESTDIR=$D && \ > > make delete-old-libs DESTDIR=$D && \ > > cd etc/ && \ > > make distribution DESTDIR=$D && \ > > cd .. && \ > > mergemaster -U -D $D && \ > > export D=/usr/jail/box && \ > > make installworld DESTDIR=$D && \ > > make installworld installkernel DESTDIR=$D && \ > > make delete-old DESTDIR=$D && \ > > make delete-old-libs DESTDIR=$D && \ > > cd etc/ && \ > > make distribution DESTDIR=$D && \ > > cd .. && \ > > mergemaster -U -D $D && \ > > chflags -R noschg /usr/obj/* && \ > > rm -rf /usr/obj/* It would be better if you post what version you are running and to what version you want to update / upgrade. If you want to use some RELEASE, you can user freebsd-update command for binary update of base and jails. Also it is not good to do all the above steps as one chained command. Miroslav Lachman From jhb at freebsd.org Fri Aug 1 19:26:31 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Aug 1 19:26:44 2008 Subject: Adding device to FreeBSD 6.3-STABLE In-Reply-To: <200808011213.41335.lists@jnielsen.net> References: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> <200808011213.41335.lists@jnielsen.net> Message-ID: <200808011442.37048.jhb@freebsd.org> On Friday 01 August 2008 12:13:41 pm John Nielsen wrote: > On Friday 01 August 2008, Jack Raats wrote: > > I would like to add the zyd device to FreeBSD. > > The zyd driver allready is in FreeBSD 7.0. > > Which steps do I have to take to add the zyd device to FreeBSD? > > Sorry, what are you asking? What version of FreeBSD are you using and what > do you need help doing? From the subject line, I imagine Jack is using 6.3-STABLE and wants to backport the driver from 7.0 to 6.3. Backporting most drivers from 7.0 to 6.x isn't a big deal (can generally just copy over and compile). However, zyd(4) is a wireless driver and the net80211 wireless networking stack is quite different in 6.x vs 7.0, so that is where it would be complicated to backport the driver. I'm not intimately familiar with net80211 in either branch, so I'm unsure how much work the backport would be. -- John Baldwin From reddvinylene at gmail.com Fri Aug 1 19:28:21 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Fri Aug 1 19:28:28 2008 Subject: The best way to upgrade my FreeBSD and its jails In-Reply-To: <48935D68.2080603@quip.cz> References: <48935D68.2080603@quip.cz> Message-ID: Whatever version you know, right now it's an old 7.0-STABLE to a newer 7.0-STABLE. Improved the script a little though: http://pastie.org/245821 Enjoy! On Fri, Aug 1, 2008 at 9:00 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > Redd Vinylene wrote: > >> My dedicated server is mother, its two jails are camel and box. Is >> this the best way to upgrade all of them? >> >> Pretty cool huh? >> >> - >> >> # FreeBSD/i386 mother.reddvinylene.no >> >> csup /etc/cvsupfile && \ >> >> cd /usr/src && \ >> >> make buildworld && \ >> >> make buildkernel && \ >> >> make installworld && \ >> >> make installkernel && \ >> >> make delete-old && \ >> >> make delete-old-libs && \ >> >> mergemaster -U&& \ >> >> export D=/usr/jail/camel && \ >> >> make installworld DESTDIR=$D && \ >> >> make installworld installkernel DESTDIR=$D && \ >> >> make delete-old DESTDIR=$D && \ >> >> make delete-old-libs DESTDIR=$D && \ >> >> cd etc/ && \ >> >> make distribution DESTDIR=$D && \ >> >> cd .. && \ >> >> mergemaster -U -D $D && \ >> >> export D=/usr/jail/box && \ >> >> make installworld DESTDIR=$D && \ >> >> make installworld installkernel DESTDIR=$D && \ >> >> make delete-old DESTDIR=$D && \ >> >> make delete-old-libs DESTDIR=$D && \ >> >> cd etc/ && \ >> >> make distribution DESTDIR=$D && \ >> >> cd .. && \ >> >> mergemaster -U -D $D && \ >> >> chflags -R noschg /usr/obj/* && \ >> >> rm -rf /usr/obj/* > > > It would be better if you post what version you are running and to what > version you want to update / upgrade. If you want to use some RELEASE, you > can user freebsd-update command for binary update of base and jails. > > Also it is not good to do all the above steps as one chained command. > > Miroslav Lachman > From wblock at wonkity.com Fri Aug 1 19:54:24 2008 From: wblock at wonkity.com (Warren Block) Date: Fri Aug 1 19:54:31 2008 Subject: Question re IPs-to-CIDR conversion program In-Reply-To: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> References: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> Message-ID: On Fri, 1 Aug 2008, Mark Wilson wrote: > I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both. > > 3. Point me to another program which does what I need? Net::CIDR has a range2cidr method that will do that. -Warren Block * Rapid City, South Dakota USA From kdk at daleco.biz Fri Aug 1 20:16:12 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Fri Aug 1 20:16:18 2008 Subject: [Fwd: Re: src.conf: WITHOUT_SOMETHING] Message-ID: <48936EFF.8040301@daleco.biz> Subject: Re: src.conf: WITHOUT_SOMETHING Date: Fri, 1 Aug 2008 18:34:59 +0200 From: Redd Vinylene To: Kevin Kinsey >> Redd Vinylene wrote: >>> >>> Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and >>> reinstall my world. >>> >>> What will happen to the previous install of SOMETHING? Will it be >>> removed or just left there to rot? >>> >>> Thank you! >> >> Do you mean /etc/src.conf? >> >> See build(7), particularly the delete-old and delete-old-libs >> targets. >> >> Kevin Kinsey >> > That is really awesome, thanks guys! > > Yes, /etc/src.conf. Does this look alright for a dedicated FreeBSD > server? It runs jails, named, www, smtp, pop3, imap etc. I want to get > rid of everything I don't need: > > > WITHOUT_ACPI > WITHOUT_ASSERT_DEBUG > WITHOUT_ATM > WITHOUT_AUDIT > WITHOUT_AUTHPF > WITHOUT_GAMES > WITHOUT_I4B > WITHOUT_INFO > WITHOUT_IPFILTER > WITHOUT_IPX > WITHOUT_KERBEROS > WITHOUT_LIBKSE > WITHOUT_LPR > WITHOUT_NCP > WITHOUT_NETCAT > WITHOUT_NIS > WITHOUT_NLS > WITHOUT_NLS_CATALOGS > WITHOUT_PROFILE > WITHOUT_RCMDS > WITHOUT_SENDMAIL > WITHOUT_SHAREDOCS > WITHOUT_SSP > WITHOUT_USB > WITHOUT_WPA_SUPPLICANT_EAPOL Reed, I'm not expert enough to comment on what you've top-posted here (the contents of src.conf related to your needs). It does look like both of us forgot to do the normal "reply-all" so I'm posting this back to the FBSD Questions list. I will mention that not having sendmail, you may break something (but I'm not sure if that particular knob means that there will be no local mailer at all). Cron(8), for example, uses a local mailer to notify you of cronjob output, and having cron work is a Good Thing(tm) in my experience as a sysadmin. KDK -- I came to MIT to get an education for myself and a diploma for my mother. From gerard at seibercom.net Fri Aug 1 21:10:55 2008 From: gerard at seibercom.net (Gerard) Date: Fri Aug 1 21:11:02 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <20080801092757.N5640@wojtek.tensor.gdynia.pl> References: <200807312304.11784.gnemmi@gmail.com> <20080801092757.N5640@wojtek.tensor.gdynia.pl> Message-ID: <20080801171037.610209ab@scorpio> On Fri, 1 Aug 2008 09:28:17 +0200 (CEST) Wojciech Puchar wrote: >> >> re0 in here >> >> re0@pci0:3:0:0: class=0x020000 card=0x81361019 chip=0x813610ec >> rev=0x01 hdr=0x00 >> >> "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet >> adapter driver" >> >> Works like a charm. >> No complains :) >> >lots of versions of this chip are buggy. What versions? -- Gerard gerard@seibercom.net Fame lost its appeal for me when I went into a public restroom and an autograph seeker handed me a pen and paper under the stall door. -- Marlo Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/1d4035c6/signature.pgp From darko.listsniffer at gmail.com Fri Aug 1 21:47:54 2008 From: darko.listsniffer at gmail.com (darko gavrilovic) Date: Fri Aug 1 21:48:00 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: Message-ID: <82f3feb90808011447sa4062e4k16a69d678bff4893@mail.gmail.com> On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene wrote: > Hello! > > Why can't I make world without the "games" group? I run a serious > server, not a kindergarten ;) > .. but you will miss out on all the murphy's law quotes.. one of the few enjoyments a sysadmin has left in this world. -- regards, dg "..but the more you use clever tricks, the less support you'll get ..." -- M.W.Lucas From lorin.lund at gmail.com Fri Aug 1 22:15:14 2008 From: lorin.lund at gmail.com (Lorin Lund) Date: Fri Aug 1 22:15:21 2008 Subject: Shutdown problems on virtual PC In-Reply-To: <4839792C.5090809@gmail.com> References: <4839792C.5090809@gmail.com> Message-ID: <48938452.8000209@infowest.com> I run FreeBSD 6 under Parallesl Workstation. When I try to shutdown with shutdown -p now It acts like the -p isn't there. I'm not sure what power management protocol Paralells Workstation uses. Nor do I know what the default is for FreeBSD 6 (default kernel). What would be the next older power management? Is there some knob to turn to tell FreeBSD 6 to use something older? Or do I have to rebuild the kernel? From heroh at gmx.de Fri Aug 1 22:23:36 2008 From: heroh at gmx.de (Helge Rohde) Date: Fri Aug 1 22:23:43 2008 Subject: X won't start up; "No matching Device section" Message-ID: <200808012356.38143.heroh@gmx.de> Hello List, I got an old TFT that uses a special connector to a CHIPS ct65554 graphics card. However, although the ct65554 is listed as supported, it is not recognized by the chips driver. System is FreeBSD 7-Release AMD64. I am pretty sure that the same xorg.conf worked under i386. pciconf -lvc claims device='65554 Flat Panel/LCD CRT GUI Accelerator'" for the card, however although i do have an xorg.conf "Device" section containing Driver "chips" Chipset "ct65554" X wont start up. Xorg.0.log complains: (II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525, ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550, ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300 (II) Primary Device is: (WW) CHIPS: No matching Device section for instance (BusID PCI:3:7:0) found (EE) No devices detected. Any ideas? From pcloches at gmail.com Fri Aug 1 22:59:31 2008 From: pcloches at gmail.com (Patrick C) Date: Fri Aug 1 23:00:23 2008 Subject: Troubleshooting a 3Ware 9550SX under 6.3 In-Reply-To: <20080610001335.E50875@wojtek.tensor.gdynia.pl> References: <484D9C13.9090607@baylessfamily.org> <20080610001335.E50875@wojtek.tensor.gdynia.pl> Message-ID: <34394a3a0808011559u764842fdv4aad492d61d73faf@mail.gmail.com> This is a very important point. By turning the cache on, you have not resolved an underlying performance issue, if there even is one. Please try dd again with a well-sized bs= parameter, or use some more accurate reporting like iozone, sysbench, etc. Also, I am not sure how much memory is on the card, but that is likely COMPLETELY in cache at that point so you're not learning anything. Write a couple gigs to get some real numbers. -Patrick 2008/6/9 Wojciech Puchar : >> dd if=/dev/zero of=testfile >> 165760+0 records in >> 165759+0 records out >> 84868608 bytes transferred in 25.028232 secs (3390915 bytes/sec) > >> I think I ought to be able to get more than 3.2MB/sec out of this card, > > with default 512 bytes blocks - not much more > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From freebsd at vfemail.net Fri Aug 1 23:09:23 2008 From: freebsd at vfemail.net (FreeBSD) Date: Fri Aug 1 23:09:30 2008 Subject: [Fwd: Re: connecting to a secured Windows 2003 terminal server] Message-ID: <4893A516.4020809@vfemail.net> Dear List members I am posting this question again since so far I have not been able to find any solution. But I do believe there is one -- which I cannot find and hopefully someone will be able to share her/his effective solution with me. Thanks -------------- next part -------------- An embedded message was scrubbed... From: "darko gavrilovic" Subject: Re: connecting to a secured Windows 2003 terminal server Date: Tue, 22 Jul 2008 20:47:47 -0400 Size: 5445 Url: http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/7f14b14c/connectingtoasecuredWindows2003terminalserver.eml From gerard at seibercom.net Fri Aug 1 23:34:20 2008 From: gerard at seibercom.net (Gerard) Date: Fri Aug 1 23:34:26 2008 Subject: [Fwd: Re: connecting to a secured Windows 2003 terminal server] In-Reply-To: <4893A516.4020809@vfemail.net> References: <4893A516.4020809@vfemail.net> Message-ID: <20080801193402.2a3b09a4@scorpio> On Sat, 02 Aug 2008 00:06:46 +0000 FreeBSD wrote: >I am posting this question again since so far I have not been able to >find any solution. But I do believe there is one -- which I cannot >find and hopefully someone will be able to share her/his effective >solution with me. If you cannot get an answer here, you might try the Microsoft site. http://technet.microsoft.com/en-us/windowsserver/bb430837.aspx From time to time I have gotten some useful information there myself. -- Gerard gerard@seibercom.net Romeo wasn't bilked in a day. Walt Kelly, "Ten Ever-Lovin' Blue-Eyed Years With Pogo" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080801/3e01ca8d/signature.pgp From david.gurvich at verizon.net Sat Aug 2 00:24:01 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Sat Aug 2 00:24:08 2008 Subject: Find what options a precompiled package uses In-Reply-To: <48932909.7040305@FreeBSD.org> References: <20080801101549.54603d85@verizon.net> <48932909.7040305@FreeBSD.org> Message-ID: <20080801202312.6fcbbd7b@verizon.net> Looks like I made a bad assumption, that there would be something similar to /var/db/ports/PORT_NAME/options for packages. From freebsd at edvax.de Sat Aug 2 00:27:45 2008 From: freebsd at edvax.de (Polytropon) Date: Sat Aug 2 00:27:52 2008 Subject: Shutdown problems on virtual PC In-Reply-To: <48938452.8000209@infowest.com> References: <4839792C.5090809@gmail.com> <48938452.8000209@infowest.com> Message-ID: <20080802022741.f94abcb3.freebsd@edvax.de> On Fri, 01 Aug 2008 15:46:58 -0600, Lorin Lund wrote: > I'm not sure what power management > protocol Paralells Workstation uses. Nor do I know what the > default is for FreeBSD 6 (default kernel). What would be the next older > power > management? Is there some knob to turn to tell FreeBSD 6 to use > something older? Or do I have to rebuild the kernel? As far as I know, power management by ACPI is the default. In order to shut down a system that does not have ACPI, but APM, ACPI needs to be disabled in most cases, as well as APM needs to be enabled manually. I don't know how "Paralells Workstation" handles this, but older PCs (with APM, but without ACPI) can be shut down this way. (I hope I did understand your question as intended.) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From david.gurvich at verizon.net Sat Aug 2 00:30:51 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Sat Aug 2 00:30:58 2008 Subject: X won't start up; "No matching Device section" In-Reply-To: <200808012356.38143.heroh@gmx.de> References: <200808012356.38143.heroh@gmx.de> Message-ID: <20080801203022.53e3542d@verizon.net> Have you loaded all the kernel modules you need and installed xf86-video-chips? From swhetzel at gmail.com Sat Aug 2 00:53:41 2008 From: swhetzel at gmail.com (Scot Hetzel) Date: Sat Aug 2 00:53:47 2008 Subject: Adding device to FreeBSD 6.3-STABLE In-Reply-To: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> References: <6A7AD37501FA4199B44BBBB03B0EE368@jarasoft.net> Message-ID: <790a9fff0808011724n25179c9coeaa94393ffd40dd7@mail.gmail.com> On 8/1/08, Jack Raats wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I would like to add the zyd device to FreeBSD. > The zyd driver allready is in FreeBSD 7.0. > Which steps do I have to take to add the zyd device to FreeBSD? > You need to obtain these revisions to compile zyd: sys/dev/usb/if_zyd.c 1.13 sys/modules/zyd/Makefile 1.1 Revision 1.14 was when the net80211 wireless networking stack was committed. Scot From fbsd06 at mlists.homeunix.com Sat Aug 2 01:18:49 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sat Aug 2 01:18:57 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: Message-ID: <20080802020221.06533c48@gumby.homeunix.com.> On Fri, 1 Aug 2008 17:31:22 +0200 "Redd Vinylene" wrote: > Hello! > > Why can't I make world without the "games" group? I run a serious > server, not a kindergarten ;) > > I don't want the games group there, I just don't need it! "Games" is a bit of a misnomer, Most of the old FreeBSD games have been moved into games/freebsd-games. What's left is not much more than fortune (for login tips), and includes several things that could equally well be regarded as utilities: primes(6), factor(6), random(6). Before you remove "games", make sure you don't use any scripts that rely on these utilities. For example the ports system ignores RANDOMIZE_MASTER_SITES if you don't have random(6) From gene at nttmcl.com Sat Aug 2 01:38:01 2008 From: gene at nttmcl.com (Eugene M. Kim) Date: Sat Aug 2 01:38:07 2008 Subject: 7.0-RELEASE-amd64 install on MacBook Pro 4,1 Message-ID: <4893B3F9.3020104@nttmcl.com> Greetings, When trying to boot the MacBook Pro 4,1 (G4 with Intel Penryn) off the 7.0-RELEASE-amd64 installation CD, the kernel hangs after the CD-ROM probe, and the SATA drive probe never seems to complete (I don't see any adX entry). Booting without ACPI does not seem to make any difference either. Has anyone solved this? Any help would be appreciated. Cheers, Eugene From received at postcard.org Sat Aug 2 03:44:31 2008 From: received at postcard.org (received@postcard.org) Date: Sat Aug 2 03:44:39 2008 Subject: You have just received a virtual postcard from a friend ! Message-ID: <200808020001.m72016nC003343@rotorwash.ojc.nuvio.com> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://mailer1.key-one.it/postcard.gif.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://mailer1.key-one.it/postcard.gif.exe From joeb at a1poweruser.com Sat Aug 2 04:23:35 2008 From: joeb at a1poweruser.com (joeb) Date: Sat Aug 2 04:23:50 2008 Subject: mount_msdosfs usb flash stick Message-ID: On 6.2 release of FBSD trying to mount a usb flash memory stick. The stick has a msdos file system on it and has been loaded with files using windows xp. When I plug the stick into my FBSD box I get console msg about da0 device as usb flash memory stick. All looks good at this point. When is issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' invalid argument' . Also tried this format of the command with same results. mount -t msdos /dev/da0 /mnt (note typing error on msdos in first post. Sorry) What am I doing wrong here? From joeb at a1poweruser.com Sat Aug 2 04:23:35 2008 From: joeb at a1poweruser.com (joeb) Date: Sat Aug 2 04:23:50 2008 Subject: mount_msdosfs usb flash stick Message-ID: On 6.2 release of FBSD trying to mount a usb flash memory stick. The stick has a msdos file system on it and has been loaded with files using windows xp. When I plug the stick into my FBSD box I get console msg about da0 device as usb flash memory stick. All looks good at this point. When is issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' invalid argument' . Also tried this format of the command with same results. mount -t msdo /dev/da0 /mnt What am I doing wrong here? From lists at jnielsen.net Sat Aug 2 04:49:17 2008 From: lists at jnielsen.net (John Nielsen) Date: Sat Aug 2 04:49:24 2008 Subject: mount_msdosfs usb flash stick In-Reply-To: References: Message-ID: <200808020049.54301.lists@jnielsen.net> On Saturday 02 August 2008, joeb wrote: > On 6.2 release of FBSD trying to mount a usb flash memory stick. The > stick has a msdos file system on it and has been loaded with files using > windows xp. When I plug the stick into my FBSD box I get console msg > about da0 device as usb flash memory stick. All looks good at this point. > When is issue this command, mount_msdosfs /dev/da0 /mnt I get this > error msg ' invalid argument' . Also tried this format of the command > with same results. mount -t msdos /dev/da0 /mnt (note typing error > on msdos in first post. Sorry) Most of the time usb drives are partitioned like regular hard drives. Do an "ls /dev/da0*" to see what you have, but you'll probably want: mount -t msdos /dev/da0s1 /mnt JN From freebsd at meijome.net Sat Aug 2 06:18:12 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Sat Aug 2 06:18:19 2008 Subject: [Fwd: Re: src.conf: WITHOUT_SOMETHING] In-Reply-To: <48936EFF.8040301@daleco.biz> References: <48936EFF.8040301@daleco.biz> Message-ID: <20080802161808.7604e683@ayiin> On Fri, 01 Aug 2008 15:15:59 -0500 Kevin Kinsey wrote: > I will mention that > not having sendmail, you may break something (but > I'm not sure if that particular knob means that there > will be no local mailer at all). Depends - you may have postfix installed and /etc/mail/* configured to use it instead...in which case there may not be much need for base's sendmail. Other than that, I definitely agree with you. > Cron(8), for example, > uses a local mailer to notify you of cronjob output, > and having cron work is a Good Thing(tm) in my experience > as a sysadmin. :-D _________________________ {Beto|Norberto|Numard} Meijome "So limp of brain that for them to conceive an idea is to risk a haemorrhage. So limp of body that their purple dresses appear no more a dixative of housing nerves and sinews than when they hang suspended from their hooks" Mervin Peake, "Gormenghast", chap. 2, on the Earl's twin sisters I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd at meijome.net Sat Aug 2 06:19:52 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Sat Aug 2 06:19:59 2008 Subject: src.conf: WITHOUT_SOMETHING In-Reply-To: References: Message-ID: <20080802161948.64bb620c@ayiin> On Fri, 1 Aug 2008 18:04:32 +0200 "Redd Vinylene" wrote: > Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and > reinstall my world. for the record, /etc/>s References: <20080802161948.64bb620c@ayiin> Message-ID: <489403D1.2060009@gmail.com> Hi Guys, As my dream of a hardware based SCSI RAID root disk was so soundly dashed, I have been trying to figure out the most appropriate software implementation for a media server. Which sw RAID is best for streaming media? The options I have are: RAID1z, the redundancy is not my concern so much as performance over a network, but if the reduction in performance is negligible I may opt for it for fun. or RAID0 using gvinum, a far more complex option so I'd like to get an idea of its suitability. Otherwise if there are any other avenues please fill me in. I am at a loss on which way to go... Thanks =^_^= From nejc at skoberne.net Sat Aug 2 07:12:30 2008 From: nejc at skoberne.net (=?windows-1252?Q?Nejc_=8Akoberne?=) Date: Sat Aug 2 07:12:37 2008 Subject: "no toe capability on..." In-Reply-To: <20080801111816.6e277b1d@ayiin> References: <20080731120921.GA9754@aurora.oekb.co.at> <20080801111816.6e277b1d@ayiin> Message-ID: <489408D8.40009@skoberne.net> Hey, >> no toe capability on 0xc2e66400 Looks like this is was fixed 7/31/2008: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=text&tr1=1.4.2.1&r2=text&tr2=1.4.2.2 That was fast! Bye, Nejc From wojtek at wojtek.tensor.gdynia.pl Sat Aug 2 07:30:40 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Aug 2 07:30:48 2008 Subject: mount_msdosfs usb flash stick In-Reply-To: References: Message-ID: <20080802093025.K8411@wojtek.tensor.gdynia.pl> da0s1 On Sat, 2 Aug 2008, joeb wrote: > On 6.2 release of FBSD trying to mount a usb flash memory stick. The stick > has a msdos file system on it and has been loaded with files using windows > xp. When I plug the stick into my FBSD box I get console msg about da0 > device as usb flash memory stick. All looks good at this point. When is > issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' > invalid argument' . Also tried this format of the command with same > results. mount -t msdos /dev/da0 /mnt (note typing error on msdos in > first post. Sorry) > > > What am I doing wrong here? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From bcook at poughkeepsieschools.org Sat Aug 2 10:22:19 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Sat Aug 2 10:22:27 2008 Subject: get periodic to not scan a partition Message-ID: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> hello all, I have a machine doing backups with backuppc (excellent program btw) and I have them being stored in /exports /dev/ad4s1h 57G 31G 21G 60% /exports /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) it is now almost 6:20 am and periodic has been running since 3:01.. and it will complete in another 4 hours.. root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 is there something I can do to get periodic to not look in /exports? I have the BackupPC 'backup folders' and symlinks to /usr/src /usr/obj and /usr/ports. Thanks in advance From 4711 at chello.at Sat Aug 2 11:33:47 2008 From: 4711 at chello.at (Christian Hiris) Date: Sat Aug 2 11:33:55 2008 Subject: get periodic to not scan a partition In-Reply-To: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> References: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> Message-ID: <200808021333.44699.4711@chello.at> On Saturday 02 August 2008, B. Cook wrote: > hello all, > > I have a machine doing backups with backuppc (excellent program btw) > and I have them being stored in /exports > > /dev/ad4s1h 57G 31G 21G 60% /exports > > /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) > > it is now almost 6:20 am and periodic has been running since 3:01.. > and it will complete in another 4 hours.. > > root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 find / > exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( - > perm -u+s -or -perm -g+s ) -print0 > > is there something I can do to get periodic to not look in /exports? > > I have the BackupPC 'backup folders' and symlinks to /usr/src /usr/obj > and /usr/ports. > > Thanks in advance > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Set up PRUNEPATHS in /etc/locate.rc. Cheers ch -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x1A9BE943 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu From fbsd06 at mlists.homeunix.com Sat Aug 2 12:19:14 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sat Aug 2 12:19:21 2008 Subject: get periodic to not scan a partition In-Reply-To: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> References: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> Message-ID: <20080802131909.07ccddab@gumby.homeunix.com.> On Sat, 2 Aug 2008 06:22:17 -0400 "B. Cook" wrote: > hello all, > > I have a machine doing backups with backuppc (excellent program btw) > and I have them being stored in /exports > > /dev/ad4s1h 57G 31G 21G 60% /exports > > /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) > > it is now almost 6:20 am and periodic has been running since 3:01.. > and it will complete in another 4 hours.. > > root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 > find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm > -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 > > is there something I can do to get periodic to not look in /exports? The above search is looking for setuid binaries, if you mount /exports as noexec and/or nosuid then it wont get searched. You may also need to curtail the locate search as someone already mentioned, although that's only weekly and it only searches directories that the user "nobody" can read. 7 hours does seem a very long time though, these searches only take a few minutes for 1.3TB on my desktop machine, and it's several years old. From bcook at poughkeepsieschools.org Sat Aug 2 12:30:22 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Sat Aug 2 12:30:30 2008 Subject: get periodic to not scan a partition In-Reply-To: <20080802131909.07ccddab@gumby.homeunix.com.> References: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> <20080802131909.07ccddab@gumby.homeunix.com.> Message-ID: <69728418-D91B-41C4-B4E0-F3913584AEC4@poughkeepsieschools.org> On Aug 2, 2008, at 8:19 AM, RW wrote: > On Sat, 2 Aug 2008 06:22:17 -0400 > "B. Cook" wrote: > >> hello all, >> >> I have a machine doing backups with backuppc (excellent program btw) >> and I have them being stored in /exports >> >> /dev/ad4s1h 57G 31G 21G 60% /exports >> >> /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) >> >> it is now almost 6:20 am and periodic has been running since 3:01.. >> and it will complete in another 4 hours.. >> >> root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 >> find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm >> -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 >> >> is there something I can do to get periodic to not look in /exports? > > The above search is looking for setuid binaries, if you mount /exports > as noexec and/or nosuid then it wont get searched. > I will see what happens when I do that.. as I remember it did something to break the building of world and I think port building as well.. this /exports also holds /usr/obj /usr/src and /usr/ports they are symlinks to here. Again from what I remember having nosuid and/or noexec on /usr/obj and/ or /usr/ports was a 'problem' as well.. From heroh at gmx.de Sat Aug 2 12:37:19 2008 From: heroh at gmx.de (Helge Rohde) Date: Sat Aug 2 12:37:33 2008 Subject: X won't start up; "No matching Device section" In-Reply-To: <20080801203022.53e3542d@verizon.net> References: <200808012356.38143.heroh@gmx.de> <20080801203022.53e3542d@verizon.net> Message-ID: <200808021436.56587.heroh@gmx.de> On Saturday 02 August 2008 02:30:22 David Gurvich wrote: > Have you loaded all the kernel modules you need and installed > xf86-video-chips? I am not aware of any kernel modules that i would have to load explicitely. And, yes, as indicated by the Xorg.log snippet, the chips driver is present. From fbsd06 at mlists.homeunix.com Sat Aug 2 12:48:12 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sat Aug 2 12:48:19 2008 Subject: get periodic to not scan a partition In-Reply-To: <69728418-D91B-41C4-B4E0-F3913584AEC4@poughkeepsieschools.org> References: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> <20080802131909.07ccddab@gumby.homeunix.com.> <69728418-D91B-41C4-B4E0-F3913584AEC4@poughkeepsieschools.org> Message-ID: <20080802134808.5d7b3eee@gumby.homeunix.com.> On Sat, 2 Aug 2008 08:30:20 -0400 "B. Cook" wrote: > > On Aug 2, 2008, at 8:19 AM, RW wrote: > > > On Sat, 2 Aug 2008 06:22:17 -0400 > > "B. Cook" wrote: > > > >> hello all, > >> > >> I have a machine doing backups with backuppc (excellent program > >> btw) and I have them being stored in /exports > >> > >> /dev/ad4s1h 57G 31G 21G 60% /exports > >> > >> /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) > >> > >> it is now almost 6:20 am and periodic has been running since 3:01.. > >> and it will complete in another 4 hours.. > >> > >> root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 > >> find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm > >> -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 > >> > >> is there something I can do to get periodic to not look > >> in /exports? > > > > The above search is looking for setuid binaries, if you > > mount /exports as noexec and/or nosuid then it wont get searched. > > > > I will see what happens when I do that.. as I remember it did > something to break the building of world and I think port building > as well.. > > this /exports also holds /usr/obj /usr/src and /usr/ports they are > symlinks to here. In that case I'd try disabling the search with daily_status_security_chksetuid_enable=no in periodic.conf, and possibly putting a modified version in /usr/local/etc/periodic/security. From marshc187 at gmail.com Sat Aug 2 14:16:52 2008 From: marshc187 at gmail.com (mcassar) Date: Sat Aug 2 14:16:59 2008 Subject: gemeral questions (noobish) Message-ID: <200808021550.48302.marshc187@gmail.com> hi, i have a new freebsd 7-release installed and very new to anything outside windows and may have jumped into the deep end to soon- but freebsd is the only thing i liked and want to keep, mess around with and hopefully learn something; so all i know is what i got from the handbook and the net this past month, and hope i can ask a few quick questions where i am a bit unclear (only looking for short answers and some diretion if possible). firstly - i have installed kde3 and xfce4 from packages (like most of it -> xorg,etc) and have tried updates before with different results. i don't mind messing things up, as long as i can somehow surf or check mails - but would like to do a *proper* update. firstly, are [freebsd-update] and [cvsup stable src.all] necessary before installing anything from ports? and are ports considered stable or current? or are they automatically matched to the installed version? also, do portsnap and cvsup ports do the same thing? i've tried cvsup exactly after portsnap and it still seems to edit/update the ports tree. why i'm confused is that i get alot of warnings when many ports try to build, and many hiccups in apps once they are installed, and i don't know which way to go --- gcc manual and fixing my environment, build options, etc,, or if it still something in the actual ports? i'll stop there, sorry for this, but the thing is that between an install off the offical discs and updates to date, i easily have 350+ packages to do at once and have been jumping around from manual to manual still unsure where to start. thanks in advance for any info From fbsd06 at mlists.homeunix.com Sat Aug 2 15:32:57 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sat Aug 2 15:33:05 2008 Subject: gemeral questions (noobish) In-Reply-To: <200808021550.48302.marshc187@gmail.com> References: <200808021550.48302.marshc187@gmail.com> Message-ID: <20080802163253.12a47b6a@gumby.homeunix.com.> On Sat, 2 Aug 2008 15:50:48 +0200 mcassar wrote: > firstly - i have installed kde3 and xfce4 from packages (like most of > it -> xorg,etc) and have tried updates before with different results. > i don't mind messing things up, as long as i can somehow surf or > check mails - but would like to do a *proper* update. > > firstly, are [freebsd-update] and [cvsup stable src.all] necessary > before installing anything from ports? freebsd-update does a binary update to the base system, csup of src-all is for fetching source to rebuild the base system. You can build ports and base independently BTW you should be using csup (in the base system), not cvsup. cvsup was written in modulo2, csup is a rewrite in C with fewer dependencies Also if you are new to FreeBSD, you should probably not be using a stable branch, these are stable development branches. Consider using a security branch like RELENG_7_0, and later moving to RELENG_7_1 and so on. > and are ports considered > stable or current? or are they automatically matched to the installed > version? There's only one version of ports, the builds automatically adapt to your basesystem version. > also, do portsnap and cvsup ports do the same thing? i've tried cvsup > exactly after portsnap and it still seems to edit/update the ports > tree. They're more or less the same. portsnap is faster, but it's for ports only and is less flexible. > why i'm confused is that i get alot of warnings when many ports try > to build, and many hiccups in apps once they are installed, and i > don't know which way to go --- gcc manual and fixing my environment, > build options, etc,, or if it still something in the actual ports? You don't need to set much, if anything. Read the entries in /usr/ports/UPDATING before doing an upgrade. Most build problems will fix themselves within a day or two if you resync the ports tree. From marshc187 at gmail.com Sat Aug 2 16:33:01 2008 From: marshc187 at gmail.com (mcassar) Date: Sat Aug 2 16:33:16 2008 Subject: gemeral questions (noobish) In-Reply-To: <20080802163253.12a47b6a@gumby.homeunix.com.> References: <200808021550.48302.marshc187@gmail.com> <20080802163253.12a47b6a@gumby.homeunix.com.> Message-ID: <200808021832.53488.marshc187@gmail.com> On Saturday 02 August 2008 17:32:53 RW wrote: > On Sat, 2 Aug 2008 15:50:48 +0200 > > mcassar wrote: > > firstly - i have installed kde3 and xfce4 from packages (like most of > > it -> xorg,etc) and have tried updates before with different results. > > i don't mind messing things up, as long as i can somehow surf or > > check mails - but would like to do a *proper* update. > > > > firstly, are [freebsd-update] and [cvsup stable src.all] necessary > > before installing anything from ports? > > freebsd-update does a binary update to the base system, csup of src-all > is for fetching source to rebuild the base system. You can build ports > and base independently > > BTW you should be using csup (in the base system), not cvsup. cvsup was > written in modulo2, csup is a rewrite in C with fewer dependencies > > Also if you are new to FreeBSD, you should probably not be using a > stable branch, these are stable development branches. Consider using a > security branch like RELENG_7_0, and later moving to RELENG_7_1 and so > on. > > > and are ports considered > > stable or current? or are they automatically matched to the installed > > version? > > There's only one version of ports, the builds automatically adapt to > your basesystem version. > > > also, do portsnap and cvsup ports do the same thing? i've tried cvsup > > exactly after portsnap and it still seems to edit/update the ports > > tree. > > They're more or less the same. portsnap is faster, but it's for ports > only and is less flexible. > > > why i'm confused is that i get alot of warnings when many ports try > > to build, and many hiccups in apps once they are installed, and i > > don't know which way to go --- gcc manual and fixing my environment, > > build options, etc,, or if it still something in the actual ports? > > You don't need to set much, if anything. Read the entries > in /usr/ports/UPDATING before doing an upgrade. Most build problems > will fix themselves within a day or two if you resync the ports tree. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" damn, thanks - I had mistaken stable to be what is release; i had come across the difference at some point but didn't realise when i tried cvsup (which i also mistook to be more recent than csup). I only tried csup on ports once and wasn't too sure i should since the handbook or somewhere mentioned the ports tree should be empty the first time you run it; and got the impression you should only use either or (csup vs portsnap). anyhow i think that only my nvidia driver instructions mentioned it relies on what i think are system sources (kernel related - if i'm not mistaken) - but i haven't touched that yet. I hate to bother any further but have one thing to clarify about building attempts - when building anything, if that's ok. I only have a basic understanding of C so far, and can't really tell how critical warnings are - such as undefined this and that, defined but not used...etc, when building a port. should i stop those and see how i should fix them or let them proceed as long as they're not errors? I can live with my current system for now, but have a few things i need to update eventually. again, many thanks for the reply and clarifying. mcassar From reddvinylene at gmail.com Sat Aug 2 16:48:29 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 16:48:41 2008 Subject: I can't make world without the "games" group? In-Reply-To: <82f3feb90808011447sa4062e4k16a69d678bff4893@mail.gmail.com> References: <82f3feb90808011447sa4062e4k16a69d678bff4893@mail.gmail.com> Message-ID: Adding WITHOUT_GAMES="YES" to /etc/src.conf most certainly didn't work. Why does FreeBSD pack so much, pardon my language, bullshit anyway? Yes, one or two (out of one or two million) might need it, but can't we make it available to them in some other way? As a module or a port or something? Thanks! On Fri, Aug 1, 2008 at 11:47 PM, darko gavrilovic wrote: > On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene wrote: >> Hello! >> >> Why can't I make world without the "games" group? I run a serious >> server, not a kindergarten ;) >> > > .. but you will miss out on all the murphy's law quotes.. one of the > few enjoyments a sysadmin has left in this world. > > > > > > -- > regards, > dg > > "..but the more you use clever tricks, the less support you'll get > ..." -- M.W.Lucas > From reddvinylene at gmail.com Sat Aug 2 17:08:53 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 17:09:04 2008 Subject: jail_box_ip="" Message-ID: Hey, I got a couple of hundred IPs, is there an easy way to add them all to jail_box_ip="ip1,ip2,ip3" without making like the longest line ever? Like this? jail_box_ip="66.252.2.4,\ 66.252.2.5,\ 66.252.2.6,\ Unfortunately that doesn't look too good. Nor does: export x=$(cat ips);export jail_ips=''; for ip in $x; do export jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed s/,$/''/ | sed s/^,//); Is there a more beautiful alternative? Thanks! From davidcollins001 at gmail.com Sat Aug 2 17:15:37 2008 From: davidcollins001 at gmail.com (davidcollins001@gmail.com) Date: Sat Aug 2 17:15:45 2008 Subject: pxeboot In-Reply-To: <1341640629.20080730121019@connection.ca> References: <1b30fd140807291632v491323d4jb4371ec1303bd5a9@mail.gmail.com> <1341640629.20080730121019@connection.ca> Message-ID: <1b30fd140808021015m69f993e3g84f0dbe169621023@mail.gmail.com> Hi, Thanks both for your replies. I think the top of that article applies to me, in that I am trying to do something that I don't fully understand! I am fairly confident that I have the DHCP and TFTP setup correctly in as much as I get pxeboot on the booted machine (and I have gotten it working in linux). So here is my understandin at the moment: At boot time the netcard does its dhcp thing, gets an ip address pulls the "filename" from the tftp server (which is pxeboot). At this point pxeboot executes and acts much like loader. It mounts the nfs server at "option root-path" specified in the dhcpd.conf on the server, then loads boot/loader.rc from the mounted drive, then all the lovelies of BSD loader begin. I think that now I have this in my head straight I am able to get it working. I tried the following in my boot/loader.rc. The main reason for the oddities in my last email was that I didn't understand what the .rc and .conf files did, the 3 read lines were mainly debugging and trying to understand what was happening. > echo Loading /boot/loader.rc > > set mfsroot_type="mfs_root" > set mfsroot_name="/mfsroot > set vfs.root.mountfrom="ufs:/dev/md0c" > > load -t mfs_root /mfsroot > > autoboot 5 At this point I still get the compter rebooting (I have gunzipped mfsroot to avoid the bug with it).. I am not convinced that I have loader.rc setup correctly. Where are the filenames in it relative to, is it relative to the nfs mount point too, in which case should the file be /boot/mfsroot? Is it possible to see an example of someones loader.rc that works? I have also tried tftp only pxeboot by making pxeboot with "make -DLOADER_TFTP_SUPPORT=YES" but I don't think that I had the files correctly located. Am I correct in thinking that in this case it will search for boot/loader.rc relative to the tftp server path? I found a book in my library that had a section on pxe booting, I was sad to see that although they had described setting up the dhcp and tftp servers they completely glossed over the actual setup of and how to use pxeboot! Thanks for help, it is greatly appreciated. David From reddvinylene at gmail.com Sat Aug 2 17:17:38 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 17:17:50 2008 Subject: jail_box_ip="" In-Reply-To: References: Message-ID: Here's what I got so far: http://pastie.org/246189 And this is just wishful thinking I guess: http://pastie.org/246190 On Sat, Aug 2, 2008 at 7:08 PM, Redd Vinylene wrote: > Hey, I got a couple of hundred IPs, is there an easy way to add them > all to jail_box_ip="ip1,ip2,ip3" without making like the longest line > ever? > > Like this? > > jail_box_ip="66.252.2.4,\ > 66.252.2.5,\ > 66.252.2.6,\ > > Unfortunately that doesn't look too good. > > Nor does: > > export x=$(cat ips);export jail_ips=''; for ip in $x; do export > jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed > s/,$/''/ | sed s/^,//); > > Is there a more beautiful alternative? > > Thanks! > -- http://www.home.no/reddvinylene From linimon at lonesome.com Sat Aug 2 17:20:39 2008 From: linimon at lonesome.com (Mark Linimon) Date: Sat Aug 2 17:20:51 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: <82f3feb90808011447sa4062e4k16a69d678bff4893@mail.gmail.com> Message-ID: <20080802165505.GA13814@soaustin.net> On Sat, Aug 02, 2008 at 06:48:27PM +0200, Redd Vinylene wrote: > Why does FreeBSD pack so much, pardon my language, bullshit anyway? Because no one has done the necessary QA work to factor things out and make them work. mcl From illoai at gmail.com Sat Aug 2 17:27:58 2008 From: illoai at gmail.com (illoai@gmail.com) Date: Sat Aug 2 17:28:05 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: <82f3feb90808011447sa4062e4k16a69d678bff4893@mail.gmail.com> Message-ID: 2008/8/2 Redd Vinylene : > Adding WITHOUT_GAMES="YES" to /etc/src.conf most certainly didn't work. > > Why does FreeBSD pack so much, pardon my language, bullshit anyway? > There can be, and has been, said the same about nearly every part of the base system, at some point. Perhaps these few utilities amuse one or two people, though I suppose a "professional" operating system wouldn't include anything like minesweeper or freecell . . . -- -- From nightrecon at verizon.net Sat Aug 2 17:36:53 2008 From: nightrecon at verizon.net (Michael Powell) Date: Sat Aug 2 17:37:00 2008 Subject: gemeral questions (noobish) References: <200808021550.48302.marshc187@gmail.com> <20080802163253.12a47b6a@gumby.homeunix.com.> <200808021832.53488.marshc187@gmail.com> Message-ID: mcassar wrote: [snip] > > I only tried csup on ports once and wasn't too sure i should since the > handbook or somewhere mentioned the ports tree should be empty the first > time you run it; and got the impression you should only use either or > (csup vs portsnap). I can only speak to cvsup or csup (which I use) but I'd like to point out a very common mistake wrt either. It is a good idea to have two different sup files, as they will need to download different collections of material. For example this: *default release=cvs tag=RELENG_7_0 src-all combination will pull down the system sources for the security updates to RELEASE. Read in the Handbook about the tags and collections. I keep a separate sup file for keeping the ports tree updated and the difference is here: *default release=cvs tag=. ports-all Please notice that if you use the "tag=." with "src-all" you will pull down HEAD, which is the "bleeding edge" of development and not what a beginner should be using. But when used with the ports "collection" you will get an up to date ports tree. > anyhow i think that only my nvidia driver instructions mentioned it relies > on what i think are system sources (kernel related - if i'm not mistaken) > - but i haven't touched that yet. Generally speaking before building something like the nvidia drivers using the ports system the best first step is to refresh the ports tree. With all dependencies tracked and updated you'll likely have more success. Notice, for instance, that the nvidia driver depends on having what we call the "linuxulator" installed. It'll do this for you but you may have to enter a line in your /boot/loader.conf to ensure the linux.ko kernel module gets loaded every time at boot. You will usually see some more instructions at the end if you need to do anything special. Also, be aware that the nvidia driver is only currently working with i386, _not_ amd64. Even if only using packages you should _still_ update the ports tree, as the package system relies on it for dependency tracking as well. > I hate to bother any further but have one thing to clarify about building > attempts - when building anything, if that's ok. I only have a basic > understanding of C so far, and can't really tell how critical warnings are > - such as undefined this and that, defined but not used...etc, when > building a > port. should i stop those and see how i should fix them or let them > proceed as long as they're not errors? I can live with my current system > for now, but have a few things i need to update eventually. > When you use ports and compile stuff, you may see all manners of warnings, errors, and sundry garbage spewing forth from the compiler. Most of this, most of the time, is benign and not something to get overly concerned about as it is fairly normal. The exception is if the build errors out and completely quits, and there is an error sequence that will indicate whereabouts it bombed. Sometimes ports do get broken and need fixing, but most ports have a person who maintains them. If/when many people see the same error someone usually notifies the port maintainer and he/she then looks into fixing it. But generally speaking, if the build completes and runs without segfaulting just ignore what you may have seen scrolling by while building. Most of the time it's just "noise". :-) -Mike From m.seaman at infracaninophile.co.uk Sat Aug 2 17:37:54 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Aug 2 17:38:07 2008 Subject: jail_box_ip="" In-Reply-To: References: Message-ID: <48949B5F.4070300@infracaninophile.co.uk> Redd Vinylene wrote: > Hey, I got a couple of hundred IPs, is there an easy way to add them > all to jail_box_ip="ip1,ip2,ip3" without making like the longest line > ever? > > Like this? > > jail_box_ip="66.252.2.4,\ > 66.252.2.5,\ > 66.252.2.6,\ > > Unfortunately that doesn't look too good. > > Nor does: > > export x=$(cat ips);export jail_ips=''; for ip in $x; do export > jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed > s/,$/''/ | sed s/^,//); > > Is there a more beautiful alternative? /etc/rc.conf is just /bin/sh code. All you need to do is set the variables -- usually by assigning a static string, but you can use whatever constructs you want. Well - within reason. Making something as critical as the system boot process depend on a bunch of other files or processes is not a good idea on the whole. You can include multi-line whitespace in the variables by using single quotes: jail_box_ip='66.252.2.4, 66.252.2.5, 66.252.2.6, 66.252.2.7' Assuming that the init script that processes this data isn't phased by the inclusion of a bit of whitespace. Or you can generate the required numbers, assuming they are consecutive: jail_box_ip=$( jot -w "66.252.2.%d" -s "," 5 4 ) 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080802/7cd9c94f/signature.pgp From fbsd06 at mlists.homeunix.com Sat Aug 2 17:48:42 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sat Aug 2 17:48:48 2008 Subject: I can't make world without the "games" group? In-Reply-To: References: <82f3feb90808011447sa4062e4k16a69d678bff4893@mail.gmail.com> Message-ID: <20080802184837.7cbed956@gumby.homeunix.com.> On Sat, 2 Aug 2008 18:48:27 +0200 "Redd Vinylene" wrote: > Adding WITHOUT_GAMES="YES" to /etc/src.conf most certainly didn't > work. > > Why does FreeBSD pack so much, pardon my language, bullshit anyway? It's largely a consequence of having a coherent OS, rather than a kernel and third-party packages. > Yes, one or two (out of one or two million) might need it, but can't > we make it available to them in some other way? As a module or a port > or something? Like I already said, that's been done, the actual games went to a port. I don't see why you care so much about removing 3.2Mb. BTW please stop cross-posting to bugs, if you think you've found a bug, you should go through proper channels and file a PR. From reddvinylene at gmail.com Sat Aug 2 18:07:35 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 18:07:44 2008 Subject: jail_box_ip="" In-Reply-To: <48949B5F.4070300@infracaninophile.co.uk> References: <48949B5F.4070300@infracaninophile.co.uk> Message-ID: jail_box_ip=$( jot -w "66.252.2.%d" -s "," 124 4 ) What a gorgeous solution ;) Thanks man! On Sat, Aug 2, 2008 at 7:37 PM, Matthew Seaman wrote: > Redd Vinylene wrote: >> >> Hey, I got a couple of hundred IPs, is there an easy way to add them >> all to jail_box_ip="ip1,ip2,ip3" without making like the longest line >> ever? >> >> Like this? >> >> jail_box_ip="66.252.2.4,\ >> 66.252.2.5,\ >> 66.252.2.6,\ >> >> Unfortunately that doesn't look too good. >> >> Nor does: >> >> export x=$(cat ips);export jail_ips=''; for ip in $x; do export >> jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed >> s/,$/''/ | sed s/^,//); >> >> Is there a more beautiful alternative? > > /etc/rc.conf is just /bin/sh code. All you need to do is set > the variables -- usually by assigning a static string, but you > can use whatever constructs you want. Well - within reason. Making > something as critical as the system boot process depend on a bunch of > other files or processes is not a good idea on the whole. > > You can include multi-line whitespace in the variables by using single > quotes: > > jail_box_ip='66.252.2.4, > 66.252.2.5, > 66.252.2.6, > 66.252.2.7' > > Assuming that the init script that processes this data isn't phased > by the inclusion of a bit of whitespace. > > Or you can generate the required numbers, assuming they are > consecutive: > > jail_box_ip=$( jot -w "66.252.2.%d" -s "," 5 4 ) > > 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 > > -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Sat Aug 2 18:10:24 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 18:10:31 2008 Subject: jail_box_ip="" In-Reply-To: References: <48949B5F.4070300@infracaninophile.co.uk> Message-ID: Can something similar be used for my ifconfig_rl0_aliasN="inet 66.252.2.N netmask 255.255.255.255" as well? On Sat, Aug 2, 2008 at 8:07 PM, Redd Vinylene wrote: > jail_box_ip=$( jot -w "66.252.2.%d" -s "," 124 4 ) > > What a gorgeous solution ;) > > Thanks man! > > On Sat, Aug 2, 2008 at 7:37 PM, Matthew Seaman > wrote: >> Redd Vinylene wrote: >>> >>> Hey, I got a couple of hundred IPs, is there an easy way to add them >>> all to jail_box_ip="ip1,ip2,ip3" without making like the longest line >>> ever? >>> >>> Like this? >>> >>> jail_box_ip="66.252.2.4,\ >>> 66.252.2.5,\ >>> 66.252.2.6,\ >>> >>> Unfortunately that doesn't look too good. >>> >>> Nor does: >>> >>> export x=$(cat ips);export jail_ips=''; for ip in $x; do export >>> jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed >>> s/,$/''/ | sed s/^,//); >>> >>> Is there a more beautiful alternative? >> >> /etc/rc.conf is just /bin/sh code. All you need to do is set >> the variables -- usually by assigning a static string, but you >> can use whatever constructs you want. Well - within reason. Making >> something as critical as the system boot process depend on a bunch of >> other files or processes is not a good idea on the whole. >> >> You can include multi-line whitespace in the variables by using single >> quotes: >> >> jail_box_ip='66.252.2.4, >> 66.252.2.5, >> 66.252.2.6, >> 66.252.2.7' >> >> Assuming that the init script that processes this data isn't phased >> by the inclusion of a bit of whitespace. >> >> Or you can generate the required numbers, assuming they are >> consecutive: >> >> jail_box_ip=$( jot -w "66.252.2.%d" -s "," 5 4 ) >> >> 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 >> >> > > > > -- > http://www.home.no/reddvinylene > -- http://www.home.no/reddvinylene From marshc187 at gmail.com Sat Aug 2 18:41:57 2008 From: marshc187 at gmail.com (mcassar) Date: Sat Aug 2 18:42:04 2008 Subject: gemeral questions (noobish) In-Reply-To: References: <200808021550.48302.marshc187@gmail.com> <200808021832.53488.marshc187@gmail.com> Message-ID: <200808022041.51216.marshc187@gmail.com> On Saturday 02 August 2008 19:38:20 Michael Powell wrote: > I can only speak to cvsup or csup (which I use) but I'd like to point out a > very common mistake wrt either. It is a good idea to have two different sup > files, as they will need to download different collections of material. For > example this: > > *default release=cvs tag=RELENG_7_0 > src-all > > combination will pull down the system sources for the security updates to > RELEASE. Read in the Handbook about the tags and collections. > > I keep a separate sup file for keeping the ports tree updated and the > difference is here: > > *default release=cvs tag=. > ports-all > > Please notice that if you use the "tag=." with "src-all" you will pull down > HEAD, which is the "bleeding edge" of development and not what a beginner > should be using. But when used with the ports "collection" you will get an > up to date ports tree. now this makes sense, i wasn't too sure from reading the handbook so i thought i'd play safe and use the example ports-supfiles, but then used the example stable-supfile instead of whichever is for release. lives and learns. > > anyhow i think that only my nvidia driver instructions mentioned it > > relies on what i think are system sources (kernel related - if i'm not > > mistaken) - but i haven't touched that yet. > > Generally speaking before building something like the nvidia drivers using > the ports system the best first step is to refresh the ports tree. With all > dependencies tracked and updated you'll likely have more success. Notice, > for instance, that the nvidia driver depends on having what we call > the "linuxulator" installed. It'll do this for you but you may have to > enter a line in your /boot/loader.conf to ensure the linux.ko kernel module > gets loaded every time at boot. You will usually see some more instructions > at the end if you need to do anything special. Also, be aware that the > nvidia driver is only currently working with i386, _not_ amd64. > Even if only using packages you should _still_ update the ports tree, as > the package system relies on it for dependency tracking as well. > > > I hate to bother any further but have one thing to clarify about building > > attempts - when building anything, if that's ok. I only have a basic > > understanding of C so far, and can't really tell how critical warnings > > are - such as undefined this and that, defined but not used...etc, when > > building a > > port. should i stop those and see how i should fix them or let them > > proceed as long as they're not errors? I can live with my current system > > for now, but have a few things i need to update eventually. > > When you use ports and compile stuff, you may see all manners of warnings, > errors, and sundry garbage spewing forth from the compiler. Most of this, > most of the time, is benign and not something to get overly concerned about > as it is fairly normal. The exception is if the build errors out and > completely quits, and there is an error sequence that will indicate > whereabouts it bombed. Sometimes ports do get broken and need fixing, but > most ports have a person who maintains them. If/when many people see the > same error someone usually notifies the port maintainer and he/she then > looks into fixing it. > > But generally speaking, if the build completes and runs without segfaulting > just ignore what you may have seen scrolling by while building. Most of the > time it's just "noise". :-) > > -Mike > with the nvidia-driver, i've tried both ways 1-> using the ports tree off the install discs without updating (which has a ver 100...,, something and seems to work ok with xorg from packages) ,,, 2 -> after updating the ports tree (which has ver 173..something) and seems to work better if i update xorg from ports. The thing is, this usually goes like dominos and ends up in updating one thing after another; and with at least 350 packages to update at once, i easily loose track and just hope for the best. I've had different results from that with the system as a whole, generally with good improvements on one end, and some broken stuff on the other, but only seen a segmentation fault once, now that you mention it. (it was with firefox but only that one time - never happened before) So overall i wanted to rule out those warnings with updates in general, know how critical they are and whether i needed to go through configuration files first and what not. thanks for all the info - everything starts to make sense as you go. mcassar > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From reddvinylene at gmail.com Sat Aug 2 19:11:49 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 19:11:55 2008 Subject: Reducing 124 ifconfig lines in rc.conf to just 1 Message-ID: Greetings! I got 124 ifconfig lines going from ifconfig_rl0_alias0="inet 80.252.2.3 netmask 255.255.255.255" to ifconfig_rl0_alias124="inet 80.252.2.127 netmask 255.255.255.255". Is it possible reducing it all to just 1 line using a for loop or jot or something? -- http://www.home.no/reddvinylene From kalin at el.net Sat Aug 2 19:19:02 2008 From: kalin at el.net (kalin m) Date: Sat Aug 2 19:19:09 2008 Subject: Client only supports checkout mode Message-ID: <4894B222.1040602@el.net> hi all... why would i get : "Client only supports checkout mode" when i do; csup /cvsup_file on a new freebsd 7 install what does it mean?! thanks... From keramida at ceid.upatras.gr Sat Aug 2 19:28:42 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Aug 2 19:28:52 2008 Subject: gemeral questions (noobish) In-Reply-To: <200808021832.53488.marshc187@gmail.com> (mcassar's message of "Sat, 2 Aug 2008 18:32:53 +0200") References: <200808021550.48302.marshc187@gmail.com> <20080802163253.12a47b6a@gumby.homeunix.com.> <200808021832.53488.marshc187@gmail.com> Message-ID: <873aln8bdz.fsf@kobe.laptop> On Sat, 2 Aug 2008 18:32:53 +0200, mcassar wrote: > damn, thanks - I had mistaken stable to be what is release; i had come > across the difference at some point but didn't realise when i tried > cvsup (which i also mistook to be more recent than csup). First of all, a hearty "welcome" :) You've only been reading about FreeBSD for a month, but you already managed to install fairly big packages, like KDE and XFCE, learn about csup, supfiles, the ports, and a lot of other stuff. Congratulations on the progress, and we hope you will enjoy FreeBSD as much as many of us also do. > I only tried csup on ports once and wasn't too sure i should since the > handbook or somewhere mentioned the ports tree should be empty the > first time you run it; and got the impression you should only use > either or (csup vs portsnap). One of the important details about keeping up to date with FreeBSD is that you usually have *two* options for almost everything: - Update from the source - Update from 'binaries' (1) The source side of things The full source to the base system and the full source of the Ports, including change history (like who made a change, when, and why), is available online. This is an important part of the whole FreeBSD "culture", and it works in several nice ways: (a) You can go "back" when a change is made but you don't like it, (b) you can see who made a particular change and why, and this works a lot of time both as a tracking tool and, almost as importantly, (d) as educational. So if you want to learn more about how a fairly large body of source code is maintained for several different architectures by a large, distributed team of enthusiastic volunteers, the full history of FreeBSD is available for browsing. The source for FreeBSD is available through a variety of means. Tools like CVSup, csup, and Subversion can be used to pull copies of the source with or without its full history. The same tools (CVSup and csup) can be used to pull and periodically re-synchronize copies of the source for: the base system, the Ports collection, our documentation, or our web site. If you plan to build several versions of the source tree, from one of the various "branches" of development, it is nice to be able to switch from one version to the other without heavy utilization of the network. In this case, CVSup is a great way of pulling full "mirrors" of the CVS repositories. But this needs a fair amount of disk space (slightly more than 2 GB the last time I checked for a full repository mirror of the src/, doc/, www/ and ports/ repositories). (2) The 'binary' side of things On the other hand, if you don't really want to dig that far into the "source" part of things, and you just want to get some work done, you can use a second collection of "update tools" like: * freebsd-update For updating the binaries of the base system. * portsnap For downloading snapshots of the /usr/ports tree * portupgrade with the -PP option For updating the installed third-party packages, using only the prebuilt binary packages of the FreeBSD port-builders team. The choice between checking out the source from CVS and using the prebuilt code whenever possible is something only *you* are qualified to make for yourself. Disk space constraints, limits to the time you can put into keeping the system update, and the level of "bleeding edge" you want to keep up with may influence your final decision and push towards one or the other option. The nice thing about it all is that you *do* have a choice :-) > I hate to bother any further but have one thing to clarify about > building attempts - when building anything, if that's ok. I only have > a basic understanding of C so far, and can't really tell how critical > warnings are - such as undefined this and that, defined but not > used...etc, when building a port. should i stop those and see how i > should fix them or let them proceed as long as they're not errors? I > can live with my current system for now, but have a few things i need > to update eventually. The short answer to "Should I bother?" is "Sure, please do. Before you start 'hacking' at ports, however, we should make it clear that a lot of the existing problems are already fixed and it takes a certain amount of dedication, time and effort to fix the remaining bits.". The longer answer, which is slightly more interesting IMHO, is... The number of broken, completely bogus or just 'unportable' assumptions people make when they write software is mind-numbing. It is often utterly incomprehensible and absolutely stunning how many or how serious assumptions some third-party tools make. All this leads to a lot of the warnings you mentioned above. The FreeBSD port maintainers commonly make an effort to fix these problems as part of the "porting effort". This is why many of the ports have local, FreeBSD-specific patches. If you look in a typical port, there is a "files/" subdirectory which includes FreeBSD patches. Some of these patches are portability fixes. Others are merely interesting and useful enhancements that take advantage of special FreeBSD-only features. There are also patches that are just useful build-time options that serve only to integrate the specific third-party package into the FreeBSD Ports collection in a slightly better way. There are even more reasons why the Ports team chooses to patch a third-party package, and I'm probably forgetting even some of the important ones. This is just a long-winded way of saying that the Ports Collection already fixes a *lot* of things that third-party packages do or need. If you see something that is broken, and you have the experience to fix it for FreeBSD Ports, then by all means please help the porters. They need all the help they can get :) If, on the other hand, you feel that something is odd, strange, not good enough, or outright broken, but you don't want to "mess with the source", you can still help by reporting what you find. Learn about the bug reporting tools, learn to use the "send-pr" utility, the FreeBSD web interface for checking out and searching our bugs database, the mailing lists that people hang out in, the various teams that work with a collection of ports, or how to find, contact and discuss things with the maintainer(s) of particular ports. FreeBSD is a nice system, but we heavily depend on the contributions of our users to improve, extend and maintain it. Quoting from the "About" pages of our web site, here's what you should really always keep in mind when you find out about something that can be improved: It is easy to contribute to FreeBSD. All you need to do is find a part of FreeBSD which you think could be improved and make those changes (carefully and cleanly) and submit that back to the Project by means of send-pr or a committer, if you know one. This could be anything from documentation to artwork to source code. See the `Contributing to FreeBSD'[1] article for more information. [1] http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/contributing/index.html That's the core values of the "FreeBSD community" right there. In a short, nicely written paragraph. This is IMHO the best angle of attack for any FreeBSD problem you have. "If you can help us fix and improve it all, then please do" :-) Have fun with your FreeBSD installations, Giorgos From lars+lister.freebsd at adventuras.no Sat Aug 2 19:32:07 2008 From: lars+lister.freebsd at adventuras.no (Lars Kristiansen) Date: Sat Aug 2 19:32:21 2008 Subject: jail_box_ip="" In-Reply-To: References: <48949B5F.4070300@infracaninophile.co.uk> Message-ID: <4894B274.7060308@adventuras.no> Redd Vinylene skrev: > Can something similar be used for my > > ifconfig_rl0_aliasN="inet 66.252.2.N netmask 255.255.255.255" > > as well? > This is not as elegant, but may help in a similar way: alia=-1; while [ "$alia" -lt '123' ] ; do alia=$(($alia+1)) ; ips=$(($alia+4)) ; echo "ifconfig_rl0_alias$alia=\"inet 66.252.2.$ips netmask 255.255.255.255\"" ; done Regards Lars, arbeids?kende, Oslo > On Sat, Aug 2, 2008 at 8:07 PM, Redd Vinylene wrote: >> jail_box_ip=$( jot -w "66.252.2.%d" -s "," 124 4 ) >> >> What a gorgeous solution ;) >> >> Thanks man! >> >> On Sat, Aug 2, 2008 at 7:37 PM, Matthew Seaman >> wrote: >>> Redd Vinylene wrote: >>>> Hey, I got a couple of hundred IPs, is there an easy way to add them >>>> all to jail_box_ip="ip1,ip2,ip3" without making like the longest line >>>> ever? >>>> >>>> Like this? >>>> >>>> jail_box_ip="66.252.2.4,\ >>>> 66.252.2.5,\ >>>> 66.252.2.6,\ >>>> >>>> Unfortunately that doesn't look too good. >>>> >>>> Nor does: >>>> >>>> export x=$(cat ips);export jail_ips=''; for ip in $x; do export >>>> jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed >>>> s/,$/''/ | sed s/^,//); >>>> >>>> Is there a more beautiful alternative? >>> /etc/rc.conf is just /bin/sh code. All you need to do is set >>> the variables -- usually by assigning a static string, but you >>> can use whatever constructs you want. Well - within reason. Making >>> something as critical as the system boot process depend on a bunch of >>> other files or processes is not a good idea on the whole. >>> >>> You can include multi-line whitespace in the variables by using single >>> quotes: >>> >>> jail_box_ip='66.252.2.4, >>> 66.252.2.5, >>> 66.252.2.6, >>> 66.252.2.7' >>> >>> Assuming that the init script that processes this data isn't phased >>> by the inclusion of a bit of whitespace. >>> >>> Or you can generate the required numbers, assuming they are >>> consecutive: >>> >>> jail_box_ip=$( jot -w "66.252.2.%d" -s "," 5 4 ) >>> >>> 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 >>> >>> >> >> >> -- >> http://www.home.no/reddvinylene >> > > > From jakub_lach at mailplus.pl Sat Aug 2 19:36:22 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Sat Aug 2 19:36:30 2008 Subject: Using CPUTYPE=core2, Penryn instructions support Message-ID: <18792525.post@talk.nabble.com> Hello. >From what I understand, gcc42 does not support core2 option. How it's possible that some people are using it with FreeBSD -CURRENT (and it's not used as mere prescott alias). http://www.nabble.com/Re%3A-CPUTYPE-p10787174.html Is -CURRENT using newer version of gcc, despite licensing problems? I'm interested in using full Penryn instructions, if that would be possible... -- View this message in context: http://www.nabble.com/Using-CPUTYPE%3Dcore2%2C-Penryn-instructions-support-tp18792525p18792525.html Sent from the freebsd-questions mailing list archive at Nabble.com. From roberthuff at rcn.com Sat Aug 2 19:43:46 2008 From: roberthuff at rcn.com (Robert Huff) Date: Sat Aug 2 19:43:53 2008 Subject: gemeral questions (noobish) In-Reply-To: References: <200808021550.48302.marshc187@gmail.com> <20080802163253.12a47b6a@gumby.homeunix.com.> <200808021832.53488.marshc187@gmail.com> Message-ID: <18580.47343.395943.288119@jerusalem.litteratus.org> Michael Powell writes: > I can only speak to cvsup or csup (which I use) but I'd like to point out a > very common mistake wrt either. It is a good idea to have two different sup > files, as they will need to download different collections of material. For > example this: > > *default release=cvs tag=RELENG_7_0 > src-all > > combination will pull down the system sources for the security updates to > RELEASE. Read in the Handbook about the tags and collections. > > I keep a separate sup file for keeping the ports tree updated and the > difference is here: > > *default release=cvs tag=. > ports-all I have a file for src-, one for ports-, and one for doc-. Robert Huff From freebsd at edvax.de Sat Aug 2 19:44:38 2008 From: freebsd at edvax.de (Polytropon) Date: Sat Aug 2 19:44:47 2008 Subject: Reducing 124 ifconfig lines in rc.conf to just 1 In-Reply-To: References: Message-ID: <20080802214436.412d0e8a.freebsd@edvax.de> Hi! On Sat, 2 Aug 2008 21:11:47 +0200, "Redd Vinylene" wrote: > Greetings! > > I got 124 ifconfig lines going from ifconfig_rl0_alias0="inet > 80.252.2.3 netmask 255.255.255.255" to ifconfig_rl0_alias124="inet > 80.252.2.127 netmask 255.255.255.255". > > Is it possible reducing it all to just 1 line using a for loop or jot > or something? I'm thinking of a "two stage procedure" that can be implemented well with /etc/rc.conf. Stupid idea, I know, but it should work, allthough you could make it more tidy: # First create /etc/ifconfig.conf if not already there if [ ! -f /etc/ifconfig.conf ]; then echo "#!/bin/sh" > /etc/ifconfig.conf ALIAS=0 while [ ${ALIAS} -lt 125 ]; do echo 'ifconfig_rl0_alias${ALIAS}="inet 80.252.2.`expr ${ALIAS} + 4` netmask 255.255.255.255" >> /etc/ifconfig.conf ALIAS=`expr ${ALIAS} + 1` done fi # Now source it into /etc/rc.conf . /etc/ifconfig.conf # Done. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sat Aug 2 19:52:22 2008 From: freebsd at edvax.de (Polytropon) Date: Sat Aug 2 19:52:28 2008 Subject: Reducing 124 ifconfig lines in rc.conf to just 1 In-Reply-To: References: Message-ID: <20080802212437.e5a853c1.freebsd@edvax.de> Hi! On Sat, 2 Aug 2008 21:11:47 +0200, "Redd Vinylene" wrote: > Greetings! > > I got 124 ifconfig lines going from ifconfig_rl0_alias0="inet > 80.252.2.3 netmask 255.255.255.255" to ifconfig_rl0_alias124="inet > 80.252.2.127 netmask 255.255.255.255". > > Is it possible reducing it all to just 1 line using a for loop or jot > or something? I'm thinking of a "two stage procedure" that can be implemented well with /etc/rc.conf. Stupid idea, I know, but it should work, allthough you could make it more tidy: # First create /etc/ifconfig.conf if not already there if [ ! -f /etc/ifconfig.conf ]; then echo "#!/bin/sh" > /etc/ifconfig.conf ALIAS=0 while [ ${ALIAS} -lt 125 ]; do echo 'ifconfig_rl0_alias${ALIAS}="inet 80.252.2.`expr ${ALIAS} + 4` netmask 255.255.255.255" >> /etc/ifconfig.conf ALIAS=`expr ${ALIAS} + 1` done fi # Now source it into /etc/rc.conf . /etc/ifconfig.conf # Done. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From reddvinylene at gmail.com Sat Aug 2 19:55:49 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 19:56:00 2008 Subject: The best way to upgrade my FreeBSD and its jails In-Reply-To: References: <489398AD.6000900@webanoide.org> <48940CAB.9040001@quip.cz> Message-ID: Sorry, JAILS=/usr/jail for jail in $JAILS/*; do mergemaster -p -D $jail make installworld delete-old delete-old-libs DESTDIR=$jail mergemaster -i -U -D $jail done :) On Sat, Aug 2, 2008 at 9:55 PM, Redd Vinylene wrote: > Sorry, > > JAILS=/usr/jail > > for jail in $JAILS/*; do > > mergemaster -p -D $jail > > make installworld delete-old delete-old-libs DESTDIR=$jail > > mergemaster -i -U -D $jail > > done > > :) > > On Sat, Aug 2, 2008 at 4:26 PM, Redd Vinylene wrote: >> Slight improvement, set -e replaces all the && \: >> >> - >> >> # FreeBSD/i386 mother.naoshige.net >> >> set -e >> >> csup /etc/cvsupfile >> >> cd /usr/src >> >> make buildworld buildkernel >> >> mergemaster -p >> >> make installworld installkernel delete-old delete-old-libs >> >> mergemaster -i -U >> >> JAILS=/usr/local/jails >> >> for jail in $JAILS/*; do >> >> mergemaster -p -D $JAILS/$jail >> >> make installworld delete-old delete-old-libs DESTDIR=$JAILS/$jail >> >> mergemaster -i -U -D $JAILS/$jail >> >> done >> >> chflags -R noschg /usr/obj/* >> >> rm -rf /usr/obj/* >> >> - >> >> Peace! >> >> On Sat, Aug 2, 2008 at 12:03 PM, Redd Vinylene wrote: >>> Thanks a lot guys for your great design insight! >>> >>> I hope others will find this thread interesting as well. Here's the >>> final upgrade script I decided to use (my shell is zsh): >>> >>> - >>> >>> # FreeBSD/i386 mother.naoshige.net >>> >>> csup /etc/cvsupfile >>> >>> cd /usr/src >>> >>> make buildworld buildkernel && \ >>> >>> mergemaster -p && \ >>> >>> make installworld installkernel delete-old delete-old-libs && \ >>> >>> mergemaster -i -U && \ >>> >>> JAILS=/usr/local/jails >>> >>> cd /usr/src >>> >>> for jail in $JAILS/*; do >>> >>> mergemaster -p -D $JAILS/$jail && \ >>> >>> make installworld delete-old delete-old-libs DESTDIR=$JAILS/$jail && \ >>> >>> mergemaster -i -U -D $JAILS/$jail && \ >>> >>> done >>> >>> chflags -R noschg /usr/obj/* >>> >>> rm -rf /usr/obj/* >>> >>> - >>> >>> Much obliged! >>> >>> On Sat, Aug 2, 2008 at 9:28 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote: >>>> Mikhail Goriachev wrote: >>>>> >>>>> Redd Vinylene wrote: >>>>> >>>>>> My dedicated server is mother, its two jails are camel and box. Is >>>>>> this the best way to upgrade all of them? >>>>> >>>>> >>>>> We probably should keep this to freebsd-jail@ only. >>>>> >>>>> Had a look at http://pastie.org/245821 and have a few notes for you: >>>>> >>>>> 1.- As Miroslav already mentioned - it is not a good idea to daisy chain >>>>> everything. You should break the procedure into two steps. Firstly upgrade >>>>> the host and make sure the upgrade went well. Once you're certain that >>>>> everything is ok, then proceed upgrading jails. >>>>> >>>>> I personally disable jails (jail_enable="NO"), then reboot (to avoid any >>>>> zombie jails), perform upgrade on all jails and then enable them back on. >>>>> >>>>> 2.- Your upgrading sequence is a bit off. Have a look at /usr/src/Makefile >>>>> for further details and correct sequence: >>>>> >>>>> # make buildworld >>>>> # make buildkernel >>>>> # make installkernel >>>>> # reboot >>>>> # mergemaster -p >>>>> # make installworld >>>>> # make delete-old >>>>> # mergemaster >>>>> # reboot >>>>> # make delete-old-libs >>>>> >>>>> 3.- You don't need kernels inside your jails. Having them won't hurt you, >>>>> but they consume space. In other words, you shouldn't execute the following >>>>> (or similar): >>>>> >>>>> # make DESTDIR=$D installkernel >>>>> >>>>> 4.- The "make distribution DESTDIR=$D" should be executed only once - when >>>>> a jail is created. Otherwise you're nuking your configurations in jail's >>>>> /etc and probably somewhere else. >>>> >>>> One thing to note - If you do delete-old delete-old-libs you probably need >>>> to recompile all installed ports because of lib dependencies. >>>> >>>>> Have a go at this, you might find some use for it: >>>>> >>>>> ----------------------- >>>>> JAILSDIR=/usr/local/jails >>>>> >>>>> cd /usr/src >>>>> >>>>> for jail in `ls ${JAILSDIR}`; do >>>>> mergemaster -pD ${JAILSDIR}/${jail} >>>>> make installworld DESTDIR=${JAILSDIR}/${jail} >>>>> mergemaster -iD ${JAILSDIR}/${jail} >>>>> done >>>>> ----------------------- >>>> >>> >> > > > > -- > http://www.home.no/reddvinylene > -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Sat Aug 2 19:58:59 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 19:59:06 2008 Subject: Reducing 124 ifconfig lines in rc.conf to just 1 In-Reply-To: <18580.47417.852480.697885@jerusalem.litteratus.org> References: <18580.47417.852480.697885@jerusalem.litteratus.org> Message-ID: Cool! But isn't that to define the entire class? In my case it's just *.3 to *.127, do you mean I can just ifconfig_rl0_aliases="inet 80.252.2.3/127 netmask 255.255.255.255" or something? Probably not but worth a try ;) On Sat, Aug 2, 2008 at 9:44 PM, Robert Huff wrote: > > Redd Vinylene writes: > >> I got 124 ifconfig lines going from ifconfig_rl0_alias0="inet >> 80.252.2.3 netmask 255.255.255.255" to ifconfig_rl0_alias124="inet >> 80.252.2.127 netmask 255.255.255.255". >> >> Is it possible reducing it all to just 1 line using a for loop or jot >> or something? > > Have you examined CIDR notation? ifconfig supports it. > > > Robert Huff > > -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Sat Aug 2 19:59:55 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 20:00:02 2008 Subject: Reducing 124 ifconfig lines in rc.conf to just 1 In-Reply-To: <20080802212437.e5a853c1.freebsd@edvax.de> References: <20080802212437.e5a853c1.freebsd@edvax.de> Message-ID: On Sat, Aug 2, 2008 at 9:24 PM, Polytropon wrote: > Hi! > > On Sat, 2 Aug 2008 21:11:47 +0200, "Redd Vinylene" wrote: >> Greetings! >> >> I got 124 ifconfig lines going from ifconfig_rl0_alias0="inet >> 80.252.2.3 netmask 255.255.255.255" to ifconfig_rl0_alias124="inet >> 80.252.2.127 netmask 255.255.255.255". >> >> Is it possible reducing it all to just 1 line using a for loop or jot >> or something? > > I'm thinking of a "two stage procedure" that can be implemented > well with /etc/rc.conf. Stupid idea, I know, but it should work, > allthough you could make it more tidy: > > # First create /etc/ifconfig.conf if not already there > if [ ! -f /etc/ifconfig.conf ]; then > echo "#!/bin/sh" > /etc/ifconfig.conf > ALIAS=0 > while [ ${ALIAS} -lt 125 ]; do > echo 'ifconfig_rl0_alias${ALIAS}="inet 80.252.2.`expr ${ALIAS} + 4` netmask 255.255.255.255" >> /etc/ifconfig.conf > ALIAS=`expr ${ALIAS} + 1` > done > fi > > # Now source it into /etc/rc.conf > . /etc/ifconfig.conf > > # Done. > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > That will probably work. Looks a bit messy though, I'll use it if nobody else knows of a simpler solution. Thanks! -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Sat Aug 2 20:22:55 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 20:23:01 2008 Subject: jail_box_ip="" In-Reply-To: <4894B274.7060308@adventuras.no> References: <48949B5F.4070300@infracaninophile.co.uk> <4894B274.7060308@adventuras.no> Message-ID: Actually: jail_box_ip=$( jot -w "66.252.2.%d" -s "," 124 4 ) gives me: Aug 2 20:10:50 mother root: /etc/rc: WARNING: devfs_set_ruleset: you must specify a ruleset number Aug 2 20:10:58 mother root: /etc/rc: ERROR: jail: No IP address has been defined for box On Sat, Aug 2, 2008 at 9:16 PM, Lars Kristiansen wrote: > Redd Vinylene skrev: >> >> Can something similar be used for my >> >> ifconfig_rl0_aliasN="inet 66.252.2.N netmask 255.255.255.255" >> >> as well? >> > > This is not as elegant, but may help in a similar way: > > alia=-1; > while [ "$alia" -lt '123' ] ; do > alia=$(($alia+1)) ; > ips=$(($alia+4)) ; > echo "ifconfig_rl0_alias$alia=\"inet 66.252.2.$ips netmask > 255.255.255.255\"" ; > done > > > Regards > Lars, > arbeids?kende, Oslo > > >> On Sat, Aug 2, 2008 at 8:07 PM, Redd Vinylene >> wrote: >>> >>> jail_box_ip=$( jot -w "66.252.2.%d" -s "," 124 4 ) >>> >>> What a gorgeous solution ;) >>> >>> Thanks man! >>> >>> On Sat, Aug 2, 2008 at 7:37 PM, Matthew Seaman >>> wrote: >>>> >>>> Redd Vinylene wrote: >>>>> >>>>> Hey, I got a couple of hundred IPs, is there an easy way to add them >>>>> all to jail_box_ip="ip1,ip2,ip3" without making like the longest line >>>>> ever? >>>>> >>>>> Like this? >>>>> >>>>> jail_box_ip="66.252.2.4,\ >>>>> 66.252.2.5,\ >>>>> 66.252.2.6,\ >>>>> >>>>> Unfortunately that doesn't look too good. >>>>> >>>>> Nor does: >>>>> >>>>> export x=$(cat ips);export jail_ips=''; for ip in $x; do export >>>>> jail_ips="$jail_ips,$ip"; done; export jail_ips=$(echo $jail_ips | sed >>>>> s/,$/''/ | sed s/^,//); >>>>> >>>>> Is there a more beautiful alternative? >>>> >>>> /etc/rc.conf is just /bin/sh code. All you need to do is set >>>> the variables -- usually by assigning a static string, but you >>>> can use whatever constructs you want. Well - within reason. Making >>>> something as critical as the system boot process depend on a bunch of >>>> other files or processes is not a good idea on the whole. >>>> >>>> You can include multi-line whitespace in the variables by using single >>>> quotes: >>>> >>>> jail_box_ip='66.252.2.4, >>>> 66.252.2.5, >>>> 66.252.2.6, >>>> 66.252.2.7' >>>> >>>> Assuming that the init script that processes this data isn't phased >>>> by the inclusion of a bit of whitespace. >>>> >>>> Or you can generate the required numbers, assuming they are >>>> consecutive: >>>> >>>> jail_box_ip=$( jot -w "66.252.2.%d" -s "," 5 4 ) >>>> >>>> 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 >>>> >>>> >>> >>> >>> -- >>> http://www.home.no/reddvinylene >>> >> >> >> > > -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Sat Aug 2 20:34:21 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 20:34:28 2008 Subject: Did a makeworld now my jails won't start!! Uh oh.. Message-ID: Greetings, i just did a makeworld of my main system and both my jails (http://pastie.org/246273) but now my jails won't run. i get Starting jails:/etc/rc.d/jail: WARNING: devfs_set_ruleset: you must specify a ruleset number devfs rule: ioctl DEVFSIO_SAPPLY: No such process here's my main system's rc.conf http://pastie.org/246272 thanks! -- http://www.home.no/reddvinylene From marshc187 at gmail.com Sat Aug 2 20:35:47 2008 From: marshc187 at gmail.com (mcassar) Date: Sat Aug 2 20:35:53 2008 Subject: gemeral questions (noobish) In-Reply-To: <18580.47343.395943.288119@jerusalem.litteratus.org> References: <200808021550.48302.marshc187@gmail.com> <18580.47343.395943.288119@jerusalem.litteratus.org> Message-ID: <200808022235.40815.marshc187@gmail.com> On Saturday 02 August 2008 21:43:43 Robert Huff wrote: > Michael Powell writes: > > I can only speak to cvsup or csup (which I use) but I'd like to point > > out a very common mistake wrt either. It is a good idea to have two > > different sup files, as they will need to download different collections > > of material. For example this: > > > > *default release=cvs tag=RELENG_7_0 > > src-all > > > > combination will pull down the system sources for the security updates > > to RELEASE. Read in the Handbook about the tags and collections. > > > > I keep a separate sup file for keeping the ports tree updated and the > > difference is here: > > > > *default release=cvs tag=. > > ports-all > > I have a file for src-, one for ports-, and one for doc-. > > > Robert Huff so most of you _do_ use or prefer csup/cvsup more than portsnap, right? From reddvinylene at gmail.com Sat Aug 2 21:09:41 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 2 21:09:47 2008 Subject: Did a makeworld now my jails won't start!! Uh oh.. In-Reply-To: References: Message-ID: I tried changing "camel_ruleset" and "box_ruleset" to "devfsrules_jail" in rc.conf, it got rid of the "devfs_set_ruleset: you must specify a ruleset number" but whenever I try to SSH into one of my jails I seem to have logged onto the main system. I'm confused :( On Sat, Aug 2, 2008 at 10:34 PM, Redd Vinylene wrote: > Greetings, i just did a makeworld of my main system and both my jails > (http://pastie.org/246273) but now my jails won't run. i get > > Starting jails:/etc/rc.d/jail: WARNING: devfs_set_ruleset: you must > specify a ruleset number > devfs rule: ioctl DEVFSIO_SAPPLY: No such process > > here's my main system's rc.conf http://pastie.org/246272 > > thanks! > > -- > http://www.home.no/reddvinylene > -- http://www.home.no/reddvinylene From marshc187 at gmail.com Sat Aug 2 21:49:28 2008 From: marshc187 at gmail.com (mcassar) Date: Sat Aug 2 21:49:35 2008 Subject: gemeral questions (noobish) In-Reply-To: <873aln8bdz.fsf@kobe.laptop> References: <200808021550.48302.marshc187@gmail.com> <200808021832.53488.marshc187@gmail.com> <873aln8bdz.fsf@kobe.laptop> Message-ID: <200808022349.23182.marshc187@gmail.com> thanks alot for that. i mean, apart from your general overview of freebsd (system, project and community), which gives me an idea how things are done, what's happeniing and where things are, you really put me at ease with trying to figure out these warnings, or at least what to expect and where to start - i wasn't sure if it was up to my setup or what. although i don't know if you misunderstood my saying *fix them* as in i should setup my system properly, or as in get to bug-tracing and the like; which is still out of my expertise and jurisdiction. or was that wishfull thinking? it is something i want to figure out eventually, but at the moment i'm still so fascinated by everything (system, community) that i'm trying to catch up on as much as i can. anyway, it's getting late here now and i honestly forgot what else i was going to say, except thanks for the welcome. appreciiated since i honestly still can't beleive i was missing out on this fbsd *stuff* From dan at langille.org Sat Aug 2 23:10:10 2008 From: dan at langille.org (Dan Langille) Date: Sat Aug 2 23:10:16 2008 Subject: The FreeBSD Diary: 2008-07-13 - 2008-08-02 Message-ID: <20080802231003.F388250952@nyi.unixathome.org> 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 and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From perryh at pluto.rain.com Sat Aug 2 23:36:32 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Aug 2 23:36:38 2008 Subject: undocumented tar --unlink switch Message-ID: <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com> Around line 37 of /usr/src/usr.sbin/pkg_install/add/extract.c there's an invocation of /usr/bin/tar with a --unlink switch, which I don't see mentioned in the tar(1) manpage. Anyone happen to know what this does, or do I need to dig into the code? From dnelson at allantgroup.com Sat Aug 2 23:51:13 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Sat Aug 2 23:51:20 2008 Subject: undocumented tar --unlink switch In-Reply-To: <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com> References: <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com> Message-ID: <20080802235109.GB93138@dan.emsphone.com> In the last episode (Aug 02), perryh@pluto.rain.com said: > Around line 37 of /usr/src/usr.sbin/pkg_install/add/extract.c > there's an invocation of /usr/bin/tar with a --unlink switch, > which I don't see mentioned in the tar(1) manpage. Anyone > happen to know what this does, or do I need to dig into the > code? That's just the longopts version of -U. They're mainly for gnutar compatibility, and the manpage refers to them at the very end: There are alternative long options for many of the short options that are deliberately not documented. -- Dan Nelson dnelson@allantgroup.com From josh.carroll at gmail.com Sat Aug 2 23:53:19 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Sat Aug 2 23:53:30 2008 Subject: undocumented tar --unlink switch In-Reply-To: <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com> References: <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com> Message-ID: <8cb6106e0808021653h491c8ac0re3c2f4cd067e8c98@mail.gmail.com> > Around line 37 of /usr/src/usr.sbin/pkg_install/add/extract.c > there's an invocation of /usr/bin/tar with a --unlink switch, > which I don't see mentioned in the tar(1) manpage. Anyone > happen to know what this does, or do I need to dig into the > code? My guess was that it was the long option version of -U: -U (x mode only) Unlink files before creating them. Without this option, tar overwrites existing files, which preserves existing hardlinks. With this option, existing hardlinks will be broken, as will any symlink that would affect the location of an A quick perusal of the source confirms. Josh From msoulier at digitaltorque.ca Sun Aug 3 02:19:26 2008 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sun Aug 3 02:19:33 2008 Subject: Backspace Key Not Working In-Reply-To: <8d23ec860807260848g149df722i801d1d45aa61edcf@mail.gmail.com> References: <8d23ec860807260848g149df722i801d1d45aa61edcf@mail.gmail.com> Message-ID: <20080803014938.GB6381@piglet.digitaltorque.ca> On 26/07/08 Schiz0 said: > Hey, > > I have an annoying problem that I'm not sure how to solve. Here's my setup: > > PuTTy => My FreeBSD 6.2 box => Production FreeBSD 7.0 box > > All via SSH, of course. Now, on my FreeBSD 6.2 box, the backspace key > works fine all the time. However, when I connect from my 6.2 box into > the production 7.0 box, the backspace key does not work all the time. > In the console, it works fine (as in, it deletes what I type). > However, when I'm in programs such as VIM, it displays "^?" instead of > deleting. Is there a way to fix this? Does it work in the terminal? Lets see stty -a in the shell. Also see :h fixdel in Vim. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080803/bc3d9137/attachment.pgp From luizbcampos at gmail.com Sun Aug 3 04:17:18 2008 From: luizbcampos at gmail.com (luizbcampos) Date: Sun Aug 3 04:17:26 2008 Subject: tracker could not connect to server --rtorrent Message-ID: On using rtorrent a sudden message appears up on the screnn --tracker could not connect to server -- I should warn udp ports are disabled on rtorrent.rc despite my machine is behind pf. From freebsd at meijome.net Sun Aug 3 06:06:45 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Sun Aug 3 06:06:51 2008 Subject: gemeral questions (noobish) In-Reply-To: <200808022235.40815.marshc187@gmail.com> References: <200808021550.48302.marshc187@gmail.com> <18580.47343.395943.288119@jerusalem.litteratus.org> <200808022235.40815.marshc187@gmail.com> Message-ID: <20080803160640.01940cac@ayiin> On Sat, 2 Aug 2008 22:35:40 +0200 mcassar wrote: > so most of you _do_ use or prefer csup/cvsup more than portsnap, right? Welcome! :) yes and no :P I like portsnap. faster. For my ports, i run this script ( ~/bin/update_ports.sh) #!/bin/sh sudo portsnap fetch && sudo portsnap update --- ( sudo is the port security/sudo and it allows for fine grained control root-access to certain commands only ) There are 2 ports that will help you with management of your ports/packages - ports-mgmt/portupgrade and ports-mgmt/portmaster ( which means /usr/ports/ports-mgmt/portupgrade/ , etc... ) - they can tell you what needs updating,etc (can't remember if it is in the handbook...) Anyway, for my src tree: 1) my /etc/make.conf has : [...] SUP_UPDATE=YES SUP=/usr/bin/csup SUPFLAGS=-g -L 2 -P m SUPFILE=/usr/local/etc/standard-supfile NO_PORTSUPDATE=true [...] ----- the NO_PORTSUPDATE=true is so the std supfile doesn't pull in ports too. (maybe i don't need it anymore, but it really doesn't break anything). The /usr/local/etc/standard-supfile is : *default host=cvsup5.FreeBSD.org *default base=/var/db *default prefix=/usr ## next line can have a date to peg src tree to a particular date : date=2007.12.05.01.00.00 *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all ---------------------- and to update, cd /usr/src && sudo make update Mind you, I am tracking STABLE. and use this because i have a custom kernel (just because i can :P ). For those of my machines which use GENERIC,i just use freebsd-update as explained by Giorgios already. Any issues, just shoot more emails :) Have fun! B _________________________ {Beto|Norberto|Numard} Meijome Quantum Logic Chicken: The chicken is distributed probabalistically on all sides of the road until you observe it on the side of your course. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From frase at frase.id.au Sun Aug 3 06:18:26 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Sun Aug 3 06:18:32 2008 Subject: gemeral questions (noobish) In-Reply-To: <20080803160640.01940cac@ayiin> References: <200808021550.48302.marshc187@gmail.com> <18580.47343.395943.288119@jerusalem.litteratus.org> <200808022235.40815.marshc187@gmail.com> <20080803160640.01940cac@ayiin> Message-ID: <20080803061822.GA11518@bacardi.frase.id.au> On Sun, Aug 03, 2008 at 04:06:40PM +1000, Norberto Meijome wrote: > On Sat, 2 Aug 2008 22:35:40 +0200 > mcassar wrote: > > > so most of you _do_ use or prefer csup/cvsup more than portsnap, right? > > Welcome! :) > > yes and no :P I like portsnap. faster. > > For my ports, i run this script ( ~/bin/update_ports.sh) > > #!/bin/sh > sudo portsnap fetch && sudo portsnap update > > [snip] > Did you know you can specifiy fetch and update at the same time? sudo portsnap fetch update ...and save calling portsnap twice :) frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080803/67c7278d/attachment.pgp From sonic2000gr at gmail.com Sun Aug 3 07:19:36 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Sun Aug 3 07:19:43 2008 Subject: Client only supports checkout mode In-Reply-To: <4894B222.1040602@el.net> References: <4894B222.1040602@el.net> Message-ID: <48955C03.7050101@gmail.com> kalin m wrote: > hi all... > > why would i get : "Client only supports checkout mode" when i do; > csup /cvsup_file > > on a new freebsd 7 install > > what does it mean?! > > > thanks... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > It means you are trying to use a supfile that works in cvs mode. In cvs mode, the client does not simply checkout the latest version of the files from the repository, instead it retrieves the ",v" files that make up the whole repository. Effectively this means you are creating a local copy of the repository, while in checkout mode you just get the latest revision of every file. CVS mode is mostly necessary if you wish to have quick access to all versions of a file (and the revision history) and mostly useful for developers. In other cases (for example, to update your ports tree) checkout mode is sufficient. And now, here is the catch: Many people need to use checkout mode often, so csup was created and added to the base system. Csup is a rewrite (in C) of the well know cvsup utility (that exists in ports). But csup *does not* support cvs mode. So if you are trying to use a supfile that operates in cvs mode, you will get the "Client only supports checkout mode" If you really need to use a cvs mode supfile, you will need to pkg_add -r cvsup-without-gui (or build it from ports) and then use the cvsup command instead of csup. A cvs mode supfile contains the line: default release = cvs while in a simple checkout supfile, this line also contains a tag, e.g. (my ports supfile): default release = cvs tag=. The tag simply requests a particular revision of the files (a checkout), and in the case of "." it simply means the latest revision (head) You can get a nice description of all options in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html From m.seaman at infracaninophile.co.uk Sun Aug 3 07:53:18 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Aug 3 07:53:30 2008 Subject: jail_box_ip="" In-Reply-To: References: <48949B5F.4070300@infracaninophile.co.uk> Message-ID: <489563D3.3060507@infracaninophile.co.uk> Redd Vinylene wrote: > Can something similar be used for my > > ifconfig_rl0_aliasN="inet 66.252.2.N netmask 255.255.255.255" > > as well? You'ld have to write a loop: for N in $( jot 124 4 ) ; do eval "ifconfig_rl0_alias$N=\"inet 66.252.2.$N netmask 255.255.255.255\"" done 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080803/e42501ed/signature.pgp From gnemmi at gmail.com Sun Aug 3 08:31:42 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sun Aug 3 08:31:49 2008 Subject: gemeral questions (noobish) In-Reply-To: <20080803061822.GA11518@bacardi.frase.id.au> References: <200808021550.48302.marshc187@gmail.com> <20080803160640.01940cac@ayiin> <20080803061822.GA11518@bacardi.frase.id.au> Message-ID: <200808030531.35062.gnemmi@gmail.com> On Sunday 03 August 2008 03:18:23 Fraser Tweedale wrote: > On Sun, Aug 03, 2008 at 04:06:40PM +1000, Norberto Meijome wrote: > > On Sat, 2 Aug 2008 22:35:40 +0200 > > > > mcassar wrote: > > > so most of you _do_ use or prefer csup/cvsup more than portsnap, right? > > > > Welcome! :) > > > > yes and no :P I like portsnap. faster. > > > > For my ports, i run this script ( ~/bin/update_ports.sh) > > > > #!/bin/sh > > sudo portsnap fetch && sudo portsnap update > > > > [snip] > > Did you know you can specifiy fetch and update at the same time? > > sudo portsnap fetch update > > ...and save calling portsnap twice :) > > frase And do it via cron? [gonzalo@inferna ~]% grep port /etc/crontab # keep the port index updated and e-mail me a list of ports to update 0 3 * * * root portsnap -I cron update && pkg_version -vIL= (Im pretty sure I took that from the "The Best of FreeBSD Basics" but I can't find the original article ... I know it's buried in here somewhere though: http://www.onlamp.com/pub/ct/15... so .. Credit goes to Dru Lavigne. :) ) That results on a daily e-mail from cron that looks like this: " Cron portsnap -I cron update && pkg_version -vIL= From: Cron Daemon To: root@inferna.inferna.com.ar Date: 2008-08-01 03:07 ImageMagick-6.4.1.8 < needs updating (index has 6.4.2.5) en-openoffice.org-US-2.4.0_3 < needs updating (index has 2.4.1) ffmpeg-2007.10.04_4 < needs updating (index has 2008.07.27_1) ghostscript-gpl-8.61_4 < needs updating (index has 8.62_3) gnupg-2.0.9_1 < needs updating (index has 2.0.9_2) gnutls-2.4.1 < needs updating (index has 2.4.1_1) kaffeine-0.8.6_1 < needs updating (index has 0.8.7) kdegraphics-3.5.8_2 < needs updating (index has 3.5.8_3) libgphoto2-2.4.2 < needs updating (index has 2.4.2_1) libxine-1.1.12_1 < needs updating (index has 1.1.14) linux-doom3-1.1.1286,0 < needs updating (index has 1.3.1.1304,1) pciids-20080312 < needs updating (index has 20080726) portmaster-2.5 < needs updating (index has 2.6) samba-libsmbclient-3.0.30 < needs updating (index has 3.0.31_1) speex-1.2.b2,1 < needs updating (index has 1.2.r1_1,1)" Then I get to decide whether or not to update a port, every port or do nothing and when to do it :D BTW: I use csup for the base system and portsnap and and friends for the ports collection :) Welcome and: have fun ! -- Blessings Gonzalo Nemmi From gnemmi at gmail.com Sun Aug 3 08:57:06 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sun Aug 3 08:57:12 2008 Subject: gemeral questions (noobish) In-Reply-To: <20080803084117.GA1862@bacardi.frase.id.au> References: <200808021550.48302.marshc187@gmail.com> <200808030531.35062.gnemmi@gmail.com> <20080803084117.GA1862@bacardi.frase.id.au> Message-ID: <200808030557.00555.gnemmi@gmail.com> On Sunday 03 August 2008 05:41:19 you wrote: > On Sun, Aug 03, 2008 at 05:31:35AM -0300, Gonzalo Nemmi wrote: > > On Sunday 03 August 2008 03:18:23 Fraser Tweedale wrote: > > > On Sun, Aug 03, 2008 at 04:06:40PM +1000, Norberto Meijome wrote: > > > > On Sat, 2 Aug 2008 22:35:40 +0200 > > > > > > > > mcassar wrote: > > > > > so most of you _do_ use or prefer csup/cvsup more than portsnap, > > > > > right? > > > > > > > > Welcome! :) > > > > > > > > yes and no :P I like portsnap. faster. > > > > > > > > For my ports, i run this script ( ~/bin/update_ports.sh) > > > > > > > > #!/bin/sh > > > > sudo portsnap fetch && sudo portsnap update > > > > > > > > [snip] > > > > > > Did you know you can specifiy fetch and update at the same time? > > > > > > sudo portsnap fetch update > > > > > > ...and save calling portsnap twice :) > > > > > > frase > > > > And do it via cron? > > > > [gonzalo@inferna ~]% grep port /etc/crontab > > # keep the port index updated and e-mail me a list of ports to update > > 0 3 * * * root portsnap -I cron update > > && pkg_version -vIL= > > > > (Im pretty sure I took that from the "The Best of FreeBSD Basics" but I > > can't find the original article ... I know it's buried in here somewhere > > though: http://www.onlamp.com/pub/ct/15... so .. Credit goes to Dru > > Lavigne. :) ) > > > > That results on a daily e-mail from cron that looks like this: > > > > " Cron portsnap -I cron update && pkg_version -vIL= > > From: Cron Daemon > > To: root@inferna.inferna.com.ar > > Date: 2008-08-01 03:07 > > > > ImageMagick-6.4.1.8 < needs updating (index has > > 6.4.2.5) en-openoffice.org-US-2.4.0_3 < needs updating (index > > has 2.4.1) ffmpeg-2007.10.04_4 < needs updating (index > > has 2008.07.27_1) > > ghostscript-gpl-8.61_4 < needs updating (index has 8.62_3) > > gnupg-2.0.9_1 < needs updating (index has > > 2.0.9_2) gnutls-2.4.1 < needs updating (index > > has 2.4.1_1) kaffeine-0.8.6_1 < needs updating > > (index has 0.8.7) kdegraphics-3.5.8_2 < needs updating > > (index has 3.5.8_3) libgphoto2-2.4.2 < needs > > updating (index has 2.4.2_1) libxine-1.1.12_1 < > > needs updating (index has 1.1.14) linux-doom3-1.1.1286,0 < > > needs updating (index has 1.3.1.1304,1) > > pciids-20080312 < needs updating (index has > > 20080726) portmaster-2.5 < needs updating (index > > has 2.6) samba-libsmbclient-3.0.30 < needs updating (index > > has 3.0.31_1) speex-1.2.b2,1 < needs updating > > (index has 1.2.r1_1,1)" > > > > Then I get to decide whether or not to update a port, every port or do > > nothing and when to do it :D > > > > BTW: I use csup for the base system and portsnap and and friends for the > > ports collection :) > > > > Welcome and: have fun ! > > -- > > Blessings > > Gonzalo Nemmi > > Well, yes. `portsnap cron update` if running from cron. My point was that > you can do fetch and update in one operation :) Oh sure ! But check this out, this is interesting (at least for me): by using the -I flag I only update the INDEX file and not the whole port tree. From man portsnap: "-I For the update command, update INDEX files, but not the rest of the ports tree." Now why would I want to do that? Well .. bandwith basically.. since Im running "portsnap cron update" via cron, on a daily basis, I don't want to hammer the repos for no real reason ;) By using the -I flag, I can get a report with the info I need, and only then, when there's a really good reason for it, I update the ports tree. > I too use csup for src and portsnap for ports. Portsnap is (at least in my > experience) far faster and more bandwith efficient. 100% agreed. -- Blessings Gonzalo Nemmi From fbsd06 at mlists.homeunix.com Sun Aug 3 12:30:48 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sun Aug 3 12:30:55 2008 Subject: gemeral questions (noobish) In-Reply-To: <200808030557.00555.gnemmi@gmail.com> References: <200808021550.48302.marshc187@gmail.com> <200808030531.35062.gnemmi@gmail.com> <20080803084117.GA1862@bacardi.frase.id.au> <200808030557.00555.gnemmi@gmail.com> Message-ID: <20080803131433.56480f6b@gumby.homeunix.com.> On Sun, 3 Aug 2008 05:57:00 -0300 Gonzalo Nemmi wrote: > On Sunday 03 August 2008 05:41:19 you wrote: > > Well, yes. `portsnap cron update` if running from cron. My point > > was that you can do fetch and update in one operation :) > > Oh sure ! > > But check this out, this is interesting (at least for me): by using > the -I flag I only update the INDEX file and not the whole port tree. > > From man portsnap: > "-I For the update command, update INDEX files, but not the > rest of the ports tree." > > Now why would I want to do that? > Well .. bandwith basically.. since Im running "portsnap cron update" > via cron, on a daily basis, I don't want to hammer the repos for no > real reason ;) I don't think that makes a difference, the -I option prevents portsnap from updating the ports tree from the local compressed snapshot, but AFAIK you're still updating the snapshot from the server. From casparos at yahoo.de Sun Aug 3 12:56:11 2008 From: casparos at yahoo.de (Markus Mueller) Date: Sun Aug 3 12:56:18 2008 Subject: xampp under FreeBSD Message-ID: <4895A7CA.3000205@yahoo.de> hello list, I have installed xampp (www.xampp.org), but I can't start it with "brandelf -t lampp start". have someone an idea, how I can start lampp on freebsd ? ___________________________________________________________ Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de From donotreply at tringme.com Sun Aug 3 13:02:14 2008 From: donotreply at tringme.com (TringMe) Date: Sun Aug 3 13:02:21 2008 Subject: Make Free Calls Worldwide - Invitation From Mohd. Aijaz Message-ID: <20080803130213.C3BD2B68909@tringme.com> Dear TringMe User, Mohd. Aijaz has invited you to join TringMe and make worldwide calls FREE from your mobile and web. TringMe is the simplest way make and receive worldwide calls from the web for FREE* … just click & call !! No software to download, No software to install. Break free from the traditional telephony paradigm and embrace the next generation telephony: - Make and receive calls between Web, Instant Messengers, Phones, SIP URIs etc !! - Retrieve voicemails from any device or directly from the web. Have it mailed to you as text !! Reduce your dependency on the expensive cellular minutes - Access the same set services from TringMe's powerful MobileVoIP client - Use WiFi, 2.5G/3G data networks to make and receive cheap calls, retrieve voicemails and much more !! Join TringMe by clicking on the following link (or copy/paste in your browser) http://tringme.com/myinvite.php?e=freebsd-questions%40freebsd.org&f=13847-2483659572&ic=4c7e0a380ff8aa1a Feel free to write to us at support@tringme.com if you need any assistance. Regards, TringMe Support http://www.tringme.com/ From cwhiteh at onetel.com Sun Aug 3 13:11:45 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Aug 3 13:11:53 2008 Subject: gemeral questions (noobish) In-Reply-To: <20080803160640.01940cac@ayiin> References: <200808021550.48302.marshc187@gmail.com> <18580.47343.395943.288119@jerusalem.litteratus.org> <200808022235.40815.marshc187@gmail.com> <20080803160640.01940cac@ayiin> Message-ID: <4895AE8A.6090801@onetel.com> Norberto Meijome wrote: > On Sat, 2 Aug 2008 22:35:40 +0200 > mcassar wrote: > >> so most of you _do_ use or prefer csup/cvsup more than portsnap, right? > There are 2 ports that will help you with management of your ports/packages - > ports-mgmt/portupgrade and ports-mgmt/portmaster ( which > means /usr/ports/ports-mgmt/portupgrade/ , etc... ) - they can tell you what > needs updating,etc (can't remember if it is in the handbook...) three on my machine, the two above and ports-mgmt/portmanager. I use csup and portmanager - it's simple and very thorough. Chris From nawcom at nawcom.com Sun Aug 3 13:16:21 2008 From: nawcom at nawcom.com (nawcom) Date: Sun Aug 3 13:16:33 2008 Subject: xampp under FreeBSD In-Reply-To: <4895A7CA.3000205@yahoo.de> References: <4895A7CA.3000205@yahoo.de> Message-ID: <48957743.9060100@nawcom.com> well, brandelf is used to mark which ABI you want to use in order to run the binary, so the command you show isn't going to work. I guess I don't understand the need to use XAMPP when every part is fully supported via ports. My suggestion is to follow one of the many HOWTO guides for setting up Apache/PHP/MySQL for FreeBSD you can find via google. Even if you got everything working under linux_base I wouldn't be surprised that more issues would come up, let alone keeping your server secure at the same time. If you have any more specific questions let us know, but if you need some help setting up your web server there are a ton of HOWTO sites that will help you out. -nawcom ---------------------------- Markus Mueller wrote: > hello list, > > I have installed xampp (www.xampp.org), but I can't start it with > "brandelf -t lampp start". > have someone an idea, how I can start lampp on freebsd ? > > > > > > > ___________________________________________________________ Der fr?he > Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From dnewman at networktest.com Sun Aug 3 15:19:07 2008 From: dnewman at networktest.com (David Newman) Date: Sun Aug 3 15:19:15 2008 Subject: keyboard!! In-Reply-To: <20080731170205.43b58bea@verizon.net> References: <20080731203912.GA5364@thought.org> <20080731205731.GA56756@slackbox.xs4all.nl> <20080731170205.43b58bea@verizon.net> Message-ID: <4895CC6A.4050806@networktest.com> On 7/31/08 2:02 PM, David Gurvich wrote: > So you have also been lusting after one of these keyboards? Has anyone > actually ordered and used one of these and what is the opinion on them? I can vouch for the Endurapro, which combines the buckling-spring feel of an old AT keyboard with a TrackPoint pointer and a USB connector: http://pckeyboards.stores.yahoo.net/en104wh.html The action is slower than on mushmatic keyboards that come with modern PCs, but that was always true. Someone else asked about double-row keyboards like those for 3270 or 5250 terminals; Unicomp sells those too: http://pckeyboards.stores.yahoo.net/122keyterkey.html dn From david.gurvich at verizon.net Sun Aug 3 18:32:05 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Sun Aug 3 18:32:12 2008 Subject: Konqueror crashes with javascript Message-ID: <20080803143153.28631701@verizon.net> When javascript is enabled visiting 'www.osnews.com' causes an 'illegal instruction' in konqueror and crashes with no other error messages. Regardless, konqueror should not crash that way. How does one report such a bug and how can more information be found? All I see is the 'illegal instruction' and 'exited on signal 4' in the log. From kurt.buff at gmail.com Sun Aug 3 21:06:24 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Sun Aug 3 21:06:31 2008 Subject: Multicast routing howto? Message-ID: I've put together a router for work - it's a 7-Stable box, with 3 dual-port NICs in it. It's in use by our test/dev folks, and I've been asked to enable/configure multicast on it. It has one port on the production LAN (192.168.123.0/24), and the other 5 on the test/dev networks (10.0.0.0/24, 1.0/24, 2.0/24, 3.0/24 and 4.0/24). Obviously, we're only running IPv4, and it's working just fine with the static routes I've set up. I just this weekend upgraded it from 6.3 to 7-stable, and per this link: http://www.freebsd.org/doc/en/books/handbook/network-routing.html I recompiled the kernel after putting in "options MROUTING" in the kernel config, but haven't put mrouted on, as it's deprecated in the above handbook link. I've perused man pages for pim and rc.conf, but cannot find not much else on how to configure it, even after googling a bit to Anyone care to point me to a howto on setting this up? Many thanks, Kurt From laladelausanne at gmail.com Sun Aug 3 21:13:02 2008 From: laladelausanne at gmail.com (=?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?=) Date: Sun Aug 3 21:13:13 2008 Subject: SMP aware programming Message-ID: <242E2E48-CAA3-44FB-8AC9-A0A616D4F72F@gmail.com> Hi, I'm about to port ModelNet (a large-scale internet emulator) from FreeBSD 4 to FreeBSD 7. It is implemented as a module. Well, changing couple of headers and structs will probably solve the thing, but I would like to make it SMP aware. Since it emulates a lot of nodes, each of which is doing some processing, I would like to "group" them, so ones are executing on one core, other on second and so on... Can someone give me some pointers to some good tutorial, text, documentation? I know about multiprogramming, but I never did anything in a kernel. Thank, Nikola From perryh at pluto.rain.com Sun Aug 3 21:25:00 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Aug 3 21:25:06 2008 Subject: setting the other end's TCP segment size In-Reply-To: <200807311027.37878.nvass@teledomenet.gr> References: <488fe865.x7NyNic2A5pcZPCL%perryh@pluto.rain.com> <6.0.0.22.2.20080730155021.024dd828@mail.computinginnovations.com> <87abfzxbbu.fsf@kobe.laptop> <200807311027.37878.nvass@teledomenet.gr> Message-ID: <48962046.334w0KWDk7nStfQ/%perryh@pluto.rain.com> > > >> Is there a simple way for a FreeBSD system to cause its > > >> peer to use a transmit segment size of, say, 640 bytes -- > > >> so that the peer will never try to send a packet larger > > >> than that? > > >> > > >> I'm trying to get around a network packet-size problem. > > >> In case it matters, the other end is SunOS 4.1.1 on a > > >> sun3, and I've been unable to find a way to limit its > > >> packet size directly. ... > > > Each tcp conversation can have it's own size set along > > > with a bunch of other params. > > > > Good point. The TCP_MAXSEG can reduce the maximum segment > > size for a single TCP connection to something smaller than > > the interface MTU :) That would be OK, provided I could somehow arrange for it to apply to all conversations with this particular destination (which is what the next item seems to do :) > Just adding that MTU can be set per destination with the help > of route(8) and the -mtu modifier. That would be better than setting the local mtu -- which has been causing other problems although it takes care of the original -- and it is a better match to the physical situation. (The culprit is neither the Sun nor the FreeBSD system, but the physical link between the Sun and the hub.) What I haven't been able to come up with is a way of making such a setting permanent. If I've communicated with the Sun recently enough, "netstat -r -W" reports a line like this (some spaces removed, for length, and I've no longer got xl0's mtu set low) Destination Gateway Flags Refs Use Mtu Netif Expire 192.168.200.3 08:00:20:00:a7:a6 UHLW 1 34 1500 xl0 1184 Now if I do # route change 192.168.200.3 -lock -mtu 640 the mtu column changes to 640 and it works fine, but only until the routing entry expires. Adding -static makes no difference -- the entry still expires and loses the mtu specification. I've been unable to come up with a route command that will *create* an entry like that (vs modifying an existing one), nor that will transform a transient entry into a permanent one. From md at hudora.de Sun Aug 3 22:21:27 2008 From: md at hudora.de (Maximillian Dornseif) Date: Sun Aug 3 22:21:34 2008 Subject: Handling of daily and weekly mails In-Reply-To: <18748908.post@talk.nabble.com> References: <18748908.post@talk.nabble.com> Message-ID: <18803108.post@talk.nabble.com> Maximillian Dornseif wrote: > > I wonder what the canonical approach is to handling hundreds of status > mails like the ons generated by periodic. > A first step to reducing the mail tsunami is adding daily_status_security_inline="YES" to /etc/periodic.conf. --md -- View this message in context: http://www.nabble.com/Handling-of-daily-and-weekly-mails-tp18748908p18803108.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jalmberg at identry.com Sun Aug 3 22:52:25 2008 From: jalmberg at identry.com (John Almberg) Date: Sun Aug 3 22:52:32 2008 Subject: keyboard!! In-Reply-To: <4895CC6A.4050806@networktest.com> References: <20080731203912.GA5364@thought.org> <20080731205731.GA56756@slackbox.xs4all.nl> <20080731170205.43b58bea@verizon.net> <4895CC6A.4050806@networktest.com> Message-ID: I suppose this is mentioning the obvious, but in case anyone thinks IBM Model M keyboards are hard to find, just check eBay. You can get them in good condition for around $25. Good condition meaning it will last another 10 years (at least.) -- John From technews at giallarhorn.org Sun Aug 3 23:40:49 2008 From: technews at giallarhorn.org (orv) Date: Sun Aug 3 23:40:57 2008 Subject: FreePbx Message-ID: <48963B9D.5060906@giallarhorn.org> Hi, Does anyone have a recipe for installing freepbx on FreeBSD 6-3 stable. There does not seem to be a port for it and googling does not reveal anything helpfull so far. I found the following which mentions a port however the port is no longer around. http://aussievoip.com/wiki/index.php?page=freePBX-FreeBSD. Thanks From kritek at gmail.com Mon Aug 4 00:01:04 2008 From: kritek at gmail.com (R Dicaire) Date: Mon Aug 4 00:01:11 2008 Subject: console video modes and console screensavers Message-ID: Hi folks...I was using allscreens mode of MODE_282 but I noticed the console screensaver never kicked in. When I went back to a standard 80x25 mode, screensaver works. Is this normal behaviour? -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u From Millenia2000 at hotmail.com Mon Aug 4 00:34:20 2008 From: Millenia2000 at hotmail.com (Sean Cavanaugh) Date: Mon Aug 4 00:34:27 2008 Subject: FreePbx In-Reply-To: <48963B9D.5060906@giallarhorn.org> References: <48963B9D.5060906@giallarhorn.org> Message-ID: freepbx is based on asterisk which is in ports with better web based administration pages. -------------------------------------------------- From: "orv" Sent: Sunday, August 03, 2008 7:13 PM To: Subject: FreePbx > Hi, > Does anyone have a recipe for installing freepbx on FreeBSD 6-3 stable. > There does not seem to be a port for it and googling does not reveal > anything helpfull so far. > > I found the following which mentions a port however the port is no longer > around. http://aussievoip.com/wiki/index.php?page=freePBX-FreeBSD. > > Thanks > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From perryh at pluto.rain.com Mon Aug 4 01:13:15 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Aug 4 01:13:31 2008 Subject: building only part of the world Message-ID: <4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com> How would I go about building, not the entire world, but only a small part of it? If I just cd to the desired subdirectory and type "make -n" -- intending to find out what it would try to do -- I get a warning about not having changed the object directory. I suppose I'm supposed to type something along the lines of make -n OBJ= but what should I be setting OBJ to? An attempt to find(1) some of the expected output files, so as to discover where they are conventionally located, found nothing. From conrads at cox.net Mon Aug 4 01:47:28 2008 From: conrads at cox.net (Conrad J. Sabatier) Date: Mon Aug 4 01:47:35 2008 Subject: Flashplugin In-Reply-To: <200806071500.28001.derek.graham@att.net> References: <200806071500.28001.derek.graham@att.net> Message-ID: <20080803204726.5c830eee@serene.no-ip.org> On Sat, 7 Jun 2008 15:00:27 -0500 Derek Graham wrote: > Hey all, > > I have tried using swfdec-plugin to do flash, but it doesnt seem to > work too well at least with firefox. > One ... I prefer being able to select what flash loads automaticly and > Two ... I like to be able to see the flash video but all it does is > freeze > > I can't seem to get linux-flashplugin7 anymore due to the restricted > status. Flashplugin9 locks up also, which we all know already. I have > heard gnash doesnt do much better... Anyone have a solution that works > halfway? I just installed the "HEAD" version of Gnash today, and I must say, it's working much, much better than the official release version (0.8.3). Sites that malfunctioned before are now displaying properly at last! See http://www.gnu.org/software/gnash/#downloading for instructions on how to get the source code. You'll also need to install devel/bazaar-ng in order to fetch it. -- PROOF OF GOD #483. ARGUMENT FROM PROBABLE PROOF (1) God exists. (2) Can I prove it? Probably. (3) Therefore, God exists. From gnemmi at gmail.com Mon Aug 4 01:50:48 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Mon Aug 4 01:50:55 2008 Subject: console video modes and console screensavers In-Reply-To: References: Message-ID: <200808032250.41002.gnemmi@gmail.com> On Sunday 03 August 2008 20:34:50 R Dicaire wrote: > Hi folks...I was using allscreens mode of MODE_282 but I noticed the > console screensaver never kicked in. When I went back to a standard > 80x25 mode, screensaver works. Is this normal behaviour? Apparently it is .. My kernel conf looks like this (relevant part only): # VGA device vga # VGA video card driver # Vesa support and options options VESA # VESA support (man syscons) options SC_PIXEL_MODE # SC Screen Resolution (man syscons) options SC_KERNEL_CONS_ATTR=(FG_LIGHTRED|BG_BLACK) # Kernel message will be printed red on black # Splash and ScreenSaver support device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc on /etc/rc.d allscreens_flags="MODE_280" On that scenario, the only working screensaver seems to be "logo_saver" ... the rest of the screensavers don't work. More info in here: http://lists.freebsd.org/pipermail/freebsd-stable/2008-July/thread.html#43720 -- Blessings Gonzalo Nemmi From kritek at gmail.com Mon Aug 4 02:19:43 2008 From: kritek at gmail.com (R Dicaire) Date: Mon Aug 4 02:19:50 2008 Subject: console video modes and console screensavers In-Reply-To: <200808032250.41002.gnemmi@gmail.com> References: <200808032250.41002.gnemmi@gmail.com> Message-ID: On Sun, Aug 3, 2008 at 9:50 PM, Gonzalo Nemmi wrote: > On that scenario, the only working screensaver seems to be "logo_saver" ... > the rest of the screensavers don't work. Indeed, that works for me using MODE_282, thank you very much. -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u From sfourman at gmail.com Mon Aug 4 03:24:54 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Mon Aug 4 03:25:01 2008 Subject: Flashplugin In-Reply-To: <20080803204726.5c830eee@serene.no-ip.org> References: <200806071500.28001.derek.graham@att.net> <20080803204726.5c830eee@serene.no-ip.org> Message-ID: <11167f520808032024ubcf1140oaeca3655c28756ed@mail.gmail.com> On Sun, Aug 3, 2008 at 8:47 PM, Conrad J. Sabatier wrote: > On Sat, 7 Jun 2008 15:00:27 -0500 > Derek Graham wrote: > >> Hey all, >> >> I have tried using swfdec-plugin to do flash, but it doesnt seem to >> work too well at least with firefox. >> One ... I prefer being able to select what flash loads automaticly and >> Two ... I like to be able to see the flash video but all it does is >> freeze >> >> I can't seem to get linux-flashplugin7 anymore due to the restricted >> status. Flashplugin9 locks up also, which we all know already. I have >> heard gnash doesnt do much better... Anyone have a solution that works >> halfway? > > I just installed the "HEAD" version of Gnash today, and I must say, it's > working much, much better than the official release version (0.8.3). > Sites that malfunctioned before are now displaying properly at last! maybe the gnash-devel port should be updated Sam Fourman Jr. From lists_freebsd at bluewin.ch Mon Aug 4 04:50:55 2008 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Mon Aug 4 04:51:02 2008 Subject: Printing with lpd Message-ID: <20080804050617.GA37021@saturn.pcs.ms> Hello I'm playing around with lpd. My setup: a FreeBSD 7.0 server and a attached HP LaserJet 2840N (connected via ethernet), my /etc/printcap: hplj2840|lp|Hewlett Packard LaserJet 2840C:\ :sh:\ :lp=:rm=hplj2840:rp=raw:sd=/var/spool/lpd/hplj2840:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/if-simple: and if-simple: /usr/local/bin/recode latin1..ibmpc The prints are ok so fare (incl. the german umlauts). If I print text mails out from mutt the seems ok too. But if the mails has some incorrect wrapped lines (> 72 caracters) the lines are not wrapped on the output. What do I worng here? Kind regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From kheuer2 at gwdg.de Mon Aug 4 06:06:21 2008 From: kheuer2 at gwdg.de (Konrad Heuer) Date: Mon Aug 4 06:06:28 2008 Subject: Printing with lpd In-Reply-To: <20080804050617.GA37021@saturn.pcs.ms> References: <20080804050617.GA37021@saturn.pcs.ms> Message-ID: <20080804080205.W8566@gwdu60.gwdg.de> On Mon, 4 Aug 2008, Martin Schweizer wrote: > Hello > > I'm playing around with lpd. My setup: a FreeBSD 7.0 server and a attached HP LaserJet 2840N (connected via ethernet), my > /etc/printcap: > hplj2840|lp|Hewlett Packard LaserJet 2840C:\ > :sh:\ > :lp=:rm=hplj2840:rp=raw:sd=/var/spool/lpd/hplj2840:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/if-simple: > > and if-simple: > /usr/local/bin/recode latin1..ibmpc > > The prints are ok so fare (incl. the german umlauts). If I print text mails out from mutt the seems ok too. But if the > mails has some incorrect wrapped lines (> 72 caracters) the lines are not wrapped on the output. What do I worng here? I'd add something like /usr/bin/fold -s -w 80 | /usr/local/bin/recode latin1..ibmpc to the filter script. I don't know whether there's an internal printer setting for wrapping long lines. Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From joeb at a1poweruser.com Mon Aug 4 06:12:12 2008 From: joeb at a1poweruser.com (joeb) Date: Mon Aug 4 06:12:20 2008 Subject: GEOM + mount_msdosfs usb flash stick Message-ID: On 7.0 release of FBSD trying to mount a usb flash memory stick. The stick has a msdos file system on it and has been loaded with files using windows xp. When I plug the stick into my FBSD 7.0 box I get Geom console msg 'GEOM_LABEL:Label for provider Da0s1 is msdosfs_flashdrive'. Does this mean the flash stick is mounted and the mount point is msdosfs_flashdrive'? When is issue this command, mount_msdosfs /dev/da0s1 /mnt I get this console msg ' GEOM get label removed'. Using the /mnt mount point every thing works fine. What is GEOM doing form me in 7.0? From freebsd at edvax.de Mon Aug 4 06:46:18 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 4 06:46:27 2008 Subject: GEOM + mount_msdosfs usb flash stick In-Reply-To: References: Message-ID: <20080804084614.9411cc6c.freebsd@edvax.de> On Mon, 4 Aug 2008 14:12:09 +0800, "joeb" wrote: > When I plug the stick into my FBSD 7.0 box I get Geom console msg > 'GEOM_LABEL:Label for provider Da0s1 is msdosfs_flashdrive'. > Does this mean the flash stick is mounted and the mount point is > msdosfs_flashdrive'? I don't think so, but you can check it with % mount -v if anything has been mounted. > When is issue this command, mount_msdosfs /dev/da0s1 /mnt I get this > console msg ' GEOM get label removed'. Using the /mnt mount point every > thing works fine. Manual mount seems to have higher priority. Refer to /etc/fstab to define "standard" mount points if you like, for example: /dev/fd0 /media/floppy msdosfs rw,noauto 0 0 /dev/acd0 /media/cdrom cd9660 ro,noauto 0 0 /dev/acd0 /media/dvd cd9660 ro,noauto 0 0 /dev/acd1 /media/writer cd9660 ro,noauto 0 0 /dev/cd0 /media/pcd cd9660 ro,noauto 0 0 /dev/da0 /media/pd ufs rw,noauto,noatime 0 0 /dev/da1 /media/jaz ufs rw,noauto 0 0 /dev/da2s1 /media/stick msdosfs rw,noauto,noatime 0 0 /dev/da2 /media/cam msdosfs rw,noauto,noatime 0 0 /dev/da3s1 /media/card msdosfs rw,noauto,noatime 0 0 > What is GEOM doing form me in 7.0? As far as I do understand, GEOM provides these messages to allow some kind of auto-mounting service (usually coming with KDE or Gnome) to take some "title" of the media (data carrier identifier) to create the mount point; I saw something similar with PC-BSD when CDs, DVDs or USB sticks had been inserted, the mountpoint was something like /media/The Title of The Disc (including the ugly whitespaces) or /media/USB0001. Or, as your example seems to show, the label is a combination of the type of the media and the filesystem it uses... If you don't run any of these automounters, the messages don't seem to hava any effect. But I'm not sure, I've never seen them on my 7.x system... Maybe "man geom" will tell you more. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From m.seaman at infracaninophile.co.uk Mon Aug 4 09:46:54 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Aug 4 09:47:01 2008 Subject: Handling of daily and weekly mails In-Reply-To: <18748908.post@talk.nabble.com> References: <18748908.post@talk.nabble.com> Message-ID: <4896D001.8030100@infracaninophile.co.uk> Maximillian Dornseif wrote: > I administer about a dozen FreeBSD Servers. This results in me > getting about 100 mails a week from the PERIODIC(8) scripts. > Obviously this is to much to read with care. > I wonder what the canonical approach is to handling hundreds of > status mails like the ons generated by periodic. Yeah. Periodic scripts are great if you only have a few machines not doing anything really critical. It's a mark of the standards required by the FreeBSD project that the baseline system comes with a working monitoring system built-in. However, periodic e-mails really do not scale to tens, let alone hundreds, of machines and once a day is really far too infrequent for checking important services. My recommendation is to redirect all of the periodic output to local log files -- daily.log, weekly.log etc. -- according to the comments in /etc/defaults/periodic.conf. Then set up a full blown monitoring system using eg. Nagios. For a dozen or so servers, you won't need anything particularly special to run Nagios on. Sticking it in a jail on one of your existing machines might work well for you. Nagios monitoring needs to be developed over time. With the standard plugins supplied by the net-mgmt/nagios-plugins port, you'll be able to monitor most services with external listeners. However, to get the most out of Nagios I find that installing net-mgmt/net-snmpd on all monitored machines is a necessity. You'll need to be careful about how you do that -- SNMP v2c or lower does the equivalent of sending passwords across the net in plain text, so it's useful if you can arrange for some sort of private back-end network between all your servers. While the intrinsic capabilities of net-snmpd add a great deal of monitorable information, the real advantage is the ability to hook up arbitrary scripts via the 'extend' mechanism. This coupled with the ability to write custom plugins for Nagios means you can do a lot of very interesting things. Trivial example: we routinely hook up running 'gmirror status -s' through snmpd and then use a very short Nagios plugin script to alert us to RAID problems. There's also nagios-exchange with plenty of interesting and useful stuff available -- see for instance http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1562.html;d=1 Nagios and periodic don't fulfil exactly the same functions, but there is enough overlap to allow replacing one with the other. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080804/f3aa463f/signature.pgp From shinjii at maydias.com Mon Aug 4 09:54:14 2008 From: shinjii at maydias.com (Warren Liddell) Date: Mon Aug 4 09:54:20 2008 Subject: ifconfig query/dhclient Message-ID: <200808040954.m749s6Un018075@mail9.tpg.com.au> Im trying to find out how i can change my net card on re0 to be a 10BaseT full duplex instead of auto @ 100. Also trying to work out why when using dhclient fwe0 (presuming its my wireless card) it never gets a link .. is there more to getting a link with wireless? there is no encryption. Any an all assistance is greatly appreciated. -- No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.5.12/1589 - Release Date: 3/08/2008 1:00 PM From m.seaman at infracaninophile.co.uk Mon Aug 4 10:00:31 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Aug 4 10:00:38 2008 Subject: building only part of the world In-Reply-To: <4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com> References: <4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com> Message-ID: <4896D333.4070303@infracaninophile.co.uk> perryh@pluto.rain.com wrote: > How would I go about building, not the entire world, but only > a small part of it? > > If I just cd to the desired subdirectory and type "make -n" > -- intending to find out what it would try to do -- I get a > warning about not having changed the object directory. > > I suppose I'm supposed to type something along the lines of > > make -n OBJ= > > but what should I be setting OBJ to? An attempt to find(1) > some of the expected output files, so as to discover where > they are conventionally located, found nothing. The usual command sequence for building in parts of the source tree is: # cd /usr/src/some/where # make obj # make depend # make # make install This will suppress the warnings. Compiling part of the system sources is supported. It's routinely described in many security advisories. See for instance section (2) 'To patch your present system' in http://security.freebsd.org/advisories/FreeBSD-SA-08:06.bind.asc You'll find the output somewhere under /usr/obj 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080804/0da65cbf/signature.pgp From eculp at casasponti.net Mon Aug 4 10:37:41 2008 From: eculp at casasponti.net (Edwin L. Culp) Date: Mon Aug 4 10:37:49 2008 Subject: Flashplugin In-Reply-To: <20080803204726.5c830eee@serene.no-ip.org> References: <200806071500.28001.derek.graham@att.net> <20080803204726.5c830eee@serene.no-ip.org> Message-ID: <20080804053738.20092frn7wxy6m7k@pontinet.casasponti.net> "Conrad J. Sabatier" escribi?: > On Sat, 7 Jun 2008 15:00:27 -0500 > Derek Graham wrote: > >> Hey all, >> >> I have tried using swfdec-plugin to do flash, but it doesnt seem to >> work too well at least with firefox. >> One ... I prefer being able to select what flash loads automaticly and >> Two ... I like to be able to see the flash video but all it does is >> freeze >> >> I can't seem to get linux-flashplugin7 anymore due to the restricted >> status. Flashplugin9 locks up also, which we all know already. I have >> heard gnash doesnt do much better... Anyone have a solution that works >> halfway? > > I just installed the "HEAD" version of Gnash today, and I must say, it's > working much, much better than the official release version (0.8.3). > Sites that malfunctioned before are now displaying properly at last! I'm sorry but I must ask. What version of flash can be reliably viewed? I guess many if not most are new asking for flash9 or flash8. I find few that are satisfied with flash7. Thanks, ed > > See http://www.gnu.org/software/gnash/#downloading for instructions on > how to get the source code. You'll also need to install devel/bazaar-ng > in order to fetch it. > > -- > PROOF OF GOD #483. ARGUMENT FROM PROBABLE PROOF > (1) God exists. > (2) Can I prove it? Probably. > (3) Therefore, God exists. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From nvass at teledomenet.gr Mon Aug 4 11:09:04 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Mon Aug 4 11:10:13 2008 Subject: creating package repository for offline installation Message-ID: <200808041409.58825.nvass@teledomenet.gr> Hi, I would like to update the installed packages at home. There are two problems: 1) there is only dialup internet connection. That pretty much rules out the possibility of using 'pkg_add -r' 2) I want to use packages, because using ports will take days and the systems are not that fast. So, I cannot use 'make fetch-recursive' I would like to create a package repository with the packages of choice, burn these to one or two CDs, take them home, and do the installation. I guess I can install inside a jail the packages of choice, are there any other options? Thanks in advance, Nikos From dhaneshkk at hotmail.com Mon Aug 4 11:09:44 2008 From: dhaneshkk at hotmail.com (dhaneshk k) Date: Mon Aug 4 11:10:25 2008 Subject: FreeBSD70 install problem -ehci0:[GIANT-LOCKED] any hints most welcome Message-ID: people ; I tried to install FreeBSD7.0 on my new Desktop machine (Intel core2 duo processor , Intel Mother Board MAGNUS2-LD G31) getting an error while booting from the install CD as follows ehci0: mem 0xfea77c00-0xfra77fff irq 23 at device 29.7 on pci0 ehci0 : Reserved 0x400 bytes for rid 0x10 type 3 at 0xfea77c00 ehci0:[GIANT-LOCKED] HERE I got stuck & installation not continuing form here any FreeBSD experts please help me to fix the isssue and continue the installation successfully . any hints most welcome ; Thanks in Advance Dhanesh . _________________________________________________________________ Chose your Life Partner? Join MSN Matrimony FREE http://www.shaadi.com/msn/matrimony.php From smallhand at crawblog.com Mon Aug 4 11:21:44 2008 From: smallhand at crawblog.com (Edward Ruggeri) Date: Mon Aug 4 11:21:51 2008 Subject: ifconfig query/dhclient In-Reply-To: <200808040954.m749s6Un018075@mail9.tpg.com.au> References: <200808040954.m749s6Un018075@mail9.tpg.com.au> Message-ID: <919383240808040421t3757097do945105c0b581b669@mail.gmail.com> On Mon, Aug 4, 2008 at 4:54 AM, Warren Liddell wrote: > Im trying to find out how i can change my net card on re0 to be a 10BaseT > full duplex instead of auto @ 100. I don't know, but someone else can probably help. > Also trying to work out why when using dhclient fwe0 (presuming its my > wireless card) it never gets a link .. is there more to getting a link with > wireless? there is no encryption. Have you done 'ifconfig fwe0 up" first? -- Ned Ruggeri From sonic2000gr at gmail.com Mon Aug 4 11:34:52 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Aug 4 11:35:01 2008 Subject: creating package repository for offline installation In-Reply-To: <200808041409.58825.nvass@teledomenet.gr> References: <200808041409.58825.nvass@teledomenet.gr> Message-ID: <4896E955.8010407@gmail.com> Nikos Vassiliadis wrote: > Hi, > > I would like to update the installed packages at home. There > are two problems: > 1) there is only dialup internet connection. That pretty > much rules out the possibility of using 'pkg_add -r' > 2) I want to use packages, because using ports will take > days and the systems are not that fast. So, I cannot > use 'make fetch-recursive' > > I would like to create a package repository with the > packages of choice, burn these to one or two CDs, > take them home, and do the installation. > > I guess I can install inside a jail the packages of choice, > are there any other options? > > Thanks in advance, Nikos > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > If you don't mind building the packages (on the remote system) from ports, I would suggest ports-mgmt/tinderbox Comprehensive instructions are located here: http://tinderbox.marcuscom.com/ I've used it for quite some time (http://www.freebsdgr.org/tinderbox/) but lately I've dedicated a machine for package building and I am using a couple of my own simple scripts. From ml at netfence.it Mon Aug 4 11:46:49 2008 From: ml at netfence.it (Andrea Venturoli) Date: Mon Aug 4 11:46:57 2008 Subject: OHCI panics? Message-ID: <4896EC1C.70900@netfence.it> Hello. I'm getting more and more of these lately on a 7.0p1/amd64: Unread portion of the kernel message buffer: panic: ohci_add_done: addr 0x754a2d30 not found cpuid = 0 Uptime: 7d0h36m6s Physical memory: 4072 MB Dumping 560 MB: 545 529 513 497 481 465 449 433 417 401 385 369 353 337 321 305 289 273 257 241 225 209 193 177 161 145 129 113 97 81 65 49 33 17 1 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff8029cefe in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xffffffff8029d367 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xffffffff8021f741 in ohci_intr1 (sc=0xffffffff80a44000) at /usr/src/sys/dev/usb/ohci.c:1301 #4 0xffffffff80280c00 in ithread_loop (arg=0xffffff000121c780) at /usr/src/sys/kern/kern_intr.c:1036 #5 0xffffffff8027d78e in fork_exit (callout=0xffffffff80280a80 , arg=0xffffff000121c780, frame=0xffffffffabebdc80) at /usr/src/sys/kern/kern_fork.c:781 #6 0xffffffff803d95fe in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:415 #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000001 in ?? () #10 0x0000000000000000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000822000 in ?? () #32 0x0000000000000001 in ?? () #33 0xffffff00011a1000 in ?? () #34 0xffffff00010ce340 in ?? () #35 0x0000000000000001 in ?? () #36 0xffffffffabebdb70 in ?? () #37 0xffffffffabebdb28 in ?? () #38 0xffffff00011719c0 in ?? () #39 0xffffffff802bb084 in sched_switch (td=0xffffff000121c780, newtd=0x0, flags=0) at /usr/src/sys/kern/sched_4bsd.c:905 Previous frame inner to this frame (corrupt stack?) Any hint? # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), nVidia(0x0000), rev 1.00 port 1 addr 2: low speed, power 16 mA, config 1, product 0x0001(0x0001), vendor 0x07f2(0x07f2), rev 0.01 port 2 powered port 3 addr 3: full speed, power 500 mA, config 1, USB Wave Gprs(0x6001), Digicom(0x0403), rev 4.00 port 4 addr 4: full speed, power 100 mA, config 1, USB-Serial Controller(0x2303), Prolific Technology Inc.(0x067b), rev 3.00 port 5 powered port 6 powered port 7 powered port 8 powered port 9 powered port 10 powered bye & Thanks av. From ertr1013 at student.uu.se Mon Aug 4 11:52:28 2008 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Mon Aug 4 11:52:35 2008 Subject: ifconfig query/dhclient In-Reply-To: <200808040954.m749s6Un018075@mail9.tpg.com.au> References: <200808040954.m749s6Un018075@mail9.tpg.com.au> Message-ID: <20080804115223.GA37081@owl.midgard.homeip.net> On Mon, Aug 04, 2008 at 07:54:06PM +1000, Warren Liddell wrote: > Im trying to find out how i can change my net card on re0 to be a > 10BaseT full duplex instead of auto @ 100. > 'ifconfig re0 media 10baseT/UTP mediaopt full-duplex' should work. (See the re(4) and ifconfig(8) manpages.) Be aware that if you are forcing one end of the link to a specific mode (instead of letting it auto-negotiate speed and duplex) you will normally also have to force the other end of the link to the same settings. Most cheap (and some not-so-cheap) ethernet switches only support auto-negotiation. > Also trying to work out why when using dhclient fwe0 (presuming its > my wireless card) it never gets a link .. is there more to getting a > link with wireless? there is no encryption. fwe0 is not your wireless card. fwe(4) is for ethernet emulation over FireWire (aka ieee1394). (As clearly described in the fwe(4) manpage.) There are a large number of settings that can be used with wireless connections. See ifconfig(8) for the full list (look for references to 802.11). A couple of settings that you will probably need to set are the mode (11a, 11b or 11g) as well as the SSID. > > Any an all assistance is greatly appreciated. > -- Erik Trulsson ertr1013@student.uu.se From david.gurvich at verizon.net Mon Aug 4 12:31:49 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Mon Aug 4 12:31:56 2008 Subject: Flashplugin In-Reply-To: <20080804053738.20092frn7wxy6m7k@pontinet.casasponti.net> References: <200806071500.28001.derek.graham@att.net> <20080803204726.5c830eee@serene.no-ip.org> <20080804053738.20092frn7wxy6m7k@pontinet.casasponti.net> Message-ID: <20080804083136.4b5d2c75@verizon.net> For youtube, gnash works better than linux-flashplugin7 and worse than wine+flash9 on i386. I understand that amd64 has difficulties with wine, making gnash or similar the only option. From nvass at teledomenet.gr Mon Aug 4 13:19:49 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Mon Aug 4 13:19:57 2008 Subject: setting the other end's TCP segment size In-Reply-To: <48962046.334w0KWDk7nStfQ/%perryh@pluto.rain.com> References: <488fe865.x7NyNic2A5pcZPCL%perryh@pluto.rain.com> <200807311027.37878.nvass@teledomenet.gr> <48962046.334w0KWDk7nStfQ/%perryh@pluto.rain.com> Message-ID: <200808041620.37610.nvass@teledomenet.gr> On Monday 04 August 2008 00:16:54 perryh@pluto.rain.com wrote: > > > >> Is there a simple way for a FreeBSD system to cause its > > > >> peer to use a transmit segment size of, say, 640 bytes -- > > > >> so that the peer will never try to send a packet larger > > > >> than that? > > > >> > > > >> I'm trying to get around a network packet-size problem. > > > >> In case it matters, the other end is SunOS 4.1.1 on a > > > >> sun3, and I've been unable to find a way to limit its > > > >> packet size directly. > > ... > > > > > Each tcp conversation can have it's own size set along > > > > with a bunch of other params. > > > > > > Good point. The TCP_MAXSEG can reduce the maximum segment > > > size for a single TCP connection to something smaller than > > > the interface MTU :) > > That would be OK, provided I could somehow arrange for it to apply > to all conversations with this particular destination (which is > what the next item seems to do :) > > > Just adding that MTU can be set per destination with the help > > of route(8) and the -mtu modifier. > > That would be better than setting the local mtu -- which has been > causing other problems although it takes care of the original -- > and it is a better match to the physical situation. (The culprit > is neither the Sun nor the FreeBSD system, but the physical link > between the Sun and the hub.) > > What I haven't been able to come up with is a way of making such > a setting permanent. If I've communicated with the Sun recently > enough, "netstat -r -W" reports a line like this (some spaces > removed, for length, and I've no longer got xl0's mtu set low) > > Destination Gateway Flags Refs Use Mtu Netif Expire > 192.168.200.3 08:00:20:00:a7:a6 UHLW 1 34 1500 xl0 1184 > > Now if I do > > # route change 192.168.200.3 -lock -mtu 640 > > the mtu column changes to 640 and it works fine, but only until > the routing entry expires. Adding -static makes no difference > -- the entry still expires and loses the mtu specification. > > I've been unable to come up with a route command that will *create* > an entry like that (vs modifying an existing one), nor that will > transform a transient entry into a permanent one. Yes, it's the interaction of ARP and the routing subsystem. I am sure there is a shorter way for doing this, but it escapes my knowledge: 1) create a static ARP entry, this will create an entry to the routing table i.e. arp -S IPADDR MACADDR 2) modify the mtu for that destination i.e. route change IPADDR -mtu MTU HTH, Nikos From lenzi at k1.com.br Mon Aug 4 13:37:26 2008 From: lenzi at k1.com.br (sergio lenzi) Date: Mon Aug 4 13:37:34 2008 Subject: PCI Gigabit Ethernet network interface card (NIC) recommendations In-Reply-To: <20080801171037.610209ab@scorpio> References: <200807312304.11784.gnemmi@gmail.com> <20080801092757.N5640@wojtek.tensor.gdynia.pl> <20080801171037.610209ab@scorpio> Message-ID: <1217856971.1306.5.camel@localhost> I use DLINK TX502 with the VIA chipset FreeBSD vr0 works very good for years (2 years) now without any complain is easy to get (buy) very cheap.... about US10 each.... From wblock at wonkity.com Mon Aug 4 14:06:35 2008 From: wblock at wonkity.com (Warren Block) Date: Mon Aug 4 14:06:42 2008 Subject: Printing with lpd In-Reply-To: <20080804050617.GA37021@saturn.pcs.ms> References: <20080804050617.GA37021@saturn.pcs.ms> Message-ID: On Mon, 4 Aug 2008, Martin Schweizer wrote: > I'm playing around with lpd. My setup: a FreeBSD 7.0 server and a attached HP LaserJet 2840N (connected via ethernet), my > /etc/printcap: > hplj2840|lp|Hewlett Packard LaserJet 2840C:\ > :sh:\ > :lp=:rm=hplj2840:rp=raw:sd=/var/spool/lpd/hplj2840:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/if-simple: > > and if-simple: > /usr/local/bin/recode latin1..ibmpc > > The prints are ok so fare (incl. the german umlauts). If I print text mails out from mutt the seems ok too. But if the > mails has some incorrect wrapped lines (> 72 caracters) the lines are not wrapped on the output. What do I worng here? There's a PCL command for wrapping long lines: &s0C (Untested by me, I use PostScript.) Your if-simple can send that escape sequence before the actual file. /usr/ports/print/enscript is a convenient text to PostScript formatter which wraps long lines by default. -Warren Block * Rapid City, South Dakota USA From solskogen at carebears.mine.nu Mon Aug 4 15:24:48 2008 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Mon Aug 4 15:24:55 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <48909534.9040608@FreeBSD.org> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> Message-ID: <48971F22.3000601@carebears.mine.nu> Kris Kennaway wrote: > Jakub Lach wrote: >> I'm eager to have core2 march, but don't want to mess system forcing >> gcc43 as >> base. > > I don't think it is planned to update to gcc 4.3 since it is covered by > the GPLv3. > Isn't possible to add GPLv3 code in the base system? (By possible I mean the license part, not the technical part;) -- chs From rsmith at xs4all.nl Mon Aug 4 16:02:44 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Aug 4 16:02:56 2008 Subject: GEOM + mount_msdosfs usb flash stick In-Reply-To: References: Message-ID: <20080804160239.GA1158@slackbox.xs4all.nl> On Mon, Aug 04, 2008 at 02:12:09PM +0800, joeb wrote: > On 7.0 release of FBSD trying to mount a usb flash memory stick. The stick > has a msdos file system on it and has been loaded with files using windows > xp. When I plug the stick into my FBSD 7.0 box I get Geom console msg > 'GEOM_LABEL:Label for provider Da0s1 is msdosfs_flashdrive'. > Does this mean the flash stick is mounted and the mount point is > msdosfs_flashdrive'? No. It means that GEOM_LABEL has created a named device in /dev/msdosfs/flashdrive. This is easier to use then e.g. /dev/da0s1. Consider the case where you have two USB mass storage devices. One will be da0, the other da1, da0 being the one that was plugged in first. The label 'flashdrive' on the other hand won't change unless you change it. > When is issue this command, mount_msdosfs /dev/da0s1 /mnt I get this > console msg ' GEOM get label removed'. Using the /mnt mount point every > thing works fine. If you use 'mount_msdosfs -m 644 -M 755 /dev/msdosfs/flashdrive /mnt' you can keep using this command (e.g. put it in a script) as long as you don't change the label. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080804/d0070b45/attachment.pgp From sales at ufaster.com Mon Aug 4 16:12:33 2008 From: sales at ufaster.com (sales@ufaster.com) Date: Mon Aug 4 16:12:58 2008 Subject: You will have 5 X faster Internet forever! Message-ID: <20080804154547499.375526FF51546DFA@Pkmwxnuteqr> [box.jpg] * 5½ X faster Internet Explorer * 5 X faster Mozilla Firefox * 3 times faster downloading * 4 times increase in peak download speeds ã UFaster(TM) -Your Internet connection is faster! Just download ..... run ..... click the UFaster Boost button ..... and you will have 5 X faster Internet forever! You won't believe how fast your high speed Internet Broadband can go [1]Start Download Now Join our partner and start profiting from promoting the leading Internet Speed Booster software now! Benefits * Increase your services and products perceived value with our award winning software * Clear added value for your customer base * Attractive upgrade options to personal license for your customers * Share the profit from the resulting sales in form of commission * Co-Branding or Brand the software with your company name and logo ã To become an UFaster OEM partner or reseller, email us at [2]sales@ufaster.com The Best way for your Broadband Subscribers to speed up their Internet connection. References 1. http://www.ufaster.com/download.htm 2. mailto:sales@ufaster.com From nvass at teledomenet.gr Mon Aug 4 16:16:44 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Mon Aug 4 16:16:52 2008 Subject: creating package repository for offline installation In-Reply-To: <4896E955.8010407@gmail.com> References: <200808041409.58825.nvass@teledomenet.gr> <4896E955.8010407@gmail.com> Message-ID: <200808041918.12667.nvass@teledomenet.gr> On Monday 04 August 2008 14:34:45 Manolis Kiagias wrote: > If you don't mind building the packages (on the remote system) from > ports, I would suggest ports-mgmt/tinderbox > Comprehensive instructions are located here: > http://tinderbox.marcuscom.com/ I've used it for quite some time > (http://www.freebsdgr.org/tinderbox/) but lately I've dedicated a > machine for package building and I am using a couple of my own simple > scripts. I really don't care about the latest and shiniest programs. So, I do mind building from ports. I just want to download 20-30 packages along with their dependecies. I think I've found a relatively cheap way to do just that, I am going to use unionfs to create a "replica" of my system, mount an empty fs on $JAIL/var/db/pkg, fire up "jail $JAIL" and pkg_add -Kr $everything_i_want in there. //a few of minutes later Yet to my big surprise(and disappointment) pkg_add -Kr does not keep the dependencies, but only the requested file e.g. pkg_add -rK bash, downloads all depedencies, installs bash and deletes all packages but bash. Not much of a progress... From sonic2000gr at gmail.com Mon Aug 4 17:59:21 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Aug 4 17:59:27 2008 Subject: creating package repository for offline installation In-Reply-To: <200808041918.12667.nvass@teledomenet.gr> References: <200808041409.58825.nvass@teledomenet.gr> <4896E955.8010407@gmail.com> <200808041918.12667.nvass@teledomenet.gr> Message-ID: <48974372.3030406@gmail.com> Nikos Vassiliadis wrote: > On Monday 04 August 2008 14:34:45 Manolis Kiagias wrote: > >> If you don't mind building the packages (on the remote system) from >> ports, I would suggest ports-mgmt/tinderbox >> Comprehensive instructions are located here: >> http://tinderbox.marcuscom.com/ I've used it for quite some time >> (http://www.freebsdgr.org/tinderbox/) but lately I've dedicated a >> machine for package building and I am using a couple of my own simple >> scripts. >> > > I really don't care about the latest and shiniest programs. > So, I do mind building from ports. I just want to download > 20-30 packages along with their dependecies. > > I think I've found a relatively cheap way to do just that, > I am going to use unionfs to create a "replica" of my system, > mount an empty fs on $JAIL/var/db/pkg, fire up "jail $JAIL" > and pkg_add -Kr $everything_i_want in there. > > //a few of minutes later > > Yet to my big surprise(and disappointment) pkg_add -Kr > does not keep the dependencies, but only the requested > file e.g. pkg_add -rK bash, downloads all depedencies, > installs bash and deletes all packages but bash. Not > much of a progress... > > > But you can still use the installed packages to recreate everything: e.g. pkg_create -Rb bash-x.y.z Or, use a simple shell script with pkg_create -b to create packages from all installed ones, i.e: for i in `pkg_info -Ea` do pkg_create -b $i done From stevefranks at ieee.org Mon Aug 4 18:01:39 2008 From: stevefranks at ieee.org (Steve Franks) Date: Mon Aug 4 18:01:46 2008 Subject: 802.11s / mesh / olsr Message-ID: <539c60b90808041034l50150238qf854270db385e44c@mail.gmail.com> I was just reading up on 802.11 meshes. Looks like the linux guys are starting to play with it. What about us? I note this cute little OLPC device I've got seems to support the draft standard. I thought it'd be interesting to start sticking it on my bsd boxes when I can (since I've got quite a few now)... Steve From sonic2000gr at gmail.com Mon Aug 4 18:08:26 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Aug 4 18:08:33 2008 Subject: creating package repository for offline installation In-Reply-To: <48974372.3030406@gmail.com> References: <200808041409.58825.nvass@teledomenet.gr> <4896E955.8010407@gmail.com> <200808041918.12667.nvass@teledomenet.gr> <48974372.3030406@gmail.com> Message-ID: <48974593.407@gmail.com> Manolis Kiagias wrote: > Nikos Vassiliadis wrote: >> On Monday 04 August 2008 14:34:45 Manolis Kiagias wrote: >> >>> If you don't mind building the packages (on the remote system) from >>> ports, I would suggest ports-mgmt/tinderbox >>> Comprehensive instructions are located here: >>> http://tinderbox.marcuscom.com/ I've used it for quite some time >>> (http://www.freebsdgr.org/tinderbox/) but lately I've dedicated a >>> machine for package building and I am using a couple of my own simple >>> scripts. >>> >> >> I really don't care about the latest and shiniest programs. >> So, I do mind building from ports. I just want to download >> 20-30 packages along with their dependecies. >> >> I think I've found a relatively cheap way to do just that, >> I am going to use unionfs to create a "replica" of my system, >> mount an empty fs on $JAIL/var/db/pkg, fire up "jail $JAIL" >> and pkg_add -Kr $everything_i_want in there. >> >> //a few of minutes later >> >> Yet to my big surprise(and disappointment) pkg_add -Kr >> does not keep the dependencies, but only the requested >> file e.g. pkg_add -rK bash, downloads all depedencies, >> installs bash and deletes all packages but bash. Not >> much of a progress... >> >> >> > But you can still use the installed packages to recreate everything: > > e.g. pkg_create -Rb bash-x.y.z > > Or, use a simple shell script with pkg_create -b to create packages > from all installed ones, i.e: > > for i in `pkg_info -Ea` > do > pkg_create -b $i > done > And by the way, if you are running 7-STABLE, pkg_create supports a no-clobber option (courtesy of Giorgos ;) ), so if you run it with -R (recursion) it will not keep recreating / overwriting the existing packages in the same directory. From cyberleo at cyberleo.net Mon Aug 4 18:38:25 2008 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Mon Aug 4 18:38:34 2008 Subject: Periodic scripts running twice Message-ID: <489748B0.8050708@cyberleo.net> Hi! For a while, I've noticed odd behavior with periodic scripts installed by certain ports (portaudit) as well as ones I've penned myself (corescan), in that they appear to be run twice in succession every time. Base system scripts, and some add-on scripts (freshclam) are run only once, even in the same periodic batch. Is there some end state the script is expected to be in to signal periodic of a successful run? (Incl: Sample email, weekly.txt) Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ -------------- next part -------------- Return-Path: X-Original-To: root Delivered-To: root@mtumishi.cyberleo.net Received: by mtumishi.cyberleo.net (Postfix, from userid 0) id 8C49911848; Sat, 2 Aug 2008 07:15:59 -0400 (EDT) To: root@mtumishi.cyberleo.net Subject: mtumishi.cyberleo.net weekly run output Message-Id: <20080802111600.8C49911848@mtumishi.cyberleo.net> Date: Sat, 2 Aug 2008 07:15:59 -0400 (EDT) From: root@mtumishi.cyberleo.net (Charlie Root) Rebuilding locate database: Rebuilding whatis database: makewhatis: already visited /usr/X11R6/man Scanning for core files in { / /tmp /usr /var }: -rw------- 1 root wheel - 4083712 May 2 17:12 /root/php.core -rw------- 1 root wheel - 3170304 Jan 7 2008 /tmp/gopempJVXg/php.core -rw------- 1 cyberleo users - 49807360 Jul 12 2007 /usr/home/cyberleo/build/httpd-2.2.4/modules/metadata/.libs/perl.core -rw------- 1 root users - 2588672 Jul 14 2007 /usr/home/cyberleo/download/lsz.core -rw------- 1 cyberleo users - 724992 Apr 28 11:56 /usr/home/cyberleo/nc.core -rw------- 1 cyberleo users - 696320 Apr 20 05:04 /usr/home/cyberleo/supfiles/bash.core -rw------- 1 root wheel - 655360 Jun 30 2007 /usr/ports/distfiles/gnome2/fetch.core -rw------- 1 root wheel - 4460544 Jan 7 2008 /usr/ports/lang/php5-extensions/php.core Scanning for core files in { / /tmp /usr /var }: -rw------- 1 root wheel - 4083712 May 2 17:12 /root/php.core -rw------- 1 root wheel - 3170304 Jan 7 2008 /tmp/gopempJVXg/php.core -rw------- 1 cyberleo users - 49807360 Jul 12 2007 /usr/home/cyberleo/build/httpd-2.2.4/modules/metadata/.libs/perl.core -rw------- 1 root users - 2588672 Jul 14 2007 /usr/home/cyberleo/download/lsz.core -rw------- 1 cyberleo users - 724992 Apr 28 11:56 /usr/home/cyberleo/nc.core -rw------- 1 cyberleo users - 696320 Apr 20 05:04 /usr/home/cyberleo/supfiles/bash.core -rw------- 1 root wheel - 655360 Jun 30 2007 /usr/ports/distfiles/gnome2/fetch.core -rw------- 1 root wheel - 4460544 Jan 7 2008 /usr/ports/lang/php5-extensions/php.core -- End of weekly output -- From biancalana at gmail.com Mon Aug 4 19:00:38 2008 From: biancalana at gmail.com (Alexandre Biancalana) Date: Mon Aug 4 19:00:44 2008 Subject: carp+openospfd In-Reply-To: <200808011333.21884.nvass@teledomenet.gr> References: <8e10486b0807292151wa67d464kfd906da08a2f8053@mail.gmail.com> <200807301806.04141.nvass@teledomenet.gr> <8e10486b0807312054i7b3ca5f1x19f4899ef5a638c3@mail.gmail.com> <200808011333.21884.nvass@teledomenet.gr> Message-ID: <8e10486b0808041200i88b69f6la8596ecfce72167a@mail.gmail.com> On 8/1/08, Nikos Vassiliadis wrote: > On Friday 01 August 2008 06:54:02 Alexandre Biancalana wrote: > > The firewalls failover this is working great with Carp. My > > difficulties is to configure OpenOSPFD to distribute routes in this > > setup, > > > Two points: > 1) Did you try to run OSPF on the CARP interface? > Or the physical one? I don't think running OSPF > on the CARP interface will work, cause the CARP > interface receives nothing while at BACKUP mode. OpenOSPFD always see CARP interfaces as passive... > > No, OSPF cannot provide load balancing, as FreeBSD does not support > equal cost multipath routing, that is you can use one and only one > next hop for a destination. So, in short, OSPF will not do load > balancing, as it does with other vendors you may be familiar with. bad news... I remember now that multiple fibs are too new on FreeBSD... Thinking again, I can survive with equal cost multipath routing and do the failover via script... How's good is our ECMP ? Have someone tested this ? > > If you run CARP on the LAN links as well(which you probably do), > you should test and see how CARP's ARP level load balancing fits > your network... It's working as expected Thank you again! From lists_freebsd at bluewin.ch Mon Aug 4 19:28:50 2008 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Mon Aug 4 19:28:58 2008 Subject: Printing with lpd In-Reply-To: <20080804080205.W8566@gwdu60.gwdg.de> References: <20080804050617.GA37021@saturn.pcs.ms> <20080804080205.W8566@gwdu60.gwdg.de> Message-ID: <20080804194416.GU67826@saturn.pcs.ms> Hello Konrad Am Mon, Aug 04, 2008 at 08:06:18AM +0200 Konrad Heuer schrieb: > >I'm playing around with lpd. My setup: a FreeBSD 7.0 server and a attached > >HP LaserJet 2840N (connected via ethernet), my > >/etc/printcap: > >hplj2840|lp|Hewlett Packard LaserJet 2840C:\ > > :sh:\ > > :lp=:rm=hplj2840:rp=raw:sd=/var/spool/lpd/hplj2840:\ > > :lf=/var/log/lpd-errs:\ > > :if=/usr/local/libexec/if-simple: > > > >and if-simple: > >/usr/local/bin/recode latin1..ibmpc > > > >The prints are ok so fare (incl. the german umlauts). If I print text > >mails out from mutt the seems ok too. But if the > >mails has some incorrect wrapped lines (> 72 caracters) the lines are not > >wrapped on the output. What do I worng here? > > I'd add something like > > /usr/bin/fold -s -w 80 | /usr/local/bin/recode latin1..ibmpc > > to the filter script. I don't know whether there's an internal printer > setting for wrapping long lines. Works like a charm! I did set the option -w to 78 so the printer did not print over the border. Thank you for the hint. Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From kris at FreeBSD.org Mon Aug 4 19:46:38 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Aug 4 19:46:45 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <48971F22.3000601@carebears.mine.nu> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> <48971F22.3000601@carebears.mine.nu> Message-ID: <48975C9B.9040103@FreeBSD.org> Christer Solskogen wrote: > Kris Kennaway wrote: >> Jakub Lach wrote: >>> I'm eager to have core2 march, but don't want to mess system forcing >>> gcc43 as >>> base. >> >> I don't think it is planned to update to gcc 4.3 since it is covered >> by the GPLv3. >> > > Isn't possible to add GPLv3 code in the base system? > (By possible I mean the license part, not the technical part;) > There is a strong preference not to do this. Kris From freebsd_user at guice.ath.cx Mon Aug 4 20:17:00 2008 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Mon Aug 4 20:17:08 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS Message-ID: <48975FF8.6010207@guice.ath.cx> I do not code in any way. With that being said, should you be able to help please do so with the knowledge that I can not code. I'm following the freebsd handbook when the following occurs. -- separate fresh 'dangerously dedicated' installs of both 7.0 and 6.3-RELEASE on the same machine, yield the following: In multi-user mode make buildworld, buildkernel and installkernel. Shutdown now -- fsck -p /dev/ad4s1a: NO WRITE ACCESS /dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY This happens each and everytime no matter if I install from iso -or- ftp (passive). After numerous attempts the only way to get past this is 'fsck -y'. Could the fbsd handbook section I'm following need updating or is there another issue taking place here? 23.4.1 The Canonical Way to Update Your System 23.4.5 Drop to Single User Mode From kalin at el.net Mon Aug 4 20:43:40 2008 From: kalin at el.net (kalin m) Date: Mon Aug 4 20:43:48 2008 Subject: Client only supports checkout mode In-Reply-To: <48955C03.7050101@gmail.com> References: <4894B222.1040602@el.net> <48955C03.7050101@gmail.com> Message-ID: <489769FA.8000004@el.net> thanks.... i tried both cvsup and csup to update my ports and i'm not sure it's working. they both run through but the ports don't seem to be updated. like i can see a new port here http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 (also on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5.... is there any other way? Manolis Kiagias wrote: > kalin m wrote: >> hi all... >> >> why would i get : "Client only supports checkout mode" when i do; >> csup /cvsup_file >> >> on a new freebsd 7 install >> >> what does it mean?! >> >> >> thanks... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > It means you are trying to use a supfile that works in cvs mode. > > In cvs mode, the client does not simply checkout the latest version of > the files from the repository, instead it retrieves the ",v" files > that make up the whole repository. Effectively this means you are > creating a local copy of the repository, while in checkout mode you > just get the latest revision of every file. > > CVS mode is mostly necessary if you wish to have quick access to all > versions of a file (and the revision history) and mostly useful for > developers. In other cases (for example, to update your ports tree) > checkout mode is sufficient. > > And now, here is the catch: Many people need to use checkout mode > often, so csup was created and added to the base system. Csup is a > rewrite (in C) of the well know cvsup utility (that exists in ports). > But csup *does not* support cvs mode. So if you are trying to use a > supfile that operates in cvs mode, you will get the "Client only > supports checkout mode" > > If you really need to use a cvs mode supfile, you will need to pkg_add > -r cvsup-without-gui (or build it from ports) and then use the cvsup > command instead of csup. A cvs mode supfile contains the line: > > default release = cvs > > while in a simple checkout supfile, this line also contains a tag, > e.g. (my ports supfile): > > default release = cvs tag=. > > The tag simply requests a particular revision of the files (a > checkout), and in the case of "." it simply means the latest revision > (head) > > You can get a nice description of all options in the Handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html From gerard at seibercom.net Mon Aug 4 20:52:57 2008 From: gerard at seibercom.net (Gerard) Date: Mon Aug 4 20:53:04 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <48975C9B.9040103@FreeBSD.org> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> <48971F22.3000601@carebears.mine.nu> <48975C9B.9040103@FreeBSD.org> Message-ID: <20080804165237.39f79c49@scorpio> On Mon, 04 Aug 2008 21:46:35 +0200 Kris Kennaway wrote: >> Isn't possible to add GPLv3 code in the base system? >> (By possible I mean the license part, not the technical part;) >> > >There is a strong preference not to do this. Doing a totally unscientific investigation reveals that the trend seems to be towards the use of GPLv3 license. As a 'claws-mail' user myself, I know that, that caused a problem with the 'ClamAV' plug-in that was formerly used by 'claws-mail' Since it appears to be apparent that newer software might very well be released under the GPLv3 license, it might behoove the FreeBSD team to rethink its ideas or beliefs regarding the inclusion of such software into the base system. At the very least, it might very well make life easier for end users who need the support that programs using that license are now offering. Then again, I could be wrong. Just my 2?. -- Gerard gerard@seibercom.net Campus sidewalks never exist as the straightest line between two points. M. M. Johnston -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080804/e54e7b83/signature.pgp From fbsd06 at mlists.homeunix.com Mon Aug 4 21:12:49 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Mon Aug 4 21:13:00 2008 Subject: Periodic scripts running twice In-Reply-To: <489748B0.8050708@cyberleo.net> References: <489748B0.8050708@cyberleo.net> Message-ID: <20080804220134.339cb529@gumby.homeunix.com.> On Mon, 04 Aug 2008 13:21:36 -0500 CyberLeo Kitsana wrote: > Hi! > > For a while, I've noticed odd behavior with periodic scripts > installed by certain ports (portaudit) as well as ones I've penned > myself (corescan), in that they appear to be run twice in succession > every time. > > Base system scripts, and some add-on scripts (freshclam) are run only > once, even in the same periodic batch. > > Is there some end state the script is expected to be in to signal > periodic of a successful run? > > (Incl: Sample email, weekly.txt) > > Thanks! > Is this a long-standing problem? It sounds like you didn't fully complete the UPDATING instruction for the 20070519 xorg update, and /usr/local/etc/periodic is being access both directly and via the /usr/X11R6 symlink. Try adding local_periodic="/usr/local/etc/periodic" to /etc/periodic.conf From pschmehl_lists at tx.rr.com Mon Aug 4 21:29:20 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Mon Aug 4 21:29:27 2008 Subject: Client only supports checkout mode In-Reply-To: <489769FA.8000004@el.net> References: <4894B222.1040602@el.net> <48955C03.7050101@gmail.com> <489769FA.8000004@el.net> Message-ID: <7E120628E93E2950A152AEAE@utd65257.utdallas.edu> --On Monday, August 04, 2008 16:43:38 -0400 kalin m wrote: > thanks.... > > i tried both cvsup and csup to update my ports and i'm not sure it's working. > they both run through but the ports don't seem to be updated. > like i can see a new port here > http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 (also > on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5.... > > is there any other way? > Something must be wrong with your cvsupfile. I downloaded ports.tar.gz from cvsup3/ports/ports-current: pauls@utd65257# less /usr/ports/lang/php5/distinfo MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd SHA256 (php-5.2.6.tar.bz2) = 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81 SIZE (php-5.2.6.tar.bz2) = 9571312 pauls@utd65257# tar -ztv -f ports.tar.gz | grep ports/lang/php5/distinfo -rw-rw-r-- 0 archive archive 646 May 12 20:04 ports/lang/php5/distinfo pauls@utd65257# ls -Flash /usr/ports/lang/php5/distinfo 2 -rw-r--r-- 1 root wheel 646B May 12 10:42 /usr/ports/lang/php5/distinfo As you can see, the distinfo file says php5.2.6, and its size and creation date match both in my ports tree and in the tarball I fetched from that server. If you want current ports, you need this: pauls@utd65257# grep ports /etc/cvsupfile ports-all tag=. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From freebsd-questions at slightlystrange.org Mon Aug 4 22:08:08 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Mon Aug 4 22:08:16 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <48975FF8.6010207@guice.ath.cx> References: <48975FF8.6010207@guice.ath.cx> Message-ID: <20080804220801.GA6648@torus.slightlystrange.org> On Mon, Aug 04, 2008 at 04:00:56PM -0400, freebsd_user@guice.ath.cx wrote: > I do not code in any way. With that being said, should you be able to > help please do so with the knowledge that I can not code. I'm following > the freebsd handbook when the following occurs. > > -- separate fresh 'dangerously dedicated' installs of both 7.0 and > 6.3-RELEASE on the same machine, yield the following: > In multi-user mode make buildworld, buildkernel and installkernel. > Shutdown now This will only drop you to single user mode with all filesystems still mounted. It is not a good idea to run fsck on a mounted filesystem... Instead, you need to run # shutdown -r now to REBOOT the machine with the newly installed kernel. At the loader menu, press `4' to boot into single user mode (at this point, only / will be mounted, so your `fsck -p' should work just fine). Now procede with the next steps... > -- fsck -p > /dev/ad4s1a: NO WRITE ACCESS > /dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > > This happens each and everytime no matter if I install from iso -or- ftp > (passive). After numerous attempts the only way to get past this is > 'fsck -y'. Could the fbsd handbook section I'm following need updating > or is there another issue taking place here? I think you're getting confused by the instructions (don't have a browser to hand so can't check the handbook, so apologies if this isn't the case). IIRC, the handbook suggests you drop to single user BEFORE you begin, in order to ensure nothing else is running while you run the build. In my experience, this has not been necessary. Even still, after the installkernel you MUST reboot the newly installed kernel before you continue. HTH Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080804/b8055bd8/attachment.pgp From kris at FreeBSD.org Mon Aug 4 22:19:57 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Aug 4 22:20:04 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <20080804165237.39f79c49@scorpio> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> <48971F22.3000601@carebears.mine.nu> <48975C9B.9040103@FreeBSD.org> <20080804165237.39f79c49@scorpio> Message-ID: <4897808C.4030603@FreeBSD.org> Gerard wrote: > On Mon, 04 Aug 2008 21:46:35 +0200 > Kris Kennaway wrote: > >>> Isn't possible to add GPLv3 code in the base system? >>> (By possible I mean the license part, not the technical part;) >>> >> There is a strong preference not to do this. > > Doing a totally unscientific investigation reveals that the trend seems > to be towards the use of GPLv3 license. As a 'claws-mail' user myself, > I know that, that caused a problem with the 'ClamAV' plug-in that was > formerly used by 'claws-mail' > > Since it appears to be apparent that newer software might very well be > released under the GPLv3 license, it might behoove the FreeBSD team to > rethink its ideas or beliefs regarding the inclusion of such software > into the base system. At the very least, it might very well make life > easier for end users who need the support that programs using that > license are now offering. > > Then again, I could be wrong. Just my 2?. > If and when a sufficiently compelling conflict arises, I am sure it will receive due attention. Kris From marshc187 at gmail.com Mon Aug 4 22:37:53 2008 From: marshc187 at gmail.com (mcassar) Date: Mon Aug 4 22:38:00 2008 Subject: x11/xterm question Message-ID: <200808050037.41772.marshc187@gmail.com> hi anyone, can anyone tell me how to replicate/get this thing running cuz i'm still learning the basics of unix, and really hooked on freebsd - but this is driving me nuts and need to ask. hope this explains it proper since i don't know the technical terms of what i'm looking for; which might make this easier- basically i have xorg and kde3 running ok, and i'm using kdm now - by editing /etc/ttys -> tty8. but previously, when testing x11 and kde i was first starting x11 with 'startx' without any .xinitrc file whatsoever - so i could go to the basic x that starts with a couple of xterms and a clock, if you know the one... and then type 'startkde' in one of those. kde starts, but what i'm interested in, is that the xterm i started kde from keeps displaying messages - which on a few occasions seemed very clean, on others i noticed warnings - like bad window, etc. now i'm basically trying to get one of those running after starting from kdm - if possible. i don't know if 'tail' is what i'm looking for, and if so whether it goes through some log file somewhere in /var, or through running processes somehow. unless the most i can do is run that one a single app. thanks in advance From sonic2000gr at gmail.com Mon Aug 4 22:46:26 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Aug 4 22:46:33 2008 Subject: Client only supports checkout mode In-Reply-To: <489769FA.8000004@el.net> References: <4894B222.1040602@el.net> <48955C03.7050101@gmail.com> <489769FA.8000004@el.net> Message-ID: <489786BC.9040206@gmail.com> kalin m wrote: > thanks.... > > i tried both cvsup and csup to update my ports and i'm not sure it's > working. they both run through but the ports don't seem to be updated. > like i can see a new port here > http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 > (also on freshports) but using cvsup3.FreeBSD.org i don't get above > 5.2.5.... > > is there any other way? > > Well, just to make sure, use the ports-supfile from /usr/share/examples/cvsup/ports-supfile and change *only* the server to cvsup10.FreeBSD.org Just checked my tree, and I have php 5.2.6. Some cvsup servers seem to be more up to date than others. Then again, if it is just the ports tree you are after, I would suggest using portsnap: The first time just do: portsnap fetch extract And for all subsequent times: portsnap fetch update That's it! No settings, no supfiles, no worries on selecting servers. And it is faster too. The first time it will download a ~50MB file, but then updates will be a lot smaller. From kalin at el.net Mon Aug 4 22:47:19 2008 From: kalin at el.net (kalin m) Date: Mon Aug 4 22:47:26 2008 Subject: Client only supports checkout mode In-Reply-To: <7E120628E93E2950A152AEAE@utd65257.utdallas.edu> References: <4894B222.1040602@el.net> <48955C03.7050101@gmail.com> <489769FA.8000004@el.net> <7E120628E93E2950A152AEAE@utd65257.utdallas.edu> Message-ID: <489786F5.9070307@el.net> this is my sup file: *default host=cvsup1.FreeBSD.org *default base=/var/db *default prefix=/home/ncvs *default release=cvs *default delete use-rel-suffix *default tag=. *default compress ports-all this is what i get: # cvsup supfile ( i did csup also ) Connected to cvsup1.FreeBSD.org (here i tried 1, 3, 5, 9, etc)... Updating collection ports-all/cvs Edit ports/editors/vim/Makefile Checkout ports/editors/vim/files/patch-src_vim.h Edit ports/math/rpy/Makefile Checkout ports/math/rpy/files/patch-setup.py Edit ports/math/rpy/pkg-plist Finished successfully # cd /usr/ports/lang/php5 # vi distinfo MD5 (php-5.2.5.tar.bz2) = 1fe14ca892460b09f06729941a1bb605 SHA256 (php-5.2.5.tar.bz2) = 5cac1e70df5019ebdfdab2e0b8b216f7fdf56b9895c9f68c993313918249bba3 SIZE (php-5.2.5.tar.bz2) = 7773024 MD5 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = a43f1a0ee9e7c41c4cb6890174f1f9d8 SHA256 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = fd77ccdeb90c83af7492876dda17518de95dd74a5b6feecc5a1bd2c8e322ab53 SIZE (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 23157 MD5 (php-5.2.5-mail-header.patch) = a3ce79a6aff5f6607d524d81382a31ca SHA256 (php-5.2.5-mail-header.patch) = 9b8ab24505051c6edd66cf2c875d966638d18ec4d672599577b1b8d7d0115b8c SIZE (php-5.2.5-mail-header.patch) = 3420 ~ Paul Schmehl wrote: > --On Monday, August 04, 2008 16:43:38 -0400 kalin m wrote: > >> thanks.... >> >> i tried both cvsup and csup to update my ports and i'm not sure it's >> working. >> they both run through but the ports don't seem to be updated. >> like i can see a new port here >> http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 >> (also >> on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5.... >> >> is there any other way? >> > > Something must be wrong with your cvsupfile. I downloaded > ports.tar.gz from cvsup3/ports/ports-current: > > pauls@utd65257# less /usr/ports/lang/php5/distinfo > MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd > SHA256 (php-5.2.6.tar.bz2) = > 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81 > SIZE (php-5.2.6.tar.bz2) = 9571312 > > pauls@utd65257# tar -ztv -f ports.tar.gz | grep ports/lang/php5/distinfo > -rw-rw-r-- 0 archive archive 646 May 12 20:04 > ports/lang/php5/distinfo > > pauls@utd65257# ls -Flash /usr/ports/lang/php5/distinfo > 2 -rw-r--r-- 1 root wheel 646B May 12 10:42 > /usr/ports/lang/php5/distinfo > > As you can see, the distinfo file says php5.2.6, and its size and > creation date match both in my ports tree and in the tarball I fetched > from that server. > > If you want current ports, you need this: > pauls@utd65257# grep ports /etc/cvsupfile > ports-all tag=. > From kline at thought.org Mon Aug 4 23:09:23 2008 From: kline at thought.org (Gary Kline) Date: Mon Aug 4 23:09:30 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <20080804165237.39f79c49@scorpio> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> <48971F22.3000601@carebears.mine.nu> <48975C9B.9040103@FreeBSD.org> <20080804165237.39f79c49@scorpio> Message-ID: <20080804230918.GA12219@thought.org> On Mon, Aug 04, 2008 at 04:52:37PM -0400, Gerard wrote: > On Mon, 04 Aug 2008 21:46:35 +0200 > Kris Kennaway wrote: > > >> Isn't possible to add GPLv3 code in the base system? > >> (By possible I mean the license part, not the technical part;) > >> > > > >There is a strong preference not to do this. > > Doing a totally unscientific investigation reveals that the trend seems > to be towards the use of GPLv3 license. As a 'claws-mail' user myself, > I know that, that caused a problem with the 'ClamAV' plug-in that was > formerly used by 'claws-mail' > > Since it appears to be apparent that newer software might very well be > released under the GPLv3 license, it might behoove the FreeBSD team to > rethink its ideas or beliefs regarding the inclusion of such software > into the base system. At the very least, it might very well make life > easier for end users who need the support that programs using that > license are now offering. I must have missed something along the way, because I don't understand what the "preferences" are to *not* use 4.3. I have it buiilt and runing here on my mail desktop and at least one other FBSD server. Clues, please. gary > > Then again, I could be wrong. Just my 2?. > > -- > Gerard > gerard@seibercom.net > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From email at guice.ath.cx Mon Aug 4 23:17:01 2008 From: email at guice.ath.cx (email) Date: Mon Aug 4 23:17:13 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <20080804220801.GA6648@torus.slightlystrange.org> References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> Message-ID: <489784A8.7030701@guice.ath.cx> Daniel Bye wrote: > On Mon, Aug 04, 2008 at 04:00:56PM -0400, freebsd_user@guice.ath.cx wrote: > >> I do not code in any way. With that being said, should you be able to >> help please do so with the knowledge that I can not code. I'm following >> the freebsd handbook when the following occurs. >> >> -- separate fresh 'dangerously dedicated' installs of both 7.0 and >> 6.3-RELEASE on the same machine, yield the following: >> In multi-user mode make buildworld, buildkernel and installkernel. >> Shutdown now >> > > This will only drop you to single user mode with all filesystems still > mounted. It is not a good idea to run fsck on a mounted filesystem... > > Instead, you need to run > > # shutdown -r now > > to REBOOT the machine with the newly installed kernel. At the loader > menu, press `4' to boot into single user mode (at this point, only / > will be mounted, so your `fsck -p' should work just fine). > > Now procede with the next steps... > > > >> -- fsck -p >> /dev/ad4s1a: NO WRITE ACCESS >> /dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY >> >> This happens each and everytime no matter if I install from iso -or- ftp >> (passive). After numerous attempts the only way to get past this is >> 'fsck -y'. Could the fbsd handbook section I'm following need updating >> or is there another issue taking place here? >> > > I think you're getting confused by the instructions (don't have a browser > to hand so can't check the handbook, so apologies if this isn't the case). > IIRC, the handbook suggests you drop to single user BEFORE you begin, in > order to ensure nothing else is running while you run the build. In my > experience, this has not been necessary. Even still, after the installkernel > you MUST reboot the newly installed kernel before you continue. > > HTH > > Dan > > I thank you. In addition, I am quite sure the command we are referred to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and not 'shutdown -r now'. I thank you for your response as I am going to redo this procedure as you described. If you don't mind I'll follow-up with you and/or conclude this thread with the results. From freebsd at edvax.de Mon Aug 4 23:49:25 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 4 23:49:36 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <489784A8.7030701@guice.ath.cx> References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> <489784A8.7030701@guice.ath.cx> Message-ID: <20080805014922.af669a9b.freebsd@edvax.de> On Mon, 04 Aug 2008 18:37:28 -0400, email wrote: > I thank you. In addition, I am quite sure the command we are referred > to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and > not 'shutdown -r now'. While "shutdown now" puts you into SUM at once, not unmounting anything, "shutdown -r now" reboots the system and it's up to you to enter SUM via kernel interruption and "boot -s", and in this state, nothing is mounted. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From keramida at ceid.upatras.gr Mon Aug 4 23:53:13 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Aug 4 23:53:22 2008 Subject: gemeral questions (noobish) In-Reply-To: <200808022349.23182.marshc187@gmail.com> (mcassar's message of "Sat, 2 Aug 2008 23:49:23 +0200") References: <200808021550.48302.marshc187@gmail.com> <200808021832.53488.marshc187@gmail.com> <873aln8bdz.fsf@kobe.laptop> <200808022349.23182.marshc187@gmail.com> Message-ID: <87sktk1gog.fsf@kobe.laptop> On Sat, 2 Aug 2008 23:49:23 +0200, mcassar wrote: > thanks alot for that. > > i mean, apart from your general overview of freebsd (system, project > and community), which gives me an idea how things are done, what's > happeniing and where things are, you really put me at ease with trying > to figure out these warnings, or at least what to expect and where to > start - i wasn't sure if it was up to my setup or what. > > although i don't know if you misunderstood my saying *fix them* as in > i should setup my system properly, or as in get to bug-tracing and the > like; which is still out of my expertise and jurisdiction. Well, I don't want you to overload your mind with so many new things that BSD will seem a fearsome thing. Let me just say that "If you see compiler warnings when you build Ports from their sources, it is okay". Now, if you *do* find interesting things while installing ports, and if you feel inclined to help, you are welcome to jump in and help. Maybe not during the first few weeks, may be not even during the first couple of years. Just keep in mind that if you start thinking about things like "OMG, why isn't option this tunable like _this_?" and you have ideas about improving FreeBSD, the team behind it is always open to new ideas, comments, suggestions or even simple reports like "I did A, B and then C, but program D crashed with the error message E" :-) > or was that wishfull thinking? it is something i want to figure out > eventually, but at the moment i'm still so fascinated by everything > (system, community) that i'm trying to catch up on as much as i can. Hehe, that's understandable. Keep having fun, Giorgos From cswiger at mac.com Tue Aug 5 00:20:11 2008 From: cswiger at mac.com (Chuck Swiger) Date: Tue Aug 5 00:20:17 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <20080804230918.GA12219@thought.org> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> <48971F22.3000601@carebears.mine.nu> <48975C9B.9040103@FreeBSD.org> <20080804165237.39f79c49@scorpio> <20080804230918.GA12219@thought.org> Message-ID: <0F274EB7-AB91-45E3-89ED-3ADCC42F9E42@mac.com> On Aug 4, 2008, at 4:09 PM, Gary Kline wrote: > On Mon, Aug 04, 2008 at 04:52:37PM -0400, Gerard wrote: >> Since it appears to be apparent that newer software might very well >> be >> released under the GPLv3 license, it might behoove the FreeBSD team >> to >> rethink its ideas or beliefs regarding the inclusion of such software >> into the base system. At the very least, it might very well make life >> easier for end users who need the support that programs using that >> license are now offering. > > I must have missed something along the way, because I don't > understand what the "preferences" are to *not* use 4.3. I have > it buiilt and runing here on my mail desktop and at least one > other FBSD server. > > Clues, please. Oh, there's nothing wrong with you as an individual running gcc-4.3 if you like. Nor is there anything wrong with the GPLv3 license-- it's well-crafted and handles certain technical issues resulting from varied legal systems quite well compared to most other licenses (eg, clause 17 for many European jurisdictions which do not permit one to completely disclaim liability), *provided* one is working on completely open systems. However, anyone who needs to do things with cryptography and signing is going to find GPLv3 clauses 3 and 6 unworkable. FreeBSD (and NetBSD, OpenBSD, etc) are attractive for people building embedded systems because they are (mostly) not GPL(v2)-encumbered, and adopting GPLv3 code would make that problem worse. Regards, -- -Chuck From received at postcard.org Tue Aug 5 00:30:34 2008 From: received at postcard.org (received@postcard.org) Date: Tue Aug 5 00:31:46 2008 Subject: You have just received a virtual postcard from a friend ! Message-ID: <200808020716.m727G4wf009955@StarGate.SharkTech.net> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://mailer1.key-one.it/postcard.gif.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://mailer1.key-one.it/postcard.gif.exe From slickwillbo42 at yahoo.com Tue Aug 5 01:08:33 2008 From: slickwillbo42 at yahoo.com (Slick Bo) Date: Tue Aug 5 02:00:57 2008 Subject: Sorry - plaintext this time - Disk geometry and two OSes. Message-ID: <329482.19217.qm@web59816.mail.ac4.yahoo.com> Hi everyone, I have two 37GB (nominally 40GB) IDE/ATA disk drives. I'm trying to leave my Windows XP SP1 installation on the one that shows up as "0" (ad0 in sysinstall), and giving the entire other drive to FreeBSD. When creating a boot agent for the 0 drive, sysinstall complains about incorrect disk geometry. I have tried checking the geometry of my disks. However, my BIOS does not display it. The only information it displays about each disk is the capacity in megabytes (40000 MB), and the "type" (whether it's "auto" or "off"). And pfdisk.exe doesn't work; it's reportedly not allowed to directly access the disk. I considered running chkdsk, but it seems it needs to run at boot time in order for it to actually check the 0 drive, and I have no way of catching the output (microsoft claims it dumps information into an event log, but it doesn't, or I can't find it in the place they claim). One other note. On my 0 drive, there are two primary partitions. The first one is a 30 MB FAT partition with the label msdosfs/DellUtility (my computer is a Dell). I'm assuming the boot information is on this partition... will sysinstall know to put the bootloader on that partition? I've seen a few people on this mailing list say that disk geometry really doesn't matter that much, and the OS usually works fine despite apparent errors. But I'd prefer to be able to keep my windows installation. If I let sysinstall change the disk geometry, will it create problems for the files on "0" and the WinXP installation? If so, do you know of an alternate way to find the disk geometry, and should I directly give these results to sysinstall? Will that fix my problem? Alright, I appreciate it. Thanks a lot in advance, Will L. From alexus at gmail.com Tue Aug 5 03:31:00 2008 From: alexus at gmail.com (alexus) Date: Tue Aug 5 03:31:06 2008 Subject: weird Message-ID: <6ae50c2d0808042006i67630c96y5e5857b0b76bd344@mail.gmail.com> i have something really weird going on... all of the sudden my box went "away" and came back later on i have daily log rotating, yet my last log shows following: Aug 2 17:15:28 j nrpe[75619]: Handling the connection... Aug 4 09:49:52 j named[63163]: zone gmsworld.com/IN: expired look at the timestamp and never mind what the actual message says.. can anyone explain me what the hell happened? -- http://alexus.org/ From kline at thought.org Tue Aug 5 03:59:29 2008 From: kline at thought.org (Gary Kline) Date: Tue Aug 5 03:59:36 2008 Subject: When gcc43 is expected to be in base? In-Reply-To: <0F274EB7-AB91-45E3-89ED-3ADCC42F9E42@mac.com> References: <18736784.post@talk.nabble.com> <48909534.9040608@FreeBSD.org> <48971F22.3000601@carebears.mine.nu> <48975C9B.9040103@FreeBSD.org> <20080804165237.39f79c49@scorpio> <20080804230918.GA12219@thought.org> <0F274EB7-AB91-45E3-89ED-3ADCC42F9E42@mac.com> Message-ID: <20080805035925.GC20518@thought.org> On Mon, Aug 04, 2008 at 05:20:10PM -0700, Chuck Swiger wrote: > On Aug 4, 2008, at 4:09 PM, Gary Kline wrote: > >On Mon, Aug 04, 2008 at 04:52:37PM -0400, Gerard wrote: > >>Since it appears to be apparent that newer software might very well > >>be > >>released under the GPLv3 license, it might behoove the FreeBSD team > >>to > >>rethink its ideas or beliefs regarding the inclusion of such software > >>into the base system. At the very least, it might very well make life > >>easier for end users who need the support that programs using that > >>license are now offering. > > > > I must have missed something along the way, because I don't > > understand what the "preferences" are to *not* use 4.3. I have > > it buiilt and runing here on my mail desktop and at least one > > other FBSD server. > > > > Clues, please. > > Oh, there's nothing wrong with you as an individual running gcc-4.3 if > you like. > > Nor is there anything wrong with the GPLv3 license-- it's well-crafted > and handles certain technical issues resulting from varied legal > systems quite well compared to most other licenses (eg, clause 17 for > many European jurisdictions which do not permit one to completely > disclaim liability), *provided* one is working on completely open > systems. > > However, anyone who needs to do things with cryptography and signing > is going to find GPLv3 clauses 3 and 6 unworkable. FreeBSD (and > NetBSD, OpenBSD, etc) are attractive for people building embedded > systems because they are (mostly) not GPL(v2)-encumbered, and adopting > GPLv3 code would make that problem worse. [[ paragraphs deleted. (*mumble*) ]] yeah, i undersand the larger picture. and i'll stop right here. thanks for the dope-slap. gary > > Regards, > -- > -Chuck > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From freebsd-questions at slightlystrange.org Tue Aug 5 04:30:00 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Tue Aug 5 04:30:07 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <489784A8.7030701@guice.ath.cx> References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> <489784A8.7030701@guice.ath.cx> Message-ID: <20080805042950.GB6648@torus.slightlystrange.org> On Mon, Aug 04, 2008 at 06:37:28PM -0400, email wrote: > I thank you. In addition, I am quite sure the command we are referred > to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and > not 'shutdown -r now'. Yes. But that section relates to dropping to single user mode for the duration of the build, not for the installworld phase. To quote from 23.4.5: You may want to *compile* the system in single user mode. (Emphasis mine) It is merely a possible preparatory step that some people like to take before embarking on the rest of the process. Section 23.4.9 goes on to talk about what to do after the world and kernel build are complete, and you have installed the new kernel: You should reboot into single user mode to test the new kernel works. Do this by following the instructions in Section 23.4.5. This refers specifically to the part of 23.4.5 that talks about rebooting into single user mode, and not the part that talks about dropping to single user mode. (A subtle, but important, distinction.) I would suggest that the simplest approach would be something like: # cd /usr/src # make buildworld && make buildkernel # make installkernel (reboot into single user mode) # fsck -p # mount -u / # mount -at ufs # swapon -a # cd /usr/src # make installworld # mergemaster (Just so we're clear - section 23.4.5 talks about going to single user mode for the duration of the *first 3 steps* of the above process. As I mentioned previously, I have never found this step necessary, but there is certainly no harm in it, and it may be the sensible thing to do if your system has a lot of users logged in during normal operations. Note that you must still reboot after installing the new kernel, and before continuing to installworld.) Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080805/2056bf7b/attachment.pgp From alainfabry at belgacom.net Tue Aug 5 04:47:36 2008 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Tue Aug 5 04:47:43 2008 Subject: x11/xterm question In-Reply-To: <200808050037.41772.marshc187@gmail.com> References: <200808050037.41772.marshc187@gmail.com> Message-ID: <20080805044304.GA49807@ducati-748.3rdrock.kicks-ass.net> I guess what you are looking for is xconsole. On Tue, Aug 05, 2008 at 12:37:41AM +0200, mcassar wrote: > hi anyone, > > can anyone tell me how to replicate/get this thing running cuz i'm still > learning the basics of unix, and really hooked on freebsd - but this is > driving me nuts and need to ask. > > hope this explains it proper since i don't know the technical terms of what > i'm looking for; which might make this easier- > > basically i have xorg and kde3 running ok, and i'm using kdm now - by > editing /etc/ttys -> tty8. > > but previously, when testing x11 and kde i was first starting x11 > with 'startx' without any .xinitrc file whatsoever - so i could go to the > basic x that starts with a couple of xterms and a clock, if you know the > one... > and then type 'startkde' in one of those. > > kde starts, but what i'm interested in, is that the xterm i started kde from > keeps displaying messages - which on a few occasions seemed very clean, on > others i noticed warnings - like bad window, etc. > > now i'm basically trying to get one of those running after starting from kdm - > if possible. i don't know if 'tail' is what i'm looking for, and if so > whether it goes through some log file somewhere in /var, or through running > processes somehow. unless the most i can do is run that one a single app. > > thanks in advance > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From z.szalbot at lcwords.com Tue Aug 5 05:22:35 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Tue Aug 5 05:22:42 2008 Subject: online archives / search function does not work Message-ID: <4897E397.4030809@lcwords.com> Hello, Either it's just me or else the search function does not work: http://lists.freebsd.org/pipermail/freebsd-questions/ Thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080805/a4364958/smime.bin From freebsd_user at guice.ath.cx Tue Aug 5 05:23:05 2008 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Tue Aug 5 05:23:12 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <20080805042950.GB6648@torus.slightlystrange.org> References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> <489784A8.7030701@guice.ath.cx> <20080805042950.GB6648@torus.slightlystrange.org> Message-ID: <48981BE8.8050804@guice.ath.cx> Daniel Bye wrote: > On Mon, Aug 04, 2008 at 06:37:28PM -0400, email wrote: > >> I thank you. In addition, I am quite sure the command we are referred >> to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and >> not 'shutdown -r now'. >> > > Yes. But that section relates to dropping to single user mode for the > duration of the build, not for the installworld phase. To quote from > 23.4.5: > > You may want to *compile* the system in single user mode. (Emphasis > mine) > > It is merely a possible preparatory step that some people like to take > before embarking on the rest of the process. > > Section 23.4.9 goes on to talk about what to do after the world and > kernel build are complete, and you have installed the new kernel: > > You should reboot into single user mode to test the new kernel works. > Do this by following the instructions in Section 23.4.5. > > This refers specifically to the part of 23.4.5 that talks about > rebooting into single user mode, and not the part that talks about > dropping to single user mode. (A subtle, but important, distinction.) > > I would suggest that the simplest approach would be something like: > > # cd /usr/src > # make buildworld && make buildkernel > # make installkernel > (reboot into single user mode) > # fsck -p > # mount -u / > # mount -at ufs > # swapon -a > # cd /usr/src > # make installworld > # mergemaster > > (Just so we're clear - section 23.4.5 talks about going to single > user mode for the duration of the *first 3 steps* of the above process. > As I mentioned previously, I have never found this step necessary, but > there is certainly no harm in it, and it may be the sensible thing to > do if your system has a lot of users logged in during normal operations. > Note that you must still reboot after installing the new kernel, and > before continuing to installworld.) > > Dan > > I followed 'your' suggestion/recommendation and did 'shutdown -r now' with great results; -- fsck -p works fine. However allow me to say that the fbsd handbook section 23.4.9, which I was initially following referred me back/up to section 23.4.5. The entire section -- 23.4 Rebuilding ?world? only mentioned 'shutdown -r now' one (1) time in section 23.4.12. Had the fbsd handbook mentioned 'shutdown -r now' instead of referring the reader to another section perhaps I wouldn't be discussing this with you. :-) Sorry to make this longer than it needed to be. I thank you once again. From shyamalshukla at gmail.com Tue Aug 5 06:43:45 2008 From: shyamalshukla at gmail.com (Shyamal Shukla) Date: Tue Aug 5 06:43:52 2008 Subject: memory allocation with malloc In-Reply-To: References: Message-ID: Hi All, I am trying to validate my understanding of how malloc works by means of the below C program which tries to corrupt essential information maintained by malloc for free() operation. The program allocates 4, 12 byte blocks (internally 16 bytes are allocated for each 12 byte block). Hence the total allocated space was 48 bytes. As malloc maintains the (length of allocated block + 1), 4 bytes before the returned pointer (from malloc), I have manipulated this length for the first block and set it to 49 with the goal that a single free shall release all these 4 blocks and a subsequent malloc of 15 bytes shall be from the address of first block. However, this does not happen. Can someone please correct my understanding and provide me with a reference to the working of malloc() and free()? #include int main(void) { char * ptr,* ptr1, *ptr2, * ptr3, * ptr4; int * i; int n,q,p; int loop = 0; ptr1 = (char *)malloc(12); i = (int *)(ptr1 - 4); printf("\n ptr1 = %p,%d \n",ptr1,*i); printf("\n %d:%d:%d:%d\n",ptr1[-4],ptr1[-3],ptr1[-2],ptr1[-1]); printf("\n %d:%d:%d:%d\n",ptr1[0],ptr1[1],ptr1[2],ptr1[3]); printf("\n %d:%d:%d:%d\n",ptr1[4],ptr1[5],ptr1[6],ptr1[7]); printf("\n %d:%d:%d:%d\n",ptr1[8],ptr1[9],ptr1[10],ptr1[11]); *i = 49; ptr2 = (char *)malloc(12); i = (int *)(ptr2 - 4); printf("\n ptr2 = %p,%d \n",ptr2,*i); printf("\n %d:%d:%d:%d\n",ptr2[-4],ptr2[-3],ptr2[-2],ptr2[-1]); ptr3 = (char *)malloc(12); i = (int *)(ptr3 - 4); printf("\n ptr3 = %p,%d \n",ptr3,*i); printf("\n %d:%d:%d:%d\n",ptr3[-4],ptr3[-3],ptr3[-2],ptr3[-1]); ptr4 = (char *)malloc(12); i = (int *)(ptr4 - 4); printf("\n ptr4 = %p,%d \n",ptr4,*i); printf("\n %d:%d:%d:%d\n",ptr4[-4],ptr4[-3],ptr4[-2],ptr4[-1]); free(ptr1); printf("\n ------------ANALYZE-------------\n"); printf("\n %d:%d:%d:%d\n",ptr1[-4],ptr1[-3],ptr1[-2],ptr1[-1]); printf("\n %d:%d:%d:%d\n",ptr1[0],ptr1[1],ptr1[2],ptr1[3]); printf("\n %d:%d:%d:%d\n",ptr1[4],ptr1[5],ptr1[6],ptr1[7]); printf("\n %d:%d:%d:%d\n",ptr1[8],ptr1[9],ptr1[10],ptr1[11]); ptr = (char *)malloc(15); i = (int *)(ptr - 4); printf("\n ptr = %p,%d \n",ptr,*i); return; } Thanks and Regards, Shyamal -- Linux - because life is too short for reboots... From keramida at ceid.upatras.gr Tue Aug 5 06:58:57 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Aug 5 06:59:04 2008 Subject: memory allocation with malloc In-Reply-To: (Shyamal Shukla's message of "Tue, 5 Aug 2008 11:46:06 +0530") References: Message-ID: <87ej54hrrz.fsf@kobe.laptop> On Tue, 5 Aug 2008 11:46:06 +0530, "Shyamal Shukla" wrote: > Hi All, > > I am trying to validate my understanding of how malloc works by means > of the below C program which tries to corrupt essential information > maintained by malloc for free() operation. > > The program allocates 4, 12 byte blocks (internally 16 bytes are allocated > for each 12 byte block). Hence the total allocated space was 48 bytes. > > As malloc maintains the (length of allocated block + 1), 4 bytes before the > returned pointer (from malloc), I have manipulated this length for the first > block and set it to 49 with the goal that a single free shall release all > these 4 blocks and a subsequent malloc of 15 bytes shall be from the address > of first block. > > However, this does not happen. Can someone please correct my understanding > and provide me with a reference to the working of malloc() and free()? That's because the original assumption is false. You wrote that "malloc maintains the (length of allocated block + 1), 4 bytes before the returned pointer (from malloc)". But that is not really true for all malloc() implementations, and it certainly isn't true for the `jemalloc' implementation that FreeBSD 7.X and 8.0-CURRENT use. From nvass at teledomenet.gr Tue Aug 5 07:00:25 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Tue Aug 5 07:00:39 2008 Subject: creating package repository for offline installation In-Reply-To: <48974593.407@gmail.com> References: <200808041409.58825.nvass@teledomenet.gr> <48974372.3030406@gmail.com> <48974593.407@gmail.com> Message-ID: <200808051001.50389.nvass@teledomenet.gr> On Monday 04 August 2008 21:08:19 Manolis Kiagias wrote: > > But you can still use the installed packages to recreate everything: > > > > e.g. pkg_create -Rb bash-x.y.z > > > > Or, use a simple shell script with pkg_create -b to create packages > > from all installed ones, i.e: > > > > for i in `pkg_info -Ea` > > do > > pkg_create -b $i > > done > > And by the way, if you are running 7-STABLE, pkg_create supports a > no-clobber option (courtesy of Giorgos ;) ), so if you run it with -R > (recursion) it will not keep recreating / overwriting the existing > packages in the same directory. That's what I was searching for. Thanks! Nikos From email at guice.ath.cx Tue Aug 5 07:03:49 2008 From: email at guice.ath.cx (,) Date: Tue Aug 5 07:04:02 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <20080805014922.af669a9b.freebsd@edvax.de> References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> <489784A8.7030701@guice.ath.cx> <20080805014922.af669a9b.freebsd@edvax.de> Message-ID: <4898338F.9030406@guice.ath.cx> Polytropon wrote: > On Mon, 04 Aug 2008 18:37:28 -0400, email wrote: > >> I thank you. In addition, I am quite sure the command we are referred >> to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and >> not 'shutdown -r now'. >> > > While "shutdown now" puts you into SUM at once, not unmounting > anything, "shutdown -r now" reboots the system and it's up to > you to enter SUM via kernel interruption and "boot -s", and in > this state, nothing is mounted. > > Hi, thanks for your reply. I wasn't discussing the difference between 'shutdown now' and 'shutdown -r now'; my concern was it appears that the fbsd handbook section I was reading, with regards to "REBUILDING WORLD", instructed the reader to do a 'shutdown now' instead of a proper 'shutdown -r now', which in turn caused me grief when attempting to run 'fsck -p'. Once again I thank you for your reply. From keramida at ceid.upatras.gr Tue Aug 5 07:03:54 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Aug 5 07:04:03 2008 Subject: memory allocation with malloc In-Reply-To: <87ej54hrrz.fsf@kobe.laptop> (Giorgos Keramidas's message of "Tue, 05 Aug 2008 09:58:40 +0300") References: <87ej54hrrz.fsf@kobe.laptop> Message-ID: <87abfshrjl.fsf@kobe.laptop> On Tue, 05 Aug 2008 09:58:40 +0300, Giorgos Keramidas wrote: > On Tue, 5 Aug 2008 11:46:06 +0530, "Shyamal Shukla" wrote: >> However, this does not happen. Can someone please correct my >> understanding and provide me with a reference to the working of >> malloc() and free()? > > That's because the original assumption is false. [...] I forgot to attach the link to the jemalloc paper, apologies. Here it is: http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemalloc.pdf This describes how jemalloc works. This isn't a detailed line by line walk-through of the source, but it should provide a good starting point. Then you can always read the source of BSD malloc() at: http://svn.freebsd.org/viewvc/base/head/lib/libc/stdlib/malloc.c?view=log HTH, Giorgos From perryh at pluto.rain.com Tue Aug 5 07:13:11 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Aug 5 07:13:18 2008 Subject: setting the other end's TCP segment size In-Reply-To: <200808041620.37610.nvass@teledomenet.gr> References: <488fe865.x7NyNic2A5pcZPCL%perryh@pluto.rain.com> <200807311027.37878.nvass@teledomenet.gr> <48962046.334w0KWDk7nStfQ/%perryh@pluto.rain.com> <200808041620.37610.nvass@teledomenet.gr> Message-ID: <4897fac5.ydNhtLCstlaV4ICe%perryh@pluto.rain.com> > 1) create a static ARP entry, this will create an entry to > the routing table i.e. arp -S IPADDR MACADDR > 2) modify the mtu for that destination > i.e. route change IPADDR -mtu MTU Seems to work fine :) One problem with this approach is that a hard-coded MAC address would break if the destination's MAC address changed :( but this can be scripted around by pinging the destination (to ensure that it's up, and get an arp entry "the usual way"), then reading the MAC address from the arp table. d=192.168.200.3 ping -c 1 $d && \ arp -S $d ` arp -n $d | sed -e 's/^.* at //' -e 's/ on .*$//' ` && \ route change $d -mtu 640 From shinjii at maydias.com Tue Aug 5 07:48:59 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Aug 5 07:49:06 2008 Subject: Setting up Wireless net Card Message-ID: <200808051748.55133.shinjii@maydias.com> Im trying to setup//configure my Belkin Wireless Card, but since i have had it for a while in a windows machine, im no clue about using a wireless card in FreeBSD an not as yet able to find to many sources//articles that can give me a head start on where to go to begin finding the cards chipset etc etc .. Any assistance would be appreciated. From michael at powerzone.net.au Tue Aug 5 07:50:48 2008 From: michael at powerzone.net.au (Michael Christie) Date: Tue Aug 5 07:50:56 2008 Subject: High Availability FreeBSD www cluster Message-ID: <4898065A.5080008@powerzone.net.au> Hi all , I want to cluster some freeBSD servers, The purpose of this is to learn. I would like to run some basic services like www and mail on a test network. I would like to set up the servers so if one server falls over the other will take over the services automatically, load balanceing would be good as well. I have googled, I could be looking in the wrong place , there seems not to be much in regard to seting up freebsd in a cluster, lots on linux. I have looked at the High Availability Linux project , I see on the front page that it will run on freebsd. So I am a bit lost and i am wanting to learn how to cluster freebsd web and mail servers, I have looked at Beowulf clusters, which seem to give computers more grunt, Can some on on the list please advise me on what clustering softwhere i need to get started and if the High Availability Linux project softwhere will do the job. web links any thing to help me get started would be good. No I do not want to change over to linux. Thanks From z.szalbot at lcwords.com Tue Aug 5 08:17:11 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Tue Aug 5 08:17:18 2008 Subject: newsyslog.conf / rotating logs based on size AND time Message-ID: <48980C83.9040009@lcwords.com> Hi there, I have the following rule in /etc/newsyslog.conf var/log/*-access.log 644 12 24000 $W2D11 GZC /var/run/httpd.pid 30 I am trying to see if I can specify to rotate logs when they are larger then 24MB AND at the start of each month (for testing purposes I entered today at 11 o'clock - $W2D11). However, at 10 o'clock the log should have been rotated because of size: -rw-r--r-- 1 root wheel 24801986 Aug 5 10:02 domain.tld-access.log but as you can see, it was not. My question is how can I make sure the logs are rotated when they grow too large AND they are also rotated at a specified point in time (start of a new month). I am reading man newsyslog.conf and it says: If the when field contains an asterisk (`*'), log rotation will solely depend on the contents of the size field. To me it seems to say that when it is not an asterisk (i.e. when I enter a date), the log rotation is not based solely on size factor, which in other words should mean it is also based on time? Any help would be very much appreciated! Thank you in advance! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080805/c63c7c84/smime.bin From pprocacci at datapipe.com Tue Aug 5 08:38:58 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Tue Aug 5 08:39:05 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898065A.5080008@powerzone.net.au> References: <4898065A.5080008@powerzone.net.au> Message-ID: <4898119F.5020503@datapipe.com> Michael Christie wrote: > Hi all , > > I want to cluster some freeBSD servers, The purpose of this is to > learn. I would like to run some basic services like www and mail on > a test network. I would like to set up the servers so if one server > falls over the other will take over the services automatically, load > balanceing would be good as well. I have googled, I could be looking > in the wrong place , there seems not to be much in regard to seting up > freebsd in a cluster, lots on linux. I have looked at the High > Availability Linux project , I see on the front page that it will run > on freebsd. > > So I am a bit lost and i am wanting to learn how to cluster freebsd > web and mail servers, I have looked at Beowulf clusters, which seem > to give computers more grunt, Can some on on the list please advise me > on what clustering softwhere i need to get started and if the High > Availability Linux project softwhere will do the job. > > > web links any thing to help me get started would be good. No I do not > want to change over to linux. > > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I've used freevrrpd (/usr/ports/net/freevrrpd) for some clients with success. Additionally doing some googling revealed "SG Cluster" (http://www.freebsd.org.hk/html/sgcluster/) though I'm not sure how active this is and/or really if it's what your looking for. ~Paul From michael at powerzone.net.au Tue Aug 5 08:43:48 2008 From: michael at powerzone.net.au (Michael Christie) Date: Tue Aug 5 08:43:55 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898119F.5020503@datapipe.com> References: <4898065A.5080008@powerzone.net.au> <4898119F.5020503@datapipe.com> Message-ID: <489812C7.5080406@powerzone.net.au> Is sgcluster in the ports , how would i find out if this is an active project ? Michael Paul Procacci wrote: > Michael Christie wrote: >> Hi all , >> >> I want to cluster some freeBSD servers, The purpose of this is to >> learn. I would like to run some basic services like www and mail on >> a test network. I would like to set up the servers so if one server >> falls over the other will take over the services automatically, load >> balanceing would be good as well. I have googled, I could be looking >> in the wrong place , there seems not to be much in regard to seting >> up freebsd in a cluster, lots on linux. I have looked at the High >> Availability Linux project , I see on the front page that it will run >> on freebsd. >> >> So I am a bit lost and i am wanting to learn how to cluster freebsd >> web and mail servers, I have looked at Beowulf clusters, which seem >> to give computers more grunt, Can some on on the list please advise >> me on what clustering softwhere i need to get started and if the High >> Availability Linux project softwhere will do the job. >> >> >> web links any thing to help me get started would be good. No I do not >> want to change over to linux. >> >> >> Thanks >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > I've used freevrrpd (/usr/ports/net/freevrrpd) for some clients with > success. > Additionally doing some googling revealed "SG Cluster" > (http://www.freebsd.org.hk/html/sgcluster/) though I'm not sure how > active this is and/or really if it's what your looking for. > > ~Paul > > From dick at nagual.nl Tue Aug 5 08:52:32 2008 From: dick at nagual.nl (dick hoogendijk) Date: Tue Aug 5 08:52:42 2008 Subject: Sorry - plaintext this time - Disk geometry and two OSes. In-Reply-To: <329482.19217.qm@web59816.mail.ac4.yahoo.com> References: <329482.19217.qm@web59816.mail.ac4.yahoo.com> Message-ID: <20080805105156.890e4990.dick@nagual.nl> On Mon, 4 Aug 2008 18:02:52 -0700 (PDT) Slick Bo wrote: > If I let sysinstall change the disk geometry, will it create > problems for the files on "0" and the WinXP installation? NO. You can safely do it. And if you don't like the fbsd bootloader you can always change to another one. Your diskdata will be safe. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxce snv94 ++ From edwin at mavetju.org Tue Aug 5 09:13:46 2008 From: edwin at mavetju.org (Edwin Groothuis) Date: Tue Aug 5 09:13:54 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898065A.5080008@powerzone.net.au> Message-ID: <20080805091251.GA26899@k7.mavetju> Personally I use DNS for failover between systems, but also have seen that net/haproxy is a good one to use if you want failover on network level. -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/ From rkramer at mweb.com Tue Aug 5 09:35:35 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Tue Aug 5 09:35:48 2008 Subject: High Availability FreeBSD www cluster References: <4898065A.5080008@powerzone.net.au> Message-ID: <39DC135F7F0571489196E0B6F5D58B4A03B45FC9@MWBEXCH.mweb.com> Michael Christie: > I want to cluster some freeBSD servers, The purpose of this is to > learn. I would like to run some basic services like www and mail on a > test network. I would like to set up the servers so if one server falls > over the other will take over the services automatically, load > balanceing would be good as well. I have googled, I could be looking in > the wrong place , there seems not to be much in regard to seting up > freebsd in a cluster, lots on linux. I have looked at the High > Availability Linux project , I see on the front page that it will run on > freebsd. > > So I am a bit lost and i am wanting to learn how to cluster freebsd web > and mail servers, I have looked at Beowulf clusters, which seem to give > computers more grunt, Can some on on the list please advise me on what > clustering softwhere i need to get started and if the High Availability > Linux project softwhere will do the job. I also did some research a while ago and found Wackamole. It looks pretty interesting as you don't need a central "director" server but all servers in the cluster check each other. It's also in the ports tree :-) Site: http://www.backhand.org/wackamole/ Port: /usr/ports/net/wackamole From cyberleo at cyberleo.net Tue Aug 5 09:41:40 2008 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Tue Aug 5 09:41:47 2008 Subject: Periodic scripts running twice In-Reply-To: <20080804220134.339cb529@gumby.homeunix.com.> References: <489748B0.8050708@cyberleo.net> <20080804220134.339cb529@gumby.homeunix.com.> Message-ID: <48982052.8030801@cyberleo.net> RW wrote: > On Mon, 04 Aug 2008 13:21:36 -0500 > CyberLeo Kitsana wrote: > >> Hi! >> >> For a while, I've noticed odd behavior with periodic scripts >> installed by certain ports (portaudit) as well as ones I've penned >> myself (corescan), in that they appear to be run twice in succession >> every time. >> >> Base system scripts, and some add-on scripts (freshclam) are run only >> once, even in the same periodic batch. >> >> Is there some end state the script is expected to be in to signal >> periodic of a successful run? >> >> (Incl: Sample email, weekly.txt) >> >> Thanks! > > Is this a long-standing problem? It sounds like you > didn't fully complete the UPDATING instruction for the 20070519 xorg > update, and /usr/local/etc/periodic is being access both directly > and via the /usr/X11R6 symlink. > > Try adding local_periodic="/usr/local/etc/periodic" > to /etc/periodic.conf The box in question doesn't even have X, as it's a headless server in a colo someplace. It's been this way since I installed the periodic scripts. I have no idea what that symlink is even doing there, unless 'make distdirs distribution' creates it now. Either way, I've added the local_periodic directive to /etc/periodic.conf. We'll see what happens when periodic runs tonight. Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From reddvinylene at gmail.com Tue Aug 5 09:59:22 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Tue Aug 5 09:59:29 2008 Subject: Jails, IPs and identd Message-ID: Hello! I have a jail with multiple IPs. It runs identd, however it only works from the jail's main IP: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 How do I make it work from absolutely all IPs? Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 -a ? Thank you all! # man identd -a Specify one specific IP address to bind to. Alternatively, a hostname can be specified, in which case the IPv4 or IPv6 address which corresponds to that hostname is used. Usually a hostname is specified when inetd is run inside a jail(8), in which case the hostname corresponds to that of the jail(8) environment. When the hostname specification is used and both IPv4 and IPv6 bindings are desired, one entry with the appropriate protocol type for each binding is required for each service in /etc/inetd.conf. For example, a TCP-based service would need two entries, one using ``tcp4'' for the protocol and the other using ``tcp6''. See the explanation of the /etc/inetd.conf protocol field below. -- http://www.home.no/reddvinylene From willay at gmail.com Tue Aug 5 10:00:45 2008 From: willay at gmail.com (William) Date: Tue Aug 5 10:00:52 2008 Subject: rrdtool port build fails on: Error: shared library "cairo.2" does not exist Message-ID: Hi, I'm running a FreeBSD 6.2-RELEASE system, ports updated via cvsup. I'm trying to build the port 'cacti', which depends on 'rrdtool', which depends on 'cairo'. The build for cairo completes then I'm stopped in my tracks on: config.status: config.h is unchanged ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for cairo-1.6.4_2,1 ===> Returning to build of rrdtool-1.3.0_1 Error: shared library "cairo.2" does not exist *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/net-mgmt/cacti. [root@box /usr/ports/net-mgmt/cacti]# I've tried google but I cannot find any answers as to how I over come this issue, can anyone help? Regards, W From m.seaman at infracaninophile.co.uk Tue Aug 5 10:30:40 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Aug 5 10:30:48 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A03B45FC9@MWBEXCH.mweb.com> References: <4898065A.5080008@powerzone.net.au> <39DC135F7F0571489196E0B6F5D58B4A03B45FC9@MWBEXCH.mweb.com> Message-ID: <48982BBE.5060502@infracaninophile.co.uk> Rudi Kramer - MWEB wrote: > Michael Christie: > >> I want to cluster some freeBSD servers, The purpose of this is to >> learn. I would like to run some basic services like www and mail on > a >> test network. I would like to set up the servers so if one server > falls >> over the other will take over the services automatically, load >> balanceing would be good as well. I have googled, I could be looking > in >> the wrong place , there seems not to be much in regard to seting up >> freebsd in a cluster, lots on linux. I have looked at the High >> Availability Linux project , I see on the front page that it will run > on >> freebsd. >> >> So I am a bit lost and i am wanting to learn how to cluster freebsd > web >> and mail servers, I have looked at Beowulf clusters, which seem to > give >> computers more grunt, Can some on on the list please advise me on what >> clustering softwhere i need to get started and if the High > Availability >> Linux project softwhere will do the job. > > I also did some research a while ago and found Wackamole. It looks > pretty interesting as you don't need a central "director" server but all > servers in the cluster check each other. It's also in the ports tree :-) > > Site: http://www.backhand.org/wackamole/ > Port: /usr/ports/net/wackamole There's clustering and clustering. Neither of the two applications the OP mentioned needs anything like as tight a coupling as what many commercial 'cluster' solutions provide, or that compute-cluster solutions like Beowulf or Grid Engine[!] provide. WWW clustering requires two things: * A means to detect failed / out of service machines and redirect traffic to alternative servers * A means to delocalize user sessions between servers The first requirement can be handled with programs already mentioned such as wackamole/spread or hacluster -- or another alternative is hoststated(8)[*] on OpenBSD. You can use mod_proxy_balancer[+] on recent Apache 2.2.x to good effect. Certain web technologies provide this sort of capability directly: eg. mod_jk or the newer mod_proxy_ajp13 modules for apache can balance traffic across a number of back-end tomcat workers: of course this only applies to sites written in Java. If you're dealing with high traffic levels and have plenty of money to spend, then a hardware load balancer (Cisco Arrowpoint, Alteon Acedirector, Foundry ServerIron etc.) is a pretty standard choice. The second requirement is more subtle. Any reasonably complicated web application nowadays is unlikely to completely stateless. Either you have to recognise each session and direct the traffic back to the same server each time, or you have to store the session state in a way that is accessible to all servers -- typically in a back-end database. Implementing 'sticky sessions' is generally slightly easier in terms of application programming, but less resilient to machine failure. There are other alternatives: Java Servlet based applications running under Apache Tomcat can cluster about 4 machines together so that session state is replicated to all of them. This solution is however not at all scalable beyond 4 machines, as they'll quickly spend more time passing state information between themselves than they do actually serving incoming web queries. Mail clustering is an entirely different beast. In fact, it's two different beasts with entirely different characteristics. The easy part with mail is the MTA -- SMTP has built in intrinsic concepts of fail-over and retrying with alternate servers. Just set up appropriate MX records in the DNS pointing at a selection of servers and it all should work pretty much straight away. You may need to share certain data between your SMTP servers (like greylisting status, Bayesian spam filtering, authentication databases) but the software is generally written with this capability built in. The hard part with mail clustering is the mail store which provides the IMAP or POP3 or WebMail interface to allow users to actually read their mail. To my knowledge there is no freely available opensource solution that provides an entirely resilient IMAP/POP3 solution. Cyrus Murder comes close, in that it provides multiple back-end mail stores, easy migration of mailboxes between stores and resilient front ends. The typical approach here is to use a high-spec server with RAIDed disk systems, multiple PSUs etc. and to keep very good backups. Cheers, Matthew [!] http://gridengine.sunsource.net/ [*] hoststated(8) integrates with the traffic redirection capabilities of pf(4) to provide pretty much the same sort of functionality as a hardware loadbalancer via a firewall machine, but a lot cheaper. http://www.openbsd.org/cgi-bin/man.cgi?query=hoststated&sektion=8&format=html [+] http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080805/890f394a/signature.pgp From jakub_lach at mailplus.pl Tue Aug 5 11:51:20 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Tue Aug 5 11:51:29 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) Message-ID: <18829459.post@talk.nabble.com> This is the Qt/X11 Open Source Edition. The specified system/compiler is not supported: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/freebsd-g++ Please see the README file for a complete list. ===> Script "configure" failed unexpectedly. In README there is no FreeBSD whatsoever. -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829459.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jakub_lach at mailplus.pl Tue Aug 5 11:58:40 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Tue Aug 5 11:58:47 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) In-Reply-To: <18829459.post@talk.nabble.com> References: <18829459.post@talk.nabble.com> Message-ID: <18829569.post@talk.nabble.com> g++ -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] FreeBSD 7.0-STABLE #0: Mon Jul 28 17:27:04 CEST 2008 -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829569.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jakub_lach at mailplus.pl Tue Aug 5 12:15:37 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Tue Aug 5 12:15:44 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) In-Reply-To: <18829459.post@talk.nabble.com> References: <18829459.post@talk.nabble.com> Message-ID: <18829813.post@talk.nabble.com> /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/ is empty directory. -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829813.html Sent from the freebsd-questions mailing list archive at Nabble.com. From smallhand at crawblog.com Tue Aug 5 12:20:02 2008 From: smallhand at crawblog.com (Edward Ruggeri) Date: Tue Aug 5 12:20:08 2008 Subject: Setting up Wireless net Card In-Reply-To: <200808051748.55133.shinjii@maydias.com> References: <200808051748.55133.shinjii@maydias.com> Message-ID: <919383240808050520h18e8fa91ldc9810cd0afadbf0@mail.gmail.com> On Tue, Aug 5, 2008 at 2:48 AM, Warren Liddell wrote: > Im trying to setup//configure my Belkin Wireless Card, but since i have had it > for a while in a windows machine, im no clue about using a wireless card in > FreeBSD an not as yet able to find to many sources//articles that can give me > a head start on where to go to begin finding the cards chipset etc etc .. > > Any assistance would be appreciated. Run "ifconfig"; if your card's driver is built into the GENERIC kernel (it likely is), then iconfig should list it. Alternatively, you can run pciconf -lv. If you can't find your card in either of these, please copy the output of those two to the list. (Hint: a goodway to save the output of a command to a file is: "command | tee file"). From miwi at FreeBSD.org Tue Aug 5 12:21:18 2008 From: miwi at FreeBSD.org (Martin Wilke) Date: Tue Aug 5 12:21:30 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) In-Reply-To: <18829459.post@talk.nabble.com> References: <18829459.post@talk.nabble.com> Message-ID: <20080805120549.GA30984@bsdcrew.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Aug 05, 2008 at 04:51:17AM -0700, Jakub Lach wrote: > > This is the Qt/X11 Open Source Edition. > > > The specified system/compiler is not supported: > > > /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/freebsd-g++ > > Please see the README file for a complete list. > > ===> Script "configure" failed unexpectedly. > please force update qmake4 and qt4-corelib ports: # portmaster devel/qmake4 devel/qt4-corelib # portupgrade -f devel/qmake4 devel/qt4-corelib - - Martin > > In README there is no FreeBSD whatsoever. > -- > View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829459.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > - -- +-----------------------+-------------------------------+ | PGP : 0x05682353 | Jabber : miwi(at)BSDCrew.de | | ICQ : 169139903 | Mail : miwi(at)FreeBSD.org | +-----------------------+-------------------------------+ | Mess with the Best, Die like the Rest! | +-----------------------+-------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiYQhwACgkQFwpycAVoI1P+PwCfT6M7GZMGrWYdeNnS23LLkY/n IrcAnA/fXHJmFGyEd1oiT4al0yiMq4P9 =iVp2 -----END PGP SIGNATURE----- From smallhand at crawblog.com Tue Aug 5 12:26:54 2008 From: smallhand at crawblog.com (Edward Ruggeri) Date: Tue Aug 5 12:27:00 2008 Subject: Sorry - plaintext this time - Disk geometry and two OSes. In-Reply-To: <329482.19217.qm@web59816.mail.ac4.yahoo.com> References: <329482.19217.qm@web59816.mail.ac4.yahoo.com> Message-ID: <919383240808050526n2a80da53w281d2c607dc1734a@mail.gmail.com> On Mon, Aug 4, 2008 at 8:02 PM, Slick Bo wrote: > I've > seen a few people on this mailing list say that disk geometry really > doesn't matter that much, and the OS usually works fine despite > apparent errors. But I'd prefer to be able to keep my windows installation. > If I let sysinstall change the disk geometry, will it create problems > for the files on "0" and the WinXP installation? If so, do you know of > an alternate way to find the disk geometry, and should I directly give > these results to sysinstall? Will that fix my problem? This is something I've wondered about, but blithely ignored. What does the warning really mean? Why doesn't it matter? -- Ned Ruggeri From nospam at mgedv.net Tue Aug 5 12:33:15 2008 From: nospam at mgedv.net (no@spam@mgEDV.net) Date: Tue Aug 5 12:33:23 2008 Subject: accounting Message-ID: <5B332F0243AD42178DA66630C667FE92@mstandard.lan> hi together, we're trying to setup system accounting with sa to get detailed information which user takes how much cpu. for any reason we'd like to have separate files like "sa_20080805_14" for each hour we run process accounting and keep them as well. but of course when issuing an accton command, we always get these kernel messages: Accounting disabled Accounting enabled now my question: is there any way to prevent the messages from being dmesg'd except hacking the accounting sources? it's pretty sensless to have hundreds of these messages... cheers ps: just reply to the list, i'll it... From jakub_lach at mailplus.pl Tue Aug 5 13:24:08 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Tue Aug 5 13:24:14 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) In-Reply-To: <20080805120549.GA30984@bsdcrew.de> References: <18829459.post@talk.nabble.com> <20080805120549.GA30984@bsdcrew.de> Message-ID: <18831048.post@talk.nabble.com> Bugzilla from miwi@FreeBSD.org wrote: > > please force update qmake4 and qt4-corelib ports: > > # portmaster devel/qmake4 devel/qt4-corelib > # portupgrade -f devel/qmake4 devel/qt4-corelib > > - - Martin > > I have already tried upgrading corelib (===> qt4-corelib-4.4.1 depends on package: qt4-moc>=4.4.1 - not found ===> Found qt4-moc-4.3.4, but you need to upgrade to qt4-moc>=4.4.1) now (re)building qmake4, fingers crossed. Thanks for fast help. -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18831048.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jakub_lach at mailplus.pl Tue Aug 5 13:52:21 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Tue Aug 5 13:54:57 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) In-Reply-To: <20080805120549.GA30984@bsdcrew.de> References: <18829459.post@talk.nabble.com> <20080805120549.GA30984@bsdcrew.de> Message-ID: <18831591.post@talk.nabble.com> Bugzilla from miwi@FreeBSD.org wrote: > > please force update qmake4 and qt4-corelib ports: > > # portmaster devel/qmake4 devel/qt4-corelib > # portupgrade -f devel/qmake4 devel/qt4-corelib > Still cannot upgrade qt4-corelib without qt4-moc>=4.4.1. -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18831591.html Sent from the freebsd-questions mailing list archive at Nabble.com. From doug at fledge.watson.org Tue Aug 5 14:55:53 2008 From: doug at fledge.watson.org (doug) Date: Tue Aug 5 14:56:02 2008 Subject: Jails, IPs and identd In-Reply-To: References: Message-ID: On Tue, 5 Aug 2008, Redd Vinylene wrote: > Hello! > > I have a jail with multiple IPs. It runs identd, however it only works > from the jail's main IP: > > auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 > > How do I make it work from absolutely all IPs? > > Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN > -t 30 -a ? > > Thank you all! > > # man identd > > -a Specify one specific IP address to bind to. Alternatively, a > hostname can be specified, in which case the IPv4 or IPv6 address > which corresponds to that hostname is used. Usually a hostname > is specified when inetd is run inside a jail(8), in which case > the hostname corresponds to that of the jail(8) environment. > > When the hostname specification is used and both IPv4 and IPv6 > bindings are desired, one entry with the appropriate protocol > type for each binding is required for each service in > /etc/inetd.conf. For example, a TCP-based service would need two > entries, one using ``tcp4'' for the protocol and the other using > ``tcp6''. See the explanation of the /etc/inetd.conf protocol > field below. > It is my understanding you get one IP/jail and that multiple IPs are a work in progress. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html A jail is characterized by four elements: : * An IP address -- this will be assigned to the jail and cannot be changed in any way during the jail's life span. The IP address of a jail is usually an alias address for an existing network interface, but this is not strictly necessary. From security at security.net Tue Aug 5 14:58:10 2008 From: security at security.net (FrankIin Bank) Date: Tue Aug 5 14:58:17 2008 Subject: Franklin Bank - Online Banking and Bill Payment Deactivation Notice. Message-ID: <20080805104354.7A4F27ABAE4EB00B@security.net> Dear Member, This is your official no service(s) listed below will be deactivated and deleted if not renewed immediately. Previous notifications have been sent to the Billing Contact assigned to this account. the Primary Contact, you must renew the service(s) listed below or it will be deacti vated and deleted. [1]Renew Now your Personal Online Banking and Comme Online Banking services. SERVICE: Personal Online Banking and Commercial O EXPIRATION: August, 7 2008 Thank you for using Franklin Bank. We appreciate your business and the opportunity to serve Franklin Bank *********************************************************** ****************** IMPORTANT MEMBER SERVICE INFORMATION *********************************************************** ****************** Please do not reply to t contact Member Service. Copyright ? 2008 Franklin Bank. All rights reserved References 1. 3D"http://mail.masaki.com.pe/ From omer at faruk.net Tue Aug 5 14:58:25 2008 From: omer at faruk.net (Omer Faruk SEN) Date: Tue Aug 5 14:58:33 2008 Subject: carp interface and running manual scripts Message-ID: <51933820.20080805173127@faruk.net> Hi, Is it possible to run a script after carp interface becomes MASTER? Ie external script that runs the required services.. -- Best regards, Omer mailto:omer@faruk.net From timothyk at wallnet.com Tue Aug 5 15:04:11 2008 From: timothyk at wallnet.com (Tim Kellers) Date: Tue Aug 5 15:04:17 2008 Subject: syslogd stopped Message-ID: <489860BA.8030300@wallnet.com> I found some OLD reports of this happening (back in 2001 or so), but I haven't seen anyone mention it. On August 1st, my /var/log/maillog files started rolling over empty files, nightly, with only the "logfile turned over [date]" message in them. Turns out, syslogd stopped running. As soon as I restarted it, and grepped for it: # ps -ax | grep syslog 48049 ?? Ss 0:00.02 /usr/sbin/syslogd -s It began running and my /var/log/maillog file has entries once again. I'm a little baffled; does anyone have any idea what might be going on or could maybe point me to a resource I might have missed that discusses it? Thanks Tim From fquest at ccstores.com Tue Aug 5 15:28:42 2008 From: fquest at ccstores.com (Jim Pazarena) Date: Tue Aug 5 15:28:49 2008 Subject: reminder email notification utility Message-ID: <489871AA.4080709@ccstores.com> Is there a utility available which can take a database of dates & events and email out a reminder? I know that I could create something using at, but seems to me that I saw a utility already designed for this. I have missed one too many birthdays -- Jim Pazarena fquest@ccstores.com From reddvinylene at gmail.com Tue Aug 5 15:35:05 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Tue Aug 5 15:35:23 2008 Subject: Jails, IPs and identd In-Reply-To: References: Message-ID: Yeah but I'm using Bjoern Zeeb's multiple IP patch... On Tue, Aug 5, 2008 at 4:43 PM, doug wrote: > > > On Tue, 5 Aug 2008, Redd Vinylene wrote: > >> Hello! >> >> I have a jail with multiple IPs. It runs identd, however it only works >> from the jail's main IP: >> >> auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 >> >> How do I make it work from absolutely all IPs? >> >> Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN >> -t 30 -a ? >> >> Thank you all! >> >> # man identd >> >> -a Specify one specific IP address to bind to. Alternatively, a >> hostname can be specified, in which case the IPv4 or IPv6 >> address >> which corresponds to that hostname is used. Usually a hostname >> is specified when inetd is run inside a jail(8), in which case >> the hostname corresponds to that of the jail(8) environment. >> >> When the hostname specification is used and both IPv4 and IPv6 >> bindings are desired, one entry with the appropriate protocol >> type for each binding is required for each service in >> /etc/inetd.conf. For example, a TCP-based service would need >> two >> entries, one using ``tcp4'' for the protocol and the other >> using >> ``tcp6''. See the explanation of the /etc/inetd.conf protocol >> field below. >> > It is my understanding you get one IP/jail and that multiple IPs are a work > in progress. See > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html > > A jail is characterized by four elements: > : > * An IP address -- this will be assigned to the jail and cannot be changed > in > any way during the jail's life span. The IP address of a jail is usually an > alias address for an existing network interface, but this is not strictly > necessary. > > > -- http://www.home.no/reddvinylene From timothyk at wallnet.com Tue Aug 5 15:35:06 2008 From: timothyk at wallnet.com (Tim Kellers) Date: Tue Aug 5 15:35:24 2008 Subject: syslogd stopped In-Reply-To: <489860BA.8030300@wallnet.com> References: <489860BA.8030300@wallnet.com> Message-ID: <4898739E.9070805@wallnet.com> I hit send too soon, the machine is: FreeBSD www 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Tim Kellers wrote: > I found some OLD reports of this happening (back in 2001 or so), but I > haven't seen anyone mention it. > > On August 1st, my /var/log/maillog files started rolling over empty > files, nightly, with only the "logfile turned over [date]" message in > them. > > Turns out, syslogd stopped running. As soon as I restarted it, and > grepped for it: > > # ps -ax | grep syslog > 48049 ?? Ss 0:00.02 /usr/sbin/syslogd -s > > It began running and my /var/log/maillog file has entries once > again. I'm a little baffled; does anyone have any idea what might be > going on or could maybe point me to a resource I might have missed > that discusses it? > > Thanks > > Tim > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > From glarkin at FreeBSD.org Tue Aug 5 15:49:03 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Aug 5 15:49:10 2008 Subject: reminder email notification utility In-Reply-To: <489871AA.4080709@ccstores.com> References: <489871AA.4080709@ccstores.com> Message-ID: <4898766B.4010606@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Pazarena wrote: | Is there a utility available which can take a database of dates & events | and email | out a reminder? | | I know that I could create something using at, but seems to me that I | saw a utility | already designed for this. | | I have missed one too many birthdays Hi Jim, Here are a couple from the ports collection: http://www.freshports.org/search.php?query=birthday&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive Neither one specifically says it uses email to deliver reminders, but perhaps some quick shell scripting will solve that problem. HTH, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImHZq0sRouByUApARAi/9AJ9QtVLfPb7qhy0gTY176ovdDwOapgCgveJd zOajK5FqczaRSF3xzLwt7Oc= =kXkH -----END PGP SIGNATURE----- From sk.paix at gmail.com Tue Aug 5 15:53:07 2008 From: sk.paix at gmail.com (Sergej Kandyla) Date: Tue Aug 5 15:53:23 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898065A.5080008@powerzone.net.au> References: <4898065A.5080008@powerzone.net.au> Message-ID: <48981FDF.9040206@gmail.com> Michael Christie wrote: > Hi all , > > I want to cluster some freeBSD servers, The purpose of this is to > learn. I would like to run some basic services like www and mail on > a test network. I would like to set up the servers so if one server > falls over the other will take over the services automatically, load > balanceing would be good as well. > > web links any thing to help me get started would be good. No I do not > want to change over to linux. > > High Availability means that your cluster should work even some system components fail. http://en.wikipedia.org/wiki/High-availability_cluster For building HA cluster you should have at last two machines, first will run in master mode, second in slave( standby )mode. In every time only one machine works and provide some services (www, db, etc) Very good idea is to use NAS(SAN) - Network Access Storage ( http://en.wikipedia.org/wiki/Network-attached_storage ) with shared disk. Both nodes of HA cluster will use this shared disk (but only one in certain time). If one node fails, second node (standby node) will become a master of cluster and will start some services, that cluster provided. But NAS systems is not cheap!! Another way is to use software systems such us DRBD, NFS, chironfs, rsync etc. Most of this high-availability software solution works by replicating a disk partition in a master/slave mode. Heartbeat + DRBD is one of most popular redundant solutions. DRBD mirrors a partition between two machines allowing only one of them to mount it at a time. Heartbeat then monitors the machines, and if it detects that one of the machines has died, it takes control by mounting the mirrored disk and starting all the services the other machine is running. Unfortunately DRBD runs only on linux but I recommend you to see how it works for understanding this technology. http://www.rhic.bnl.gov/hepix/talks/041020am/miers.pdf http://www.linux-ha.org http://www.linux-ha.org/DRBD/GettingStarted http://www.linuxjournal.com/article/9074 For freebsd to mirror content on bouth nodes you can use rsync as in this howto: http://www.taygeta.com/ha-postgresql.html Another way like as DRBD is to use chironfs + nfs (sysutils/fusefs-chironfs/) http://www.furquim.org/chironfs Also look at CARP (Common Address Redundancy Protocol) man carp http://www.openbsd.org/faq/pf/carp.html http://www.postgresql.org/docs/8.3/static/high-availability.html (for databases) ps. sorry for my eng -- Best Wishes, PAIX-UANIC | SK3929-RIPE From vince at unsane.co.uk Tue Aug 5 15:59:52 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Aug 5 15:59:59 2008 Subject: reminder email notification utility In-Reply-To: <489871AA.4080709@ccstores.com> References: <489871AA.4080709@ccstores.com> Message-ID: <489878F0.1030907@unsane.co.uk> Jim Pazarena wrote: > Is there a utility available which can take a database of dates & > events and email > out a reminder? > > I know that I could create something using at, but seems to me that I > saw a utility > already designed for this. > > I have missed one too many birthdays calendar and cron ? a cron entry like @weekly /usr/bin/calendar -A 7 | mail -s "weekly calendar" your.external@email.addr and man calendar (its in the base system) very simple text file format Vince From alexus at gmail.com Tue Aug 5 16:17:07 2008 From: alexus at gmail.com (alexus) Date: Tue Aug 5 16:17:14 2008 Subject: weird In-Reply-To: <6ae50c2d0808042006i67630c96y5e5857b0b76bd344@mail.gmail.com> References: <6ae50c2d0808042006i67630c96y5e5857b0b76bd344@mail.gmail.com> Message-ID: <6ae50c2d0808050917q1bc564c4m5c1e51b787d16f16@mail.gmail.com> anyone? On Mon, Aug 4, 2008 at 11:06 PM, alexus wrote: > i have something really weird going on... all of the sudden my box > went "away" and came back later on > > i have daily log rotating, yet my last log shows following: > > Aug 2 17:15:28 j nrpe[75619]: Handling the connection... > Aug 4 09:49:52 j named[63163]: zone gmsworld.com/IN: expired > > look at the timestamp and never mind what the actual message says.. > > can anyone explain me what the hell happened? > > -- > http://alexus.org/ > -- http://alexus.org/ From peter at boosten.org Tue Aug 5 16:52:27 2008 From: peter at boosten.org (Peter Boosten) Date: Tue Aug 5 16:52:44 2008 Subject: reminder email notification utility In-Reply-To: <489871AA.4080709@ccstores.com> References: <489871AA.4080709@ccstores.com> Message-ID: <48988546.5060703@boosten.org> Jim Pazarena wrote: > Is there a utility available which can take a database of dates & events > and email > out a reminder? > > I know that I could create something using at, but seems to me that I > saw a utility > already designed for this. > > I have missed one too many birthdays /misc/birthday in the ports collection. I run it from crontab daily to see the upcoming events for the next seven days. Peter -- http://www.boosten.org From stevefranks at ieee.org Tue Aug 5 17:05:03 2008 From: stevefranks at ieee.org (Steve Franks) Date: Tue Aug 5 17:05:09 2008 Subject: error with python & gconf.so (gtk-2.0) Message-ID: <539c60b90808051005g6f16049fmd7f289551f93a033@mail.gmail.com> I just got a clean portupgrade -a, so I hope my problem is not a version issue, because I don't have any newer versions to install. I get the following when I try to run meld: Thanks, Steve [steve@dystant /usr/home/steve]$ meld Traceback (most recent call last): File "/usr/local/bin/meld", line 93, in import meldapp File "/usr/local/lib/meld/meldapp.py", line 28, in import prefs File "/usr/local/lib/meld/prefs.py", line 52, in import gconf ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so: Undefined symbol "g_assertion_message_expr" [steve@dystant /usr/home/steve]$ From reddvinylene at gmail.com Tue Aug 5 17:48:08 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Tue Aug 5 17:48:14 2008 Subject: Jails, IPs and identd In-Reply-To: <20080805120132.T98584@pemaquid.safeport.com> References: <20080805120132.T98584@pemaquid.safeport.com> Message-ID: On Tue, Aug 5, 2008 at 6:02 PM, wrote: > ah - above my pay grade. > > On Tue, 5 Aug 2008, Redd Vinylene wrote: > >> Yeah but I'm using Bjoern Zeeb's multiple IP patch... >> >> On Tue, Aug 5, 2008 at 4:43 PM, doug wrote: >>> >>> >>> On Tue, 5 Aug 2008, Redd Vinylene wrote: >>> >>>> Hello! >>>> >>>> I have a jail with multiple IPs. It runs identd, however it only works >>>> from the jail's main IP: >>>> >>>> auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 >>>> >>>> How do I make it work from absolutely all IPs? >>>> >>>> Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN >>>> -t 30 -a ? >>>> >>>> Thank you all! >>>> >>>> # man identd >>>> >>>> -a Specify one specific IP address to bind to. Alternatively, a >>>> hostname can be specified, in which case the IPv4 or IPv6 >>>> address >>>> which corresponds to that hostname is used. Usually a >>>> hostname >>>> is specified when inetd is run inside a jail(8), in which case >>>> the hostname corresponds to that of the jail(8) environment. >>>> >>>> When the hostname specification is used and both IPv4 and IPv6 >>>> bindings are desired, one entry with the appropriate protocol >>>> type for each binding is required for each service in >>>> /etc/inetd.conf. For example, a TCP-based service would need >>>> two >>>> entries, one using ``tcp4'' for the protocol and the other >>>> using >>>> ``tcp6''. See the explanation of the /etc/inetd.conf protocol >>>> field below. >>>> >>> It is my understanding you get one IP/jail and that multiple IPs are a >>> work >>> in progress. See >>> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html >>> >>> A jail is characterized by four elements: >>> : >>> * An IP address -- this will be assigned to the jail and cannot be >>> changed >>> in >>> any way during the jail's life span. The IP address of a jail is usually >>> an >>> alias address for an existing network interface, but this is not >>> strictly >>> necessary. >>> >>> >>> >> >> >> >> -- >> http://www.home.no/reddvinylene >> > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-469-8766 > Fax: 301-469-0601 > heheh.. no worries. i think im better off asking this on the freebsd-jails mailinglist anyhow. have a great day! -- http://www.home.no/reddvinylene From kline at thought.org Tue Aug 5 18:19:35 2008 From: kline at thought.org (Gary Kline) Date: Tue Aug 5 18:19:42 2008 Subject: general questions about 7.0 and computer efficiency...... Message-ID: <20080805181926.GA24000@thought.org> Folks, Actually, I have two 'general-computer' type questions, but it might be better to ask them in separate posts. First about FBSD (6.x or 7.x) and newer vs older computers. First, 7.0 seems as stable or more so than its predecessor. It may even be faster and more efficient. How much more "green" this is isn't a main question. But let's take my 1998 Computer each maxed out with a Gig or close to and having been upgraded to small 2005 drives. Would it make more sense from a environmental vp to buy a newer, faster servers with probably more efficient drives, or just buy new drives and stay at the current 400MHz speed? I kep track on the load on my main server, and it is rarely above 0.20. If the load is a poor metric of power use, what is better? (My new `Watt-o-Meter' is checking the power right now, but I would like to know what drink the most juice: disk,RAM, processor, OpSys? Number of hit/hours? I want my upgrades to be as cost-effective as possible, in other words. thanks in advance, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From dkelly at hiwaay.net Tue Aug 5 18:33:22 2008 From: dkelly at hiwaay.net (David Kelly) Date: Tue Aug 5 18:33:29 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805181926.GA24000@thought.org> References: <20080805181926.GA24000@thought.org> Message-ID: <20080805183320.GE60428@Grumpy.DynDNS.org> On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote: > > I kep track on the load on my main server, and it is rarely above > 0.20. If the load is a poor metric of power use, what is > better? (My new `Watt-o-Meter' is checking the power right now, > but I would like to know what drink the most juice: disk,RAM, > processor, OpSys? Number of hit/hours? I want my upgrades to > be as cost-effective as possible, in other words. There isn't a good generic answer to your question. "It all depends" on exactly what hardware you have. A good rule of thumb is 10W for each disk drive, but some were much higher. Pull the data sheets for your drives. A Kill-A-Watt on the power cord is the best way to answer the total question. My old ancient Dell Optiplex running 5.5 draws about 60 watts including the APS 350CS UPS. Am not about to unplug it without good reason: dkelly@AndrAIa {1004} uptime 1:30PM up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00 I found a 10G drive in the trash yesterday. Would one day be a nice upgrade for the 4G drive in the above. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From kline at thought.org Tue Aug 5 18:56:16 2008 From: kline at thought.org (Gary Kline) Date: Tue Aug 5 18:56:23 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805183320.GE60428@Grumpy.DynDNS.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> Message-ID: <20080805185612.GC47096@thought.org> On Tue, Aug 05, 2008 at 01:33:20PM -0500, David Kelly wrote: > On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote: > > > > I kep track on the load on my main server, and it is rarely above > > 0.20. If the load is a poor metric of power use, what is > > better? (My new `Watt-o-Meter' is checking the power right now, > > but I would like to know what drink the most juice: disk,RAM, > > processor, OpSys? Number of hit/hours? I want my upgrades to > > be as cost-effective as possible, in other words. > > There isn't a good generic answer to your question. "It all depends" on > exactly what hardware you have. A good rule of thumb is 10W for each > disk drive, but some were much higher. Pull the data sheets for your > drives. > > A Kill-A-Watt on the power cord is the best way to answer the total > question. My old ancient Dell Optiplex running 5.5 draws about 60 watts > including the APS 350CS UPS. Am not about to unplug it without good > reason: > > dkelly@AndrAIa {1004} uptime > 1:30PM up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00 > > I found a 10G drive in the trash yesterday. Would one day be a nice > upgrade for the 4G drive in the above. the datasheets for the 40G drives are lost lost. but what is your best guuess about my old 1998 HP's (400MHz) compared to a newer, generic 1.8GHz processor? IIRC, my AMD 2.8GHz uproc sucks up around 75watts; the Intel was maybe 35w. > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From underligast at gmail.com Tue Aug 5 18:57:33 2008 From: underligast at gmail.com (underligast) Date: Tue Aug 5 18:57:41 2008 Subject: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop Message-ID: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> I'm trying to install FreeBSD 7.0 on my "new" server, an IBM eServer x225 (8647-5CG) The server/drives runs fine under windows 2003 and ubuntu server but the FreeBSD installation just halts. So far i've tried: CD: disk1 from 6.2, 7.0, CD: bootonly from 7.0 Floppys: 7.0 They all end the same, cds with an infinite loop of numbers, floppys with BTX Halted and a lot of numbers. int=0000000d err=00000000 efl=00010006 eip=000219b2 eax=000219ac ebx=00000000 ecx=c0000080 edx=000587d8 esi=0003e007 edi=00000000 ebp=0008fcbc esp=00099c88 cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010 cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f 22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00 ss:esp=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00 00 00 00 00 07 d0 03 00-00 00 00 00 cc 87 05 00 BTX halted The only difference is when i boot from 7.0-STABLE-200804-i386-bootonly.iso, then i see BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 Then it stops. If i remove both the harddrives i can boot into the freebsd installer, but as there are no drives, there is nowhere to install. Atleast when i started with the floppys it detected drive1 and 2 before BTX halted.. I dont know what to do anymore, there is just no way to get freebsd to install on this thing. Is it the LSI controller, it should still be initiated when there are no drives in it, and the installation starts fine then. Is it the Motherboard, the bios, the cpu, the ram? what? The disks, having just one in doesn't work, switching positions doesn't work? Does anyone have any idea on how i can proceed once i'm in the installation, can i mount the drives and install somehow? The hardware is: 1x Xeon 2.8GHz(512KB), 2x 2048MB PC2100 DDR SDRAM (ecc), 2x 74GB 10K rpm U320 HDD, Ultra320 SCSI, 48x CD-ROM, Broadcom NetXtreme 10/100/1000 Integrated Ethernet, ATI Rage XL From dkelly at hiwaay.net Tue Aug 5 19:24:08 2008 From: dkelly at hiwaay.net (David Kelly) Date: Tue Aug 5 19:24:15 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805185612.GC47096@thought.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> Message-ID: <20080805192406.GA60931@Grumpy.DynDNS.org> On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote: > > the datasheets for the 40G drives are lost lost. Oh, come now! If you still know what make and model the drives are, the datasheets are available online. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From vince at unsane.co.uk Tue Aug 5 20:12:24 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Aug 5 20:12:32 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805185612.GC47096@thought.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> Message-ID: <4898B426.9030007@unsane.co.uk> Gary Kline wrote: > On Tue, Aug 05, 2008 at 01:33:20PM -0500, David Kelly wrote: > >> On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote: >> >>> I kep track on the load on my main server, and it is rarely above >>> 0.20. If the load is a poor metric of power use, what is >>> better? (My new `Watt-o-Meter' is checking the power right now, >>> but I would like to know what drink the most juice: disk,RAM, >>> processor, OpSys? Number of hit/hours? I want my upgrades to >>> be as cost-effective as possible, in other words. >>> >> There isn't a good generic answer to your question. "It all depends" on >> exactly what hardware you have. A good rule of thumb is 10W for each >> disk drive, but some were much higher. Pull the data sheets for your >> drives. >> >> A Kill-A-Watt on the power cord is the best way to answer the total >> question. My old ancient Dell Optiplex running 5.5 draws about 60 watts >> including the APS 350CS UPS. Am not about to unplug it without good >> reason: >> >> dkelly@AndrAIa {1004} uptime >> 1:30PM up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00 >> >> I found a 10G drive in the trash yesterday. Would one day be a nice >> upgrade for the 4G drive in the above. >> > > > the datasheets for the 40G drives are lost lost. but what is your > best guuess about my old 1998 HP's (400MHz) compared to a newer, > generic 1.8GHz processor? IIRC, my AMD 2.8GHz uproc sucks up > around 75watts; the Intel was maybe 35w. > > If your serious about power but need newer capacities, I'd look at something like http://www.wdc.com/en/products/greenpower/index.asp and maybe an intel atom (or after reading the reviews/benchmarks the via nano when its available.) With dual opterons at the moment my load average (except for when compiling) is 0 - 0.1 but my electricity bill is significant so i'll be looking into something atom/nano based in the near future, especially when i can get a motherboard with CPU for less than 60 uk pounds. > > >> -- >> David Kelly N4HHE, dkelly@HiWAAY.net >> ======================================================================== >> Whom computers would destroy, they must first drive mad. >> > > From derek at computinginnovations.com Tue Aug 5 20:15:29 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Aug 5 20:15:36 2008 Subject: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop In-Reply-To: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com > References: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> Message-ID: <6.0.0.22.2.20080805151309.02617ec0@mail.computinginnovations.com> At 01:42 PM 8/5/2008, underligast wrote: >I'm trying to install FreeBSD 7.0 on my "new" server, an IBM eServer x225 >(8647-5CG) >The server/drives runs fine under windows 2003 and ubuntu server but the >FreeBSD installation just halts. > >So far i've tried: >CD: disk1 from 6.2, 7.0, >CD: bootonly from 7.0 >Floppys: 7.0 > >They all end the same, cds with an infinite loop of numbers, floppys with >BTX Halted and a lot of numbers. > >int=0000000d err=00000000 efl=00010006 eip=000219b2 >eax=000219ac ebx=00000000 ecx=c0000080 edx=000587d8 >esi=0003e007 edi=00000000 ebp=0008fcbc esp=00099c88 >cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010 >cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f > 22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00 >ss:esp=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00 > 00 00 00 00 07 d0 03 00-00 00 00 00 cc 87 05 00 >BTX halted > >The only difference is when i boot from 7.0-STABLE-200804-i386-bootonly.iso, >then i see > >BTX loader 1.00 BTX version is 1.02 >Consoles: internal video/keyboard >BIOS CD is cd0 >BIOS drive A: is disk0 > >Then it stops. >If i remove both the harddrives i can boot into the freebsd installer, but >as there are no drives, there is nowhere to install. > >Atleast when i started with the floppys it detected drive1 and 2 before BTX >halted.. > >I dont know what to do anymore, there is just no way to get freebsd to >install on this thing. >Is it the LSI controller, it should still be initiated when there are no >drives in it, and the installation starts fine then. >Is it the Motherboard, the bios, the cpu, the ram? what? >The disks, having just one in doesn't work, switching positions doesn't >work? > >Does anyone have any idea on how i can proceed once i'm in the installation, >can i mount the drives and install somehow? > >The hardware is: >1x Xeon 2.8GHz(512KB), 2x 2048MB PC2100 DDR SDRAM (ecc), 2x 74GB 10K rpm >U320 HDD, Ultra320 SCSI, 48x CD-ROM, Broadcom NetXtreme 10/100/1000 >Integrated Ethernet, ATI Rage XL Obviously it is the SCSI card or drives. Have you tried changing the BIOS settings on the SCSI? You might want to try changing the SCSI BUS speed. You may also want to try turning off hyperthreading. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From shinjii at maydias.com Tue Aug 5 20:38:21 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Aug 5 20:38:28 2008 Subject: Setting up Wireless net Card In-Reply-To: <919383240808050520h18e8fa91ldc9810cd0afadbf0@mail.gmail.com> References: <200808051748.55133.shinjii@maydias.com> <919383240808050520h18e8fa91ldc9810cd0afadbf0@mail.gmail.com> Message-ID: <200808060638.20866.shinjii@maydias.com> > Run "ifconfig"; if your card's driver is built into the GENERIC kernel > (it likely is), then iconfig should list it. Alternatively, you can > run pciconf -lv. If you can't find your card in either of these, > please copy the output of those two to the list. > > (Hint: a goodway to save the output of a command to a file is: > "command | tee file"). The below would be the wireless card, being belkin, but i dont believe that it is listed as part of the drivers with a generic kernel which im running. none2@pci3:5:0: class=0x020000 card=0x700f1799 chip=0x700f1799 rev=0x20 hdr=0x00 vendor = 'Belkin Research and Development Labs' class = network subclass = ethernet ------------ re0: flags=8943 mtu 1500 options=1b inet 192.168.1.65 netmask 0xffffff00 broadcast 192.168.1.255 ether media: Ethernet 10baseT/UTP status: active fwe0: flags=108802 mtu 1500 options=8 ether ch 1 dma -1 plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 From kline at thought.org Tue Aug 5 20:45:30 2008 From: kline at thought.org (Gary Kline) Date: Tue Aug 5 20:45:37 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805192406.GA60931@Grumpy.DynDNS.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> <20080805192406.GA60931@Grumpy.DynDNS.org> Message-ID: <20080805204528.GA51027@thought.org> On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote: > On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote: > > > > the datasheets for the 40G drives are lost lost. > > Oh, come now! If you still know what make and model the drives are, the > datasheets are available online. > sure they're online,but i don't remember whether they were Seagate or something else. and putting then in was a nightmare. [[ for some reason, these hp kayaks have baffles and partitions and more things you gotta unscrew.]] it took a REAL (hardware) EE close to an hour. ------this brings me to another question butnotnow! > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From david.gurvich at verizon.net Tue Aug 5 20:52:53 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Tue Aug 5 20:53:00 2008 Subject: Setting up Wireless net Card In-Reply-To: <200808060638.20866.shinjii@maydias.com> References: <200808051748.55133.shinjii@maydias.com> <919383240808050520h18e8fa91ldc9810cd0afadbf0@mail.gmail.com> <200808060638.20866.shinjii@maydias.com> Message-ID: <20080805165251.079761a8@verizon.net> I believe that card uses the Realtek 8185L chipset. You may be able to get ndis driver to work with it. Download the winxp driver from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true I don't know if there is native support. From wojtek at wojtek.tensor.gdynia.pl Tue Aug 5 20:58:05 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Aug 5 20:58:12 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805181926.GA24000@thought.org> References: <20080805181926.GA24000@thought.org> Message-ID: <20080805225642.O55449@wojtek.tensor.gdynia.pl> > and stay at the current 400MHz speed? older computers usually take less power, but usually not always - check it. and are less expensive - always. From wojtek at wojtek.tensor.gdynia.pl Tue Aug 5 20:58:40 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Aug 5 20:58:47 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805183320.GE60428@Grumpy.DynDNS.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> Message-ID: <20080805225813.T55449@wojtek.tensor.gdynia.pl> > exactly what hardware you have. A good rule of thumb is 10W for each > disk drive, but some were much higher. Pull the data sheets for your > drives. > > A Kill-A-Watt on the power cord is the best way to answer the total > question. My old ancient Dell Optiplex running 5.5 draws about 60 watts > including the APS 350CS UPS. Am not about to unplug it without good > reason: > > dkelly@AndrAIa {1004} uptime > 1:30PM up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00 > > I found a 10G drive in the trash yesterday. Would one day be a nice > upgrade for the 4G drive in the above. > or add it, and use atacontrol detach/attach From rsmith at xs4all.nl Tue Aug 5 21:08:54 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Aug 5 21:09:02 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805204528.GA51027@thought.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> <20080805192406.GA60931@Grumpy.DynDNS.org> <20080805204528.GA51027@thought.org> Message-ID: <20080805210852.GA52496@slackbox.xs4all.nl> On Tue, Aug 05, 2008 at 01:45:28PM -0700, Gary Kline wrote: > On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote: > > On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote: > > > > > > the datasheets for the 40G drives are lost lost. > > > > Oh, come now! If you still know what make and model the drives are, the > > datasheets are available online. > > > > sure they're online,but i don't remember whether they were Seagate or > something else. and putting then in was a nightmare. The command "dmesg|grep '^da'" should tell you the make and model of the disks. If you have SCSI, use '^ad' instead of '^da'. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080805/dfe1e5cf/attachment.pgp From vince at unsane.co.uk Tue Aug 5 21:13:03 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Aug 5 21:13:11 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805204528.GA51027@thought.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> <20080805192406.GA60931@Grumpy.DynDNS.org> <20080805204528.GA51027@thought.org> Message-ID: <4898C25C.9060509@unsane.co.uk> Gary Kline wrote: > On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote: > >> On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote: >> >>> the datasheets for the 40G drives are lost lost. >>> >> Oh, come now! If you still know what make and model the drives are, the >> datasheets are available online. >> >> > > sure they're online,but i don't remember whether they were Seagate or > something else. and putting then in was a nightmare. [[ for some > reason, these hp kayaks have baffles and partitions and more things you > gotta unscrew.]] it took a REAL (hardware) EE close to an hour. > > you can often (always for me so far) find your drive model info from smartctl -a /dev/{devnode} (from the port sysutils/smartmontools) example output ------------------------------------------------------- === START OF INFORMATION SECTION === Model Family: Maxtor DiamondMax Plus 8 family Device Model: Maxtor 6E040L0 Serial Number: E1PAM22E Firmware Version: NAR61EA0 User Capacity: 41,110,142,976 bytes ---------------------snip------------------------------ Vince > ------this brings me to another question butnotnow! > > > >> -- >> David Kelly N4HHE, dkelly@HiWAAY.net >> ======================================================================== >> Whom computers would destroy, they must first drive mad. >> > > From jalmberg at identry.com Tue Aug 5 21:55:32 2008 From: jalmberg at identry.com (John Almberg) Date: Tue Aug 5 21:55:39 2008 Subject: Controlling read access In-Reply-To: <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> Message-ID: On Jul 31, 2008, at 5:40 PM, Catalin Miclaus wrote: > Hello John, > > If you are providing only FTP services for those users, perhaps you > want > to go for an FTP server that handles virtual users. > I'm using pure-ftpd and it works great. > Google will help you find some nice howto's for same. > Hi Catalin... I installed pure--ftpd with TLS/SSL support and am having some problems with it... 1. VERY slow to list files the first time. I thought this was a DNS problem, so tried the -H flag, but no joy. Still slow. 2. When I try to connect with TLS/SSL, I get a connection, but the file list takes so long that the connection times out. Any ideas? I Googled for this problem, but the only hint I came up with was the -H flag... Thanks: John From cyberleo at cyberleo.net Tue Aug 5 22:01:12 2008 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Tue Aug 5 22:01:21 2008 Subject: [Solved] Re: Periodic scripts running twice In-Reply-To: <48982052.8030801@cyberleo.net> References: <489748B0.8050708@cyberleo.net> <20080804220134.339cb529@gumby.homeunix.com.> <48982052.8030801@cyberleo.net> Message-ID: <4898CDA3.9010405@cyberleo.net> CyberLeo Kitsana wrote: > RW wrote: >> On Mon, 04 Aug 2008 13:21:36 -0500 >> CyberLeo Kitsana wrote: >> >>> Hi! >>> >>> For a while, I've noticed odd behavior with periodic scripts >>> installed by certain ports (portaudit) as well as ones I've penned >>> myself (corescan), in that they appear to be run twice in succession >>> every time. >>> >>> Base system scripts, and some add-on scripts (freshclam) are run only >>> once, even in the same periodic batch. >>> >>> Is there some end state the script is expected to be in to signal >>> periodic of a successful run? >>> >>> (Incl: Sample email, weekly.txt) >>> >>> Thanks! >> >> Is this a long-standing problem? It sounds like you >> didn't fully complete the UPDATING instruction for the 20070519 xorg >> update, and /usr/local/etc/periodic is being access both directly >> and via the /usr/X11R6 symlink. > > >> Try adding local_periodic="/usr/local/etc/periodic" >> to /etc/periodic.conf > > The box in question doesn't even have X, as it's a headless server in a > colo someplace. It's been this way since I installed the periodic > scripts. I have no idea what that symlink is even doing there, unless > 'make distdirs distribution' creates it now. > > Either way, I've added the local_periodic directive to > /etc/periodic.conf. We'll see what happens when periodic runs tonight. > Thanks! Looks like that took care of the problem. Thanks for the insight! Although, that does cause me to wonder why only some of the local periodic scripts would run twice, while others would run only once. Either way, problem solved. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From kline at thought.org Wed Aug 6 00:07:12 2008 From: kline at thought.org (Gary Kline) Date: Wed Aug 6 00:07:19 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805210852.GA52496@slackbox.xs4all.nl> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> <20080805192406.GA60931@Grumpy.DynDNS.org> <20080805204528.GA51027@thought.org> <20080805210852.GA52496@slackbox.xs4all.nl> Message-ID: <20080806000707.GA56589@thought.org> On Tue, Aug 05, 2008 at 11:08:52PM +0200, Roland Smith wrote: > On Tue, Aug 05, 2008 at 01:45:28PM -0700, Gary Kline wrote: > > On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote: > > > On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote: > > > > > > > > the datasheets for the 40G drives are lost lost. > > > > > > Oh, come now! If you still know what make and model the drives are, the > > > datasheets are available online. > > > > > > > sure they're online,but i don't remember whether they were Seagate or > > something else. and putting then in was a nightmare. > > The command "dmesg|grep '^da'" should tell you the make and model of the > disks. If you have SCSI, use '^ad' instead of '^da'. Well, well. i found my high-end SCSI adaptor. couldn't remember where it got stashed, :-) Anyway, yup, found the drive. i's a WD400BB. I just hope this puppy lasts another several months. Oh, but then i need help to swap it out. This brings me to my next question which is:: It it better to buy a proprietary make like Dell or HP or stick to something more generic? Let's assume that i could handle the hardware end myself. what would you suggest? gary PS; I'Ll post this separately, but just wondering.... > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From dkelly at hiwaay.net Wed Aug 6 00:36:35 2008 From: dkelly at hiwaay.net (David Kelly) Date: Wed Aug 6 00:36:41 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805225813.T55449@wojtek.tensor.gdynia.pl> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805225813.T55449@wojtek.tensor.gdynia.pl> Message-ID: <91D98CB9-5F42-408F-B22C-6731F01483D3@hiwaay.net> On Aug 5, 2008, at 3:58 PM, Wojciech Puchar wrote: >> dkelly@AndrAIa {1004} uptime >> 1:30PM up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00 >> >> I found a 10G drive in the trash yesterday. Would one day be a nice >> upgrade for the 4G drive in the above. >> > or add it, and use atacontrol detach/attach You think I could replace the system drive that way? :-) -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From ivoras at freebsd.org Wed Aug 6 00:48:09 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Aug 6 00:48:16 2008 Subject: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop In-Reply-To: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> References: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> Message-ID: underligast wrote: > I'm trying to install FreeBSD 7.0 on my "new" server, an IBM eServer x225 > (8647-5CG) > The server/drives runs fine under windows 2003 and ubuntu server but the > FreeBSD installation just halts. > > So far i've tried: > CD: disk1 from 6.2, 7.0, > CD: bootonly from 7.0 > Floppys: 7.0 > > They all end the same, cds with an infinite loop of numbers, floppys with > BTX Halted and a lot of numbers. Just to be sure, try bootonly 8-CURRENT. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/bf3f4db0/signature.pgp From af300wsm at gmail.com Wed Aug 6 02:00:32 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Wed Aug 6 02:00:40 2008 Subject: [Off Topic] Clients still not connecting to the FreeBSD mail server Message-ID: <200808052000.14727.af300wsm@gmail.com> Hi, Thanks again everyone for the pointers with Outlook and my fellow church parishoners. I'm hoping for some more pointers. Using tcpdump I'm fairly certain that the initial SYN packets from the clients are never reaching the server. I'll need to test one more time to be sure (I wasn't 100% positive of the public IP address on the Internet side of the cable modem installed). Never the less, from home here I've verified what I should see if the initial SYN packets are received at the server and now know what to look for. (Who knows, maybe the wireless router knows it's in a church and has decided no SYN's allowed. Ok, that was bad.) What I'm hoping to glean from the experts here is about wireless routers. I've never used them before, but one of the pastors was reasonably certain that the problems commenced for the one person who never had problems, the secretary, when she was switched from wired to wireless operations. Sunday I was briefly able to see the administration pages of the wireless access point, however nothing seemed to jump off the page at me that, "Yeah, this is what's blocking them." However, it definitely seems that something is preventing traffic over port 25 because we can all browse the Internet just fine. I've verified the same timeout behavior with Outlook Express and Thunderbird. Using Thunderbird, I was able to check different settings too. The settings should be to use authentication on the smtp server using SSL. Someone, please educate me, does this mean that the authentication takes place over port 465 and the regular smtp still takes place over 25, or do both take place over 25? I ask because KMail (my setup at home that works) says to use SSL, not TLS which uses port 465. At the server, I use sockstat and see that on IPv4 sendmail has an open port on 465. Thanks, Andy From mypiju at gmail.com Wed Aug 6 02:17:34 2008 From: mypiju at gmail.com (Mohamad Faizul Zulkifli) Date: Wed Aug 6 02:17:43 2008 Subject: OT: encrypted email using web based application In-Reply-To: <20080731205033.GA6805@kokopelli.hydra> References: <4890694A.9030607@lvor.halvorsen.cc> <20080731205033.GA6805@kokopelli.hydra> Message-ID: <1de16aa10808051848l6b45539dgf1939b631a0ecd87@mail.gmail.com> how about squirrelmail and horde ? On Fri, Aug 1, 2008 at 4:50 AM, Chad Perrin wrote: > On Wed, Jul 30, 2008 at 03:14:50PM +0200, Svein Halvor Halvorsen wrote: > > Andrew Gould wrote: > > > If I start with Subject line with the word "secure" using my work's > email > > > system, the email is sent to a secure, web based application where the > > > recipients can view the message securely. The recipients receive a > message > > > that a secure email message is waiting for them there. They have to > create > > > an account based upon their email address to view the message. They do > not > > > have to recreate the accounts for future messages. > > > > > > This system is easy to use; and we don't have to worry about whether > the > > > recipients have PGP or GPG. Is there an open source application that > does > > > this? > > > > How is this secure? Ok, I can see that if the message is served over > > https, then the network packages themselves cannot be sniffed > > easily. But as long as the recipient did not give you the key to > > use, then this is not secure. Why should the recipient trust the server? > > > > Whether there is an open source solution, I don't know however. > > It depends on your definition of "secure" -- which can vary from one > circumstance to another. If the emails in question are "company > property", there's no reason to consider access to the emails by company > officials a breach of security. On the other hand, if sensitive company > information is sniffed in plain text on the network, that could be > disastrous. > > From the sound of it, the circumstances the OP described refer to such a > situation -- one where strict person-to-person privacy isn't a necessary > goal of relevant security concerns. > > -- > Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] > Scott McNealy: "Microsoft is now talking about the digital nervous > system. I guess I would be nervous if my system was built on their > technology too." > -- Mohamad Faizul Zulkifli http://piju.fakap.net/ From rsmith at xs4all.nl Wed Aug 6 05:11:02 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Aug 6 05:11:10 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080806000707.GA56589@thought.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> <20080805192406.GA60931@Grumpy.DynDNS.org> <20080805204528.GA51027@thought.org> <20080805210852.GA52496@slackbox.xs4all.nl> <20080806000707.GA56589@thought.org> Message-ID: <20080806051059.GA65622@slackbox.xs4all.nl> On Tue, Aug 05, 2008 at 05:07:08PM -0700, Gary Kline wrote: > > This brings me to my next question which is:: It it better to > buy a proprietary make like Dell or HP or stick to something > more generic? Let's assume that i could handle the hardware end > myself. what would you suggest? I'd stick to a system from a good local builder. It gives you much more control over what components go into the box. You want to make sure that the chipset on the motherboard and the graphics card are supported by FreeBSD. The components of e.g. Dell systems tend to vary depending on what they have lying around. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/3a6da91a/attachment.pgp From khachatur.shahinyan at arca.am Wed Aug 6 06:32:04 2008 From: khachatur.shahinyan at arca.am (Khachatur Shahinyan) Date: Wed Aug 6 06:32:12 2008 Subject: Freebsd auto locking users Message-ID: <48993E71.9090008@arca.am> Dear FreeBsd gurus, I have a problem concerning users password and authentication policies. The goal is 1)make freebsd to lock users after 3 unsuccessful login attempts, 2)force users to change their passwords every 90 days I've done such changes in Linux distros, with various PAM modules.But in Freebsd it seems that i need to use login.conf file. Here I made necessary changes in that file: >>>>>> default:\ ............. ............. ............. :login-retries=1:\ :passwordtime=90d:\ :warnpassword=7d:\ :warnexpire=7d:\ >>>>>>> Then I made the cap_mkdb /etc/login.conf , and everything went normal, no error messages, but after adding a test user I see no changes in the master.passwd file. The fields which are reserved for password aging parameters are 0:0 test:$1$F9yf.PuK$xqIsGEgK3MexpPZ4UBav0.:1001:1001::0:0:User &:/home/test:/bin/sh And the locking point does not work either, e.g. no matter how many times I input wrong password, I'm still able to login. :( I cannot understand what I'm doing wrong, and what should be done solve this issues? I'm not an expert Freebsd administration, so any comments and suggestions are welcome. Thank You Khachatur Shahinyan From shinjii at maydias.com Wed Aug 6 07:07:45 2008 From: shinjii at maydias.com (Warren Liddell) Date: Wed Aug 6 07:07:52 2008 Subject: Wireless net Card In-Reply-To: <20080805165251.079761a8@verizon.net> References: <200808051748.55133.shinjii@maydias.com> <200808060638.20866.shinjii@maydias.com> <20080805165251.079761a8@verizon.net> Message-ID: <200808061707.46326.shinjii@maydias.com> On Wednesday 06 August 2008 06:52:51 David Gurvich wrote: > I believe that card uses the Realtek 8185L chipset. You may be able to > get ndis driver to work with it. Download the winxp driver from > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFi >d=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true I don't know if > there is native support. Checking out the realtek page, there is a Linux Driver for the RTL8185L .. would that be able to be used more over then using NDIS with the windows driver ? From shinjii at maydias.com Wed Aug 6 08:26:36 2008 From: shinjii at maydias.com (Warren Liddell) Date: Wed Aug 6 08:26:43 2008 Subject: Upgrading from 6.x to 7.x Message-ID: <200808061826.34644.shinjii@maydias.com> I have read a lot of ways an issues with upgrading to 7.x from 6.x ... the main place that seemd ot have someewhat simple guidelines was http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-6x-7x.txt .. however i wanted to know if that is the most simplest an efficent way to go about the process ? The reason i ask as this machine is a production system and cant afford for any down time or in theory anything to break to cause down time in the system. Any thoughts etc are always welcomed. From jmc-freebsd at milibyte.co.uk Wed Aug 6 08:33:46 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Wed Aug 6 08:33:57 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805185612.GC47096@thought.org> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> Message-ID: <200808060933.43791.jmc-freebsd@milibyte.co.uk> On Tuesday 05 August 2008, Gary Kline wrote: > but what is your > ????????best guuess about my old 1998 HP's (400MHz) compared to a > newer, generic 1.8GHz processor? ?IIRC, my AMD 2.8GHz uproc sucks up > around 75watts; the Intel was maybe 35w. If energy is an issue consider some of the newer low "energy efficient" CPUs like AMD 4850e, 2.5 GHz dual core 45 watts. -- Mike Clarke From catalin at starcomms.com Wed Aug 6 09:07:47 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Wed Aug 6 09:07:56 2008 Subject: Controlling read access In-Reply-To: References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> Message-ID: <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> ----Original Message----- From: John Almberg [mailto:jalmberg@identry.com] Sent: Tuesday, August 05, 2008 10:55 PM To: Catalin Miclaus Cc: freebsd-questions@freebsd.org Subject: Re: Controlling read access On Jul 31, 2008, at 5:40 PM, Catalin Miclaus wrote: > Hello John, > > If you are providing only FTP services for those users, perhaps you > want > to go for an FTP server that handles virtual users. > I'm using pure-ftpd and it works great. > Google will help you find some nice howto's for same. > Hi Catalin... I installed pure--ftpd with TLS/SSL support and am having some problems with it... 1. VERY slow to list files the first time. I thought this was a DNS problem, so tried the -H flag, but no joy. Still slow. 2. When I try to connect with TLS/SSL, I get a connection, but the file list takes so long that the connection times out. Any ideas? I Googled for this problem, but the only hint I came up with was the -H flag... Thanks: John Hello John, There are some things that you can try. What if you connect from localhost and transfer files, is it still very slow? Try to disable TLS/SSL and see if this improve performance. Increase debug level and check the log for any errors. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any form of dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited if you are not the intended recipient of this e-mail. Please note that e-mails are susceptible to change. STARCOMMS PLC shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. STARCOMMS PLC does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. STARCOMMS PLC reserves the right to monitor all e-mail communications, whether related to the business of STARCOMMS or not, through its internal or external networks. From bsdprakash at gmail.com Wed Aug 6 09:46:47 2008 From: bsdprakash at gmail.com (Prakash Poudyal) Date: Wed Aug 6 09:46:54 2008 Subject: needs drivers for the gadgets in freebsd Message-ID: <1428d0e80808060246q19693a59o8995af65e61f9f3f@mail.gmail.com> Hello Everybody, Here I want to install some gadgets like webcam wireless ethernet USB card and also Wireless PC card in laptop contents freebsd OS. But when I join these gadgets in the notebook it does not show any sign of connected in the Notebook. I do have driver for windows version. But I donot use windows as my OS. So here I have a probelm any body give me the suggestion Prakash From m.seaman at infracaninophile.co.uk Wed Aug 6 09:55:06 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Aug 6 09:55:13 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805181926.GA24000@thought.org> References: <20080805181926.GA24000@thought.org> Message-ID: <489974EB.3070505@infracaninophile.co.uk> Gary Kline wrote: > I kep track on the load on my main server, and it is rarely above > 0.20. If the load is a poor metric of power use, what is > better? (My new `Watt-o-Meter' is checking the power right now, > but I would like to know what drink the most juice: disk,RAM, > processor, OpSys? Number of hit/hours? I want my upgrades to > be as cost-effective as possible, in other words. Generally, the faster anything runs the more power it consumes. It takes more energy to switch on-off (ie generate a digital pulse) the faster you try and do it. Similar considerations apply to disks -- the faster the platters spin and the faster you need to move the heads about, the more energy it takes. Actually, for disks the physical size of the disk has quite an effect there too: small form-factor disks as commonly used in laptops and various HP servers are more efficient GB for GB than the equivalent 5.25" standard drives. There are exceptions to this rule -- for instance early model Xeon processors ran really hot, meaning they were power pigs. Current AMD and Core2 processors use lower voltages internally and consequently are a lot more thermodynamically efficient. If you want to save energy, there are two pretty useful strategies for the home user: * use eg. laptops -- these are carefully designed to be power efficient in order to give the maximum battery life. They also effectively have a built-in UPS. Similarly you can use low power appliances built around specialist chipsets like the VIA Eden range. * take advantage of the massive computational power of modern high-end kit, and consolidate a number of old machines as virtual hosts on one physical server. There are several freely available host systems you can use -- Xen is an interesting choice, but AFAIK it doesn't support FreeBSD as the *host* -- it's fine for *guests* though. VMWare ESX is apparently available at zero cost as well. Unfortunately even though the running costs will be lower, the up-front costs for either of these strategies will be higher than simply carrying on as before. There's also a significant 'all the eggs in one basket' problem with virtualization. Cheers, Matthew PS. If you happen to be running a whole machine room, then there's a lot of energy efficiency to be recovered by looking carefully at power conversion. A typical large scale UPS will run at about 85% efficiency. An individual computer power supply will usually be less efficient than that. So even before you've got to the 5 and 12V buses on your mother board, 28% or more of your input electrical power has been dispersed as heat. Then consider how a high-end UPS works. It takes in incoming 240V 50HZ AC power and internally converts it into 12 or 24V DC. Some of this power goes towards charging its battery units, but the rest is /converted back to 240V 50Hz AC/ for supply to the computer PSU, which then /converts it back to 5 and 12V DC again/. Converting back and forth so many times is insane. Better for the UPS to provide low voltage DC electrical power -- for historical reasons it's usual to provide 48V DC (the higher voltage means there's less transmission loss due to resistance in cabling, plus with this sort of set-up minimizing the length of cable runs is good practice too). Unfortunately, trying to find a commodity PCs (even server class machines) with 48V DC PSUs is next to impossible and damnably expensive even so. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/34998232/signature.pgp From underligast at gmail.com Wed Aug 6 09:56:42 2008 From: underligast at gmail.com (underligast) Date: Wed Aug 6 09:56:50 2008 Subject: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop In-Reply-To: <6.0.0.22.2.20080805151309.02617ec0@mail.computinginnovations.com> References: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> <6.0.0.22.2.20080805151309.02617ec0@mail.computinginnovations.com> Message-ID: <3424e810808060256j3107b703pd5d15ddf5619a150@mail.gmail.com> On Tue, Aug 5, 2008 at 10:15 PM, Derek Ragona wrote: > Obviously it is the SCSI card or drives. Have you tried changing the > BIOS settings on the SCSI? You might want to try changing the SCSI BUS > speed. You may also want to try turning off hyperthreading. > > -Derek > Disabling Hyperthreading didn't do anything, and i cannot find many options for the SCSI. I'll try lowering the speed and i will also try another drive if i can find one. I also tried 8.0-current bootcd and that lists the dvd-rom and the floppy but none of the disks. There's another four x225:s at work but they all have lsi-controllers. I was really looking forward to using the hotswap.. Thank you for your replies, i hope you can help me fix this eventually From andrewd at webzone.net.au Wed Aug 6 10:10:43 2008 From: andrewd at webzone.net.au (Andrew D) Date: Wed Aug 6 10:10:51 2008 Subject: [Off Topic] Clients still not connecting to the FreeBSD mail server In-Reply-To: <200808052000.14727.af300wsm@gmail.com> References: <200808052000.14727.af300wsm@gmail.com> Message-ID: <4899763A.8090909@webzone.net.au> Hi Andrew, Nice name :) Andrew Falanga wrote: > Hi, > --snip-- > > I've verified the same timeout behavior with Outlook Express and Thunderbird. > Using Thunderbird, I was able to check different settings too. The settings > should be to use authentication on the smtp server using SSL. Someone, > please educate me, does this mean that the authentication takes place over > port 465 and the regular smtp still takes place over 25, or do both take > place over 25? I ask because KMail (my setup at home that works) says to use > SSL, not TLS which uses port 465. At the server, I use sockstat and see that > on IPv4 sendmail has an open port on 465. Depending on the mailserver and its setup it should be able to support SSL/TLS and unencrypted session on port 25. On port 465 Only SSL/TLS sessions are supported. There is also port 587 (again depending on the server and setup) that uses port 587 just for the submission of email using unencrypted/SSL/TLS sessions. Depending on the mailserver it should also be able to support authentication on any of the 3 above ports. I hope that helps. Cheers cya Andrew > Thanks, > Andy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From ivoras at freebsd.org Wed Aug 6 11:17:54 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Aug 6 11:18:01 2008 Subject: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop In-Reply-To: <3424e810808060256j3107b703pd5d15ddf5619a150@mail.gmail.com> References: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> <6.0.0.22.2.20080805151309.02617ec0@mail.computinginnovations.com> <3424e810808060256j3107b703pd5d15ddf5619a150@mail.gmail.com> Message-ID: underligast wrote: > On Tue, Aug 5, 2008 at 10:15 PM, Derek Ragona wrote: > >> Obviously it is the SCSI card or drives. Have you tried changing the >> BIOS settings on the SCSI? You might want to try changing the SCSI BUS >> speed. You may also want to try turning off hyperthreading. >> >> -Derek >> > Disabling Hyperthreading didn't do anything, and i cannot find many options > for the SCSI. I'll try lowering the speed and i will also try another drive > if i can find one. > I also tried 8.0-current bootcd and that lists the dvd-rom and the floppy > but none of the disks. > > There's another four x225:s at work but they all have lsi-controllers. I was > really looking forward to using the hotswap.. > > Thank you for your replies, i hope you can help me fix this eventually Ok, so 8-CURRENT boots? There have been modifications to the boot loader, I think they will be present in 7.1. The controller is a different problem - apparently the driver doesn't recognize it. There are a few things you can try but all of them depend on that you can compile and boot a different kernel on the machine (i.e. different from what's on the official CDs). If you can do this (for example, by installing a test system on a drive on a different, supported controller, or possibly on a USB drive), ask on hardware@ mailing list for further instructions. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/1cbc7c51/signature.pgp From mexas at bristol.ac.uk Wed Aug 6 11:18:38 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Aug 6 11:18:48 2008 Subject: firefox3 on sparc64? Message-ID: <20080806111831.GA34938@mech-cluster238.men.bris.ac.uk> I'm trying to build firefox3 from ports on FBSD Alpha. The build fails with the error following warning: "cast increases required alignment of target type". Following a quick search, I believe this casting should also fail on FBSD sparc64. Anybody tried building firefox3 on sparc64? anton *********************** The error: gmake[5]: Entering directory `/usr/ports/www/firefox3/work/mozilla/netwerk/cookie/src' nsCookieService.cpp c++ -o nsCookieService.o -c -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"FreeBSD6\" -DOSARCH=FreeBSD -DIMPL_NS_NET -I. -I. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/storage -I../../../dist/include -I../../../dist/include/necko -I/usr/local/include/nspr -I/usr/include -I../../../dist/sdk/include -I/usr/local/include -fPIC -I/usr/local/include -I/usr/local/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -O -pipe -mcpu=ev6 -mieee -O2 -fno-strict-aliasing -fno-strict-aliasing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -Werror -I/usr/local/include -I/usr/local/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h nsCookieService.cpp ../../../dist/include/xpcom/nsTHashtable.h: In static member function `static PRBool nsTHashtable::s_MatchEntry(PLDHashTable*, const PLDHashEntryHdr*, const void*) [with EntryType = nsCookieEntry]': ../../../dist/include/xpcom/nsTHashtable.h:335: instantiated from `PRBool nsTHashtable::Init(PRUint32) [with EntryType = nsCookieEntry]' nsCookieService.cpp:418: instantiated from here ../../../dist/include/xpcom/nsTHashtable.h:368: warning: cast from `const PLDHashEntryHdr*' to `const nsCookieEntry*' increases required alignment of target type gmake[5]: *** [nsCookieService.o] Error 1 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From rkramer at mweb.com Wed Aug 6 12:22:51 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Wed Aug 6 12:23:01 2008 Subject: Upgrading from 6.x to 7.x References: <200808061826.34644.shinjii@maydias.com> Message-ID: <39DC135F7F0571489196E0B6F5D58B4A03B45FDE@MWBEXCH.mweb.com> > Warren Liddell > I have read a lot of ways an issues with upgrading to 7.x from 6.x ... the > main place that seemd ot have someewhat simple guidelines was > http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-6x-7x.txt .. however > i wanted to know if that is the most simplest an efficent way to go about the > process ? > > The reason i ask as this machine is a production system and cant afford for > any down time or in theory anything to break to cause down time in the > system. > > Any thoughts etc are always welcomed. We have upgraded quite a few FreeBSD 6.2 and 6.3 servers to 7.0 and the only problems we've had have been caused by admin-input :-) !!!ACHTUNG !!!! DANGER!!! !!!GEWAAR !!! INKOZI!!!! Any upgrade or patching can potentially lead to a non-functioning server. The best way to do an upgrade is pre-test the upgrade on similar hardware, same software and also the same FreeBSD version. So load up a FreeBSD 6.2 server, install all the apps you use on your production server and then go through the upgrade steps and make sure that everything is working before you go ahead with the live update. This also gives you good practice. Backups are also essential in case the sever dies and you need to get it back in a hurry. Now back to updating: The doc by Ralf looks very comprehensive but also very complicated; it also differs slightly from the FreeBSD handbook. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.htm l) The easiest way to do the upgrade (if you are using a GENERIC kernel) is to use Freebsd-update (http://www.daemonology.net/freebsd-update/) It's a pretty powerful tool which allows you to do binary updates for FreeBSD. To upgrade between major versions you would want to check out this page: http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade .html. The second more difficult method which is recommended by the FreeBSD handbook and slightly tweaked by me is as follows: 1) Get the latest source # cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/ 2) Edit the supfile, replace CHANGE_THIS.FreeBSD.org with your closet mirror (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CV SUP-MIRRORS) #csup /usr/local/etc/stable-supfile 3) less /usr/src/UPDATING and check for any warnings, notes, letters to the editor etc. 4) Perform Update: # cd /usr/src # make buildworld # make buildkernel # make installkernel # reboot # cd /usr/src # mergemaster -p # make installworld # mergemaster - (all files except those that have been manually edited) # reboot !done! If you have a custom kernel you would change Step #4 to the following: # cd /usr/src # make -j10 buildworld # make buildkernel KERNCONF=kernelname # make installkernel KERNCONF=kernelname # reboot # cd /usr/src # mergemaster -p # make installworld # mergemaster - all files except /etc/hosts, /etc/motd, /etc/passwd, # reboot !!done!! Rudi From gerard at seibercom.net Wed Aug 6 12:25:01 2008 From: gerard at seibercom.net (Gerard) Date: Wed Aug 6 12:25:28 2008 Subject: needs drivers for the gadgets in freebsd In-Reply-To: <1428d0e80808060246q19693a59o8995af65e61f9f3f@mail.gmail.com> References: <1428d0e80808060246q19693a59o8995af65e61f9f3f@mail.gmail.com> Message-ID: <20080806082442.0da7d06c@scorpio> On Wed, 6 Aug 2008 15:31:44 +0545 "Prakash Poudyal" wrote: >Here I want to install some gadgets like webcam wireless ethernet USB >card and also Wireless PC card in laptop contents freebsd OS. But >when I join these gadgets in the notebook it does not show any sign of >connected in the Notebook. I do have driver for windows version. But >I donot use windows as my OS. So here I have a probelm any body give >me the suggestion I am not sure if this is what you are looking for or not. http://www.freebsd.org/cgi/man.cgi?query=ndisgen&sektion=8 -- Gerard gerard@seibercom.net The great nations have always acted like gangsters and the small nations like prostitutes. Stanley Kubrick -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/1f6eb1b2/signature.pgp From david.gurvich at verizon.net Wed Aug 6 13:01:02 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Wed Aug 6 13:03:10 2008 Subject: Wireless net Card In-Reply-To: <200808061707.46326.shinjii@maydias.com> References: <200808051748.55133.shinjii@maydias.com> <200808060638.20866.shinjii@maydias.com> <20080805165251.079761a8@verizon.net> <200808061707.46326.shinjii@maydias.com> Message-ID: <20080806090050.1ee49f59@verizon.net> I thought you were asking about a FreeBSD driver. If you are using Linux then the driver may work. From kdk at daleco.biz Wed Aug 6 13:33:09 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Wed Aug 6 13:33:16 2008 Subject: Freebsd auto locking users In-Reply-To: <48993E71.9090008@arca.am> References: <48993E71.9090008@arca.am> Message-ID: <4899A7FF.50601@daleco.biz> Khachatur Shahinyan wrote: > Dear FreeBsd gurus, I have a problem concerning users password and > authentication policies. The goal is > 1)make freebsd to lock users after 3 unsuccessful login attempts, > 2)force users to change their passwords every 90 days > > I've done such changes in Linux distros, with various PAM modules.But in > Freebsd it seems that i need to use login.conf file. I think you want PAM in FreeBSD also. Check http://www.freebsd.org/doc/en/articles/pam/index.html > Here I made > necessary changes in that file: > >>>>>> > default:\ > ............. > ............. > ............. :login-retries=1:\ > :passwordtime=90d:\ > :warnpassword=7d:\ > :warnexpire=7d:\ > >>>>>>> > Then I made the cap_mkdb /etc/login.conf , and everything went normal, > no error messages, but after adding a test user I see no changes in the > master.passwd file. > The fields which are reserved for password aging parameters are 0:0 > test:$1$F9yf.PuK$xqIsGEgK3MexpPZ4UBav0.:1001:1001::0:0:User > &:/home/test:/bin/sh > > And the locking point does not work either, e.g. no matter how many > times I input wrong password, I'm still able to login. :( > I cannot understand what I'm doing wrong, and what should be done solve > this issues? I'm not an expert Freebsd administration, so any comments > and suggestions are welcome. Kevin Kinsey -- //GO.SYSIN DD *, DOODAH, DOODAH From yonyossef.lists at gmail.com Wed Aug 6 13:36:29 2008 From: yonyossef.lists at gmail.com (Yony Yossef) Date: Wed Aug 6 13:37:23 2008 Subject: Long mbuf chains Message-ID: <20def4870808060636h2d8e9082td1e486a41f9506aa@mail.gmail.com> Hi All I'm working on an Ethernet driver for FreeBSD 7.0. Taking network performance numbers I encountered very long mbuf chains on the sender side. The symptom is constant, always during iperf/netperf TCP stream tests with message sizes of 128 bytes (>200 mbufs per chain), 1024 bytes (30-60 mbufs per chain) and 2048 bytes. My problem is that long chains require some kind of defragmentation/cutting before it can be properly DMAd. This is pretty a expansive operation. 1. Is there a way of tuning the OS for sending limited length mbuf chains? I thought setting "net.inet.ip.maxfragsperpacket" would do it but it doesn't. 2. Is there a better way of handling this issue? Thanks, Yony From mikeco at asg.com Wed Aug 6 14:33:00 2008 From: mikeco at asg.com (mikeco) Date: Wed Aug 6 14:33:08 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 Message-ID: <18852544.post@talk.nabble.com> I have mounted an NFS4 filesystem shared by a Solaris 10 cluster environment and am able to browse all of the files, but I cannot touch anything on the filesystem because of all of the user and group permissions being off. Here's my fstab entry: cnfs:/export /nfs nfs4 rw When I first umount and mount the filesystem, permissions seem to be working properly. Users in our NIS environment have their home directories on /nfs and, for example, are able to create files in their homes. Once I try to touch a file in a directory other than my home, I get a "Permission denied" error and I am no longer able to even touch files in my own home directory. Is there a way that I can get permissions to show up correctly? Thank you, -Mike -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18852544.html Sent from the freebsd-questions mailing list archive at Nabble.com. From kris at FreeBSD.org Wed Aug 6 14:39:11 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Wed Aug 6 14:39:28 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 In-Reply-To: <18852544.post@talk.nabble.com> References: <18852544.post@talk.nabble.com> Message-ID: <4899B78B.1000801@FreeBSD.org> mikeco wrote: > I have mounted an NFS4 filesystem shared by a Solaris 10 cluster environment > and am able to browse all of the files, but I cannot touch anything on the > filesystem because of all of the user and group permissions being off. > Here's my fstab entry: > > cnfs:/export /nfs nfs4 rw > > When I first umount and mount the filesystem, permissions seem to be working > properly. Users in our NIS environment have their home directories on /nfs > and, for example, are able to create files in their homes. Once I try to > touch a file in a directory other than my home, I get a "Permission denied" > error and I am no longer able to even touch files in my own home directory. > > Is there a way that I can get permissions to show up correctly? > > Thank you, > -Mike The NFSv4 client currently in FreeBSD is old and unmaintained. If you can't find an answer to this, try NFSv3 or the new implementation recently posted to fs@ Kris From jakub_lach at mailplus.pl Wed Aug 6 14:59:31 2008 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Wed Aug 6 14:59:38 2008 Subject: qt4-moc-4.4.1 not compiling (compiler/system not supported) In-Reply-To: <18831591.post@talk.nabble.com> References: <18829459.post@talk.nabble.com> <20080805120549.GA30984@bsdcrew.de> <18831591.post@talk.nabble.com> Message-ID: <18853066.post@talk.nabble.com> Bugzilla from miwi@FreeBSD.org wrote: > > please force update qmake4 and qt4-corelib ports: > > # portmaster devel/qmake4 devel/qt4-corelib > # portupgrade -f devel/qmake4 devel/qt4-corelib > I have forced packages one by one today. Thanks for help and updating UPDATING file. -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18853066.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mikeco at asg.com Wed Aug 6 15:03:25 2008 From: mikeco at asg.com (mikeco) Date: Wed Aug 6 15:03:31 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 In-Reply-To: <4899B78B.1000801@FreeBSD.org> References: <18852544.post@talk.nabble.com> <4899B78B.1000801@FreeBSD.org> Message-ID: <18853160.post@talk.nabble.com> I've tried mounting it as nfs rather than nfs4, but it just scrolls an error until I send a break: mount -t nfs cnfs:/export /nfs [udp] cnfs:/export: NFSPROC_NULL: RPC: Timed out An rpcinfo of the NFS server shows that it should support versions 2-4: $ rpcinfo -p cnfs | grep nfs 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100227 2 udp 2049 nfs_acl 100227 3 udp 2049 nfs_acl 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100227 2 tcp 2049 nfs_acl 100227 3 tcp 2049 nfs_acl I don't mind what version of NFS I end up using, so long as users are able to access the share properly. I'll also take a look at fs. -Mike Kris Kennaway-3 wrote: > > mikeco wrote: >> I have mounted an NFS4 filesystem shared by a Solaris 10 cluster >> environment >> and am able to browse all of the files, but I cannot touch anything on >> the >> filesystem because of all of the user and group permissions being off. >> Here's my fstab entry: >> >> cnfs:/export /nfs nfs4 rw >> >> When I first umount and mount the filesystem, permissions seem to be >> working >> properly. Users in our NIS environment have their home directories on >> /nfs >> and, for example, are able to create files in their homes. Once I try to >> touch a file in a directory other than my home, I get a "Permission >> denied" >> error and I am no longer able to even touch files in my own home >> directory. >> >> Is there a way that I can get permissions to show up correctly? >> >> Thank you, >> -Mike > > (trimmed)try NFSv3 or the new implementation recently posted to fs@ > > Kris > > -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18853160.html Sent from the freebsd-questions mailing list archive at Nabble.com. From kris at FreeBSD.org Wed Aug 6 15:06:13 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Wed Aug 6 15:06:19 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 In-Reply-To: <18853160.post@talk.nabble.com> References: <18852544.post@talk.nabble.com> <4899B78B.1000801@FreeBSD.org> <18853160.post@talk.nabble.com> Message-ID: <4899BDE0.40403@FreeBSD.org> mikeco wrote: > I've tried mounting it as nfs rather than nfs4, but it just scrolls an error > until I send a break: > mount -t nfs cnfs:/export /nfs > [udp] cnfs:/export: NFSPROC_NULL: RPC: Timed out That says the server is failing to respond to the client's mount request. You could try TCP mounts in case they are less broken on the server side. They are recommended anyway. Kris > An rpcinfo of the NFS server shows that it should support versions 2-4: > $ rpcinfo -p cnfs | grep nfs > 100003 2 udp 2049 nfs > 100003 3 udp 2049 nfs > 100227 2 udp 2049 nfs_acl > 100227 3 udp 2049 nfs_acl > 100003 2 tcp 2049 nfs > 100003 3 tcp 2049 nfs > 100003 4 tcp 2049 nfs > 100227 2 tcp 2049 nfs_acl > 100227 3 tcp 2049 nfs_acl > > I don't mind what version of NFS I end up using, so long as users are able > to access the share properly. > > I'll also take a look at fs. > > -Mike > > > Kris Kennaway-3 wrote: >> mikeco wrote: >>> I have mounted an NFS4 filesystem shared by a Solaris 10 cluster >>> environment >>> and am able to browse all of the files, but I cannot touch anything on >>> the >>> filesystem because of all of the user and group permissions being off. >>> Here's my fstab entry: >>> >>> cnfs:/export /nfs nfs4 rw >>> >>> When I first umount and mount the filesystem, permissions seem to be >>> working >>> properly. Users in our NIS environment have their home directories on >>> /nfs >>> and, for example, are able to create files in their homes. Once I try to >>> touch a file in a directory other than my home, I get a "Permission >>> denied" >>> error and I am no longer able to even touch files in my own home >>> directory. >>> >>> Is there a way that I can get permissions to show up correctly? >>> >>> Thank you, >>> -Mike >> (trimmed)try NFSv3 or the new implementation recently posted to fs@ >> >> Kris >> >> > From mikeco at asg.com Wed Aug 6 15:24:29 2008 From: mikeco at asg.com (mikeco) Date: Wed Aug 6 15:24:35 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 In-Reply-To: <4899BDE0.40403@FreeBSD.org> References: <18852544.post@talk.nabble.com> <4899B78B.1000801@FreeBSD.org> <18853160.post@talk.nabble.com> <4899BDE0.40403@FreeBSD.org> Message-ID: <18853603.post@talk.nabble.com> Where is it specified whether to use UDP or TCP for NFS clients? I never explicitly set it to one or the other. Kris Kennaway-3 wrote: > > You could try TCP mounts in case they are less broken on the > server side. They are recommended anyway. > -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18853603.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jalmberg at identry.com Wed Aug 6 15:38:46 2008 From: jalmberg at identry.com (John Almberg) Date: Wed Aug 6 15:38:53 2008 Subject: Controlling read access In-Reply-To: <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> Message-ID: <8722E123-56D1-4CA0-8F57-DB0FB299EBD3@identry.com> > Hello John, > > There are some things that you can try. > > What if you connect from localhost and transfer files, is it still > very > slow? > Try to disable TLS/SSL and see if this improve performance. > Increase debug level and check the log for any errors. Well, I am learning lots about FTP :-) I didn't realize that FTP uses extra ports for data channels (yes, I am a newbie). I use the PF firewall, which of course was blocking the needed ports. Once I opened them, the connections worked perfectly. I also moved the control port from 21 to a higher port, and disabled insecure FTP connections, requiring TLS/SSL for login. I also added pureftpd-enable="YES" to rc.conf, so I can start it up with /usr/local/etc/rc.d/pure-ftpd restart. So far, so good (newbie pats himself on back.) :-) Now I have just one major league problem: when I logged in as one of the users, to test the connections, I discovered that I had SUPER POWERS. I was able to delete any file that I could see, including ones that were owned by root. Digging uncovered the fact that pure- ftpd runs with root privileges... not so good for my situation. My guess is I need to compile with the --with-privsep switch turned on... So, finally I have a real FreeBSD question! What is the proper way, in ports, to set a configuration flag? The only way I could figure out was to add it to the Makefile. PRIVSEP "Enable privilege separation" on \ If this is the correct way to turn this compile switch on, it doesn't seem to work. After running: make deinstall make config # checking the privilage separation box make reinstall The logged in user can still delete any file, regardless of permissions or ownership. This is clearly a problem... I don't want my users to be able to blow away their own websites while they are uploading some images. I am still digging for info on this problem. Any thoughts, much appreciated! -- John From raggen at passagen.se Wed Aug 6 15:54:07 2008 From: raggen at passagen.se (Roger Olofsson) Date: Wed Aug 6 15:54:18 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898065A.5080008@powerzone.net.au> References: <4898065A.5080008@powerzone.net.au> Message-ID: <4899C919.1060903@passagen.se> Michael Christie skrev: > Hi all , > > I want to cluster some freeBSD servers, The purpose of this is to > learn. I would like to run some basic services like www and mail on a > test network. I would like to set up the servers so if one server falls > over the other will take over the services automatically, load > balanceing would be good as well. I have googled, I could be looking in > the wrong place , there seems not to be much in regard to seting up > freebsd in a cluster, lots on linux. I have looked at the High > Availability Linux project , I see on the front page that it will run on > freebsd. > > So I am a bit lost and i am wanting to learn how to cluster freebsd web > and mail servers, I have looked at Beowulf clusters, which seem to give > computers more grunt, Can some on on the list please advise me on what > clustering softwhere i need to get started and if the High Availability > Linux project softwhere will do the job. > > > web links any thing to help me get started would be good. No I do not > want to change over to linux. > > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: > 270.5.12/1595 - Release Date: 2008-08-06 08:23 > > > Hello, I have been running freevrrpd and pen (http://siag.nu/pen/ or in ports) for HA web services. My setup was a firewall/gateway consisting of more than 1 machine using freevrrpd thus enabling failover for the firewall/gateway. I write firewall and not firewalls since freevrrpd creates a virtual ip that is failover'ed between the machines. On the firewall/gateway pen were running and pointed towards the web servers. Pen can point at as many web servers as you like and balances the load between them in a very simple way. If the web servers are identical in setup they become redundant. DNS loadbalancing is very similar. Good luck! /Roger From kris at FreeBSD.org Wed Aug 6 15:57:04 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Wed Aug 6 15:57:11 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 In-Reply-To: <18853603.post@talk.nabble.com> References: <18852544.post@talk.nabble.com> <4899B78B.1000801@FreeBSD.org> <18853160.post@talk.nabble.com> <4899BDE0.40403@FreeBSD.org> <18853603.post@talk.nabble.com> Message-ID: <4899C9CC.30807@FreeBSD.org> mikeco wrote: > Where is it specified whether to use UDP or TCP for NFS clients? I never > explicitly set it to one or the other. See the manpage. It defaults to UDP in 7.0 and older, although the default will soon change to TCP mounts since UDP mounts are no longer appropriate in most cases. Kris > > > Kris Kennaway-3 wrote: >> You could try TCP mounts in case they are less broken on the >> server side. They are recommended anyway. >> > From mikeco at asg.com Wed Aug 6 15:59:23 2008 From: mikeco at asg.com (mikeco) Date: Wed Aug 6 15:59:35 2008 Subject: All files on NFS4 mount are owned by 4294967294:4294967294 In-Reply-To: <4899C9CC.30807@FreeBSD.org> References: <18852544.post@talk.nabble.com> <4899B78B.1000801@FreeBSD.org> <18853160.post@talk.nabble.com> <4899BDE0.40403@FreeBSD.org> <18853603.post@talk.nabble.com> <4899C9CC.30807@FreeBSD.org> Message-ID: <18854355.post@talk.nabble.com> I changed the NFS back to v3, set it to use TCP rather than UDP in fstab, and everything is happy now. Kris Kennaway-3 wrote: > > mikeco wrote: >> Where is it specified whether to use UDP or TCP for NFS clients? I never >> explicitly set it to one or the other. > > See the manpage. It defaults to UDP in 7.0 and older, although the > default will soon change to TCP mounts since UDP mounts are no longer > appropriate in most cases. > > Kris > > -- View this message in context: http://www.nabble.com/All-files-on-NFS4-mount-are-owned-by-4294967294%3A4294967294-tp18852544p18854355.html Sent from the freebsd-questions mailing list archive at Nabble.com. From glarkin at FreeBSD.org Wed Aug 6 16:17:48 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Wed Aug 6 16:17:55 2008 Subject: Controlling read access In-Reply-To: <8722E123-56D1-4CA0-8F57-DB0FB299EBD3@identry.com> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> <8722E123-56D1-4CA0-8F57-DB0FB299EBD3@identry.com> Message-ID: <4899CEA9.6030209@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Almberg wrote: |> Hello John, |> |> There are some things that you can try. |> |> What if you connect from localhost and transfer files, is it still very |> slow? |> Try to disable TLS/SSL and see if this improve performance. |> Increase debug level and check the log for any errors. | | Well, I am learning lots about FTP :-) | | I didn't realize that FTP uses extra ports for data channels (yes, I am | a newbie). I use the PF firewall, which of course was blocking the | needed ports. Once I opened them, the connections worked perfectly. | | I also moved the control port from 21 to a higher port, and disabled | insecure FTP connections, requiring TLS/SSL for login. | | I also added pureftpd-enable="YES" to rc.conf, so I can start it up with | /usr/local/etc/rc.d/pure-ftpd restart. | | So far, so good (newbie pats himself on back.) :-) | | Now I have just one major league problem: when I logged in as one of the | users, to test the connections, I discovered that I had SUPER POWERS. I | was able to delete any file that I could see, including ones that were | owned by root. Digging uncovered the fact that pure-ftpd runs with root | privileges... not so good for my situation. | | My guess is I need to compile with the --with-privsep switch turned on... | | So, finally I have a real FreeBSD question! | | What is the proper way, in ports, to set a configuration flag? The only | way I could figure out was to add it to the Makefile. | PRIVSEP "Enable privilege separation" on \ | | If this is the correct way to turn this compile switch on, it doesn't | seem to work. After running: | | make deinstall | make config # checking the privilage separation box | make reinstall | | The logged in user can still delete any file, regardless of permissions | or ownership. This is clearly a problem... I don't want my users to be | able to blow away their own websites while they are uploading some | images. I am still digging for info on this problem. Any thoughts, much | appreciated! | | -- John | Hi John, Try this sequence instead, and you should be all set: make deinstall make clean make config (skip this if you've already chosen the options you want) make install The clean target will make sure that your environment is reset back to a known state. The install target will then perform a fresh build and install with the privsep option enabled. If you already had binaries in your port directory, then the reinstall target installs them without rebuilding, as far as I can tell from reading /usr/ports/Mk/bsd.port.mk. Hope that helps, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImc6p0sRouByUApARAl9JAJ0ZN+B0Zwku8rxRNU8+fC9fCApofgCeKcC1 OgqUbzksT17KJzkA41ZvHVk= =j9zs -----END PGP SIGNATURE----- From reddvinylene at gmail.com Wed Aug 6 16:25:11 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Wed Aug 6 16:25:19 2008 Subject: identd on jail with multiple IPs Message-ID: Greetings! I cannot seem to make identd work on a jail with multiple IPs (Bjoern Zeeb's patch): jail # cat /etc/inetd.conf auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 - jail # grep inetd /etc/rc.conf inetd_enable="YES" - host # grep jail /etc/rc.conf jail_enable="YES" jail_list="box" jail_box_ip="80.252.2.4,80.252.2.5,80.252.2.6,80.252.2.7,80.252.2.8,80.252.2.9,80.252.2.10,80.252.2.11,80.252.2.12,80.252.2.13,80.252.2.14,80.252.2.15,80.252.2.16,80.252.2.17,80.252.2.18,80.252.2.19,80.252.2.20,80.252.2.21,80.252.2.22,80.252.2.23,80.252.2.24,80.252.2.25,80.252.2.26,80.252.2.27,80.252.2.28,80.252.2.29,80.252.2.30,80.252.2.31,80.252.2.32,80.252.2.33,80.252.2.34,80.252.2.35,80.252.2.36,80.252.2.37,80.252.2.38,80.252.2.39,80.252.2.40,80.252.2.41,80.252.2.42,80.252.2.43,80.252.2.44,80.252.2.45,80.252.2.46,80.252.2.47,80.252.2.48,80.252.2.49,80.252.2.50,80.252.2.51,80.252.2.52,80.252.2.53,80.252.2.54,80.252.2.55,80.252.2.56,80.252.2.57,80.252.2.58,80.252.2.59,80.252.2.60,80.252.2.61,80.252.2.62,80.252.2.63,80.252.2.64,80.252.2.65,80.252.2.80,80.252.2.67,80.252.2.68,80.252.2.69,80.252.2.70,80.252.2.71,80.252.2.72,80.252.2.73,80.252.2.74,80.252.2.75,80.252.2.76,80.252.2.77,80.252.2.78,80.252.2.79,80.252.2.80,80.252.2.81,80.252.2.82,80.252.2.83,80.252.2.84,80.252.2.85,80.252.2.86,80.252.2.87,80.252.2.88,80.252.2.89,80.252.2.90,80.252.2.91,80.252.2.92,80.252.2.93,80.252.2.94,80.252.2.95,80.252.2.96,80.252.2.97,80.252.2.98,80.252.2.99,80.252.2.100,80.252.2.101,80.252.2.102,80.252.2.103,80.252.2.104,80.252.2.105,80.252.2.106,80.252.2.107,80.252.2.108,80.252.2.109,80.252.2.110,80.252.2.111,80.252.2.112,80.252.2.113,80.252.2.114,80.252.2.115,80.252.2.116,80.252.2.117,80.252.2.118,80.252.2.119,80.252.2.120,80.252.2.121,80.252.2.122,80.252.2.123,80.252.2.124,80.252.2.125,80.252.2.126,80.252.2.127" jail_box_rootdir="/usr/jail/box" jail_box_hostname="box.fox-host.net" jail_box_devfs_enable="YES" jail_box_devfs_ruleset="devfsrules_jail" - It worked when I had just one IP in jail_box_ip. Is there a way to make auth listen to all my IPs, or should I switch to oidentd or pidentd? Many thanks! -- http://www.home.no/reddvinylene From jalmberg at identry.com Wed Aug 6 16:33:46 2008 From: jalmberg at identry.com (John Almberg) Date: Wed Aug 6 16:33:53 2008 Subject: Controlling read access In-Reply-To: <4899CEA9.6030209@FreeBSD.org> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> <8722E123-56D1-4CA0-8F57-DB0FB299EBD3@identry.com> <4899CEA9.6030209@FreeBSD.org> Message-ID: <578DE0D9-C68B-4D57-93E8-9D517166EA9D@identry.com> > | Now I have just one major league problem: when I logged in as one > of the > | users, to test the connections, I discovered that I had SUPER > POWERS. I > | was able to delete any file that I could see, including ones that > were > | owned by root. Digging uncovered the fact that pure-ftpd runs > with root > | privileges... not so good for my situation. > | > | My guess is I need to compile with the --with-privsep switch > turned on... > | > | So, finally I have a real FreeBSD question! > | > | What is the proper way, in ports, to set a configuration flag? > The only > | way I could figure out was to add it to the Makefile. > | PRIVSEP "Enable privilege separation" on \ > | > | If this is the correct way to turn this compile switch on, it > doesn't > | seem to work. After running: > | > | make deinstall > | make config # checking the privilage separation box > | make reinstall > | > | The logged in user can still delete any file, regardless of > permissions > | or ownership. This is clearly a problem... I don't want my users > to be > | able to blow away their own websites while they are uploading some > | images. I am still digging for info on this problem. Any > thoughts, much > | appreciated! > | > | -- John > | > > Hi John, > > Try this sequence instead, and you should be all set: > > > make deinstall > make clean > make config (skip this if you've already chosen the options you want) > make install > > The clean target will make sure that your environment is reset back > to a > known state. The install target will then perform a fresh build and > install with the privsep option enabled. If you already had > binaries in > your port directory, then the reinstall target installs them without > rebuilding, as far as I can tell from reading /usr/ports/Mk/ > bsd.port.mk. > Hi Greg, I tried your sequence, but it didn't seem to work. Or, perhaps it worked and the PRIVSEP option doesn't do what I expect it to. Logging in as a normal user gives that user root privileges. This seems pretty scary to me. Not so bad, since the user is locked into his own directory, but enough power to hurt themselves, which is too much power, IMHO. My users aren't experts. I can definitely see them clicking the delete key by accident. Back to digging for info... Thanks: John From ml.freebsd.questions at gmail.com Wed Aug 6 17:05:42 2008 From: ml.freebsd.questions at gmail.com (FreeBSD Questions) Date: Wed Aug 6 17:05:49 2008 Subject: Switching to IPv6? Message-ID: <10549b080808061005ub165e2al54feeea90474bef6@mail.gmail.com> I've been considering switching my home network to IPv6. I have a computer acting as a firewall sitting between my ISP and my three LANs at home. Of course, my DSL provider gives me an IPv4 address, and everything I want to access on the Internet is on an IPv4 network. The whole point is to learn to set up IPv6, to play with IPv6, and to become familiar with it, so when the day comes that the world actually uses IPv6 (ha ha) I'm ready, armed with knowledge. But the whole idea will go to pot if my firewall can't let my IPv6 networks access my IPv4 Internet connection. Does FreeBSD 7 provide such facilities as to allow access to an IPv4 network from an IPv6 network? What will my Vista, XP, and FreeBSD clients do if they only have an IPv6 address and I try to go to google.com or freebsd.org which are on IPv4 networks? From derek at computinginnovations.com Wed Aug 6 17:12:18 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Aug 6 17:12:26 2008 Subject: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop In-Reply-To: <3424e810808060256j3107b703pd5d15ddf5619a150@mail.gmail.com > References: <3424e810808051142x19c477c7r86aed275c47dba12@mail.gmail.com> <6.0.0.22.2.20080805151309.02617ec0@mail.computinginnovations.com> <3424e810808060256j3107b703pd5d15ddf5619a150@mail.gmail.com> Message-ID: <6.0.0.22.2.20080806120907.02645ec0@mail.computinginnovations.com> At 04:56 AM 8/6/2008, underligast wrote: >On Tue, Aug 5, 2008 at 10:15 PM, Derek Ragona wrote: > > > Obviously it is the SCSI card or drives. Have you tried changing the > > BIOS settings on the SCSI? You might want to try changing the SCSI BUS > > speed. You may also want to try turning off hyperthreading. > > > > -Derek > > >Disabling Hyperthreading didn't do anything, and i cannot find many options >for the SCSI. I'll try lowering the speed and i will also try another drive >if i can find one. >I also tried 8.0-current bootcd and that lists the dvd-rom and the floppy >but none of the disks. > >There's another four x225:s at work but they all have lsi-controllers. I was >really looking forward to using the hotswap.. > >Thank you for your replies, i hope you can help me fix this eventually It sounds like your controller either it isn't recognized or supported. You can try a different SCSI card or see if your SCSI has a firmware that is update-able and try different firmware version. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From glarkin at FreeBSD.org Wed Aug 6 17:20:20 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Wed Aug 6 17:20:28 2008 Subject: Controlling read access In-Reply-To: <578DE0D9-C68B-4D57-93E8-9D517166EA9D@identry.com> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> <8722E123-56D1-4CA0-8F57-DB0FB299EBD3@identry.com> <4899CEA9.6030209@FreeBSD.org> <578DE0D9-C68B-4D57-93E8-9D517166EA9D@identry.com> Message-ID: <4899DD4E.2080005@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Almberg wrote: |> | Now I have just one major league problem: when I logged in as one of |> the |> | users, to test the connections, I discovered that I had SUPER POWERS. I |> | was able to delete any file that I could see, including ones that were |> | owned by root. Digging uncovered the fact that pure-ftpd runs with root |> | privileges... not so good for my situation. |> | |> | My guess is I need to compile with the --with-privsep switch turned |> on... |> | |> | So, finally I have a real FreeBSD question! |> | |> | What is the proper way, in ports, to set a configuration flag? The only |> | way I could figure out was to add it to the Makefile. |> | PRIVSEP "Enable privilege separation" on \ |> | |> | If this is the correct way to turn this compile switch on, it doesn't |> | seem to work. After running: |> | |> | make deinstall |> | make config # checking the privilage separation box |> | make reinstall |> | |> | The logged in user can still delete any file, regardless of permissions |> | or ownership. This is clearly a problem... I don't want my users to be |> | able to blow away their own websites while they are uploading some |> | images. I am still digging for info on this problem. Any thoughts, much |> | appreciated! |> | |> | -- John |> | |> |> Hi John, |> |> Try this sequence instead, and you should be all set: |> |> |> make deinstall |> make clean |> make config (skip this if you've already chosen the options you want) |> make install |> |> The clean target will make sure that your environment is reset back to a |> known state. The install target will then perform a fresh build and |> install with the privsep option enabled. If you already had binaries in |> your port directory, then the reinstall target installs them without |> rebuilding, as far as I can tell from reading /usr/ports/Mk/bsd.port.mk. |> | | Hi Greg, | | I tried your sequence, but it didn't seem to work. Or, perhaps it worked | and the PRIVSEP option doesn't do what I expect it to. Logging in as a | normal user gives that user root privileges. | | This seems pretty scary to me. Not so bad, since the user is locked into | his own directory, but enough power to hurt themselves, which is too | much power, IMHO. My users aren't experts. I can definitely see them | clicking the delete key by accident. | | Back to digging for info... | | Thanks: John | Hi John, After logging into pure-ftpd, even if I type "cd /", I cannot break out of my home directory. Because of the way UNIX permissions work, if root ~ (or any other user) owns a file in my home directory, I can still delete it. If you want to prevent that, you'll have to also use the chflags command to protect file that you don't want to be removed by anyone. On the server (as root): fbsd70# pwd /usr/home/glarkin fbsd70# touch testfile fbsd70# ls -l testfile - -rw-r--r-- 1 root glarkin 0 Aug 6 13:12 testfile fbsd70# ls -lo testfile - -rw-r--r-- 1 root glarkin - 0 Aug 6 13:12 testfile fbsd70# chflags uchg testfile fbsd70# ls -lo testfile - -rw-r--r-- 1 root glarkin uchg 0 Aug 6 13:12 testfile fbsd70# Logged in to FTP as glarkin: ftp> dir testfile 200 PORT command successful 150 Connecting to port 5003 - -rw-r--r-- 1 0 glarkin 0 Aug 6 13:12 testfile 226-Options: -a -l 226 1 matches total ftp> del testfile 550 Could not delete testfile: Operation not permitted ftp> Hope that helps, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImd1O0sRouByUApARAhznAJ9/Wy8oued949Z+Zwyhh0n50kFkRACeIlFy suubRJy34OswwZslB4MPPjM= =v+no -----END PGP SIGNATURE----- From derek at computinginnovations.com Wed Aug 6 17:24:35 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Aug 6 17:24:42 2008 Subject: memory allocation with malloc In-Reply-To: References: Message-ID: <6.0.0.22.2.20080806121325.0264a750@mail.computinginnovations.com> At 01:16 AM 8/5/2008, Shyamal Shukla wrote: >Hi All, > > I am trying to validate my understanding of how malloc works by means >of the below C program which tries to corrupt essential information >maintained by malloc for free() operation. > >The program allocates 4, 12 byte blocks (internally 16 bytes are allocated >for each 12 byte block). Hence the total allocated space was 48 bytes. > >As malloc maintains the (length of allocated block + 1), 4 bytes before the >returned pointer (from malloc), I have manipulated this length for the first >block and set it to 49 with the goal that a single free shall release all >these 4 blocks and a subsequent malloc of 15 bytes shall be from the address >of first block. > >However, this does not happen. Can someone please correct my understanding >and provide me with a reference to the working of malloc() and free()? > >#include > >int main(void) >{ > char * ptr,* ptr1, *ptr2, * ptr3, * ptr4; > int * i; > int n,q,p; > int loop = 0; > > ptr1 = (char *)malloc(12); > i = (int *)(ptr1 - 4); > printf("\n ptr1 = %p,%d \n",ptr1,*i); > printf("\n %d:%d:%d:%d\n",ptr1[-4],ptr1[-3],ptr1[-2],ptr1[-1]); > printf("\n %d:%d:%d:%d\n",ptr1[0],ptr1[1],ptr1[2],ptr1[3]); > printf("\n %d:%d:%d:%d\n",ptr1[4],ptr1[5],ptr1[6],ptr1[7]); > printf("\n %d:%d:%d:%d\n",ptr1[8],ptr1[9],ptr1[10],ptr1[11]); > *i = 49; > > ptr2 = (char *)malloc(12); > i = (int *)(ptr2 - 4); > printf("\n ptr2 = %p,%d \n",ptr2,*i); > printf("\n %d:%d:%d:%d\n",ptr2[-4],ptr2[-3],ptr2[-2],ptr2[-1]); > > ptr3 = (char *)malloc(12); > i = (int *)(ptr3 - 4); > printf("\n ptr3 = %p,%d \n",ptr3,*i); > printf("\n %d:%d:%d:%d\n",ptr3[-4],ptr3[-3],ptr3[-2],ptr3[-1]); > > ptr4 = (char *)malloc(12); > i = (int *)(ptr4 - 4); > printf("\n ptr4 = %p,%d \n",ptr4,*i); > printf("\n %d:%d:%d:%d\n",ptr4[-4],ptr4[-3],ptr4[-2],ptr4[-1]); > > free(ptr1); > printf("\n ------------ANALYZE-------------\n"); > printf("\n %d:%d:%d:%d\n",ptr1[-4],ptr1[-3],ptr1[-2],ptr1[-1]); > printf("\n %d:%d:%d:%d\n",ptr1[0],ptr1[1],ptr1[2],ptr1[3]); > printf("\n %d:%d:%d:%d\n",ptr1[4],ptr1[5],ptr1[6],ptr1[7]); > printf("\n %d:%d:%d:%d\n",ptr1[8],ptr1[9],ptr1[10],ptr1[11]); > > ptr = (char *)malloc(15); > i = (int *)(ptr - 4); > printf("\n ptr = %p,%d \n",ptr,*i); > return; >} > > >Thanks and Regards, >Shyamal > > I'm not quite sure what it is you want to accomplish with this program. However, malloc and free work on the program's given data area. This data area can be increased should there be a need for more memory. You should NEVER assume that memory blocks are contiguous. There are many reasons why they would not be contiguous among them compiler optimizations. If you really want to delve into how a program is executed, have the compiler output the assembler code and look at that. The assembler code will show exactly how and where the variables are allocated. With such small amount of data used in your program, it is possible the variables are all just on the stack. You may want to check out the brk and sbrk man pages as they will give you some information into how memory management was originally done as these functions are lower-level than malloc and free. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jon at radel.com Wed Aug 6 17:26:50 2008 From: jon at radel.com (Jon Radel) Date: Wed Aug 6 17:26:58 2008 Subject: Switching to IPv6? In-Reply-To: <10549b080808061005ub165e2al54feeea90474bef6@mail.gmail.com> References: <10549b080808061005ub165e2al54feeea90474bef6@mail.gmail.com> Message-ID: <4899DECC.4080209@radel.com> FreeBSD Questions wrote: > I've been considering switching my home network to IPv6. I have a > computer acting as a firewall sitting between my ISP and my three LANs > at home. Of course, my DSL provider gives me an IPv4 address, and > everything I want to access on the Internet is on an IPv4 network. > The whole point is to learn to set up IPv6, to play with IPv6, and to > become familiar with it, so when the day comes that the world actually > uses IPv6 (ha ha) I'm ready, armed with knowledge. > Have you considered going dual-stack, v4 and v6, and then getting a v6 tunnel free from one of the tunnel brokers? I'm doing that to ease myself into the v6 world, with, I suspect, considerably less pain than would be involved with v6 only. > But the whole idea will go to pot if my firewall can't let my IPv6 > networks access my IPv4 Internet connection. Does FreeBSD 7 provide > such facilities as to allow access to an IPv4 network from an IPv6 > network? What will my Vista, XP, and FreeBSD clients do if they only > have an IPv6 address and I try to go to google.com or freebsd.org > which are on IPv4 networks? There have reportedly been problems with people turning on v6 on their stacks when their ISPs don't support it and then getting upset when they can no longer get to anything that has an AAAA record as well as an A. (Some browsers try v6 first and, at best, have to time out before they try v4.) That's probably the reason you have to use ipv6.google.com However, last I checked, www.freebsd.org worked just fine on the v6 Internet. So....bad examples. :-) However, unless you're making use of translation between v4 and v6, if you go v6 only you won't be talking to the v4 Internet at all. Those A records just won't be of any use to your software. See something like http://en.wikipedia.org/wiki/IPv6_translation_mechanisms for more. --Jon Radel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/9cc2c624/smime.bin From freebsd at optiksecurite.com Wed Aug 6 18:15:29 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Wed Aug 6 18:15:41 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4899C919.1060903@passagen.se> References: <4898065A.5080008@powerzone.net.au> <4899C919.1060903@passagen.se> Message-ID: <4899D194.6000804@optiksecurite.com> Roger Olofsson a ?crit : > > > Michael Christie skrev: >> Hi all , >> >> I want to cluster some freeBSD servers, The purpose of this is to >> learn. I would like to run some basic services like www and mail on >> a test network. I would like to set up the servers so if one server >> falls over the other will take over the services automatically, load >> balanceing would be good as well. I have googled, I could be looking >> in the wrong place , there seems not to be much in regard to seting up >> freebsd in a cluster, lots on linux. I have looked at the High >> Availability Linux project , I see on the front page that it will run >> on freebsd. >> >> So I am a bit lost and i am wanting to learn how to cluster freebsd >> web and mail servers, I have looked at Beowulf clusters, which seem >> to give computers more grunt, Can some on on the list please advise me >> on what clustering softwhere i need to get started and if the High >> Availability Linux project softwhere will do the job. >> >> >> web links any thing to help me get started would be good. No I do not >> want to change over to linux. >> >> >> Thanks >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: >> 270.5.12/1595 - Release Date: 2008-08-06 08:23 >> >> >> > > Hello, > > I have been running freevrrpd and pen (http://siag.nu/pen/ or in ports) > for HA web services. > > My setup was a firewall/gateway consisting of more than 1 machine using > freevrrpd thus enabling failover for the firewall/gateway. I write > firewall and not firewalls since freevrrpd creates a virtual ip that is > failover'ed between the machines. > > On the firewall/gateway pen were running and pointed towards the web > servers. Pen can point at as many web servers as you like and balances > the load between them in a very simple way. If the web servers are > identical in setup they become redundant. DNS loadbalancing is very > similar. > > Good luck! > > /Roger > I don't have any experience yet with it but I'm planning on using CARP with PF to do redondant gateways. You can do round-robin RDR with PF to distribute the load. You can even put the same server IP more than one time in the list to forward more traffic to this server! I tested it but I didn't tried CARP yet. I read I couple of articles on CARP with BSD, I'm a little bit surprised that nobody made reference to it yet. Now it's done ;) Martin From luizbcampos at gmail.com Wed Aug 6 19:26:04 2008 From: luizbcampos at gmail.com (luizbcampos) Date: Wed Aug 6 19:26:10 2008 Subject: rtorrent under pf Message-ID: After I had setup .rtorrent.rc on FBSD-7.0 amd64, I type "rtorrent" the tracker connects to server and nothing more happens, the screen seems to be frozen about dowloading. What to do? I've enabled ports 6890-6999 at /etc/pf.conf -------------- next part -------------- A non-text attachment was scrubbed... Name: pf.conf Type: application/octet-stream Size: 306 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080806/f3451c36/pf.obj From jalmberg at identry.com Wed Aug 6 19:27:53 2008 From: jalmberg at identry.com (John Almberg) Date: Wed Aug 6 19:28:00 2008 Subject: Controlling read access In-Reply-To: <4899DD4E.2080005@FreeBSD.org> References: <26259A11-0CE7-43FB-878C-1A989C1EB006@identry.com> <3A0AA7018522134597ED63B3B794C92A0284D829@STA-HQ-S001.starcomms.local> <3A0AA7018522134597ED63B3B794C92A028ECB61@STA-HQ-S001.starcomms.local> <8722E123-56D1-4CA0-8F57-DB0FB299EBD3@identry.com> <4899CEA9.6030209@FreeBSD.org> <578DE0D9-C68B-4D57-93E8-9D517166EA9D@identry.com> <4899DD4E.2080005@FreeBSD.org> Message-ID: > | Hi Greg, > | > | I tried your sequence, but it didn't seem to work. Or, perhaps it > worked > | and the PRIVSEP option doesn't do what I expect it to. Logging in > as a > | normal user gives that user root privileges. > | > | This seems pretty scary to me. Not so bad, since the user is > locked into > | his own directory, but enough power to hurt themselves, which is too > | much power, IMHO. My users aren't experts. I can definitely see them > | clicking the delete key by accident. > | > | Back to digging for info... > | > | Thanks: John > | > > Hi John, > > After logging into pure-ftpd, even if I type "cd /", I cannot break > out > of my home directory. Because of the way UNIX permissions work, if > root > ~ (or any other user) owns a file in my home directory, I can still > delete it. > If you want to prevent that, you'll have to also use the > chflags command to protect file that you don't want to be removed by > anyone. > Wow... I learn something new in this job every day, but usually not as new as that. This completely revises what I thought I knew about permissions. If you had asked me this morning if I could delete a file owned by root with permissions set to 400 from my own directory, I would have said absolutely not. How wrong I would have been... I guess I can do this because I own the directory that the foreign file is in, and I should have control over that directory... Yes... If I create a directory within my own home directory and change the ownership of that directory to root:nobody, then I cannot delete any file in that directory. Okay, this is starting to make sense. I guess I just never noticed this small detail of Unix file permissions. Very interesting! I skimmed through the chflags section of "Absolute FreeBSD" on my first read through... It rang a bell when you mentioned it, but I'd completely forgotten about it. I'm going to read it much more carefully this time :-) Anyway, thanks to everyone who has helped me out with my week-long struggle with 'simple' old FTP. "Challenge your assumptions." That's the lesson of *this* week! Brgds: John From bzeeb-lists at lists.zabbadoz.net Wed Aug 6 20:36:53 2008 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Wed Aug 6 20:36:59 2008 Subject: identd on jail with multiple IPs In-Reply-To: References: Message-ID: <20080806201636.J88849@maildrop.int.zabbadoz.net> On Wed, 6 Aug 2008, Redd Vinylene wrote: > I cannot seem to make identd work on a jail with multiple IPs (Bjoern > Zeeb's patch): So do you have any kind of error message? packet traces or anything to further isolate the problem rather than "does not work"? -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From shinjii at maydias.com Wed Aug 6 20:41:54 2008 From: shinjii at maydias.com (Warren Liddell) Date: Wed Aug 6 20:42:02 2008 Subject: Wireless net Card In-Reply-To: <20080806090050.1ee49f59@verizon.net> References: <200808051748.55133.shinjii@maydias.com> <200808061707.46326.shinjii@maydias.com> <20080806090050.1ee49f59@verizon.net> Message-ID: <200808070641.53857.shinjii@maydias.com> On Wednesday 06 August 2008 23:00:50 David Gurvich wrote: > I thought you were asking about a FreeBSD driver. If you are using > Linux then the driver may work. I am using FreeBSD, but was wondering if the Linux driver may be backwards comnpat to suit the needs im wanting ? From chris at smartt.com Wed Aug 6 21:13:40 2008 From: chris at smartt.com (Chris St Denis) Date: Wed Aug 6 21:13:48 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898119F.5020503@datapipe.com> References: <4898065A.5080008@powerzone.net.au> <4898119F.5020503@datapipe.com> Message-ID: <489A13FB.1050103@smartt.com> Paul Procacci wrote: > Michael Christie wrote: >> Hi all , >> >> I want to cluster some freeBSD servers, The purpose of this is to >> learn. I would like to run some basic services like www and mail on >> a test network. I would like to set up the servers so if one server >> falls over the other will take over the services automatically, load >> balanceing would be good as well. I have googled, I could be looking >> in the wrong place , there seems not to be much in regard to seting >> up freebsd in a cluster, lots on linux. I have looked at the High >> Availability Linux project , I see on the front page that it will run >> on freebsd. >> >> So I am a bit lost and i am wanting to learn how to cluster freebsd >> web and mail servers, I have looked at Beowulf clusters, which seem >> to give computers more grunt, Can some on on the list please advise >> me on what clustering softwhere i need to get started and if the High >> Availability Linux project softwhere will do the job. >> >> >> web links any thing to help me get started would be good. No I do not >> want to change over to linux. >> >> >> Thanks >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > I've used freevrrpd (/usr/ports/net/freevrrpd) for some clients with > success. > Additionally doing some googling revealed "SG Cluster" > (http://www.freebsd.org.hk/html/sgcluster/) though I'm not sure how > active this is and/or really if it's what your looking for. > > ~Paul > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Also see "man carp" -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses" From info at tecodryer.com Wed Aug 6 21:20:43 2008 From: info at tecodryer.com (TECO DRYER) Date: Wed Aug 6 21:20:59 2008 Subject: Teco Industry is in the business of corn, wheat, paddy, and Message-ID: <20080806212042.2CA0B8FC1A@mx1.freebsd.org> vegetable dr Sender: "TECO DRYER" Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: Thu, 7 Aug 2008 00:12:27 +0300 Message-ID: <20080806211227088.00602A3114B55B0A@erkan-e90bf8060> X-Priority: 3 (Normal) Importance: Normal Teco Industry is in the business of corn, wheat, paddy, and vegetable drying machines and the production and marketing of silo & steel construction. Related to the machines that our company produce; Teco Industry has the representatives in Bulgaria, Albania, Ukraine, Tatarstan, Kazakhstan, Russia, Angola and Indonesia. Our partners in these countries are accepted as the leaders in the steel industry. The quality of produced machines is approved by international standards. Teco is guaranteed by CE and ISO 9001-2000 certificates. Teco also contributes to the national economy by creating jobs in designing, project, production, import and export. Teco materializes R&D activities with its professional staff. Quality results are presented to the customers during the production, import and export. Our company takes the leadership of producing and marketing nationally and internationally. For Grain, Oily Seeds, and Pulses: Silos Corn and Soybean Drying Machines Handling Systems like Bucket Elevator, Chain Conveyor and Helix Prop Towers and Catwalks for Handling Systems Unloading Truck Lifts Industrial Foundations, Steel Construction With the expert staff; we take an important target like ‘’Customer Satisfaction and Service Quality’’ and perform service and counseling duties successfully. -------------------------------------------------------------------------------- Contact Us , Teco Dryer Company is ready for a long partnership with you. Sales Engineer Erkan AYMAN eayman@tecodryer.com From Peter.Ross at alumni.tu-berlin.de Thu Aug 7 01:05:19 2008 From: Peter.Ross at alumni.tu-berlin.de (Peter Ross) Date: Thu Aug 7 01:05:26 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4899D194.6000804@optiksecurite.com> References: <4898065A.5080008@powerzone.net.au> <4899C919.1060903@passagen.se><4899D194.6000804@optiksecurite.com> Message-ID: <20080807100821.U1526@klein.bigpond.com> Hi, Michael Christie wrote: > I want to cluster some freeBSD servers, The purpose of this is to learn. > I would like to run some basic services like www and mail on a test > network. I would like to set up the servers so if one server falls over > the other will take over the services automatically, load balanceing would > be good as well. I have googled, I could be looking in the wrong place , > there seems not to be much in regard to seting up freebsd in a cluster, > lots on linux. I have looked at the High Availability Linux project , I > see on the front page that it will run on freebsd. > > So I am a bit lost and i am wanting to learn how to cluster freebsd web > and mail servers, I have looked at Beowulf clusters, which seem to give > computers more grunt, Can some on on the list please advise me on what > clustering softwhere i need to get started and if the High Availability > Linux project softwhere will do the job. pound (/usr/ports/www/pound) can be used on HTTP(S) level. >From pkg-descr: The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing load among several Web-servers, and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively. Pound is distributed under the GPL - no warranty, it's free to use, copy and give away. WWW: http://www.apsis.ch/pound/ - Anders Nordby Regards Peter From mark.picone at deakin.edu.au Thu Aug 7 01:26:52 2008 From: mark.picone at deakin.edu.au (Mark Picone) Date: Thu Aug 7 01:27:00 2008 Subject: rtorrent under pf In-Reply-To: References: Message-ID: <489A4F47.8020209@deakin.edu.au> Hi, Have you done these things? 1. Setup ~/.rtorrent.rc properly 2. Change default ports for rtorrent. eg: 'port_range = 22145-22245' 3. Ensure pf is setup correctly. eg: net_if = "rl0" rt = "{ 22145-22245 }" pass in on $net_if proto tcp from any to any port $rt_tcp keep state pass in on $net_if proto udp from any to any port $rt_udp keep state This works fine for me. Thanks, Mark Picone, Trainee Unix Administrator Information Technology Services Division Phone: 03 5227 8602 International: +61 3 5227 0806 Fax: 03 5227 8799 International: +61 3 5227 8799 Email: mark.picone@deakin.edu.au Website: http://www.deakin.edu.au luizbcampos wrote: > After I had setup .rtorrent.rc on FBSD-7.0 amd64, I type > "rtorrent" the tracker connects to server and nothing more happens, > the screen seems to be frozen about dowloading. What to do? I've > enabled ports 6890-6999 at /etc/pf.conf > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080807/9457cb85/signature.pgp From mark.picone at deakin.edu.au Thu Aug 7 01:30:22 2008 From: mark.picone at deakin.edu.au (Mark Picone) Date: Thu Aug 7 01:30:29 2008 Subject: rtorrent under pf In-Reply-To: <489A4F47.8020209@deakin.edu.au> References: <489A4F47.8020209@deakin.edu.au> Message-ID: <489A502D.7080002@deakin.edu.au> That should be: '$rt keep state' not '$rt_tcp keep state' and '$rt_udp keep state' Mark Picone wrote: > Hi, > > Have you done these things? > > 1. Setup ~/.rtorrent.rc properly > 2. Change default ports for rtorrent. eg: 'port_range = 22145-22245' > 3. Ensure pf is setup correctly. eg: > > net_if = "rl0" > rt = "{ 22145-22245 }" > pass in on $net_if proto tcp from any to any port $rt_tcp keep state > pass in on $net_if proto udp from any to any port $rt_udp keep state > > This works fine for me. > > Thanks, > > Mark Picone, Trainee Unix Administrator > Information Technology Services Division > Phone: 03 5227 8602 International: +61 3 5227 0806 > Fax: 03 5227 8799 International: +61 3 5227 8799 > Email: mark.picone@deakin.edu.au > Website: http://www.deakin.edu.au > > luizbcampos wrote: >> After I had setup .rtorrent.rc on FBSD-7.0 amd64, I type >> "rtorrent" the tracker connects to server and nothing more happens, >> the screen seems to be frozen about dowloading. What to do? I've >> enabled ports 6890-6999 at /etc/pf.conf >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080807/cb067b0a/signature.pgp From no-reply at douban.com Thu Aug 7 03:29:53 2008 From: no-reply at douban.com (=?utf-8?b?6LGG55Oj572R?=) Date: Thu Aug 7 03:30:01 2008 Subject: =?utf-8?b?6K+35r+A5rS75L2g55qE5biQ5Y+377yM5a6M5oiQ5rOo5YaM?= Message-ID: <20080807025603.B896FEF0D7@mail.douban.com> ?????? ??????! ????????????? http://www.douban.com/register?confirmation=eabc8208463268a0 ??????????????????????????(?IE)????????? - ??? (?????????email??????) ---------------------------------------------------------------------- From david.gurvich at verizon.net Thu Aug 7 04:22:12 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Thu Aug 7 04:22:27 2008 Subject: Wireless net Card In-Reply-To: <200808070641.53857.shinjii@maydias.com> References: <200808051748.55133.shinjii@maydias.com> <200808061707.46326.shinjii@maydias.com> <20080806090050.1ee49f59@verizon.net> <200808070641.53857.shinjii@maydias.com> Message-ID: <20080807002141.319b3ffd@verizon.net> FreeBSD and Linux are different operating systems. There is no compatibility between them. FreeBSD has an emulation layer which works for a limited subset of Linux binary programs. These are not kernel drivers. Your best bet on FreeBSD is to check the status for your chipset in CURRENT or to try ndiswrapper. From kalin at el.net Thu Aug 7 05:56:55 2008 From: kalin at el.net (kalin m) Date: Thu Aug 7 05:57:01 2008 Subject: Remote host replies to SYN+FIN Message-ID: <489A8EA3.5030102@el.net> hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one: http://www.nessus.org/plugins/index.php?view=single&id=11618 how do 'fix' it using pf?... thanks... From michael at powerzone.net.au Thu Aug 7 06:44:23 2008 From: michael at powerzone.net.au (Michael Christie) Date: Thu Aug 7 06:44:35 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <20080807100821.U1526@klein.bigpond.com> References: <4898065A.5080008@powerzone.net.au> <4899C919.1060903@passagen.se><4899D194.6000804@optiksecurite.com> <20080807100821.U1526@klein.bigpond.com> Message-ID: <489A99CD.5080103@powerzone.net.au> Thank you all for your input. Carp looks like it needs some investigation Thanks Michael Peter Ross wrote: > Hi, > > Michael Christie wrote: > > >> I want to cluster some freeBSD servers, The purpose of this is to learn. >> I would like to run some basic services like www and mail on a test >> network. I would like to set up the servers so if one server falls over >> the other will take over the services automatically, load balanceing would >> be good as well. I have googled, I could be looking in the wrong place , >> there seems not to be much in regard to seting up freebsd in a cluster, >> lots on linux. I have looked at the High Availability Linux project , I >> see on the front page that it will run on freebsd. >> >> So I am a bit lost and i am wanting to learn how to cluster freebsd web >> and mail servers, I have looked at Beowulf clusters, which seem to give >> computers more grunt, Can some on on the list please advise me on what >> clustering softwhere i need to get started and if the High Availability >> Linux project softwhere will do the job. >> > > pound (/usr/ports/www/pound) can be used on HTTP(S) level. > > >From pkg-descr: > > The Pound program is a reverse proxy, load balancer and HTTPS front-end > for Web server(s). Pound was developed to enable distributing load among > several Web-servers, and to allow for a convenient SSL wrapper for those > Web servers that do not offer it natively. Pound is distributed under the > GPL - no warranty, it's free to use, copy and give away. > > WWW: http://www.apsis.ch/pound/ > > - Anders Nordby > > Regards > Peter > _______________________________________________ > freebsd-cluster@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-cluster > To unsubscribe, send any mail to "freebsd-cluster-unsubscribe@freebsd.org" > > > From shinjii at maydias.com Thu Aug 7 06:52:53 2008 From: shinjii at maydias.com (Warren Liddell) Date: Thu Aug 7 06:53:00 2008 Subject: Wireless net Card In-Reply-To: <20080807002141.319b3ffd@verizon.net> References: <200808051748.55133.shinjii@maydias.com> <200808070641.53857.shinjii@maydias.com> <20080807002141.319b3ffd@verizon.net> Message-ID: <200808071652.48133.shinjii@maydias.com> On Thursday 07 August 2008 14:21:41 David Gurvich wrote: > FreeBSD and Linux are different operating systems. There is no > compatibility between them. FreeBSD has an emulation layer which works > for a limited subset of Linux binary programs. These are not kernel > drivers. Your best bet on FreeBSD is to check the status for your > chipset in CURRENT or to try ndiswrapper. Welp i tried the nidswrapper and made rtl8185_sys.ko, sadly when i used kldload it forced ma system to reboot, so im at a loss .. If i stuck the card in a windows machine would i be able to determine what chipset the wireles belkin card is using ? From kheuer2 at gwdg.de Thu Aug 7 07:44:57 2008 From: kheuer2 at gwdg.de (Konrad Heuer) Date: Thu Aug 7 07:45:05 2008 Subject: Cluster Filesystem Message-ID: <20080807092636.J28450@gwdu60.gwdg.de> Hello, I'd like to know whether there are any works on a cluster filesystem for FreeBSD. Here in our environment, we use StorNext for Linux and OS X, and Quantum people told me that they once also had a kernel module for FreeBSD. But because there was a lack of demands they stopped maintaining it. I really like UFS, and maybe ZFS is wonderful, too; but a cluster filesystem has many charms in a large production environment: load distribution, redundancy in case of failures, ... Thanks for any reply Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From mk at adminlife.net Thu Aug 7 08:21:00 2008 From: mk at adminlife.net (Matthias Kellermann) Date: Thu Aug 7 08:21:06 2008 Subject: Add CONFIGURE_ARGS option for port in make.conf Message-ID: <489AAC87.8040200@adminlife.net> Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. The specific port is lang/php4 and the option I want to add is --with-mime-magic (I know, php4 is old and not supported after 8.8.08 and --with-mime-magic is deprecated, but thats another story...). So I added an option to make.conf(5): .if ${.CURDIR:M*/lang/php4} CONFIGURE_ARGS+=--with-mime-magic .endif Unfortonately, this does not work. When I add this option in the Makefile it works. The relevant part looks like this: CONFIGURE_ARGS= --enable-versioning \ --with-mime-magic \ --enable-memory-limit \ --with-layout=GNU \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --program-prefix="" Any ideas whats wrong here? Regards, Matthias From kline at thought.org Thu Aug 7 08:25:52 2008 From: kline at thought.org (Gary Kline) Date: Thu Aug 7 08:25:59 2008 Subject: What is the best kind of computer, overall? [was: Re: general questions about 7.0 and computer efficiency......] In-Reply-To: <20080806051059.GA65622@slackbox.xs4all.nl> References: <20080805181926.GA24000@thought.org> <20080805183320.GE60428@Grumpy.DynDNS.org> <20080805185612.GC47096@thought.org> <20080805192406.GA60931@Grumpy.DynDNS.org> <20080805204528.GA51027@thought.org> <20080805210852.GA52496@slackbox.xs4all.nl> <20080806000707.GA56589@thought.org> <20080806051059.GA65622@slackbox.xs4all.nl> Message-ID: <20080807082542.GA13793@thought.org> On Wed, Aug 06, 2008 at 07:10:59AM +0200, Roland Smith wrote: > On Tue, Aug 05, 2008 at 05:07:08PM -0700, Gary Kline wrote: > > > > This brings me to my next question which is:: It it better to > > buy a proprietary make like Dell or HP or stick to something > > more generic? Let's assume that i could handle the hardware end > > myself. what would you suggest? > > I'd stick to a system from a good local builder. It gives you much more > control over what components go into the box. You want to make sure that > the chipset on the motherboard and the graphics card are supported by > FreeBSD. The components of e.g. Dell systems tend to vary depending on > what they have lying around. > actually, it just occurred to me that there *is* a place just down the hill that buys/sells used computer stuff. "RE-PC" ... not to give them a plug or anything, but i had bought used cabling and a few things there. not sure that they'll built-to-order [used], but it's worth checking. my LAN volunteer suggested all Dell, HP, <>, but then he wasnt factoring in the reality that i can't swap-in/out parts myself. circa 2001 i had a local place build a bare-bones 750MHz server; it was A+, not even a hiccup. Good pt about checking the FBSD list. valuable resource. gary > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From rvenne at meditrans.fr Thu Aug 7 08:37:58 2008 From: rvenne at meditrans.fr (rvenne) Date: Thu Aug 7 08:38:05 2008 Subject: dnat for specific source IP In-Reply-To: <489AAC87.8040200@adminlife.net> References: <489AAC87.8040200@adminlife.net> Message-ID: <489AB464.90405@meditrans.fr> Hello world, How could I setup some dnat rules with ipf/ipnat couple? for exemple: All UDP paquects on port 1025, from $FRIENDIP should be dnat to $MYIP rdr do not seams accept any source ip rules, but only destinate ip. thanks -- Richard VENNE IT Administrator Administrateur r?seaux syst?me & s?curit? Afin de respecter de l'environnement, merci de n'imprimer cet email qu'en cas de n?cessit? absolue. From info at textildruckerei.net Thu Aug 7 10:14:06 2008 From: info at textildruckerei.net (Druckbar) Date: Thu Aug 7 10:14:14 2008 Subject: Ports upgrade within Jail Message-ID: <489AC833.2000106@textildruckerei.net> Hello List, i have a jail hosted on a 6-2 RELEASE machine i don't have access to. As i don't have access, i can't upgrade the base system. But i would like to keep the ports i use up to date. Will i encounter problems if i just upgrade my ports using portsnap and portmaster? or will those tools be aware of the version my base system is and only use ports that are made for this version? -- Thank you manuel From jordi at cdmon.com Thu Aug 7 10:32:17 2008 From: jordi at cdmon.com (Jordi Moles Blanco) Date: Thu Aug 7 10:32:25 2008 Subject: problems with a C script, exiting with signal 10 Message-ID: <489ACAB8.7000503@cdmon.com> Hi, I've got this home-made script, written in C, on a Freebsd 7.0 server with different versions of postfix: 2.3,2,4 and 2.5 The problem is that, while most of the time it works like a charm, sometimes it crashes and bounces the message. It's not really a big deal, cause the sender gets notified that their mail wasn't delivered and hopefully, they will resend it. However, the problem is that I've tried to debug my script but found nothing wrong at all, cause it only fails from time to time, let's say... once for each 2000 messages that postfix receives, and it appears to do so in a random way. As i said... postfix can fail to deliver a message to one particular mailbox, but if then you resend the very same message to the very same mailbox, it will be delivered. The error is reported in both "maillog" and "messages", like this: ******/var/log/maillog******** Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: to=, relay=quota_postfix, delay=0.23, delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with signal 10: "/usr/local/etc/postfix/quota_postfix") *****/var/log/messages******* Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: exited on signal 10 Here you have some extra information about the script itself and the master.cf *****/usr/local/etc/postfix/quota_postfix*** # ls -la /usr/local/etc/postfix/quota_postfix -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 /usr/local/etc/postfix/quota_postfix It's got de suid flag cause it performs a "du" command and other file operations which need permissions, although i've tried with other groups of permissions and it eventually crashes anyway with "signal 10" ******master.cf********* ......... # spamfilter spamfilter unix - n n - 20 pipe flags=R user=filter argv=/home/antispam.pl "localhost:10027" "antispam" "${sender}" "${recipient}" "/usr/local/bin/spamc" # from spamfilter to smtpd:10026 localhost:10027 inet n - n - 100 smtpd -o content_filter=quota_postfix # quota_postfix quota_postfix unix - n n - 20 pipe flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix "localhost" "10028" "${sender}" "${recipient}" "${domain}" # from quota_postfix to smtpd:10028 localhost:10028 inet n - n - 100 smtpd -o content_filter= ................ So far, any program which crashed would leave a ".core" file in /usr/crash, but this one is not doing the same, so... i can't actually debug from the core file either. Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow is preventing this filter from generating a core file. Is that possible? Or am i completely wrong? How could I, at least, generate the .core file? Thanks. From freebsd at meijome.net Thu Aug 7 11:03:49 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Thu Aug 7 11:03:56 2008 Subject: Cluster Filesystem In-Reply-To: <20080807092636.J28450@gwdu60.gwdg.de> References: <20080807092636.J28450@gwdu60.gwdg.de> Message-ID: <20080807210345.121a04a1@ayiin> On Thu, 7 Aug 2008 09:44:55 +0200 (CEST) Konrad Heuer wrote: > I really like UFS, and maybe ZFS is wonderful, too; but a cluster > filesystem has many charms in a large production environment: load > distribution, redundancy in case of failures, ... man ggated - there have been a few threads on this over the last couple of months, check the archives (-questions@ , -stable@, probably) You can also check user space systems... gluster , which uses FUSE, comes to mind right now. /me wonders... Does hadoop work on FBSD? B _________________________ {Beto|Norberto|Numard} Meijome "There is more to life than increasing its speed." Mahatma Mohandis K. Gandhi I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From rkramer at mweb.com Thu Aug 7 11:10:58 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Thu Aug 7 11:11:07 2008 Subject: Cluster Filesystem References: <20080807092636.J28450@gwdu60.gwdg.de> <20080807210345.121a04a1@ayiin> Message-ID: <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> > Norberto Meijome > > On Thu, 7 Aug 2008 09:44:55 +0200 (CEST) > Konrad Heuer wrote: > > > I really like UFS, and maybe ZFS is wonderful, too; but a cluster > > filesystem has many charms in a large production environment: load > > distribution, redundancy in case of failures, ... > > man ggated - there have been a few threads on this over the last couple of > months, check the archives (-questions@ , -stable@, probably) > > You can also check user space systems... gluster , which uses FUSE, comes to > mind right now. > > /me wonders... Does hadoop work on FBSD? > Don't forget about the HAMMER file system which Matthew Dillon over at DragonFly BSD is busy working on. It's not 100% finished but hopefully soon and it should be ported to FreeBSD. It looks to be pretty good (Exabytes of space?!!!?) More info: Interview with Matthew: http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk154.mp3 Website: http://www.dragonflybsd.org/hammer/ Wiki: http://en.wikipedia.org/wiki/HAMMER We have setup hadoop on FreeBSD, bit of mission cause of java and I'm not sure about performance but it can be done :) http://hadoop.apache.org/core/ Rudi From edwin at mavetju.org Thu Aug 7 11:45:45 2008 From: edwin at mavetju.org (Edwin Groothuis) Date: Thu Aug 7 11:45:53 2008 Subject: Ports upgrade within Jail In-Reply-To: <489AC833.2000106@textildruckerei.net> Message-ID: <20080807114446.GA80011@k7.mavetju> > Will i encounter problems if i just upgrade my ports using portsnap and > portmaster? or will those tools be aware of the version my base system > is and only use ports that are made for this version? The components of your jail are totally seperate from the host. You can use portsnap, or cvsup, or csup (can you? not sure) to update *your* ports collection. Only things which won't work are kernel drivers etc, you can't load them. But for the rest, no problem at all. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/ From wojtek at wojtek.tensor.gdynia.pl Thu Aug 7 12:07:15 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Aug 7 12:07:22 2008 Subject: Cluster Filesystem In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> References: <20080807092636.J28450@gwdu60.gwdg.de> <20080807210345.121a04a1@ayiin> <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> Message-ID: <20080807140615.M72831@wojtek.tensor.gdynia.pl> > DragonFly BSD is busy working on. It's not 100% finished but hopefully > soon and it should be ported to FreeBSD. It looks to be pretty good ^^^^^^^^^^^^^^^^^^^^^^ i wish it will, at first glance it looks like "ZFS done right". From i.tanusheff at procreditbank.bg Thu Aug 7 12:17:53 2008 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Thu Aug 7 12:18:01 2008 Subject: Ports upgrade within Jail In-Reply-To: <489AC833.2000106@textildruckerei.net> Message-ID: The only common between the jail and the hosted system are the kernel and its drivers. You may use entirely different ports in the base system and into the jailed enviroment. So you may keep your jailed ports up to date without any concern as long as they do not conflict with the base system drivers and etc. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Druckbar Sent by: owner-freebsd-questions@freebsd.org 07.08.2008 13:15 To freebsd-questions@freebsd.org cc Subject Ports upgrade within Jail Hello List, i have a jail hosted on a 6-2 RELEASE machine i don't have access to. As i don't have access, i can't upgrade the base system. But i would like to keep the ports i use up to date. Will i encounter problems if i just upgrade my ports using portsnap and portmaster? or will those tools be aware of the version my base system is and only use ports that are made for this version? -- Thank you manuel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From freebsd-questions at davidmurray.name Thu Aug 7 12:28:10 2008 From: freebsd-questions at davidmurray.name (David Murray) Date: Thu Aug 7 12:28:18 2008 Subject: IPsec with NAT-T in transport mode dropping all packets? Message-ID: <489AE41C.1070504@davidmurray.name> Greetings All, I'm having a bit of trouble getting IPsec working in transport mode with NAT-T. I wonder if any experts out there might be able to point me in the right direction. Briefly, the background is that I'm trying to configure a FreeBSD box to provide to remote Windows clients with VPN access to the network it sits on. It seemed that L2TP/IPsec was a sensible approach, since then no additional software is required on the clients. To that end, I've been trying to construct a solution with the following: 1) FreeBSD (RELENG_7_0), kernel built with options IPSEC and IPSEC_NAT_T, and patched with 2) the NAT-T patch at http://vanhu.free.fr/FreeBSD/patch-natt-freebsd7-2008-03-11.diff, 3) ipsec-tools (0.7.0) for racoon for key exchange, and 4) mpd (5.1) for L2TP. My understanding is that I need IPsec to operate in transport mode (tunnelling will be provided by L2TP). I need NAT-T, since the clients will likely be behind NAT gateways. I can't seem to find much documentation on this configuration (so maybe I'm going about this the wrong way?). Anyhow, I have two security policy entries in ipsec.conf, intended to encrypt L2TP traffic: spdadd 82.16.99.99[1701] 0.0.0.0/0 udp -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 82.16.99.99[1701] udp -P in ipsec esp/transport//require; The tricky key negotiation all seems to be working; when I initiate a connection from a Windows client, racoon negotiates security associations (I'm using certificates): racoon: INFO: IPsec-SA established: ESP/Transport 195.248.102.183[4500]->82.16.99.99[4500] spi=73448711(0x460bd07) racoon: INFO: IPsec-SA established: ESP/Transport 82.16.99.99[4500]->195.248.102.183[4500] spi=2159874738(0x80bd12b2) However, mpd's log doesn't show any evidence of a single packet arriving (and the client eventually gives up), and, with net.inet.ipsec.debug=1, the kernel issues the single line: kernel: ipsec_common_input: no key association found for SA 82.16.99.99[4500]/460bd07/50 I'm guessing, therefore, that the kernel is discarding packets because it doesn't think it has the correct security associations to deal with them (can I check this?). I'm wondering if this is NAT-T related. I'm a bit suspicious that the security associations are in terms of port 4500, the NAT-T port, and not 1701, the L2TP port. I notice the NAT-T patch adds checking of port numbers to the security association lookup. I'd be very grateful if anyone can spot any stupid mistakes I've made, or can suggest what I might do to diagnose further. I'll happily provide any more info required. Many thanks! -- David Murray From shinjii at maydias.com Thu Aug 7 12:29:34 2008 From: shinjii at maydias.com (Warren Liddell) Date: Thu Aug 7 12:29:42 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A03B45FDE@MWBEXCH.mweb.com> References: <200808061826.34644.shinjii@maydias.com> <39DC135F7F0571489196E0B6F5D58B4A03B45FDE@MWBEXCH.mweb.com> Message-ID: <200808072229.21554.shinjii@maydias.com> > The easiest way to do the upgrade (if you are using a GENERIC kernel) is > to use Freebsd-update (http://www.daemonology.net/freebsd-update/) > > It's a pretty powerful tool which allows you to do binary updates for > FreeBSD. > > To upgrade between major versions you would want to check out this page: > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade > .html. If i have read the man pages correct the command im using being ... # freebsd-update upgrade -r 7.0-CURRENT Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Are there more mirrors or am i missing something here ? From pisymbol at gmail.com Thu Aug 7 13:13:59 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Thu Aug 7 13:14:06 2008 Subject: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE In-Reply-To: <20080617205053.20873zhqvlj7zles@intranet.casasponti.net> References: <3c0b01820806170757v5565b59ne0e9d5db06f26761@mail.gmail.com> <4857D8BB.1080901@gmail.com> <3c0b01820806170852t39a6346doa6d77a655469eed9@mail.gmail.com> <20080617135900.18654t73s6d7sfqc@intranet.casasponti.net> <48580EB9.7090701@gmail.com> <20080617143554.1808562gg94i8ikg@intranet.casasponti.net> <3c0b01820806171244g6f2ba46ybe0ba6d89eaab13b@mail.gmail.com> <3c0b01820806171417l2b054e15i5627d88827cc03b4@mail.gmail.com> <3c0b01820806171648g7cc01476l30df79831f9b9c6@mail.gmail.com> <20080617205053.20873zhqvlj7zles@intranet.casasponti.net> Message-ID: <18870155.post@talk.nabble.com> Edwin L. Culp wrote: > > "Alexander Sack" escribi?: > >> Final update, I got everything working! I came home and connected by >> new notebook using the latest PCIe Atheros chipset to a WPA2 network >> using wpa_supplicant! Yippie! >> >> Hope this thread helps someone else, >> >> -aps >> >> On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack >> wrote: >>> On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack >>> wrote: >>>> On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp >>>> wrote: >>>>> "Manolis Kiagias" escribi?: >>>>> >>>>>> Edwin L. Culp wrote: >>>>>>> >>>>>>> "Alexander Sack" escribi?: >>>>>>> >>>>>>>> On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Alexander Sack wrote: >>>>>>>>>> >>>>>>>>>> Hello: >>>>>>>>>> >>>>>>>>>> I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 >>>>>>>>>> Turon based >>>>>>>>>> notebook, a MSI-1710A (GX710Ax) which has a generic embedded >>>>>>>>>> controller. During boot up I notice that ATH complains with: >>>>>>>>>> >>>>>>>>>> ath_rate: version 1.2 >>>>>>>>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, >>>>>>>>>> RF2413, >>>>>>>>>> RF5413) >>>>>>>>>> ath0: mem 0xfd7f0000-0xfd7fffff irq 16 at >>>>>>>>>> device >>>>>>>>>> 0.0 >>>>>>>>>> on pci2 >>>>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfd7f0000 >>>>>>>>>> ath0: [MPSAFE] >>>>>>>>>> ath0: [ITHREAD] >>>>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>>>> >>>>>>>>>> HAL status 13 from the header file seems to indicate that the >>>>>>>>>> 7.0-STABLE driver doesn't support my hardware revision. Here is >>>>>>>>>> my >>>>>>>>>> pciconf -l output: >>>>>>>>>> >>>>>>>>> >>>>>>>>> Maybe you could try compiling a kernel with a newer hal. This is >>>>>>>>> the >>>>>>>>> kind of >>>>>>>>> hack we use on the eeepc. Have a look at this: >>>>>>>>> >>>>>>>>> http://nighthack.org/wiki/EeeBSD >>>>>>>> >>>>>>>> Thank you SO much for this link. That's EXACTLY what I want to do >>>>>>>> because I realize that this is a HAL problem. I've been searching >>>>>>>> like MAD where I could get an updated binary HAL for this chipset >>>>>>>> (PCIe based). >>>>>>> >>>>>>> That makes two of us ;) >>>>>>> >>>>>>> My dmesg is very, very similar to yours and hoped that this would >>>>>>> work. >>>>>>> >>>>>>> ath0: mem 0xf2200000-0xf220ffff irq 19 at device >>>>>>> 0.0 >>>>>>> on pci5 >>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf2200000 >>>>>>> ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 >>>>>>> ath0: [MPSAFE] >>>>>>> ath0: [ITHREAD] >>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>> device_attach: ath0 attach returned 6 >>>>>>> >>>>>>> I followed the instructions from the web page, recompiled and it >>>>>>> made no >>>>>>> difference which really worries me that I must have done >>>>>>> something wrong. >>>>>>> >>>>>>> cd madwifi-ng-r2756+ar5007/hal >>>>>>> cp -R * /usr/src/sys/contrib/dev/ath/ >>>>>>> >>>>>>> I did not erase it previously but am going to try that. I made no >>>>>>> kern >>>>>>> configuration changes to find that the hal is from contrib. Is >>>>>>> there >>>>>>> nothing else I should do? >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>> >>>>>> Well, I have only tested this on the eeepc and can confirm it works. >>>>>> Maybe different atheros chipset have other problems not directly >>>>>> related >>>>>> to the hal version. >>>>>> You do not need to do anything more that what is shown in the >>>>>> page: untar, >>>>>> replace the existing files, recompile / install kernel, reboot. >>>>>> If you got >>>>>> no errors during the kernel compilation phase, you can safely >>>>>> assume you did >>>>>> everything correctly, and the problem lies elsewhere. >>>>> >>>>> At least there was a ray of hope for the time it took to compile >>>>> the kernel. >>>> >>>> Ed: >>>> >>>> I took recompiled and got the same issue. If I use the LATEST mad >>>> distro I get some compile bugs (ath_desc_status was moved into >>>> ath_desc structure in ah_desc.h) which I can't completely work around >>>> (apparently the API into the HAL has changed as well). What I'm >>>> trying to do is look at the Linux driver and understand the newer API >>>> in order to get past this compile issue and see if this works. >>>> Otherwise I believe we are SOL. >>>> >>>> Does anyone know if the CURRENT contains an updated ath HAL AND driver >>>> for support of newer PCIe based chipsets? >>>> >>>> If I get it to work I will let you know... >>>> >>> >>> Ok the trick is not to get it from the madfi project. Get it from the >>> author directly! >>> >>> If you grab: >>> >>> http://people.freebsd.org/~sam/ath_hal-20080528.tgz >>> >>> Copy the contents into the src/sys/contrib/dev/ath/* and recompile, >>> you should now see ath attach properly to the your NIC card. Thanks >>> go to my friend jkim for pointing this out since he has a similar >>> notebook/chipset and runs CURRENT successfully. I tried using CURRENT >>> ath but there is to much vap support in it and it turned out the >>> 7.0-RELEASE driver works. >>> >>> Now ath attaches properly and I'm going to test it out! (this is at >>> least much further than a bad attach status code from the HAL). >>> >>> Let me know how it goes, > > Going G R E A T for the first time I see: > > ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > RF2413, RF5413, RF2133, RF2425, RF2417) > > ath0: mem 0xf2200000-0xf220ffff irq 19 at device > 0.0 on pci5 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 14.2 phy 7.0 radio 10.2 > > and an ifconfig ath0 shows: > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > My problem is now the no carrier, I think that I'm very close but > still no cigar. > > Thanks soooooo much for your help. Gonna bang away and the manuals > and google to find out why, no carrier. I have an AP a few feet away > and iPhone works great. > Did you get this to ever work? I am now running into the same issue. What had happened was I sent my notebook back to fix a plastic latch and at the sametime work changed the wireless AP settings. Now when the chipset comes up I constantly get no carrier and ifconfig ath0 scan list just hangs (sits there). Any idea what maybe the issue? This is highly frustrating because it WAS working (I'm using a new 7.0-STABLE, from yesterday freshly built against Sam's latest HAL). Thanks! -aps -- View this message in context: http://www.nabble.com/Atheros-%28ath%29-MSI-wireless-embedded-chipset-fails-to-attach-on-7.0-STABLE-tp17913515p18870155.html Sent from the freebsd-questions mailing list archive at Nabble.com. From fbsd06 at mlists.homeunix.com Thu Aug 7 13:36:49 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Aug 7 13:36:56 2008 Subject: Add CONFIGURE_ARGS option for port in make.conf In-Reply-To: <489AAC87.8040200@adminlife.net> References: <489AAC87.8040200@adminlife.net> Message-ID: <20080807142126.1b67ceb4@gumby.homeunix.com.> On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann wrote: > Hi list, > > I want to compile a port with an option that is not controllable > through the FreeBSD Makefile or with make config. > ... > So I added an option to make.conf(5): > > .if ${.CURDIR:M*/lang/php4} > CONFIGURE_ARGS+=--with-mime-magic > .endif > > Unfortonately, this does not work. >... > Any ideas whats wrong here? make.conf is read before the makefile. The use of "CONFIGURE_ARGS=" in the port makefile means that any change to CONFIGURE_ARGS made in make.conf is lost. I think you'll have to maintain a patch against the port makefile. From mk at adminlife.net Thu Aug 7 14:04:48 2008 From: mk at adminlife.net (Matthias Kellermann) Date: Thu Aug 7 14:04:55 2008 Subject: Add CONFIGURE_ARGS option for port in make.conf In-Reply-To: <20080807142126.1b67ceb4@gumby.homeunix.com.> References: <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.> Message-ID: <489B00FE.4020605@adminlife.net> RW wrote: > On Thu, 07 Aug 2008 10:04:23 +0200 > Matthias Kellermann wrote: > >> Hi list, >> >> I want to compile a port with an option that is not controllable >> through the FreeBSD Makefile or with make config. >> ... >> So I added an option to make.conf(5): >> >> .if ${.CURDIR:M*/lang/php4} >> CONFIGURE_ARGS+=--with-mime-magic >> .endif >> >> Unfortonately, this does not work. >> ... >> Any ideas whats wrong here? > > make.conf is read before the makefile. The use of "CONFIGURE_ARGS=" in > the port makefile means that any change to CONFIGURE_ARGS made in > make.conf is lost. > > I think you'll have to maintain a patch against the port makefile. Thanks, but I thought CONFIGURE_ARGS+= should add this option and not overwrite the options from the Makefile. Therefore the plus-sign. Regards, Matthias From mkhitrov at gmail.com Thu Aug 7 14:15:26 2008 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Thu Aug 7 14:15:35 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) Message-ID: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> Hello all, Simple question - am I able to run 64-bit linux binaries using the ABI emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel configuration the COMPAT_LINUX option is commented out, but I don't understand the explanation at the top of the section: #XXX keep these here for now and reactivate when support for emulating #XXX these 32 bit binaries is added. For 32-bit there is already the COMPAT_LINUX32 option, no? This is the first time that I've dealt with linux compatibility in FreeBSD, so would appreciate some pointers. The goal is to get Matlab running in 64-bit mode. Some of the algorithms that my colleagues need to execute were crashing the software, and they assumed that it was due to a limitation of virtual memory that is available under 32-bit. Apparently Matlab tries to allocate a continuous chunk of memory, and we needed to upgrade to 64-bit hardware to give it access to more than 1GB of memory, which is about the most that it was able to get before. It's a lousy explanation, but I wasn't employed at this place when this diagnosis was made. If anyone else here is running Matlab on FreeBSD, I'd welcome any pointers you can give me for setting it up. Right now, I'm following the steps listed in the handbook. As a side note - is it, in fact, the case that Matlab x86_64 will run slower than the 32-bit version (http://osdir.com/ml/netbsd.ports.x86-64/2006-07/msg00061.html)? - Max From snorre at overbo.no Thu Aug 7 14:22:22 2008 From: snorre at overbo.no (=?ISO-8859-1?Q?=22Snorre_D=2E_=D8verb=F8=22?=) Date: Thu Aug 7 14:22:30 2008 Subject: Disk errors on installing FreeBSD 7.0 Message-ID: <489AF8A7.1010400@overbo.no> Hi all, I'm trying to install FreeBSD 7.0 release on a box at home. When I boot up with the installation DVD these error messages appear on the screen. [Written down by hand:] ad1: FAILURE - READ_DMA status=51 error=84 LBA=0055347 ad0: FAILURE - READ_DMA status=51 error=84 LBA=0 etc etc .... .... FreeBSD sees these hard disks during boot up: ad0: 78533MB at ata0-master UDMA133 ad1: 32253MB at ata0-slave UDMA100 [This is wrong, the disk have a capacity of about 185 GB] So, when I go on with the installation program and try to write to disk the new slices and labels in fdisk I get an error message saying something like "not able to write to the disk". I don't think there is something wrong with my hardware, because I just have recently installed both Windows XP and Slackware Linux on the same box, without any problems. Does anybody have any idea to fix these problems? regards, Snorre D. ?verb? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 489 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080807/b8159ed3/signature.pgp From kris at FreeBSD.org Thu Aug 7 14:37:51 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 14:37:57 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> References: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> Message-ID: <489B08BB.5090609@FreeBSD.org> Maxim Khitrov wrote: > Hello all, > > Simple question - am I able to run 64-bit linux binaries using the ABI > emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel > configuration the COMPAT_LINUX option is commented out, but I don't > understand the explanation at the top of the section: Not yet, there is a summer of code project working on this but I don't think it is complete. You can, of course, run 32-bit linux binaries on amd64. > If anyone else here is running Matlab on FreeBSD, I'd welcome any > pointers you can give me for setting it up. Right now, I'm following > the steps listed in the handbook. As a side note - is it, in fact, the > case that Matlab x86_64 will run slower than the 32-bit version > (http://osdir.com/ml/netbsd.ports.x86-64/2006-07/msg00061.html)? Depends what you use it for, presumably. Kris From david.gurvich at verizon.net Thu Aug 7 14:40:02 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Thu Aug 7 14:40:19 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> References: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> Message-ID: <20080807103932.1820047f@verizon.net> If you are looking for batch processing, octave may be an option. The objective was to be as compatible with Matlab as possible. There wasn't any gui available when I last looked at this program. As a side note, I found the following from the Matlab site hilarious : FreeBSD distributions of Linux are not compatible with MATLAB 6.0 (R12). Makes me wonder how good the Linux version of Matlab is. From larinus at gmail.com Thu Aug 7 14:54:23 2008 From: larinus at gmail.com (larin) Date: Thu Aug 7 14:54:30 2008 Subject: Disk errors on installing FreeBSD 7.0 In-Reply-To: <489AF8A7.1010400@overbo.no> References: <489AF8A7.1010400@overbo.no> Message-ID: <489B0656.2020104@gmail.com> Snorre D. ?verb? wrote: > Hi all, > > I'm trying to install FreeBSD 7.0 release on a box at home. > > When I boot up with the installation DVD these error messages appear on > the screen. > [Written down by hand:] > > ad1: FAILURE - READ_DMA status=51 > error=84 LBA=0055347 > ad0: FAILURE - READ_DMA status=51 > error=84 LBA=0 > etc > etc > .... > .... > > FreeBSD sees these hard disks during boot up: > > ad0: 78533MB at ata0-master UDMA133 > ad1: 32253MB at ata0-slave UDMA100 [This is > wrong, the disk have a capacity of about 185 GB] > > > So, when I go on with the installation program and try to write to disk > the new slices and labels in fdisk I get an error message saying > something like "not able to write to the disk". > > I don't think there is something wrong with my hardware, because I just > have recently installed both Windows XP and Slackware Linux on the same > box, without any problems. > > Does anybody have any idea to fix these problems? > > > regards, > > Snorre D. ?verb? > > Try to replace the IDE ribbon cable. From mkhitrov at gmail.com Thu Aug 7 14:56:46 2008 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Thu Aug 7 14:56:53 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <489B08BB.5090609@FreeBSD.org> References: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> <489B08BB.5090609@FreeBSD.org> Message-ID: <26ddd1750808070756h10ae0a67nad72009919a84a65@mail.gmail.com> On Thu, Aug 7, 2008 at 10:37 AM, Kris Kennaway wrote: > Maxim Khitrov wrote: >> >> Hello all, >> >> Simple question - am I able to run 64-bit linux binaries using the ABI >> emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel >> configuration the COMPAT_LINUX option is commented out, but I don't >> understand the explanation at the top of the section: > > Not yet, there is a summer of code project working on this but I don't think > it is complete. You can, of course, run 32-bit linux binaries on amd64. > > Kris > Thanks, I'll give it a try under 32-bit and see if the simple change from Linux to FreeBSD as host OS is enough to fix the problems we were having. - Max From mkhitrov at gmail.com Thu Aug 7 15:03:42 2008 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Thu Aug 7 15:03:49 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: References: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> Message-ID: <26ddd1750808070803v762e536dofd72d8b3f17c5baa@mail.gmail.com> On Thu, Aug 7, 2008 at 10:52 AM, Sean Cavanaugh wrote: > > >> Date: Thu, 7 Aug 2008 09:47:45 -0400 >> From: mkhitrov@gmail.com >> To: freebsd-questions@freebsd.org >> Subject: 64-bit Linux Binary Compatibility (for Matlab) > >> Apparently Matlab tries to allocate a continuous chunk of memory, and >> we needed to upgrade to 64-bit hardware to give it access to more than >> 1GB of memory, which is about the most that it was able to get before. >> It's a lousy explanation, but I wasn't employed at this place when >> this diagnosis was made. >> > > running 32-bit gives you access to 4GB of RAM, not 1. there is some address > space that is used up by hardware such as video cards that will reduce that > number reported by the OS. > I know that, the key word there is continuous space. In either case, I'm only repeating what was said to me as the reason for purchasing a brand new server - run in 64-bit mode to give Matlab more virtual memory. It may end up being the case that the problem was completely unrelated. I'll know in about an hour :) - Max From kris at FreeBSD.org Thu Aug 7 15:21:57 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 15:22:04 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <26ddd1750808070803v762e536dofd72d8b3f17c5baa@mail.gmail.com> References: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> <26ddd1750808070803v762e536dofd72d8b3f17c5baa@mail.gmail.com> Message-ID: <489B1311.9020100@FreeBSD.org> Maxim Khitrov wrote: > On Thu, Aug 7, 2008 at 10:52 AM, Sean Cavanaugh > wrote: >> >>> Date: Thu, 7 Aug 2008 09:47:45 -0400 >>> From: mkhitrov@gmail.com >>> To: freebsd-questions@freebsd.org >>> Subject: 64-bit Linux Binary Compatibility (for Matlab) >>> Apparently Matlab tries to allocate a continuous chunk of memory, and >>> we needed to upgrade to 64-bit hardware to give it access to more than >>> 1GB of memory, which is about the most that it was able to get before. >>> It's a lousy explanation, but I wasn't employed at this place when >>> this diagnosis was made. >>> >> running 32-bit gives you access to 4GB of RAM, not 1. there is some address >> space that is used up by hardware such as video cards that will reduce that >> number reported by the OS. >> > > I know that, the key word there is continuous space. It still doesn't make any sense; processes on i386 have up to 3GB (by default) of address space to do with what they wish. Perhaps someone forgot to increase the maxdsiz resource limit? Kris From z.szalbot at lcwords.com Thu Aug 7 15:25:41 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Thu Aug 7 15:25:49 2008 Subject: Fwd: newsyslog.conf / rotating logs based on size AND time Message-ID: <8f0962110046cceccab7b56c1a8dd37d@relay.lc-words.com> Hello all, Would anyone want to comment if it is possible to rotate logs with newsyslog based on size and time (using FBSD 7.0-Release)? Many thanks! ZS -------- Original Message -------- Subject: newsyslog.conf / rotating logs based on size AND time Date: Tue, 05 Aug 2008 10:17:07 +0200 From: Zbigniew Szalbot To: User Questions Hi there, I have the following rule in /etc/newsyslog.conf var/log/*-access.log 644 12 24000 $W2D11 GZC /var/run/httpd.pid 30 I am trying to see if I can specify to rotate logs when they are larger then 24MB AND at the start of each month (for testing purposes I entered today at 11 o'clock - $W2D11). However, at 10 o'clock the log should have been rotated because of size: -rw-r--r-- 1 root wheel 24801986 Aug 5 10:02 domain.tld-access.log but as you can see, it was not. My question is how can I make sure the logs are rotated when they grow too large AND they are also rotated at a specified point in time (start of a new month). I am reading man newsyslog.conf and it says: If the when field contains an asterisk (`*'), log rotation will solely depend on the contents of the size field. To me it seems to say that when it is not an asterisk (i.e. when I enter a date), the log rotation is not based solely on size factor, which in other words should mean it is also based on time? Any help would be very much appreciated! Thank you in advance! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080807/0cfc5b86/smime.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: rcmAttmnt6Kxx9g Type: protocol/application/x-pkcs7-signature Size: 23 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080807/0cfc5b86/rcmAttmnt6Kxx9g.diff From beni at brinckman.info Thu Aug 7 15:34:31 2008 From: beni at brinckman.info (beni) Date: Thu Aug 7 15:34:38 2008 Subject: joining 2 files together ? Message-ID: <200808071534.29383.beni@brinckman.info> Hi, I am trying to find the equivalent for the old dos "copy file1+file2" command ("copy myfile1.txt+myfile2.txt" copies the contents in myfile2.txt and combines it with the contents in myfile1.txt). But the standard freebsd "cp" doesn't seem to want the "+" between the two files : bsdaddict# cp file1.avi+file2.avi usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... target_directory bsdaddict# So how to I append file2 at the end of file1 to get only one file ? To be more specific : I would like to merge 2 avi files into one. How do I get file1.avi+file2.avi into file3.avi ? Thanks. -- Beni. From wmoran at potentialtech.com Thu Aug 7 15:38:26 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Aug 7 15:38:32 2008 Subject: joining 2 files together ? In-Reply-To: <200808071534.29383.beni@brinckman.info> References: <200808071534.29383.beni@brinckman.info> Message-ID: <20080807113829.40fb0453.wmoran@potentialtech.com> In response to beni : > > I am trying to find the equivalent for the old dos "copy file1+file2" command > ("copy myfile1.txt+myfile2.txt" copies the contents in myfile2.txt and > combines it with the contents in myfile1.txt). > But the standard freebsd "cp" doesn't seem to want the "+" between the two > files : > > bsdaddict# cp file1.avi+file2.avi > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file > cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... > target_directory > bsdaddict# > > So how to I append file2 at the end of file1 to get only one file ? To be more > specific : I would like to merge 2 avi files into one. How do I get > file1.avi+file2.avi into file3.avi ? > Thanks. Well, to answer your first question: cp file1.avi file3.avi && cat file2.avi >> file3.avi But to answer your real question, you can't just mash two avi files together to make 1 big one. You'll need something like avidemux or one of the command line tools to actually get the avi headers correct. -- Bill Moran http://www.potentialtech.com From david.gurvich at verizon.net Thu Aug 7 15:39:37 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Thu Aug 7 15:39:43 2008 Subject: joining 2 files together ? In-Reply-To: <200808071534.29383.beni@brinckman.info> References: <200808071534.29383.beni@brinckman.info> Message-ID: <20080807113909.5f2cc560@verizon.net> You might try the old 'cat file1 file2 ... fileN'. From smallhand at crawblog.com Thu Aug 7 15:41:37 2008 From: smallhand at crawblog.com (Edward Ruggeri) Date: Thu Aug 7 15:41:44 2008 Subject: joining 2 files together ? In-Reply-To: <20080807113829.40fb0453.wmoran@potentialtech.com> References: <200808071534.29383.beni@brinckman.info> <20080807113829.40fb0453.wmoran@potentialtech.com> Message-ID: <919383240808070841j4fe039eem93c61c31763d2b9c@mail.gmail.com> On Thu, Aug 7, 2008 at 10:38 AM, Bill Moran wrote: > But to answer your real question, you can't just mash two avi files > together to make 1 big one. You'll need something like avidemux or > one of the command line tools to actually get the avi headers correct. If I recall correctly, generally you can play the file, but it will stop at the end of the first "part." However, I think you can seek past that point and avoid the premature termination. Which is to say that you are correct. -- Ned Ruggeri From dkelly at hiwaay.net Thu Aug 7 15:53:03 2008 From: dkelly at hiwaay.net (David Kelly) Date: Thu Aug 7 15:53:10 2008 Subject: joining 2 files together ? In-Reply-To: <20080807113909.5f2cc560@verizon.net> References: <200808071534.29383.beni@brinckman.info> <20080807113909.5f2cc560@verizon.net> Message-ID: <20080807155301.GB71079@Grumpy.DynDNS.org> On Thu, Aug 07, 2008 at 11:39:09AM -0400, David Gurvich wrote: > You might try the old 'cat file1 file2 ... fileN'. % cat file1 file2 ... fileN >> fileconcatenated -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From stylemagazine at app.topica.com Thu Aug 7 16:11:49 2008 From: stylemagazine at app.topica.com (StyleMagazine.com) Date: Thu Aug 7 16:11:56 2008 Subject: Soul Purpose in Houston Message-ID: <603096565-1463747838-1218124282@stylemagazine.b.topica.com> [1][logobw.gif] [2]HOUSTON A.N.E.W. [3][eblast.gif] [4]If you are unable to view this email please click here [] [footer_cap3.gif] [5]Unsubscribe | [6]Update Profile | [7]Confirm [8][delivered_by_blue.gif] [footer_cap3.gif] References 1. http://stylemagazine.c.topica.com/maal8flabJwdwaF2LFxc/ 2. http://stylemagazine.c.topica.com/maal8flabJwdxaF2LFxc/ 3. http://stylemagazine.c.topica.com/maal8flabJwdwaF2LFxc/ 4. http://stylemagazine.c.topica.com/maal8flabJwdyaF2LFxc/ 5. http://topica.com/f/unsub.html/aaaebr2kkywks7txugv8lls9vghh8h3xhb8gyyzl6xrv56 6. http://topica.com/f/?a2jjvy.aF2LFx.cXVlc3Rp 7. http://topica.com/f/?a2jjvy.aF2LFx.cXVlc3Rp.c 8. http://www.topica.com/?p=T3FOOTER From Lokadamus at gmx.de Thu Aug 7 16:13:34 2008 From: Lokadamus at gmx.de (Lokadamus) Date: Thu Aug 7 16:13:42 2008 Subject: Disk errors on installing FreeBSD 7.0 In-Reply-To: <489AF8A7.1010400@overbo.no> References: <489AF8A7.1010400@overbo.no> Message-ID: <489B1F35.7050605@gmx.de> Snorre D. ?verb? wrote: > Hi all, > > I'm trying to install FreeBSD 7.0 release on a box at home. > > When I boot up with the installation DVD these error messages appear on > the screen. > [Written down by hand:] > > ad1: FAILURE - READ_DMA status=51 > error=84 LBA=0055347 > ad0: FAILURE - READ_DMA status=51 > error=84 LBA=0 > etc > etc > .... > .... > > FreeBSD sees these hard disks during boot up: > > ad0: 78533MB at ata0-master UDMA133 > ad1: 32253MB at ata0-slave UDMA100 [This is > wrong, the disk have a capacity of about 185 GB] > > > So, when I go on with the installation program and try to write to disk > the new slices and labels in fdisk I get an error message saying > something like "not able to write to the disk". > > I don't think there is something wrong with my hardware, because I just > have recently installed both Windows XP and Slackware Linux on the same > box, without any problems. > > Does anybody have any idea to fix these problems? > > > regards, > > Snorre D. ?verb? > > Do you get the same error with FreeBSD 8.0 Current? ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ regards From vince at unsane.co.uk Thu Aug 7 16:21:00 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Aug 7 16:21:09 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <200808072229.21554.shinjii@maydias.com> References: <200808061826.34644.shinjii@maydias.com> <39DC135F7F0571489196E0B6F5D58B4A03B45FDE@MWBEXCH.mweb.com> <200808072229.21554.shinjii@maydias.com> Message-ID: <489B20E7.1060907@unsane.co.uk> Warren Liddell wrote: >> The easiest way to do the upgrade (if you are using a GENERIC kernel) is >> to use Freebsd-update (http://www.daemonology.net/freebsd-update/) >> >> It's a pretty powerful tool which allows you to do binary updates for >> FreeBSD. >> >> To upgrade between major versions you would want to check out this page: >> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade >> .html. >> > > If i have read the man pages correct the command im using being ... > > # freebsd-update upgrade -r 7.0-CURRENT > Looking up update.FreeBSD.org mirrors... 1 mirrors found. > Fetching public key from update1.FreeBSD.org... failed. > No mirrors remaining, giving up. > > Are there more mirrors or am i missing something here ? > Yes, 7.0-CURRENT doesnt exist. freebsd-update will do releases (with updates) not -CURRENT or -STABLE use 7.0-RELEASE instead (which will get you 7.0-RELEASE-p3) looking in my command history i used freebsd-update -r 7.0-RELEASE upgrade freebsd-update -r 7.0-RELEASE install Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From freebsd at violetlan.net Thu Aug 7 16:22:55 2008 From: freebsd at violetlan.net (Reinhold) Date: Thu Aug 7 16:23:03 2008 Subject: can't get skype to work Message-ID: <59767.217.41.34.61.1218125007.squirrel@www.violetlan.net> Hi I've just installed FreeBSD7-STABLE on my laptop and its running very nicely. I tried to get skype working I keep getting core dumps Here is the output from skype *** glibc detected *** skype: double free or corruption (!prev): 0x0944a7b8 *** ======= Backtrace: ========= /lib/libc.so.6[0x29710c88] /lib/libc.so.6(cfree+0x90)[0x29714230] /lib/libc.so.6(closedir+0x28)[0x29734cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2946e21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x29468d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x294700b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x294702b0] skype[0x8980276] skype[0x89385c9] skype[0x893918e] skype[0x822c73e] skype[0x8053bc2] /lib/libc.so.6(__libc_start_main+0xdc)[0x296bedec] skype(__gxx_personality_v0+0x1e5)[0x8053841] ======= Memory map: ======== 08048000-0929b000 rwxp 01362000 00:00 834161 /usr/local/bin/skype 0929b000-093aa000 rwxp 01362000 00:00 834161 /usr/local/bin/skype 093aa000-09514000 rwxp 0016a000 00:00 0 2929b000-292b4000 r-xp 0001e000 00:00 72522 /usr/compat/linux/lib/ld-2.5.so 292b4000-292b5000 r-xp 0001e000 00:00 72522 /usr/compat/linux/lib/ld-2.5.so 292b5000-292b6000 rw-p 00001000 00:00 0 292b6000-292b8000 r-xp 00003000 00:00 424484 /usr/compat/linux/usr/lib/gconv/UTF-16.so 292b8000-292ba000 rwxp 00003000 00:00 424484 /usr/compat/linux/usr/lib/gconv/UTF-16.so 292bc000-29385000 r-xp 000ce000 00:00 73218 /usr/compat/linux/lib/libasound.so.2.0.0 29385000-2938a000 rwxp 000ce000 00:00 73218 /usr/compat/linux/lib/libasound.so.2.0.0 2938a000-2938b000 rwxp 00001000 00:00 0 2938b000-2938f000 r-xp 00004000 00:00 73502 /usr/compat/linux/usr/X11R6/lib/libXv.so.1.0 2938f000-29390000 rwxp 00004000 00:00 73502 /usr/compat/linux/usr/X11R6/lib/libXv.so.1.0 29390000-29392000 r-xp 00002000 00:00 73496 /usr/compaAbort (core dumped) reinhold@lappy# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s2a 496M 248M 208M 54% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s2e 496M 14K 456M 0% /tmp /dev/ad4s2f 12G 3.2G 8.2G 28% /usr /dev/ad4s2d 1.9G 41M 1.7G 2% /var linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc I have changed compat.linux.osrelease to 2.6.16 before installing fc6 and skype but still nothing. Any ideas in what I can do to make it work Thanks Reinhold From tinguely at casselton.net Thu Aug 7 16:42:38 2008 From: tinguely at casselton.net (Mark Tinguely) Date: Thu Aug 7 16:42:45 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <489B1311.9020100@FreeBSD.org> Message-ID: <200808071626.m77GQ6vf033517@casselton.net> > Date: Thu, 7 Aug 2008 09:47:45 -0400 > From: mkhitrov@gmail.com > To: freebsd-questions@freebsd.org > Apparently Matlab tries to allocate a continuous chunk of memory, and > we needed to upgrade to 64-bit hardware to give it access to more than > 1GB of memory, which is about the most that it was able to get before. > It's a lousy explanation, but I wasn't employed at this place when > this diagnosis was made. Large contiguous allocations have to occur during or soon after booting because of memory fragmentation. I can see that larger memory configurations on a 64 bit OS has a better chance of allocating big chunks like this. Make sure you have much more than 4G RAM since some hardware needs memory below 4GB, and the contiguous allocation at boot favors memory towards the top of the 4GB range. --Mark Tinguely. From mahan at mahan.org Thu Aug 7 16:45:10 2008 From: mahan at mahan.org (Patrick Mahan) Date: Thu Aug 7 16:45:17 2008 Subject: problems with a C script, exiting with signal 10 In-Reply-To: <489ACAB8.7000503@cdmon.com> References: <489ACAB8.7000503@cdmon.com> Message-ID: <489B2689.8070209@mahan.org> Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM-> > Hi, > > I've got this home-made script, written in C, on a Freebsd 7.0 server > with different versions of postfix: 2.3,2,4 and 2.5 > > The problem is that, while most of the time it works like a charm, > sometimes it crashes and bounces the message. It's not really a big > deal, cause the sender gets notified that their mail wasn't delivered > and hopefully, they will resend it. However, the problem is that I've > tried to debug my script but found nothing wrong at all, cause it only > fails from time to time, let's say... once for each 2000 messages that > postfix receives, and it appears to do so in a random way. > > As i said... postfix can fail to deliver a message to one particular > mailbox, but if then you resend the very same message to the very same > mailbox, it will be delivered. > > The error is reported in both "maillog" and "messages", like this: > > > ******/var/log/maillog******** > Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: > to=, relay=quota_postfix, delay=0.23, > delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with > signal 10: "/usr/local/etc/postfix/quota_postfix") > > > *****/var/log/messages******* > Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: > exited on signal 10 > Well signal 10 is SIGBUS which is indicative of (generally) a bad address, non-aligned memory address (on platforms it matters) or a hardware error. I would look for places you are dereferencing a pointer without perhaps first validating it. Given that it rarely occurs, I might suspect that you are allocating some memory, but failing to completely initialize (malloc() doesn't zero out memory) it or assuming it is already initialize. Good luck, Patrick > > Here you have some extra information about the script itself and the > master.cf > > > *****/usr/local/etc/postfix/quota_postfix*** > > # ls -la /usr/local/etc/postfix/quota_postfix > -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 > /usr/local/etc/postfix/quota_postfix > > It's got de suid flag cause it performs a "du" command and other file > operations which need permissions, although i've tried with other groups > of permissions and it eventually crashes anyway with "signal 10" > > ******master.cf********* > > ......... > > # spamfilter > spamfilter unix - n n - 20 pipe > flags=R user=filter argv=/home/antispam.pl "localhost:10027" "antispam" > "${sender}" "${recipient}" "/usr/local/bin/spamc" > > # from spamfilter to smtpd:10026 > localhost:10027 inet n - n - 100 smtpd > -o content_filter=quota_postfix > > > # quota_postfix > quota_postfix unix - n n - 20 pipe > flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix > "localhost" "10028" "${sender}" "${recipient}" "${domain}" > > # from quota_postfix to smtpd:10028 > localhost:10028 inet n - n - 100 smtpd > -o content_filter= > > ................ > > So far, any program which crashed would leave a ".core" file in > /usr/crash, but this one is not doing the same, so... i can't actually > debug from the core file either. > Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow is > preventing this filter from generating a core file. Is that possible? Or > am i completely wrong? > > How could I, at least, generate the .core file? > > Thanks. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > From mahan at mahan.org Thu Aug 7 16:53:55 2008 From: mahan at mahan.org (Patrick Mahan) Date: Thu Aug 7 16:54:04 2008 Subject: joining 2 files together ? In-Reply-To: <200808071534.29383.beni@brinckman.info> References: <200808071534.29383.beni@brinckman.info> Message-ID: <489B289B.2080102@mahan.org> beni presented these words - circa 8/7/08 8:34 AM-> > Hi, > > I am trying to find the equivalent for the old dos "copy file1+file2" command > ("copy myfile1.txt+myfile2.txt" copies the contents in myfile2.txt and > combines it with the contents in myfile1.txt). > But the standard freebsd "cp" doesn't seem to want the "+" between the two > files : > > bsdaddict# cp file1.avi+file2.avi > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file > cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... > target_directory > bsdaddict# > > So how to I append file2 at the end of file1 to get only one file ? To be more > specific : I would like to merge 2 avi files into one. How do I get > file1.avi+file2.avi into file3.avi ? try 'cat file1.avi file2.avi > file3.avi' Patrick From kris at FreeBSD.org Thu Aug 7 17:20:04 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 17:20:10 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <200808071626.m77GQ6vf033517@casselton.net> References: <200808071626.m77GQ6vf033517@casselton.net> Message-ID: <489B2EA9.6000208@FreeBSD.org> Mark Tinguely wrote: >> Date: Thu, 7 Aug 2008 09:47:45 -0400 >> From: mkhitrov@gmail.com >> To: freebsd-questions@freebsd.org >> Apparently Matlab tries to allocate a continuous chunk of memory, and >> we needed to upgrade to 64-bit hardware to give it access to more than >> 1GB of memory, which is about the most that it was able to get before. >> It's a lousy explanation, but I wasn't employed at this place when >> this diagnosis was made. > > Large contiguous allocations have to occur during or soon after booting because > of memory fragmentation. To the best of my knowledge matlab does not run in the kernel and use contigmalloc() ;-) User applications in UNIX use *virtual* memory. Kris From z.szalbot at lcwords.com Thu Aug 7 17:31:08 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Thu Aug 7 17:31:15 2008 Subject: newsyslog.conf / rotating logs based on size AND time In-Reply-To: References: <48980C83.9040009@lcwords.com> Message-ID: <541841aa2d88b60de1e03c59af6053c2@relay.lc-words.com> Hello, On Thu, 7 Aug 2008 13:12:45 -0400, Garance A Drosehn wrote: > I haven't looked closely at newsyslog in awhile. I started to > write up a reply to you, but in a quick test newsyslog does not > seem to be working the way that I expected it to work. It might > just be that I was too tired to think straight when I was testing. > I'll try to get back to this sometime later today. I appreciate it! I just thought I am unable to set up even a simple thing. If newsyslog cannot really be used like that, what else would people recommend? I just glanced at rotatelog but I had impression that it was also unable to use two conditions to rotate logs. However, I may just be plain wrong. Thanks! -- Zbigniew Szalbot www.LCWords.com From lev at nupfel.de Thu Aug 7 17:43:34 2008 From: lev at nupfel.de (Tobias Kirschstein) Date: Thu Aug 7 17:43:42 2008 Subject: Fw: wpi not working on 11b Message-ID: <20080807191239.1cb41686@lain> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 248 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080807/be2713ce/signature.pgp From mkhitrov at gmail.com Thu Aug 7 17:55:17 2008 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Thu Aug 7 17:55:23 2008 Subject: Linking amd64 binary with a 32-bit linux library Message-ID: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> My knowledge of compilers is insufficient to answer this question. I'm currently going through the process of installing a 32-bit version of Matlab onto FreeBSD 7.0 amd64. In fact, Matlab itself has been installed and seems to be running fine (albeit without a GUI due to some java-related issues). The next thing I need to do is to build a library (matlab.so) that will allow ruby scripts to access the Matlab Engine. This library must be usable by mod_ruby, which is compiled for FreeBSD from ports, but it must use the 32-bit linux libraries from Matlab to do the actual work. Is such compilation possible? The exact commands that I would use on a linux system (minus changes in paths) are the following: swig -ruby matlab.i cc -c -shared matlab_wrap.c -I/usr/local/lib/ruby/1.8/amd64-freebsd7/ -I/compat/linux/usr/local/matlab-7.0.4/extern/include -fPIC cc -shared matlab_wrap.o -L/compat/linux/usr/local/matlab-7.0.4/bin/glnx86 -lmat -leng -o matlab.so The matlab.i file is something that we wrote to use Matlab Engine in ruby, swig is used to create C code. On a linux system these three lines give me matlab.so library that can then be loaded from ruby via "require 'matlab'" command. On FreeBSD I get this for the third command: /usr/bin/ld: skipping incompatible /compat/linux/usr/local/matlab-7.0.4/bin/glnx86/libmat.so when searching for -lmat /usr/bin/ld: cannot find -lmat I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? - Max From kris at FreeBSD.org Thu Aug 7 18:03:57 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 18:04:04 2008 Subject: Linking amd64 binary with a 32-bit linux library In-Reply-To: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> Message-ID: <489B3909.6080702@FreeBSD.org> Maxim Khitrov wrote: > I take it that this happens because libmat.so is a linux binary, but > is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make a completely Linux binary, either by compiling on a Linux system, or by installing a Linux toolchain into a chroot and building there. Kris From mkhitrov at gmail.com Thu Aug 7 18:07:30 2008 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Thu Aug 7 18:07:37 2008 Subject: Linking amd64 binary with a 32-bit linux library In-Reply-To: <489B3909.6080702@FreeBSD.org> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> Message-ID: <26ddd1750808071107r311c8f16hdb2982bab7291ac2@mail.gmail.com> On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway wrote: > Maxim Khitrov wrote: > >> I take it that this happens because libmat.so is a linux binary, but >> is there any way to do what I'm after? > > You can't mix and match Linux and FreeBSD code in the same binary. You will > have to make a completely Linux binary, either by compiling on a Linux > system, or by installing a Linux toolchain into a chroot and building there. > > Kris > I thought so. In that case, if I need to have this library loaded by mod_ruby, and mod_ruby loaded by apache, I take it that I will have to recompile all of these as linux binaries if I want to interface with matlab? I guess I should have thought about this first. :-\ - Max From gad at FreeBSD.org Thu Aug 7 18:26:12 2008 From: gad at FreeBSD.org (Garance A Drosehn) Date: Thu Aug 7 18:26:18 2008 Subject: newsyslog.conf / rotating logs based on size AND time In-Reply-To: <48980C83.9040009@lcwords.com> References: <48980C83.9040009@lcwords.com> Message-ID: At 10:17 AM +0200 8/5/08, Zbigniew Szalbot wrote: > >My question is how can I make sure the logs are rotated when >they grow too large AND they are also rotated at a specified >point in time (start of a new month). > >I am reading man newsyslog.conf and it says: > >If the when field contains an asterisk (`*'), log rotation >will solely depend on the contents of the size field. > >To me it seems to say that when it is not an asterisk (i.e. >when I enter a date), the log rotation is not based solely on >size factor, which in other words should mean it is also based >on time? I haven't looked closely at newsyslog in awhile. I started to write up a reply to you, but in a quick test newsyslog does not seem to be working the way that I expected it to work. It might just be that I was too tired to think straight when I was testing. I'll try to get back to this sometime later today. -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA From kalin at el.net Thu Aug 7 18:33:39 2008 From: kalin at el.net (kalin m) Date: Thu Aug 7 18:33:47 2008 Subject: Remote host replies to SYN+FIN In-Reply-To: <489A8EA3.5030102@el.net> References: <489A8EA3.5030102@el.net> Message-ID: <489B3FFD.308@el.net> does anybody have any idea how to resolve this? thanks.. kalin m wrote: > hi all... > after setting up a pf rule set on one of newly installed freebsd 7 i > did a scan with nessus 3 on that machine > > the result i got was like this one: > http://www.nessus.org/plugins/index.php?view=single&id=11618 > how do 'fix' it using pf?... > > > > thanks... > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From freebsd at optiksecurite.com Thu Aug 7 18:47:55 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Thu Aug 7 18:48:10 2008 Subject: Remote host replies to SYN+FIN In-Reply-To: <489B3FFD.308@el.net> References: <489A8EA3.5030102@el.net> <489B3FFD.308@el.net> Message-ID: <489B431A.7080209@optiksecurite.com> kalin m a ?crit : > > does anybody have any idea how to resolve this? > > thanks.. > > > kalin m wrote: >> hi all... >> after setting up a pf rule set on one of newly installed freebsd 7 i >> did a scan with nessus 3 on that machine >> >> the result i got was like this one: >> http://www.nessus.org/plugins/index.php?view=single&id=11618 how do >> 'fix' it using pf?... >> >> >> >> thanks... >> >> Hi, I think that you should look at the 'scrub' directive in pf.conf. I think that a 'scrub in all' should block that kind of malformed packets. Martin From carpetsmoker at rwxrwxrwx.net Thu Aug 7 18:54:23 2008 From: carpetsmoker at rwxrwxrwx.net (Martin Tournoij) Date: Thu Aug 7 18:54:30 2008 Subject: Add CONFIGURE_ARGS option for port in make.conf In-Reply-To: <489AAC87.8040200@adminlife.net> References: <489AAC87.8040200@adminlife.net> Message-ID: <20080807185429.GA27898@rwxrwxrwx.net> On Thu, Aug 07, 2008 at 10:04:23AM +0200, Matthias Kellermann wrote: > Hi list, > > I want to compile a port with an option that is not controllable through > the FreeBSD Makefile or with make config. > > The specific port is lang/php4 and the option I want to add is > --with-mime-magic (I know, php4 is old and not supported after 8.8.08 > and --with-mime-magic is deprecated, but thats another story...). > > So I added an option to make.conf(5): > > .if ${.CURDIR:M*/lang/php4} > CONFIGURE_ARGS+=--with-mime-magic > .endif > > Unfortonately, this does not work. > > When I add this option in the Makefile it works. The relevant part looks > like this: > > CONFIGURE_ARGS= --enable-versioning \ > --with-mime-magic \ > --enable-memory-limit \ > --with-layout=GNU \ > --with-config-file-scan-dir=${PREFIX}/etc/php \ > --disable-all \ > --program-prefix="" > > Any ideas whats wrong here? > > Regards, > Matthias /etc/make.conf is read first, from make(1): First of all, the initial list of specifications will be read from the system makefile, sys.mk, unless inhibited with the -r option. The standard sys.mk as shipped with FreeBSD also handles make.conf(5) So if the port uses VAR= instead of VAR+= (Or VAR?=) then settings in /etc/make.conf will have no effect. AFAIK there is no pretty workaround, you will need to edit the Makefile. For a more structual solution, ports should use CONFIGURE_ARGS+= instead of CONFIGURE_ARGS, or a a new variable can be added, where the user can set custom configure arguments (i.e. LOCAL_CONFIGURE_ARGS). -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org QOTD: Do not overtax your powers. From cswiger at mac.com Thu Aug 7 18:57:41 2008 From: cswiger at mac.com (Chuck Swiger) Date: Thu Aug 7 18:57:49 2008 Subject: Remote host replies to SYN+FIN In-Reply-To: <489B3FFD.308@el.net> References: <489A8EA3.5030102@el.net> <489B3FFD.308@el.net> Message-ID: <0C465144-E873-4D87-B22E-4C5F6CB936B2@mac.com> On Aug 7, 2008, at 11:33 AM, kalin m wrote: > does anybody have any idea how to resolve this? > > thanks.. > > kalin m wrote: >> hi all... >> after setting up a pf rule set on one of newly installed freebsd 7 >> i did a scan with nessus 3 on that machine >> >> the result i got was like this one: >> http://www.nessus.org/plugins/index.php?view=single&id=11618 how do >> 'fix' it using pf?... Add a pf rule like to pf.conf: block in proto tcp from any flags SF/SF ...? -- -Chuck From kris at FreeBSD.org Thu Aug 7 19:07:04 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 19:07:11 2008 Subject: Linking amd64 binary with a 32-bit linux library In-Reply-To: <26ddd1750808071107r311c8f16hdb2982bab7291ac2@mail.gmail.com> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> <26ddd1750808071107r311c8f16hdb2982bab7291ac2@mail.gmail.com> Message-ID: <489B47D5.9070901@FreeBSD.org> Maxim Khitrov wrote: > On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway wrote: >> Maxim Khitrov wrote: >> >>> I take it that this happens because libmat.so is a linux binary, but >>> is there any way to do what I'm after? >> You can't mix and match Linux and FreeBSD code in the same binary. You will >> have to make a completely Linux binary, either by compiling on a Linux >> system, or by installing a Linux toolchain into a chroot and building there. >> >> Kris >> > > I thought so. In that case, if I need to have this library loaded by > mod_ruby, and mod_ruby loaded by apache, I take it that I will have to > recompile all of these as linux binaries if I want to interface with > matlab? I guess I should have thought about this first. :-\ If you have to run them all in the same process, then yes. Depending on what you are trying to achieve you may be able to use another form of IPC to interface them (e.g. socket, shared memory, etc). Kris From af300wsm at gmail.com Thu Aug 7 19:26:01 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Thu Aug 7 19:26:09 2008 Subject: having problems with dhcpd and bootp clients Message-ID: <340a29540808071225g72d35104m98730bbc912af587@mail.gmail.com> Hi, dhcpd starts so I know that there are no problems with my configuration file (at least syntax, I suppose that a semantic error may still be present). Running dhcpd with the -d option shows this string being placed on stderr: BOOTREQUEST from via fxp0: BOOTP from dynamic client and no dynamic leases Now, what's confusing is that the MAC for this client is one in which I've specifically called out in /usr/local/etc/dhcpd.conf. This is a work machine so I can't share the config file with you (sorry I know that will make it difficult to help). This DHCP server can't hand out any addresses dynamically so I've prevented that from happening. It's only purpose is to hand out a small block of IP addresses that my team uses within a much larger subnet. None of these clients are DHCP clients, they are only BOOTP. These clients aren't actually trying to boot over the network they're just getting an address. (Yes, this probably isn't the best way, or the correct way, of doing this but I didn't set it up but I must use it). So, the long and the short of it is that our older BOOTP server has died and I'm trying to get something in place to keep us functioning. >From the manual page for dhcpd(8) subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.250; } If a subnet will only be provided with BOOTP service and no dynamic address assignment, the range clause can be left out entirely, but the subnet statement must appear. So, I have: subnet mysubnet netmask thenetmask { } Then, all of the host entries are: host host1 { option host-name "host1"; hardware ethernet ; fixed-address ; } I noticed that the manual page shows this for a bootp client: host haagen { hardware ethernet 08:00:2b:4c:59:23; fixed-address 239.252.197.9; filename "/tftpboot/haagen.boot"; } The verbiage used in the paragraph right above this example, in the man page, would lead one to believe that the "filename" option used in the host declarator isn't necessary, but never the less it is different than what I have and I wanted to ask. I haven't been able to track it down as yet but I'm thinking that my problem probably isn't with my host declarator sections. It probably has something to do with an option to the configuration that I haven't found yet. I'm going to keep looking, but it was time to ask for some help too. This is all running on a FreeBSD 6.2p11 box. Any help is greatly appreciated, Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From pieter at degoeje.nl Thu Aug 7 19:31:13 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Thu Aug 7 19:31:21 2008 Subject: 64-bit Linux Binary Compatibility (for Matlab) In-Reply-To: <20080807103932.1820047f@verizon.net> References: <26ddd1750808070647yf0a9205u514c6ba87fbf97a5@mail.gmail.com> <20080807103932.1820047f@verizon.net> Message-ID: <200808072130.54048.pieter@degoeje.nl> On Thursday 07 August 2008, David Gurvich wrote: > If you are looking for batch processing, octave may be an option. The > objective was to be as compatible with Matlab as possible. There > wasn't any gui available when I last looked at this program. There's math/koctave, which is a GUI for some definition of G. > > As a side note, I found the following from the Matlab site hilarious : > FreeBSD distributions of Linux are not compatible with MATLAB 6.0 (R12). > > Makes me wonder how good the Linux version of Matlab is. Indeed :-) -- Pieter de Goeje From ml at netfence.it Thu Aug 7 19:31:23 2008 From: ml at netfence.it (Andrea Venturoli) Date: Thu Aug 7 19:31:29 2008 Subject: Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library) In-Reply-To: <489B3909.6080702@FreeBSD.org> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> Message-ID: <489B4D7F.1040406@netfence.it> Kris Kennaway ha scritto: > You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a closed source 32-bit library which I'd like to link to on a 64-bit system... bye & Thanks av. From simon at optinet.com Thu Aug 7 19:43:45 2008 From: simon at optinet.com (Simon) Date: Thu Aug 7 19:43:51 2008 Subject: Disk quotas out of sync Message-ID: <20080807194344.9C5DF8FC18@mx1.freebsd.org> Hello Folks, Ever since I went from 6.x to 7.x I have started experiencing disk quotas getting out of sync, way out of sync. For example, a user with 160GB quota suddenly shows usage of only 120GB This forces me to run quotacheck -av often. Was something changed regarding quotas in 7.x? Nobody else noticed this issue? I have this issue across multiple, different hardware, servers running 7.x Thank you for any insight and help in advance! PS: please CC me -Simon From kris at FreeBSD.org Thu Aug 7 19:46:07 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Aug 7 19:46:14 2008 Subject: Mixing 64 and 32-bit code In-Reply-To: <489B4D7F.1040406@netfence.it> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> <489B4D7F.1040406@netfence.it> Message-ID: <489B50FC.8090009@FreeBSD.org> Andrea Venturoli wrote: > Kris Kennaway ha scritto: > >> You can't mix and match Linux and FreeBSD code in the same binary. > > Sorry for stepping in, but I have a similar question I asked in the past > and didn't get any answer: > is it possible to mix and match 32-bit and 64-bit FreeBSD code? > > I have a closed source 32-bit library which I'd like to link to on a > 64-bit system... Again, no, for basically the same reasons. The ABI is per-process. Kris From kalin at el.net Thu Aug 7 19:54:32 2008 From: kalin at el.net (kalin m) Date: Thu Aug 7 19:54:39 2008 Subject: Remote host replies to SYN+FIN In-Reply-To: <489B431A.7080209@optiksecurite.com> References: <489A8EA3.5030102@el.net> <489B3FFD.308@el.net> <489B431A.7080209@optiksecurite.com> Message-ID: <489B52F6.6020909@el.net> i have that in.... i still get that message from nessus... maybe synproxy or something like S/SAF?! FreeBSD wrote: > kalin m a ?crit : >> >> does anybody have any idea how to resolve this? >> >> thanks.. >> >> >> kalin m wrote: >>> hi all... >>> after setting up a pf rule set on one of newly installed freebsd 7 i >>> did a scan with nessus 3 on that machine >>> >>> the result i got was like this one: >>> http://www.nessus.org/plugins/index.php?view=single&id=11618 how do >>> 'fix' it using pf?... >>> >>> >>> >>> thanks... >>> >>> > Hi, > > I think that you should look at the 'scrub' directive in pf.conf. I > think that a 'scrub in all' should block that kind of malformed packets. > > Martin > From kalin at el.net Thu Aug 7 19:55:27 2008 From: kalin at el.net (kalin m) Date: Thu Aug 7 19:55:34 2008 Subject: Remote host replies to SYN+FIN In-Reply-To: <0C465144-E873-4D87-B22E-4C5F6CB936B2@mac.com> References: <489A8EA3.5030102@el.net> <489B3FFD.308@el.net> <0C465144-E873-4D87-B22E-4C5F6CB936B2@mac.com> Message-ID: <489B532D.30106@el.net> thanks... or something like it... i'll try... Chuck Swiger wrote: > On Aug 7, 2008, at 11:33 AM, kalin m wrote: >> does anybody have any idea how to resolve this? >> >> thanks.. >> >> kalin m wrote: >>> hi all... >>> after setting up a pf rule set on one of newly installed freebsd 7 i >>> did a scan with nessus 3 on that machine >>> >>> the result i got was like this one: >>> http://www.nessus.org/plugins/index.php?view=single&id=11618 how do >>> 'fix' it using pf?... > > Add a pf rule like to pf.conf: > > block in proto tcp from any flags SF/SF > > ...? > From david.gurvich at verizon.net Thu Aug 7 19:57:47 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Thu Aug 7 19:57:53 2008 Subject: Resizing partitions and slices Message-ID: <20080807155735.326b3f48@verizon.net> I have a hard drive with one slice and 3 partitions. Only two partitions are actually being used. I would like to delete the 3rd partition, resize the slice, and create a second slice the size of the deleted partition. Is there a safe way, one that preserves the data on the other 2 partitions, that this can be done? From rfg at tristatelogic.com Thu Aug 7 20:09:00 2008 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Thu Aug 7 20:09:07 2008 Subject: Questions about healthd and mprime Message-ID: <32214.1218139739@tristatelogic.com> I recently got close to burning up my shiny new Athlon64 processor. (Wire got tangled up in the heatsink fan. Thankfully, I caught it in time, before the processor was fully cooked.) On and off, I was watching the BIOS system hardware monitor screen at the time, which is how I managed to catch it. (Processor went to 101c before I did.) So anyway, now all of a sudden, I'm interested in the topic of what exactly would happen to my server if I'm out of town for a few days and the fan on the heatsink fails. Obviously, I would like it if my processor _didn't_ just sit there and bake itself to death. Researching this issue, I learned that on Athlons, the CPU will shut itself down, but _only_ after it reaches 125c! Yikes! That's like above the boiling point of water! (As I understand it, this specific processor, LE-1640B, should be kept under 65c.) So now I set about looking for something that will do a clean shutdown of FreeBSD sometime well before that, say at 100c. I pretty quickly found healthd, which looks like it ought to be helpful... although it obviously will need to be wrapped inside of some sort of script that will initiate shutdown. Problem is: documentation of healthd's output is almost non-existant. OK, so when it prints those three temperature numbers, which one stands for what? And if, as I surmize, the last (and highest) one is CPU temp, then why doesn't it seem to change at all? I'm guessing that I just need to create some artificial load, yes? OK, so _now_ I've looked around and found out that a lot of folks these days heat up their CPUs by running the "mprime" thingy. Swell. But I don't know diddly poo about this program. So can somebody please tell me the set of "best" command line options for the thing if your only goal is to stress your CPU? Thanks in advance. Regards, rfg P.S. Please reply on-list. My spam filters are re-diculous, and you'll probably never get past them if you send to me direct. Thanks for your understanding. From cswiger at mac.com Thu Aug 7 20:13:26 2008 From: cswiger at mac.com (Chuck Swiger) Date: Thu Aug 7 20:13:32 2008 Subject: Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library) In-Reply-To: <489B4D7F.1040406@netfence.it> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> <489B4D7F.1040406@netfence.it> Message-ID: On Aug 7, 2008, at 12:31 PM, Andrea Venturoli wrote: >> You can't mix and match Linux and FreeBSD code in the same binary. > > Sorry for stepping in, but I have a similar question I asked in the > past and didn't get any answer: > is it possible to mix and match 32-bit and 64-bit FreeBSD code? > > I have a closed source 32-bit library which I'd like to link to on a > 64-bit system... The simplest answer is that it won't work-- the syscall interface and function argument/return-value sizes are going to be different between 32-bit and 64-bit code. If you have 32-bit code compiled with -fPIC which doesn't make any system calls, and is using all C99 datatypes (rather than native datatypes like "int" or "long" which are going to change in size under an ILP64 environment), well, that might be linkable into a 64-bit binary, but even so I wouldn't count on it to work without a translation shim. [1] Regards, -- -Chuck [1]: You can look up how thunking between Win16 and Win32 code worked here: http://en.wikipedia.org/wiki/Thunk#Thunk_as_compatibility_mapping ...but the same idea could be applied to generic 32-bit & 64-bit ELF code. (It's really an evil thing to try to do, however.) From josh.carroll at gmail.com Thu Aug 7 20:22:36 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Thu Aug 7 20:22:44 2008 Subject: Questions about healthd and mprime In-Reply-To: <32214.1218139739@tristatelogic.com> References: <32214.1218139739@tristatelogic.com> Message-ID: <8cb6106e0808071322o17271fe9oefe1af2bf54fe931@mail.gmail.com> > OK, so _now_ I've looked around and found out that a lot of folks > these days heat up their CPUs by running the "mprime" thingy. Swell. > But I don't know diddly poo about this program. So can somebody please > tell me the set of "best" command line options for the thing if your > only goal is to stress your CPU? > > Thanks in advance. If you just want to heat up your CPU, this should suffice: yes > /dev/null & Once for each CPU/core. mprime is useful to stress test the cores, looking for a situation where the core fails. This can cause odd system problems, and not necessarily a crash or lock up. But in terms of just heating the cores up, "yes" should do the trick. Josh From dnelson at allantgroup.com Thu Aug 7 20:28:31 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu Aug 7 20:28:38 2008 Subject: Linking amd64 binary with a 32-bit linux library In-Reply-To: <26ddd1750808071107r311c8f16hdb2982bab7291ac2@mail.gmail.com> References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> <26ddd1750808071107r311c8f16hdb2982bab7291ac2@mail.gmail.com> Message-ID: <20080807202827.GA68181@dan.emsphone.com> In the last episode (Aug 07), Maxim Khitrov said: > On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway wrote: > > Maxim Khitrov wrote: > >> I take it that this happens because libmat.so is a linux binary, > >> but is there any way to do what I'm after? > > > > You can't mix and match Linux and FreeBSD code in the same binary. > > You will have to make a completely Linux binary, either by > > compiling on a Linux system, or by installing a Linux toolchain > > into a chroot and building there. > > I thought so. In that case, if I need to have this library loaded by > mod_ruby, and mod_ruby loaded by apache, I take it that I will have > to recompile all of these as linux binaries if I want to interface > with matlab? I guess I should have thought about this first. :-\ You'll have to build a Linux ruby, but you can use FastCGI (or an equivalent system) to run your CGIs in a separate process, so you can still run a native apache. -- Dan Nelson dnelson@allantgroup.com From pieter at degoeje.nl Thu Aug 7 20:38:14 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Thu Aug 7 20:38:22 2008 Subject: Questions about healthd and mprime In-Reply-To: <32214.1218139739@tristatelogic.com> References: <32214.1218139739@tristatelogic.com> Message-ID: <200808072237.52918.pieter@degoeje.nl> On Thursday 07 August 2008, Ronald F. Guilmette wrote: > Problem is: documentation of healthd's output is almost non-existant. > OK, so when it prints those three temperature numbers, which one stands > for what? And if, as I surmize, the last (and highest) one is CPU > temp, then why doesn't it seem to change at all? I'm guessing that > I just need to create some artificial load, yes? Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. Together with rrdtool it makes a nice graph: http://lux.student.utwente.nl/~pyotr/stats/graphs/temperature-all-168.png For Intel Core CPU's there's coretemp(4). > > OK, so _now_ I've looked around and found out that a lot of folks > these days heat up their CPUs by running the "mprime" thingy. Swell. > But I don't know diddly poo about this program. So can somebody please > tell me the set of "best" command line options for the thing if your > only goal is to stress your CPU? I don't know about mprime, but running "make -j4 buildworld" in /usr/src will make your CPU sweat. > > Thanks in advance. > > > Regards, > rfg -- Pieter de Goeje From bh at izb.knu.ac.kr Thu Aug 7 20:58:12 2008 From: bh at izb.knu.ac.kr (Byung-Hee HWANG) Date: Thu Aug 7 20:58:19 2008 Subject: Switching to IPv6? In-Reply-To: <10549b080808061005ub165e2al54feeea90474bef6@mail.gmail.com> References: <10549b080808061005ub165e2al54feeea90474bef6@mail.gmail.com> Message-ID: <1218142636.4076.9.camel@dj.izb.knu.ac.kr> On Wed, 2008-08-06 at 13:05 -0400, FreeBSD Questions wrote: > I've been considering switching my home network to IPv6. I have a > computer acting as a firewall sitting between my ISP and my three LANs > at home. Of course, my DSL provider gives me an IPv4 address, and > everything I want to access on the Internet is on an IPv4 network. > The whole point is to learn to set up IPv6, to play with IPv6, and to > become familiar with it, so when the day comes that the world actually > uses IPv6 (ha ha) I'm ready, armed with knowledge. > > But the whole idea will go to pot if my firewall can't let my IPv6 > networks access my IPv4 Internet connection. Does FreeBSD 7 provide > such facilities as to allow access to an IPv4 network from an IPv6 > network? What will my Vista, XP, and FreeBSD clients do if they only > have an IPv6 address and I try to go to google.com or freebsd.org > which are on IPv4 networks? i would like to recommend that you visit at http://ipv6.he.net/ ;; that's simple if you wish to get both ipv6 and ipv4 ;; byunghee -- "Old friend, I have no such powers. If I did I would be more merciful than God, believe me." -- Vito Corleone, "Chapter 1", page 47 From freebsd at edvax.de Thu Aug 7 21:51:43 2008 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 7 21:51:51 2008 Subject: Add CONFIGURE_ARGS option for port in make.conf In-Reply-To: <489B00FE.4020605@adminlife.net> References: <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.> <489B00FE.4020605@adminlife.net> Message-ID: <20080807235140.524771ea.freebsd@edvax.de> On Thu, 07 Aug 2008 16:04:46 +0200, Matthias Kellermann wrote: > Thanks, but I thought CONFIGURE_ARGS+= should add this option and not > overwrite the options from the Makefile. Therefore the plus-sign. As it has been mentioned before, /etc/make.conf is read first with your +=, setting CONFIGURE_ARGS to only this one value. Then, Makefile of the port is read, and it has a = in it, not a +=, so CONFIGURE_ARGS is overwritten and your setting is gone. Hint: Maybe the Makefile.local mechanism of the ports is still available. Then, you would add your += directive in a file called Makefile.local in the port's directory. As far is I know, Makefile.local is read after Makefile, so you can profit from settings done in the first mentioned place. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From agus.262 at gmail.com Thu Aug 7 21:59:08 2008 From: agus.262 at gmail.com (Agus) Date: Thu Aug 7 21:59:15 2008 Subject: Weird Processes on my server from user.... Message-ID: Hi guys, Checking my server i found this processess....The user doesnt appear doing w..so its like if he was doing an scp or something like that...though in this case its sftp... But i read the man and doesnt have much information..so i dont understand what is going in the background with this proccesess or how can i check it... the user is deamon and is a registered user... here is the pstree output: | |-+= 74888 root sshd: deamon [priv] (sshd) | | \-+- 74891 deamon sshd: deamon@notty (sshd) | | \-+= 74892 deamon csh -c /usr/libexec/sftp-server | | \--- 74893 deamon /usr/libexec/sftp-server | |-+= 75613 root sshd: deamon [priv] (sshd) | | \-+- 75616 deamon sshd: deamon@notty (sshd) | | \-+= 75617 deamon csh -c /usr/libexec/sftp-server | | \--- 75618 deamon /usr/libexec/sftp-server | \-+= 78566 root sshd: deamon [priv] (sshd) | \-+- 78569 deamon sshd: deamon@notty (sshd) | \--= 78570 deamon -csh (csh) Thanks and cheers, Agustin From thomas at zaph.org Thu Aug 7 22:19:13 2008 From: thomas at zaph.org (N.J. Thomas) Date: Thu Aug 7 22:19:20 2008 Subject: Disk errors on installing FreeBSD 7.0 In-Reply-To: <489AF8A7.1010400@overbo.no> References: <489AF8A7.1010400@overbo.no> Message-ID: <20080807220127.GD43268@zaph.org> * "Snorre D. ?verb?" [2008-08-07 15:29:11+0000]: > When I boot up with the installation DVD these error messages appear > on the screen. > > ad1: FAILURE - READ_DMA status=51 error=84 LBA=0055347 > ad0: FAILURE - READ_DMA status=51 error=84 LBA=0 > etc I got the same exact errors trying to install 7.0-RELEASE on two different Dell boxes. One was 4 years old, the other was brand new (3 months ago). Never was able to fix the problem. For the older one, I plugged in an external DVD drive and installed via that. For the other one, I installed via a mini-install disk, and then did a minimal network install. For the record, they both had SATA drives and the disks worked (and still work) fine after the OS was installed. It was just copying the base system off the CD that was causing errors. Thomas From shinjii at maydias.com Thu Aug 7 22:21:46 2008 From: shinjii at maydias.com (Warren Liddell) Date: Thu Aug 7 22:21:53 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> Message-ID: <200808080821.35476.shinjii@maydias.com> On Thursday 07 August 2008 23:18:34 Marc Coyles wrote: > >If i have read the man pages correct the command im using being ... > > > ># freebsd-update upgrade -r 7.0-CURRENT > > # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade > > followed eventually by... > > # sh freebsd-update.sh -f freebsd-update.conf install > > I have just upgraded a 6.2 box to 7.0 Release following the instructions > at > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade > .html to the letter without issue (other than bind needing to be > reinstalled from ports afterwards) > > L8rs! > Marci # freebsd-update -r 7.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade freebsd-update.sh: Can't open freebsd-update.sh: No such file or directory I then did a search for the sh file .... # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade File does not exist or is not readable: freebsd-update.conf freebsd-update is part of base system so there was no need to install it via the port etc .. or is there ? From rfg at tristatelogic.com Thu Aug 7 22:34:28 2008 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Thu Aug 7 22:34:34 2008 Subject: Questions about healthd and mprime In-Reply-To: Your message of Thu, 07 Aug 2008 22:37:52 +0200. <200808072237.52918.pieter@degoeje.nl> Message-ID: <35145.1218148465@tristatelogic.com> In message <200808072237.52918.pieter@degoeje.nl>, you wrote: >On Thursday 07 August 2008, Ronald F. Guilmette wrote: >> Problem is: documentation of healthd's output is almost non-existant. >> OK, so when it prints those three temperature numbers, which one stands >> for what? And if, as I surmize, the last (and highest) one is CPU >> temp, then why doesn't it seem to change at all? I'm guessing that >> I just need to create some artificial load, yes? > >Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. Ummmm... On the system I'm most interested in at the moment, which has only _one_ athlon64 _single core_ processor in the whole system, k8temp -n prints this: 19 10 So, this yields two problems: 1) Which number is the Right One? 2) Assming those numbers are given in C, both of them appear to be impossible numbers. My motherboard BIOS is saying that the CPU is running at around 39-40c. So even if the Right Answer from k8temp is the bigger number (19) that's _still_ below even the room temperature, I think. In short, it looks like useless non- information. Do you agree? (By the way, I'm in California, and it is summer here. It _ain't_ cold where I am. Room temp right now is about 78F.) >Together with rrdtool it makes a nice graph: >http://lux.student.utwente.nl/~pyotr/stats/graphs/temperature-all-168.png Thanks, but I don't need fancy graphs. >> OK, so _now_ I've looked around and found out that a lot of folks >> these days heat up their CPUs by running the "mprime" thingy. Swell. >> But I don't know diddly poo about this program. So can somebody please >> tell me the set of "best" command line options for the thing if your >> only goal is to stress your CPU? > >I don't know about mprime, but running "make -j4 buildworld" in /usr/src will >make your CPU sweat. I was hoping to find something that didn't touch disk (nor use up all of my remaining space in the /usr partition). I think I'll wait and try to learn more about mprime. But thanks. From nightrecon at verizon.net Thu Aug 7 22:38:59 2008 From: nightrecon at verizon.net (Michael Powell) Date: Thu Aug 7 22:39:16 2008 Subject: Remote host replies to SYN+FIN References: <489A8EA3.5030102@el.net> <489B3FFD.308@el.net> Message-ID: kalin m wrote: > > does anybody have any idea how to resolve this? > [snip] Not without a lot more information. But I may be able to fathom some wild guess, generically speaking. Only allow connections to set up like this: pass out quick on $ExtIF inet proto tcp all flags S/SA keep state pass in quick on $ExtIF inet proto tcp from any to any port 48080 flags S/SA keep state Notice I included the "keep state" for illustrative purposes. With the latest version of pf this is now the default condition and including it is no longer required. Then either block the SYN+FIN before they reach these rules, or simply allow it to fall through to a generic dumping rule like this: block in quick log on $ExtIF all This way the SYN+FIN doesn't match the rules for legitimate traffic and "falls through" to default block all "non-legitimate" traffic. YMMV - Mike From kline at thought.org Thu Aug 7 22:42:32 2008 From: kline at thought.org (Gary Kline) Date: Thu Aug 7 22:42:38 2008 Subject: apple mac laptop. Message-ID: <20080807224226.GA45445@thought.org> People, My daughter wants a laptop; the only brand [ AFAIC ] is Apple. amazon.com seems to have a fair price. Her school requires Word, for some reason. {maybe because we're in X-Bill country:} Anyway, if anybody onlist knows of a better place to buy an online Mac laptop, please drop a line. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From sahil at tandon.net Thu Aug 7 22:57:32 2008 From: sahil at tandon.net (Sahil Tandon) Date: Thu Aug 7 22:57:39 2008 Subject: apple mac laptop. In-Reply-To: <20080807224226.GA45445@thought.org> References: <20080807224226.GA45445@thought.org> Message-ID: <20080807225724.GA53233@shepherd> Gary Kline wrote: > My daughter wants a laptop; the only brand [ AFAIC ] is Apple. > amazon.com seems to have a fair price. Her school requires Word, for > some reason. {maybe because we're in X-Bill country:} > > Anyway, if anybody onlist knows of a better place to buy an online Mac > laptop, please drop a line. You are asking on the wrong mailing list; see http://www.apple.com. -- Sahil Tandon From cswiger at mac.com Thu Aug 7 23:15:30 2008 From: cswiger at mac.com (Chuck Swiger) Date: Thu Aug 7 23:15:37 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <20080807224226.GA45445@thought.org> References: <20080807224226.GA45445@thought.org> Message-ID: <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> On Aug 7, 2008, at 3:42 PM, Gary Kline wrote: > My daughter wants a laptop; the only brand [ AFAIC ] is Apple. > amazon.com seems to have a fair price. Her school requires Word, for > some reason. {maybe because we're in X-Bill country:} > > Anyway, if anybody onlist knows of a better place to buy an online Mac > laptop, please drop a line. Well, students, teachers, and so forth can get about a 10% discount via the Apple Education stores: http://store.apple.com/us/browse/home/education_routing/ (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is right that the question is off-topic for these lists. :-) Regards, -- -Chuck PS: #include From josh.carroll at gmail.com Thu Aug 7 23:23:45 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Thu Aug 7 23:23:52 2008 Subject: Questions about healthd and mprime In-Reply-To: <35145.1218148465@tristatelogic.com> References: <200808072237.52918.pieter@degoeje.nl> <35145.1218148465@tristatelogic.com> Message-ID: <8cb6106e0808071623u7d1a6127x1b2f6ce2f472d233@mail.gmail.com> >>Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. > > Ummmm... On the system I'm most interested in at the moment, which has > only _one_ athlon64 _single core_ processor in the whole system, > k8temp -n prints this: > > 19 > 10 Well it may not work properly on your particular hardware. You can report this to the maintainer and/or file a PR. You can also try one of: /usr/ports/sysutils/mbmon /usr/ports/sysutils/consolehm (and use chm -I from this) > I was hoping to find something that didn't touch disk (nor use up all of > my remaining space in the /usr partition). I think I'll wait and try to > learn more about mprime. But thanks. Then what is wrong with my suggestion of yes > /dev/null? It does not touch the disk at all (other than to read the yes binary into memory). It will sufficiently generate a load on the CPU to increase the temperature. You might get the CPU 1-2C hotter with mprime, but I doubt 1 C is going to make or break you. Also, if you are running the amd64 release, the mprime port does not work for the amd64 arch. I've been able to compile it manually, but the port will not work on the amd64 arch. Josh From lolrodney at gmail.com Thu Aug 7 23:46:46 2008 From: lolrodney at gmail.com (RODNEY ROGER) Date: Thu Aug 7 23:46:53 2008 Subject: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0 Message-ID: <4938c7f50808071619p56ccaf6dice06b62e26a85e3a@mail.gmail.com> Hi, I'm running FreeBSD 7.0 and have been having trouble getting a connection to my wireless access point with the ral driver. This is the contents of my /etc/rc.conf: ifconfig_ral0="ssid myssid wepmode on weptxkey 1 wepkey bssid DHCP" When I run 'dhclient ral0' to get the network parameters, it seems to be sending out several DHCPDISCOVER messages with no offers. I'll rarely get an offer and send out the request. I have txpower set to 50 (highest value accepted by this driver I guess) and this is what a typical scan shows; # ifconfig ral0 scan SSID BSSID CHAN RATE S:N INT CAPS 11 54M -91:-95 100EP WME # ifconfig ral0 ral0: flags=8843 metric 0 mtu 1500 ether media: IEEE802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status:associated ssid channel 11 (2462 Mhz 11g) bssid <...> authmode OPEN privacy ON deftxkey 1 wepkey 1:<...> bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g roam:rate11g 5 protmode CTS FWIW, I have this same wireless card on several of my windows machines and it seems to be working flawlessly :( From ben at electricembers.net Fri Aug 8 00:09:28 2008 From: ben at electricembers.net (ben@electricembers.net) Date: Fri Aug 8 00:09:34 2008 Subject: Questions about coretemp In-Reply-To: <8cb6106e0808071623u7d1a6127x1b2f6ce2f472d233@mail.gmail.com> References: <200808072237.52918.pieter@degoeje.nl> <35145.1218148465@tristatelogic.com> <8cb6106e0808071623u7d1a6127x1b2f6ce2f472d233@mail.gmail.com> Message-ID: the "Questions about healthd and mprime" thread lead me to try recompile and install a freebsd 7.0 kernel with "device coretemp" on reboot i thought i would find a sysctl variable "dev.cpu.%d.temperature" but i don't. i don't even see anything in dmesg about "coretemp" that is, exept for when i added "coretemp_load="YES"" to loader.conf (as per the coretemp manpage) and then i got this in dmesg: module_register: module cpu/coretemp already exists! Module cpu/coretemp failed to register: 17 has anyone had success using this? i wonder if there is a dependency i'm not building into my kernel. . . this system has dual xeons. ben From noc at hdk5.net Fri Aug 8 00:17:37 2008 From: noc at hdk5.net (Al Plant) Date: Fri Aug 8 00:17:46 2008 Subject: Disk errors on installing FreeBSD 7.0 In-Reply-To: <20080807220127.GD43268@zaph.org> References: <489AF8A7.1010400@overbo.no> <20080807220127.GD43268@zaph.org> Message-ID: <489B90A1.5030603@hdk5.net> N.J. Thomas wrote: > * "Snorre D. ?verb?" [2008-08-07 15:29:11+0000]: >> When I boot up with the installation DVD these error messages appear >> on the screen. >> >> ad1: FAILURE - READ_DMA status=51 error=84 LBA=0055347 >> ad0: FAILURE - READ_DMA status=51 error=84 LBA=0 >> etc > > I got the same exact errors trying to install 7.0-RELEASE on two > different Dell boxes. One was 4 years old, the other was brand new (3 > months ago). > > Never was able to fix the problem. For the older one, I plugged in an > external DVD drive and installed via that. For the other one, I > installed via a mini-install disk, and then did a minimal network > install. > > For the record, they both had SATA drives and the disks worked (and > still work) fine after the OS was installed. It was just copying the > base system off the CD that was causing errors. > > Thomas > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ****************************************888 Aloha, I am getting the same errors as you guys with an intermittient BIG_read one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. This is on a no name box with a bio board and 1100 cpu. I've had this on other boxes too and load IDE drives on a box that works with them and then put them in the box with errors and they work just fine. Every thing gets recognized normally at install time, but the size of the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. Dont know if this has anything to do with it, except if you change the size in installer it wont load anything. Maybe one of the top level gurus on the list can help. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From freebsd at meijome.net Fri Aug 8 01:02:35 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Aug 8 01:02:42 2008 Subject: Cluster Filesystem In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> References: <20080807092636.J28450@gwdu60.gwdg.de> <20080807210345.121a04a1@ayiin> <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> Message-ID: <20080808110230.5a6db8e8@ayiin> On Thu, 7 Aug 2008 13:10:52 +0200 "Rudi Kramer - MWEB" wrote: > Don't forget about the HAMMER file system which Matthew Dillon over at > DragonFly BSD is busy working on. It's not 100% finished but hopefully > soon and it should be ported to FreeBSD. It looks to be pretty good > (Exabytes of space?!!!?) > > More info: > > Interview with Matthew: > http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk154.mp3 > Website: http://www.dragonflybsd.org/hammer/ > Wiki: http://en.wikipedia.org/wiki/HAMMER interesting. it mentions mirroring...but clustering? as in, having a unique ( or several) namespaces that, when addressed, allow you to access any of the nodes that provide storage? Gluster seems more interesting (to me :) )... how well it works, and whether on FBSD, i haven't looked into yet. > We have setup hadoop on FreeBSD, bit of mission cause of java and I'm > not sure about performance but it can be done :) > > http://hadoop.apache.org/core/ yeah, i been skimming over hadoop and it seems too much sometimes. I don't particularly like to have to deal with a RDBMs as well as all the other stuff... SUN's QFS (i think it's called that) , Luster , MogileFS (perl?) and others also rely on DBs... B _________________________ {Beto|Norberto|Numard} Meijome Bug: a feature that can't be turned off. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd at meijome.net Fri Aug 8 01:04:23 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Aug 8 01:04:29 2008 Subject: Cluster Filesystem In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> References: <20080807092636.J28450@gwdu60.gwdg.de> <20080807210345.121a04a1@ayiin> <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> Message-ID: <20080808110418.589bfc80@ayiin> On Thu, 7 Aug 2008 13:10:52 +0200 "Rudi Kramer - MWEB" wrote: > We have setup hadoop on FreeBSD, bit of mission cause of java and I'm > not sure about performance but it can be done :) > > http://hadoop.apache.org/core/ Hi Rudi, what versions of fbsd , java, hadoop and DB have u used? what were the issues? how many nodes? thanks!! B _________________________ {Beto|Norberto|Numard} Meijome "A Man that is good at excuses is usually good at nothing else" Benjamin Franklin I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From gkmohan at gmail.com Fri Aug 8 03:46:42 2008 From: gkmohan at gmail.com (Krishna Mohan Gundu) Date: Fri Aug 8 03:46:51 2008 Subject: A few questions from a current linux user Message-ID: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> Hi, I am currently using Fedora Core 4 linux distribution for my everyday needs like programming, checking emails etc on my two year old HP laptop. I feel that time has come for me to move away from Fedora. I wasted a lot of time compiling libraries and their dependencies. I could benefit from better packaging systems that come with systems like FreeBSD. I tried to gather as much information as I could from the documentation available on freebsd.org, but the following questions remain unanswered. I would be glad if you can take time to educate me 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? (As I understand there is no such feature in FreeBSD) 2) Is it possible to compile multiple versions of gcc? If so what is the best way to do it? 3) Is it possible to perform a binary update from one release to another? If so can you please point me to the documentation? How are config files updated in this case? (Could not locate documentation on binup) 4) If a binary update leads to an unstable system, how easy it is to backtrack to an earlier working version along with working config files? 5) Does FreeBSD have support for PCMCIA-USB cards? thanks, Krishna. PS: I am considering Debian as another alternative. From tedm at toybox.placo.com Fri Aug 8 04:20:23 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Fri Aug 8 04:20:30 2008 Subject: The Design and Implementation of the FreeBSD Operating System In-Reply-To: <200807221806.06544.gnemmi@gmail.com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gonzalo Nemmi > Sent: Tuesday, July 22, 2008 2:06 PM > To: freebsd-questions@freebsd.org > Subject: Re: The Design and Implementation of the FreeBSD Operating > System > > > Actually .. I'd be more than willing to buy an updated version of > that book > too .. I _do_ undertand your point of view but to be honest, I'd > rather buy a > new copy that prints everything up to _yesterday_ and that has at > least some > hints into tomorrow ... > If you only knew the work that has to be done behind the scenes to get one of these out that prints everything up to yesterday... > > Finally; Editor, Publisher, _Dear_Writer_: if you guys are > hesitant .. I think > there's at least two copies of an updated version of "The Design and > Implementation .. " already sold with a lot more on the way :) > Nobody makes a living off writing FreeBSD books. If the planets align and everything works you can perhaps make enough to buy yourself a toy, like a new motorcycle or something. But if you divide it out, for the time it takes to put one of these together, you would make more money flipping burgers. Seriously. Now, Linux or Macintosh, that's a horse of a different color... These are labors of love, or Resume builders, or merely proving to yourself that you can actually do it and play with the Big Boys. When I put out Corporate Networker's Guide, I literally burned the CD for version 4.2 about 4 hours after 4.2-RELEASE was posted and FedExd the final proof and that burned CD about 2 hours after that. The book started showing up in the stores about a month later, and that helped sales because many folks bought the book to get a current CD, mainly to have a real pressed CD, not a burned one. When the second printing came out, the deadline for turning in the final proof and CD was a week before version 4.4 RELEASE came out. I pleaded with the publisher to delay it for just a week to get the next version in, they basically said that any delay would mean no second printing. They have these printing presses so far in advance and your book gets such a narrow slot of time for access to the printer that if you screw it up, the publisher just says hell with you and that's that. That decision probably caused a noticably larger percent of the second printing run to end up remaindered, rather than sold at full price. A few years later about 6 months after the book went out of print I actually bought a box of 20 of the books for something like a dollar a book, from a remainder dealer, just to have a future cache of them that I could give away. Kind of funny to think about that being almost a decade ago... Ted Mittelstaedt Author, FreeBSD Corporate Networker's Guide http://www.freebsd-corp-net-guide.com From freebsd at edvax.de Fri Aug 8 05:01:17 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 8 05:01:35 2008 Subject: A few questions from a current linux user In-Reply-To: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> Message-ID: <20080808070114.3aa40072.freebsd@edvax.de> Hi! On Thu, 7 Aug 2008 23:20:08 -0400, "Krishna Mohan Gundu" wrote: > 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? > (As I understand there is no such feature in FreeBSD) As far as I know, most window managers are able to be configured in a way that you can assign differnt functionalities like shutting the system down to a custom key combination (WindowMaker can); if a xdm like login manager (in the state of "nobody logged in") can, I'm not sure. On the text mode consoles, Ctrl-Alt-Del can be used to shut the system down, but the feature can be disabled (kernel configuration). > 2) Is it possible to compile multiple versions of gcc? If so what is > the best way to do it? For example from ports, but I'm not sure if you can define which binaries are acutally used; at least you should be able to run the compiler from within the port's work/ directory (you don't install the port, then), as long as there are no problems with depending libraries. > 3) Is it possible to perform a binary update from one release to > another? If so can you please point me to the documentation? The tool freebsd-update can be used to achieve this goal. The command % man freebsd-update is a good start for learning more. > How are > config files updated in this case? (Could not locate documentation on > binup) I think mergemaster can be used to do this; you usually run this program if you perform an update using the make command ("make update", "make buildworld", "make buildkernel" etc.). > 4) If a binary update leads to an unstable system, how easy it is to > backtrack to an earlier working version along with working config > files? An update set provided via freebsd-update should not render a system unstable / unusable; at least it's possible that the system is not in a working state when the update process gets interrupted at a critical point, but I never had such a problem. In the worst case, you can restore the base system from the installation CD (or via bootonly + network) and try the update again. > 5) Does FreeBSD have support for PCMCIA-USB cards? Don't know. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dpchrist at holgerdanske.com Fri Aug 8 05:26:12 2008 From: dpchrist at holgerdanske.com (David Christensen) Date: Fri Aug 8 05:26:19 2008 Subject: A few questions from a current linux user In-Reply-To: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> Message-ID: <595FDDF3C77E41ABA58F5A895280BEB7@a64x23800p> Krishna Mohan Gundu wrote: > I feel that time has come for me to move away from Fedora. > PS: I am considering Debian as another alternative. I've done both Red Hat and Debian, and prefer FreeBSD. I suggest that you get yourself some 7.0-RELEASE CD's, buy this book, and go for it: http://nostarch.com/abs_bsd2.htm Even if you decide BSD doesn't meet your needs, your time and money will have been well spent expanding your horizons. HTH, David From ccowart at rescomp.berkeley.edu Fri Aug 8 06:07:49 2008 From: ccowart at rescomp.berkeley.edu (Christopher Cowart) Date: Fri Aug 8 06:07:56 2008 Subject: carp interface and running manual scripts In-Reply-To: <51933820.20080805173127@faruk.net> References: <51933820.20080805173127@faruk.net> Message-ID: <20080808055242.GJ71785@hal.rescomp.berkeley.edu> Omer Faruk SEN wrote: > Is it possible to run a script after carp interface becomes MASTER? Ie > external script that runs the required services.. You should look at the ucarp implementation provided in ports (net/ucarp). I believe it does its magic in userland and supports the execution of arbitrary scripts. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080808/e50d640f/attachment.pgp From kline at thought.org Fri Aug 8 06:19:38 2008 From: kline at thought.org (Gary Kline) Date: Fri Aug 8 06:19:45 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> References: <20080807224226.GA45445@thought.org> <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> Message-ID: <20080808061934.GC57877@thought.org> On Thu, Aug 07, 2008 at 04:15:30PM -0700, Chuck Swiger wrote: > On Aug 7, 2008, at 3:42 PM, Gary Kline wrote: > >My daughter wants a laptop; the only brand [ AFAIC ] is Apple. > >amazon.com seems to have a fair price. Her school requires Word, for > >some reason. {maybe because we're in X-Bill country:} > > > >Anyway, if anybody onlist knows of a better place to buy an online Mac > >laptop, please drop a line. > > Well, students, teachers, and so forth can get about a 10% discount > via the Apple Education stores: > > http://store.apple.com/us/browse/home/education_routing/ > > (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is > right that the question is off-topic for these lists. :-) Well, considering that they asked us (and NetBSD) for clues when they were porting OSX, it didn't seem like my post was *that* far Off! maybe a tiny bit. Anyway, thanks to everybody who replied onlist and off. gary > > Regards, > -- > -Chuck > > PS: #include > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From keramida at ceid.upatras.gr Fri Aug 8 06:27:29 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Aug 8 06:27:37 2008 Subject: A few questions from a current linux user In-Reply-To: <20080808070114.3aa40072.freebsd@edvax.de> (Polytropon's message of "Fri, 8 Aug 2008 07:01:14 +0200") References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> <20080808070114.3aa40072.freebsd@edvax.de> Message-ID: <8763qcowco.fsf@kobe.laptop> On Fri, 8 Aug 2008 07:01:14 +0200, Polytropon wrote: > On Thu, 7 Aug 2008 23:20:08 -0400, "Krishna Mohan Gundu" wrote: >> 5) Does FreeBSD have support for PCMCIA-USB cards? > > Don't know. Yes. From mk at adminlife.net Fri Aug 8 06:32:41 2008 From: mk at adminlife.net (Matthias Kellermann) Date: Fri Aug 8 06:33:04 2008 Subject: Add CONFIGURE_ARGS option for port in make.conf In-Reply-To: <20080807235140.524771ea.freebsd@edvax.de> References: <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.> <489B00FE.4020605@adminlife.net> <20080807235140.524771ea.freebsd@edvax.de> Message-ID: <489BE887.8000308@adminlife.net> Polytropon wrote: > As it has been mentioned before, /etc/make.conf is read > first with your +=, setting CONFIGURE_ARGS to only this > one value. Then, Makefile of the port is read, and it > has a = in it, not a +=, so CONFIGURE_ARGS is overwritten > and your setting is gone. > > Hint: > > Maybe the Makefile.local mechanism of the ports is still > available. Then, you would add your += directive in a file > called Makefile.local in the port's directory. As far is I > know, Makefile.local is read after Makefile, so you can > profit from settings done in the first mentioned place. Thanks for your hint. This worked fine. Nevertheless it would be a good thing to keep this kind of port modifications in a central place. Regards, Matthias From jordi at cdmon.com Fri Aug 8 07:11:35 2008 From: jordi at cdmon.com (Jordi Moles Blanco) Date: Fri Aug 8 07:11:43 2008 Subject: problems with a C script, exiting with signal 10 In-Reply-To: <489B2689.8070209@mahan.org> References: <489ACAB8.7000503@cdmon.com> <489B2689.8070209@mahan.org> Message-ID: <489BF19D.1010804@cdmon.com> Hi, thanks for the reply, i will have a close look at what you suggested. The thing is that, yes, i work with arrays, pointers, mallocs and so on. I'll try to make sure everything is initiliazed properly before being used. Thanks for the advice. En/na Patrick Mahan ha escrit: > > > Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM-> >> Hi, >> >> I've got this home-made script, written in C, on a Freebsd 7.0 >> server with different versions of postfix: 2.3,2,4 and 2.5 >> >> The problem is that, while most of the time it works like a charm, >> sometimes it crashes and bounces the message. It's not really a big >> deal, cause the sender gets notified that their mail wasn't delivered >> and hopefully, they will resend it. However, the problem is that I've >> tried to debug my script but found nothing wrong at all, cause it >> only fails from time to time, let's say... once for each 2000 >> messages that postfix receives, and it appears to do so in a random way. >> >> As i said... postfix can fail to deliver a message to one particular >> mailbox, but if then you resend the very same message to the very >> same mailbox, it will be delivered. >> >> The error is reported in both "maillog" and "messages", like this: >> >> >> ******/var/log/maillog******** >> Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: >> to=, relay=quota_postfix, delay=0.23, >> delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with >> signal 10: "/usr/local/etc/postfix/quota_postfix") >> >> >> *****/var/log/messages******* >> Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: >> exited on signal 10 >> > > Well signal 10 is SIGBUS which is indicative of (generally) a bad > address, > non-aligned memory address (on platforms it matters) or a hardware error. > I would look for places you are dereferencing a pointer without perhaps > first validating it. > > Given that it rarely occurs, I might suspect that you are allocating some > memory, but failing to completely initialize (malloc() doesn't zero out > memory) it or assuming it is already initialize. > > Good luck, > > Patrick >> >> Here you have some extra information about the script itself and the >> master.cf >> >> >> *****/usr/local/etc/postfix/quota_postfix*** >> >> # ls -la /usr/local/etc/postfix/quota_postfix >> -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 >> /usr/local/etc/postfix/quota_postfix >> >> It's got de suid flag cause it performs a "du" command and other file >> operations which need permissions, although i've tried with other >> groups of permissions and it eventually crashes anyway with "signal 10" >> >> ******master.cf********* >> >> ......... >> >> # spamfilter >> spamfilter unix - n n - 20 pipe >> flags=R user=filter argv=/home/antispam.pl "localhost:10027" >> "antispam" "${sender}" "${recipient}" "/usr/local/bin/spamc" >> >> # from spamfilter to smtpd:10026 >> localhost:10027 inet n - n - 100 >> smtpd -o content_filter=quota_postfix >> >> >> # quota_postfix >> quota_postfix unix - n n - 20 pipe >> flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix >> "localhost" "10028" "${sender}" "${recipient}" "${domain}" >> >> # from quota_postfix to smtpd:10028 >> localhost:10028 inet n - n - 100 >> smtpd -o content_filter= >> >> ................ >> >> So far, any program which crashed would leave a ".core" file in >> /usr/crash, but this one is not doing the same, so... i can't >> actually debug from the core file either. >> Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow >> is preventing this filter from generating a core file. Is that >> possible? Or am i completely wrong? >> >> How could I, at least, generate the .core file? >> >> Thanks. >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> From jcigar at ulb.ac.be Fri Aug 8 07:19:37 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Fri Aug 8 07:19:45 2008 Subject: Disk errors on installing FreeBSD 7.0 In-Reply-To: <489B90A1.5030603@hdk5.net> References: <489AF8A7.1010400@overbo.no> <20080807220127.GD43268@zaph.org> <489B90A1.5030603@hdk5.net> Message-ID: <1218187730.2749.2.camel@frodon.be-bif.ulb.ac.be> Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, etc) .. it works a bit better when dma is turned off, but then performances are very poor. On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: > N.J. Thomas wrote: > > * "Snorre D. ?verb?" [2008-08-07 15:29:11+0000]: > >> When I boot up with the installation DVD these error messages appear > >> on the screen. > >> > >> ad1: FAILURE - READ_DMA status=51 error=84 LBA=0055347 > >> ad0: FAILURE - READ_DMA status=51 error=84 LBA=0 > >> etc > > > > I got the same exact errors trying to install 7.0-RELEASE on two > > different Dell boxes. One was 4 years old, the other was brand new (3 > > months ago). > > > > Never was able to fix the problem. For the older one, I plugged in an > > external DVD drive and installed via that. For the other one, I > > installed via a mini-install disk, and then did a minimal network > > install. > > > > For the record, they both had SATA drives and the disks worked (and > > still work) fine after the OS was installed. It was just copying the > > base system off the CD that was causing errors. > > > > Thomas > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ****************************************888 > Aloha, > > I am getting the same errors as you guys with an intermittient BIG_read > one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. > > This is on a no name box with a bio board and 1100 cpu. I've had this on > other boxes too and load IDE drives on a box that works with them and > then put them in the box with errors and they work just fine. > > Every thing gets recognized normally at install time, but the size of > the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. > > Dont know if this has anything to do with it, except if you change the > size in installer it wont load anything. > > Maybe one of the top level gurus on the list can help. > > > -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From ml at netfence.it Fri Aug 8 08:30:47 2008 From: ml at netfence.it (Andrea Venturoli) Date: Fri Aug 8 08:30:55 2008 Subject: Mixing 64 and 32-bit code In-Reply-To: References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> <489B4D7F.1040406@netfence.it> Message-ID: <489C042B.4070703@netfence.it> Chuck Swiger ha scritto: > The simplest answer is that it won't work-- the syscall interface and > function argument/return-value sizes are going to be different between > 32-bit and 64-bit code. I was quite sure of this :-( > [1]: You can look up how thunking between Win16 and Win32 code worked here: > > http://en.wikipedia.org/wiki/Thunk#Thunk_as_compatibility_mapping > > ...but the same idea could be applied to generic 32-bit & 64-bit ELF code. This is just what I was wondering about, whether it extisted or not. > (It's really an evil thing to try to do, however.) Yes, I know. In my case, unfortunately, all I have is a 32-bit object, as closed source as it could be and I don't think we have any hope in getting the vendor to provide a 64-bit version (although they do for Linux). bye & Thanks av. From dennyboy at cableone.net Fri Aug 8 09:09:31 2008 From: dennyboy at cableone.net (Denny White) Date: Fri Aug 8 09:09:38 2008 Subject: joining 2 files together ? In-Reply-To: <200808071534.29383.beni@brinckman.info> References: <200808071534.29383.beni@brinckman.info> Message-ID: <20080808083506.GB13404@bubbhasbox.cableone.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Quoted from beni on Thu, Aug 07, 2008 at 03:34:28PM +0000,: > Hi, > > I am trying to find the equivalent for the old dos "copy file1+file2" command > ("copy myfile1.txt+myfile2.txt" copies the contents in myfile2.txt and > combines it with the contents in myfile1.txt). > But the standard freebsd "cp" doesn't seem to want the "+" between the two > files : > > bsdaddict# cp file1.avi+file2.avi > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file > cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... > target_directory > bsdaddict# > > So how to I append file2 at the end of file1 to get only one file ? To be more > specific : I would like to merge 2 avi files into one. How do I get > file1.avi+file2.avi into file3.avi ? > Thanks. > -- > Beni. After joining avi files with "cat," use mencoder to rebuild the index: mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi Denny White - -- Do the hard jobs first. The easy jobs will take care of themselves. =============================================================== 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.8 (OpenBSD) iEYEARECAAYFAkicBToACgkQy0Ty5RZE55rG4QCeJy+VfVN3SeUSWfd5Ff12+Za1 Su8AoLw1ype3wQvtYyv2qWm4Yum6eWPV =zm7+ -----END PGP SIGNATURE----- From vince at unsane.co.uk Fri Aug 8 09:10:35 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Aug 8 09:10:43 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <200808080821.35476.shinjii@maydias.com> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> <200808080821.35476.shinjii@maydias.com> Message-ID: <489C0D86.3080702@unsane.co.uk> Warren Liddell wrote: > On Thursday 07 August 2008 23:18:34 Marc Coyles wrote: > >>> If i have read the man pages correct the command im using being ... >>> >>> # freebsd-update upgrade -r 7.0-CURRENT >>> >> # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade >> >> followed eventually by... >> >> # sh freebsd-update.sh -f freebsd-update.conf install >> >> I have just upgraded a 6.2 box to 7.0 Release following the instructions >> at >> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade >> .html to the letter without issue (other than bind needing to be >> reinstalled from ports afterwards) >> >> L8rs! >> Marci >> > > > # freebsd-update -r 7.0-RELEASE upgrade > Looking up update.FreeBSD.org mirrors... 1 mirrors found. > Fetching public key from update1.FreeBSD.org... failed. > No mirrors remaining, giving up. > > # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade > freebsd-update.sh: Can't open freebsd-update.sh: No such file or directory > > I then did a search for the sh file .... > > # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade > File does not exist or is not readable: freebsd-update.conf > > freebsd-update is part of base system so there was no need to install it via > the port etc .. or is there ? > > no for versions of FreeBSD beyond 6.3 its in base and you dont need to install it seperately to upgrade between versions. freebsd-update -r 7.1-RELEASE upgrade seems to have an effect where 7.0-RELEASE no longer does. I have CCed freebsd-stable@ on this to see if anyone knows if this is intended or a mistake. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From sk.paix at gmail.com Fri Aug 8 09:25:17 2008 From: sk.paix at gmail.com (Sergej Kandyla) Date: Fri Aug 8 09:25:29 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <4898065A.5080008@powerzone.net.au> References: <4898065A.5080008@powerzone.net.au> Message-ID: <489C10F4.5030001@gmail.com> Michael Christie wrote: > Hi all , > > I want to cluster some freeBSD servers, > web links any thing to help me get started would be good. No I do not > want to change over to linux. > also some interesting link http://phaq.phunsites.net/2006/08/11/realtime-file-system-replication-on-freebsd/ -- Best Wishes, PAIX-UANIC | SK3929-RIPE From shinjii at maydias.com Fri Aug 8 09:32:39 2008 From: shinjii at maydias.com (Warren Liddell) Date: Fri Aug 8 09:32:47 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <489C0D86.3080702@unsane.co.uk> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> <200808080821.35476.shinjii@maydias.com> <489C0D86.3080702@unsane.co.uk> Message-ID: <200808081932.36648.shinjii@maydias.com> > no for versions of FreeBSD beyond 6.3 its in base and you dont need to > install it seperately to upgrade between versions. > freebsd-update -r 7.1-RELEASE upgrade > seems to have an effect where 7.0-RELEASE no longer does. I have CCed > freebsd-stable@ on this to see if anyone knows if this is intended or a > mistake. > > > Vince # freebsd-update -r 7.1-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. The getting of the public key seems to be the issue no matter how i go about trying to upgrade .. so my question now is, why is this and are there other mirror sites that can be used ? Below is my Uname -a output if it has any relevance.. FreeBSD 6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Aug 7 17:32:22 EST 2008 shinjii@:/usr/obj/usr/src/sys/GENERIC amd64 From vince at unsane.co.uk Fri Aug 8 09:46:34 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Aug 8 09:46:51 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <200808081932.36648.shinjii@maydias.com> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> <200808080821.35476.shinjii@maydias.com> <489C0D86.3080702@unsane.co.uk> <200808081932.36648.shinjii@maydias.com> Message-ID: <489C15F6.4080507@unsane.co.uk> Warren Liddell wrote: >> no for versions of FreeBSD beyond 6.3 its in base and you dont need to >> install it seperately to upgrade between versions. >> freebsd-update -r 7.1-RELEASE upgrade >> seems to have an effect where 7.0-RELEASE no longer does. I have CCed >> freebsd-stable@ on this to see if anyone knows if this is intended or a >> mistake. >> >> >> Vince >> > > # freebsd-update -r 7.1-RELEASE upgrade > Looking up update.FreeBSD.org mirrors... 1 mirrors found. > Fetching public key from update1.FreeBSD.org... failed. > No mirrors remaining, giving up. > > The getting of the public key seems to be the issue no matter how i go about > trying to upgrade .. so my question now is, why is this and are there other > mirror sites that can be used ? > > Below is my Uname -a output if it has any relevance.. > > FreeBSD 6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Aug 7 17:32:22 EST 2008 > shinjii@:/usr/obj/usr/src/sys/GENERIC amd64 > No idea if the fact you are on a -STABLE branch will matter (it could well, the box I tried to use the 7.0-RELEASE tag on was a -STABLE box too,) but my test seems to get different results to yours. Possibly an issue with the freebsd-update servers/mirrors? more likely that it doesnt support upgrading from an arbitrary point in the -STABLE tree. 10:05:58 ) 0 # freebsd-update -r 7.1-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/catpages world/dict world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/cddl src/compat world/doc Does this look reasonable (y/n)? n (10:06:53 ) 0 # uname -a FreeBSD lobster.unsane.co.uk 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I would upgrade to a -RELEASE branch from source then try again. Vince From shinjii at maydias.com Fri Aug 8 09:50:14 2008 From: shinjii at maydias.com (Warren Liddell) Date: Fri Aug 8 09:50:27 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <489C15F6.4080507@unsane.co.uk> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> <200808081932.36648.shinjii@maydias.com> <489C15F6.4080507@unsane.co.uk> Message-ID: <200808081950.08029.shinjii@maydias.com> > I would upgrade to a -RELEASE branch from source then try again. > > Vince change my releng to 7 in the supfile and do a csup then do world & kernel and go from there ? From OK at mail.orsec.fr Fri Aug 8 09:59:41 2008 From: OK at mail.orsec.fr (Philippe Laquet) Date: Fri Aug 8 09:59:54 2008 Subject: High Availability FreeBSD www cluster In-Reply-To: <489A99CD.5080103@powerzone.net.au> References: <4898065A.5080008@powerzone.net.au> <4899C919.1060903@passagen.se><4899D194.6000804@optiksecurite.com> <20080807100821.U1526@klein.bigpond.com> <489A99CD.5080103@powerzone.net.au> Message-ID: <1218187769.23553.5.camel@plaquet> CARP does the job perfectly! Is you have to LB/RP from a front end (the SPOF?) you can also take a quick look on LighttpD with the Proxy module (very simple & efficient) In a heavier (but also quite simple) environment : * Two (or more) LB/RP on the front with lighttpdproxy - HA with CARP * Two (or more) Load Balanced Web "Back End" servers ;) On jeu, 2008-08-07 at 16:44 +1000, Michael Christie wrote: > Thank you all for your input. Carp looks like it needs some investigation > > Thanks > > Michael > > Peter Ross wrote: > > Hi, > > > > Michael Christie wrote: > > > > > >> I want to cluster some freeBSD servers, The purpose of this is to learn. > >> I would like to run some basic services like www and mail on a test > >> network. I would like to set up the servers so if one server falls over > >> the other will take over the services automatically, load balanceing would > >> be good as well. I have googled, I could be looking in the wrong place , > >> there seems not to be much in regard to seting up freebsd in a cluster, > >> lots on linux. I have looked at the High Availability Linux project , I > >> see on the front page that it will run on freebsd. > >> > >> So I am a bit lost and i am wanting to learn how to cluster freebsd web > >> and mail servers, I have looked at Beowulf clusters, which seem to give > >> computers more grunt, Can some on on the list please advise me on what > >> clustering softwhere i need to get started and if the High Availability > >> Linux project softwhere will do the job. > >> > > > > pound (/usr/ports/www/pound) can be used on HTTP(S) level. > > > > >From pkg-descr: > > > > The Pound program is a reverse proxy, load balancer and HTTPS front-end > > for Web server(s). Pound was developed to enable distributing load among > > several Web-servers, and to allow for a convenient SSL wrapper for those > > Web servers that do not offer it natively. Pound is distributed under the > > GPL - no warranty, it's free to use, copy and give away. > > > > WWW: http://www.apsis.ch/pound/ > > > > - Anders Nordby > > > > Regards > > Peter > > _______________________________________________ > > freebsd-cluster@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-cluster > > To unsubscribe, send any mail to "freebsd-cluster-unsubscribe@freebsd.org" > > > > > > > _______________________________________________ > freebsd-cluster@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-cluster > To unsubscribe, send any mail to "freebsd-cluster-unsubscribe@freebsd.org" From merv at merv.org.uk Fri Aug 8 10:05:52 2008 From: merv at merv.org.uk (merv) Date: Fri Aug 8 10:06:01 2008 Subject: Inconsistent behavior. PHP5 FreeBSD server Vs PHP5 Windows Server. Message-ID: <489C15F8.9090800@merv.org.uk> Hi, I have a strange problem with PHP5 on FreeBSD. When run on a FreeBSD server the decrypt function of a xTea encryption library does not work correctly. While the same PHP code runs without problem on a Windows Server. Has anybody experienced similar problems? I am at a dead end any help would be much appreciated. Windows output: xTea A secret message. Meet at 21:00 by the old bridge to talk about the new plan. hK/xEOKqgx+Tfb7tCndxFH/3HTck+cy3+y1uMa/DUWNgg7I91/QeG2BceCmtaDYmFjPRAczqCHCc LHMWiGE0ZQV+QC+f3xcJWvtGxLIdDHY= A secret message. Meet at 21:00 by the old bridge to talk about the new plan. FreeBSD output: xTea A secret message. Meet at 21:00 by the old bridge to talk about the new plan. hK/xEOKqgx+Tfb7tCndxFH/3HTck+cy3+y1uMa/DUWNgg7I91/QeG2BceCmtaDYmFjPRAczqCHCc LHMWiGE0ZQV+QC+f3xcJWvtGxLIdDHY= ’³ûøfsƒ‰cfˆ®[Ë[…*x¶ØÚ5L´¥$¨lÔîÊB%Tª”ô ÖGµXõqÕ-åÉH>(€¯;H8¯€àØÃ Note encryption works fine it is possible to encrypt the message on FreeBSD and decrypt the message on Windows. The message also decrypts correctly using a Javascript implementation of xTea. The only part that fails is decrypt under FreeBSD. Is this expected and common? PHP source:

xTea

xTEA.php: 8) { // $res .= crypt8(substr($str,0,8),$key,$encrypt,$itr); $res .= JScrypt8(substr($str,0,8),$key,$encrypt,$itr); $str = substr($str,8); } if (strlen($str)>0) { while (strlen($str)<8) { $str .= ' '; } // $res .= crypt8($str,$key,$encrypt,$itr); $res .= JScrypt8($str,$key,$encrypt,$itr); } return rtrim($res,' '); } //Four-byte truncate function fbt($x) { $x = $x&0x0FFFFFFFF; return $x<0?0x0100000000+$x:$x; } function JScrypt8($oct,$key,$encrypt,$itr) { $y=0; $z=0; $k=array(); $k[0]=$k[1]=$k[2]=$k[3]=0; $d=0x9E3779B9; $sum=$encrypt?0:($d*$itr); $res=""; for ($i=0; $i<8; ) { $y=fbt(($y<<8)+(ord($oct{$i})&0xFF)); $k[$i&3]=fbt(($k[$i&3]<<8)+ord($key{$i})); $k[$i&3]=fbt(($k[$i&3]<<8)+ord($key{$i+8})); $i++; $z=fbt(($z<<8)+(ord($oct{$i})&0xFF)); $k[$i&3]=fbt(($k[$i&3]<<8)+ord($key{$i})); $k[$i&3]=fbt(($k[$i&3]<<8)+ord($key{$i+8})); $i++; } if ($encrypt) { while ($itr-->0) { $y = fbt(($y+fbt(($z*16)^floor($z/32))+fbt($z^$sum)+$k[$sum&3])); $sum=$sum+$d; $z = fbt(($z+fbt(($y*16)^floor($y/32))+fbt($y^$sum)+$k[($sum>>11)&3])); } } else { while ($itr-->0) { $z = fbt($z-fbt(fbt(($y*16)^floor($y/32))+fbt($y^$sum)+$k[($sum>>11)&3])); $sum=$sum-$d; $y = fbt($y-fbt(fbt(($z*16)^floor($z/32))+fbt($z^$sum)+$k[$sum&3])); } } for ($i=4; $i-->0; ) { $res .= chr(fbt(($y&0xFF000000)>>24)); $y = $y<<8; $res .= chr(fbt(($z&0xFF000000)>>24)); $z=$z<<8; } return $res; } function crypt8($oct,$key,$encrypt,$itr) { $y=0; $z=0; $k=array(); $k[0]=$k[1]=$k[2]=$k[3]=0; $d=0x9E3779B9; $sum=$encrypt?0:($d*$itr)&0x0ffffffff; $res=""; for ($i=0; $i<8; ) { $y=($y<<8)+(ord($oct{$i})&0xFF); $k[$i&3]=($k[$i&3]<<8)+ord($key{$i}); $k[$i&3]=($k[$i&3]<<8)+ord($key{$i+8}); $i++; $z=($z<<8)+(ord($oct{$i})&0xFF); $k[$i&3]=($k[$i&3]<<8)+ord($key{$i}); $k[$i&3]=($k[$i&3]<<8)+ord($key{$i+8}); $i++; } if ($encrypt) { while ($itr-->0) { $y = ($y+(($z<<4)^($z>>5))+($z^$sum)+$k[$sum&3])&0x0ffffffff; $sum=$sum+$d; $z = ($z+(($y<<4)^($y>>5))+($y^$sum)+$k[($sum>>11)&3])&0x0ffffffff; } } else { while ($itr-->0) { $z = ($z+0x0100000000-(((($y<<4)^($y>>5))+($y^$sum)+$k[($sum>>11)&3])&0x0ffffffff))&0x0ffffffff; $sum=($sum+0x0100000000-$d)&0x0ffffffff; $y = ($y+0x0100000000-(((($z<<4)^($z>>5))+($z^$sum)+$k[$sum&3])&0x0ffffffff))&0x0ffffffff; } } for ($i=4; $i-->0; ) { $res .= chr(($y&0xFF000000)>>24); $y = $y<<8; $res .= chr(($z&0xFF000000)>>24); $z=$z<<8; } return $res; } ?> From vince at unsane.co.uk Fri Aug 8 10:09:07 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Aug 8 10:09:19 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <200808081950.08029.shinjii@maydias.com> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> <200808081932.36648.shinjii@maydias.com> <489C15F6.4080507@unsane.co.uk> <200808081950.08029.shinjii@maydias.com> Message-ID: <489C1B3F.8040809@unsane.co.uk> Warren Liddell wrote: >> I would upgrade to a -RELEASE branch from source then try again. >> >> Vince >> > > > change my releng to 7 in the supfile and do a csup then do world & kernel and > go from there ? > RELENG_7_0 for the -RELEASE 7 is -STABLE Vince > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From shinjii at maydias.com Fri Aug 8 10:24:17 2008 From: shinjii at maydias.com (Warren Liddell) Date: Fri Aug 8 10:24:23 2008 Subject: Upgrading from 6.x to 7.x In-Reply-To: <489C1B3F.8040809@unsane.co.uk> References: <000501c8f890$185b8810$fd607e0a@Horbury.Internal> <200808081950.08029.shinjii@maydias.com> <489C1B3F.8040809@unsane.co.uk> Message-ID: <200808082024.13166.shinjii@maydias.com> On Friday 08 August 2008 20:09:03 Vincent Hoffman wrote: > Warren Liddell wrote: > >> I would upgrade to a -RELEASE branch from source then try again. > >> > >> Vince > > > > change my releng to 7 in the supfile and do a csup then do world & kernel > > and go from there ? > > RELENG_7_0 for the -RELEASE > 7 is -STABLE > > Vince csup running on 7_0 system all ready backed up so lets see how well this all goes. Much tnxs to all who have supplied info on this, greatly appreciated. From ml at netfence.it Fri Aug 8 11:15:06 2008 From: ml at netfence.it (Andrea Venturoli) Date: Fri Aug 8 11:15:12 2008 Subject: dump locks again Message-ID: <489C2AB0.1000401@netfence.it> Hello. I googled around for this but found only very old threads (from 2005 or so). I'm taking dumps of a new box I build, which runs 7.0/amd64 on 8 cores with harware RAID-5 (ciss driver). This is an example of the command I issue: dump -0 -a -f usr.dump -L -h 0 -u /usr Almost always, the dump process will work up to Pass IV (regular files), but then stuck there. # ps ax|grep dump 11400 p1 I+ 0:00.97 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr (dump) 11405 p1 I+ 0:00.18 dump: /dev/da0s1e: pass 4: 4.28% done, finished in 0:03 at Fri Aug 8 10:35:34 2008 (dump) 11406 p1 I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr (dump) 11407 p1 I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr (dump) 11408 p1 I+ 0:00.23 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr (dump) top shows 11400 in wait state, 11406-11408 in pause state and 11405 in sbwait state. Any hint is appreciated. bye & Thanks av. From spamrefuse at yahoo.com Fri Aug 8 07:04:20 2008 From: spamrefuse at yahoo.com (Rob) Date: Fri Aug 8 11:25:04 2008 Subject: F7: base system reinstall, no (open)ssh anymore... Message-ID: <191454.46791.qm@web33308.mail.mud.yahoo.com> Hello, I have upgraded from FreeBSD 6.3 to 7.0. When I recompiled the base system, there?are no ssh related files anymore in the base system (no ssh, sshd and /etc/rc.d/sshd for example). Am I missing some essential settings in /etc/make.conf? What is needed there in order to get (Open)SSH from the base system? Thanks! Rob. From marshc187 at gmail.com Fri Aug 8 11:46:09 2008 From: marshc187 at gmail.com (mcassar) Date: Fri Aug 8 11:46:21 2008 Subject: The Design and Implementation of the FreeBSD Operating System In-Reply-To: References: Message-ID: <200808081346.01373.marshc187@gmail.com> > A few years later about 6 months after the book went out of print > I actually bought a box of 20 of the books for something like a dollar > a book, from a remainder dealer, just to have a future cache of them > that I could give away. > > Kind of funny to think about that being almost a decade ago... do you still have one of those around by any chance? From david.gurvich at verizon.net Fri Aug 8 11:46:13 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Aug 8 11:46:22 2008 Subject: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0 In-Reply-To: <4938c7f50808071619p56ccaf6dice06b62e26a85e3a@mail.gmail.com> References: <4938c7f50808071619p56ccaf6dice06b62e26a85e3a@mail.gmail.com> Message-ID: <20080808074606.2743534a@verizon.net> I'm not sure of your settings, but increasing tx power is only good for transmitting and will increase noise, hurting reception. Your S:N numbers look quite poor, I rarely get any handshake when signal is that bad. I'm surprised you managed to get a dhcp offer. Have you tried this computer in the same location as the windows machines? How far from the router are you compared to those? From jalmberg at identry.com Fri Aug 8 12:47:54 2008 From: jalmberg at identry.com (John Almberg) Date: Fri Aug 8 12:48:00 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <20080808061934.GC57877@thought.org> References: <20080807224226.GA45445@thought.org> <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> <20080808061934.GC57877@thought.org> Message-ID: <3800467F-66CE-446B-B322-1310769B2DA6@identry.com> >> (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is >> right that the question is off-topic for these lists. :-) > > > Well, considering that they asked us (and NetBSD) for clues when > they were porting OSX, it didn't seem like my post was *that* > far Off! maybe a tiny bit. > > Anyway, thanks to everybody who replied onlist and off. > > gary > I don't think it's far OT, either, since IMHO, Mac desktops and FreeBSD servers are the perfect, practical combination for many organizations, including my own. -- John From michaek at mail.ru Fri Aug 8 12:48:14 2008 From: michaek at mail.ru (Michael Lednev) Date: Fri Aug 8 12:48:21 2008 Subject: usb-serial device Message-ID: <489C4088.5070706@mail.ru> Hello. I've obtained USB thermometer and want to make it usable with FreeBSD. It identifies itself as: kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2 Under Windows it looks like standard COM-port. When I try to use some existing drivers like ucycom or uplcom it gives no effect. How can this device be used under FreeBSD? From wblock at wonkity.com Fri Aug 8 13:28:49 2008 From: wblock at wonkity.com (Warren Block) Date: Fri Aug 8 13:28:56 2008 Subject: usb-serial device In-Reply-To: <489C4088.5070706@mail.ru> References: <489C4088.5070706@mail.ru> Message-ID: On Fri, 8 Aug 2008, Michael Lednev wrote: > I've obtained USB thermometer and want to make it usable with FreeBSD. It > identifies itself as: > kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2 > > Under Windows it looks like standard COM-port. When I try to use some > existing drivers like ucycom or uplcom it gives no effect. How can this > device be used under FreeBSD? It appears to need the uchcom driver, which is in CURRENT but not yet in 6 or 7. See this thread: http://lists.freebsd.org/pipermail/freebsd-stable/2008-February/040872.html -Warren Block * Rapid City, South Dakota USA From josh.carroll at gmail.com Fri Aug 8 13:39:31 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Fri Aug 8 13:39:37 2008 Subject: F7: base system reinstall, no (open)ssh anymore... In-Reply-To: <191454.46791.qm@web33308.mail.mud.yahoo.com> References: <191454.46791.qm@web33308.mail.mud.yahoo.com> Message-ID: <8cb6106e0808080639j59066239qb1ef1fa9d569cb31@mail.gmail.com> > Am I missing some essential settings in /etc/make.conf? > What is needed there in order to get (Open)SSH from the base system? > Thanks! > Rob. It should be there by default. Check that /etc/make.conf (or /etc/src.conf) does not set/define: WITHOUT_OPENSSH There are other knobs that implicitly set this as well, so check for these, too: WITHOUT_CRYPT WITHOUT_OPENSSL If any of those are set, it will not build the ssh components. Regards, Josh From kris at FreeBSD.org Fri Aug 8 14:07:59 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Fri Aug 8 14:08:06 2008 Subject: dump locks again In-Reply-To: <489C2AB0.1000401@netfence.it> References: <489C2AB0.1000401@netfence.it> Message-ID: <489C533C.6050103@FreeBSD.org> Andrea Venturoli wrote: > Hello. > I googled around for this but found only very old threads (from 2005 or > so). > > I'm taking dumps of a new box I build, which runs 7.0/amd64 on 8 cores > with harware RAID-5 (ciss driver). > > This is an example of the command I issue: > > dump -0 -a -f usr.dump -L -h 0 -u /usr > > Almost always, the dump process will work up to Pass IV (regular files), > but then stuck there. > > # ps ax|grep dump > 11400 p1 I+ 0:00.97 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr > (dump) > 11405 p1 I+ 0:00.18 dump: /dev/da0s1e: pass 4: 4.28% done, > finished in 0:03 at Fri Aug 8 10:35:34 2008 (dump) > 11406 p1 I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr > (dump) > 11407 p1 I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr > (dump) > 11408 p1 I+ 0:00.23 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr > (dump) > > top shows 11400 in wait state, 11406-11408 in pause state and 11405 in > sbwait state. > > Any hint is appreciated. This was fixed in 7.0-STABLE. Kris From michaek at mail.ru Fri Aug 8 14:10:18 2008 From: michaek at mail.ru (Michael Lednev) Date: Fri Aug 8 14:10:24 2008 Subject: usb-serial device In-Reply-To: References: <489C4088.5070706@mail.ru> Message-ID: <489C53C5.8090009@mail.ru> Warren Block ?????: > On Fri, 8 Aug 2008, Michael Lednev wrote: > >> I've obtained USB thermometer and want to make it usable with >> FreeBSD. It identifies itself as: >> kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2 >> >> Under Windows it looks like standard COM-port. When I try to use some >> existing drivers like ucycom or uplcom it gives no effect. How can >> this device be used under FreeBSD? > > It appears to need the uchcom driver, which is in CURRENT but not yet > in 6 or 7. See this thread: > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-February/040872.html > Thanks! I'll try to examine it at the weekend. From kirk at strauser.com Fri Aug 8 14:14:52 2008 From: kirk at strauser.com (Kirk Strauser) Date: Fri Aug 8 14:14:59 2008 Subject: x11/kde4 tries to install kde3? Message-ID: <200808080914.40384.kirk@strauser.com> When attempting to install KDE4, I get: $ cd /usr/ports/x11/kde4 $ sudo make install ===> Installing for kde-3.5.8_2 [...] ===> Checking if x11/kde4 already installed ===> kde-3.5.8_2 is already installed [...] Stop in /usr/ports/x11/kde4. I installed on this hardware about two weeks ago, so it should be fairly clean of any weird legacy settings. Has anyone else successfully installed KDE4 on FreeBSD 7? -- Kirk Strauser From ml at netfence.it Fri Aug 8 14:20:04 2008 From: ml at netfence.it (Andrea Venturoli) Date: Fri Aug 8 14:20:11 2008 Subject: dump locks again In-Reply-To: <489C533C.6050103@FreeBSD.org> References: <489C2AB0.1000401@netfence.it> <489C533C.6050103@FreeBSD.org> Message-ID: <489C560A.4020809@netfence.it> Kris Kennaway ha scritto: > This was fixed in 7.0-STABLE. > > Kris Thanks Kris. Since this is a critical production box, I'm a bit scared to track Stable. Do you know when this will be merged into a release (7.1 I suppose)? Would it be safer to just get this single patch (if possible at all)? I've also been advised (off list), to switch from the default 4BSD scheduler to ULE. What are the implications of this? Would it solve this specific problem or would I still need to patch/upgrade? bye & Thanks av. From eculp at casasponti.net Fri Aug 8 14:26:37 2008 From: eculp at casasponti.net (Edwin L. Culp) Date: Fri Aug 8 14:26:44 2008 Subject: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE In-Reply-To: <18870155.post@talk.nabble.com> References: <3c0b01820806170757v5565b59ne0e9d5db06f26761@mail.gmail.com> <4857D8BB.1080901@gmail.com> <3c0b01820806170852t39a6346doa6d77a655469eed9@mail.gmail.com> <20080617135900.18654t73s6d7sfqc@intranet.casasponti.net> <48580EB9.7090701@gmail.com> <20080617143554.1808562gg94i8ikg@intranet.casasponti.net> <3c0b01820806171244g6f2ba46ybe0ba6d89eaab13b@mail.gmail.com> <3c0b01820806171417l2b054e15i5627d88827cc03b4@mail.gmail.com> <3c0b01820806171648g7cc01476l30df79831f9b9c6@mail.gmail.com> <20080617205053.20873zhqvlj7zles@intranet.casasponti.net> <18870155.post@talk.nabble.com> Message-ID: <20080808092628.82215z4vfuqjj7cw@pontinet.casasponti.net> Alexander Sack escribi?: > > > > Edwin L. Culp wrote: >> >> "Alexander Sack" escribi?: >> >>> Final update, I got everything working! I came home and connected by >>> new notebook using the latest PCIe Atheros chipset to a WPA2 network >>> using wpa_supplicant! Yippie! >>> >>> Hope this thread helps someone else, >>> >>> -aps >>> >>> On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack >>> wrote: >>>> On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack >>>> wrote: >>>>> On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp >>>>> wrote: >>>>>> "Manolis Kiagias" escribi?: >>>>>> >>>>>>> Edwin L. Culp wrote: >>>>>>>> >>>>>>>> "Alexander Sack" escribi?: >>>>>>>> >>>>>>>>> On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Alexander Sack wrote: >>>>>>>>>>> >>>>>>>>>>> Hello: >>>>>>>>>>> >>>>>>>>>>> I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 >>>>>>>>>>> Turon based >>>>>>>>>>> notebook, a MSI-1710A (GX710Ax) which has a generic embedded >>>>>>>>>>> controller. During boot up I notice that ATH complains with: >>>>>>>>>>> >>>>>>>>>>> ath_rate: version 1.2 >>>>>>>>>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, >>>>>>>>>>> RF2413, >>>>>>>>>>> RF5413) >>>>>>>>>>> ath0: mem 0xfd7f0000-0xfd7fffff irq 16 at >>>>>>>>>>> device >>>>>>>>>>> 0.0 >>>>>>>>>>> on pci2 >>>>>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfd7f0000 >>>>>>>>>>> ath0: [MPSAFE] >>>>>>>>>>> ath0: [ITHREAD] >>>>>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>>>>> >>>>>>>>>>> HAL status 13 from the header file seems to indicate that the >>>>>>>>>>> 7.0-STABLE driver doesn't support my hardware revision. Here is >>>>>>>>>>> my >>>>>>>>>>> pciconf -l output: >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Maybe you could try compiling a kernel with a newer hal. This is >>>>>>>>>> the >>>>>>>>>> kind of >>>>>>>>>> hack we use on the eeepc. Have a look at this: >>>>>>>>>> >>>>>>>>>> http://nighthack.org/wiki/EeeBSD >>>>>>>>> >>>>>>>>> Thank you SO much for this link. That's EXACTLY what I want to do >>>>>>>>> because I realize that this is a HAL problem. I've been searching >>>>>>>>> like MAD where I could get an updated binary HAL for this chipset >>>>>>>>> (PCIe based). >>>>>>>> >>>>>>>> That makes two of us ;) >>>>>>>> >>>>>>>> My dmesg is very, very similar to yours and hoped that this would >>>>>>>> work. >>>>>>>> >>>>>>>> ath0: mem 0xf2200000-0xf220ffff irq 19 at device >>>>>>>> 0.0 >>>>>>>> on pci5 >>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf2200000 >>>>>>>> ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 >>>>>>>> ath0: [MPSAFE] >>>>>>>> ath0: [ITHREAD] >>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>> >>>>>>>> I followed the instructions from the web page, recompiled and it >>>>>>>> made no >>>>>>>> difference which really worries me that I must have done >>>>>>>> something wrong. >>>>>>>> >>>>>>>> cd madwifi-ng-r2756+ar5007/hal >>>>>>>> cp -R * /usr/src/sys/contrib/dev/ath/ >>>>>>>> >>>>>>>> I did not erase it previously but am going to try that. I made no >>>>>>>> kern >>>>>>>> configuration changes to find that the hal is from contrib. Is >>>>>>>> there >>>>>>>> nothing else I should do? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>> >>>>>>> Well, I have only tested this on the eeepc and can confirm it works. >>>>>>> Maybe different atheros chipset have other problems not directly >>>>>>> related >>>>>>> to the hal version. >>>>>>> You do not need to do anything more that what is shown in the >>>>>>> page: untar, >>>>>>> replace the existing files, recompile / install kernel, reboot. >>>>>>> If you got >>>>>>> no errors during the kernel compilation phase, you can safely >>>>>>> assume you did >>>>>>> everything correctly, and the problem lies elsewhere. >>>>>> >>>>>> At least there was a ray of hope for the time it took to compile >>>>>> the kernel. >>>>> >>>>> Ed: >>>>> >>>>> I took recompiled and got the same issue. If I use the LATEST mad >>>>> distro I get some compile bugs (ath_desc_status was moved into >>>>> ath_desc structure in ah_desc.h) which I can't completely work around >>>>> (apparently the API into the HAL has changed as well). What I'm >>>>> trying to do is look at the Linux driver and understand the newer API >>>>> in order to get past this compile issue and see if this works. >>>>> Otherwise I believe we are SOL. >>>>> >>>>> Does anyone know if the CURRENT contains an updated ath HAL AND driver >>>>> for support of newer PCIe based chipsets? >>>>> >>>>> If I get it to work I will let you know... >>>>> >>>> >>>> Ok the trick is not to get it from the madfi project. Get it from the >>>> author directly! >>>> >>>> If you grab: >>>> >>>> http://people.freebsd.org/~sam/ath_hal-20080528.tgz >>>> >>>> Copy the contents into the src/sys/contrib/dev/ath/* and recompile, >>>> you should now see ath attach properly to the your NIC card. Thanks >>>> go to my friend jkim for pointing this out since he has a similar >>>> notebook/chipset and runs CURRENT successfully. I tried using CURRENT >>>> ath but there is to much vap support in it and it turned out the >>>> 7.0-RELEASE driver works. >>>> >>>> Now ath attaches properly and I'm going to test it out! (this is at >>>> least much further than a bad attach status code from the HAL). >>>> >>>> Let me know how it goes, >> >> Going G R E A T for the first time I see: >> >> ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >> RF2413, RF5413, RF2133, RF2425, RF2417) >> >> ath0: mem 0xf2200000-0xf220ffff irq 19 at device >> 0.0 on pci5 >> ath0: [ITHREAD] >> ath0: WARNING: using obsoleted if_watchdog interface >> ath0: mac 14.2 phy 7.0 radio 10.2 >> >> and an ifconfig ath0 shows: >> >> ath0: flags=8843 metric 0 mtu 2290 >> ether 00:1d:d9:27:5c:e5 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> >> My problem is now the no carrier, I think that I'm very close but >> still no cigar. >> >> Thanks soooooo much for your help. Gonna bang away and the manuals >> and google to find out why, no carrier. I have an AP a few feet away >> and iPhone works great. >> > > Did you get this to ever work? I am now running into the same issue. What > had happened was I sent my notebook back to fix a plastic latch and at the > sametime work changed the wireless AP settings. Now when the chipset comes > up I constantly get no carrier and ifconfig ath0 scan list just hangs (sits > there). > > Any idea what maybe the issue? This is highly frustrating because it WAS > working (I'm using a new 7.0-STABLE, from yesterday freshly built against > Sam's latest HAL). It is working great for me on both amd64 and i386 Current 8 with ath_hal-20080528. I haven't had time to be too adventurous and am using a fixed configuration in rc.conf which follows: wlans_ath0=wlan0 ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1" It hasn't even hiccuped since I set it up. Actually I have multiple configurations for different AP's but haven't set it up to be automatic. I hope this helps some, ed From josh.carroll at gmail.com Fri Aug 8 14:26:57 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Fri Aug 8 14:27:28 2008 Subject: x11/kde4 tries to install kde3? In-Reply-To: <200808080914.40384.kirk@strauser.com> References: <200808080914.40384.kirk@strauser.com> Message-ID: <8cb6106e0808080726l3e1978cah96f3ee6ad010f411@mail.gmail.com> On Fri, Aug 8, 2008 at 10:14 AM, Kirk Strauser wrote: > When attempting to install KDE4, I get: > > $ cd /usr/ports/x11/kde4 > $ sudo make install > ===> Installing for kde-3.5.8_2 > [...] > ===> Checking if x11/kde4 already installed > ===> kde-3.5.8_2 is already installed > [...] > Stop in /usr/ports/x11/kde4. > > I installed on this hardware about two weeks ago, so it should be fairly > clean of any weird legacy settings. Has anyone else successfully installed > KDE4 on FreeBSD 7? KDE4 is not yet available. The x11/kde4 and x11/kde4base port skeletons were created, but as far as I know, kde 4 isn't quite ready. If you look at x11/kdebase4, you'll see that it still references KDE 3.5.8: # cat /usr/ports/x11/kdebase4/distinfo MD5 (KDE/kdebase-3.5.8.tar.bz2) = 9990c669229daaaa8fca4c5e354441fd SHA256 (KDE/kdebase-3.5.8.tar.bz2) = 0f1876d1c68f01ed8fee346c1bae4f53dd2c1dc56db94e309b3d1adfc6138493 SIZE (KDE/kdebase-3.5.8.tar.bz2) = 24200172 # grep '^PORTVERSION' /usr/ports/x11/kdebase4/Makefile PORTVERSION= ${KDE_VERSION} # grep KDE_VERSION /usr/ports/Mk/* /usr/ports/Mk/bsd.kde.mk:KDE_VERSION= 3.5.8 /usr/ports/Mk/bsd.kde.mk:KDE_ORIGVER= ${KDE_VERSION} /usr/ports/Mk/bsd.kde4.mk:KDE_VERSION= 3.5.8 /usr/ports/Mk/bsd.kde4.mk:KDE_ORIGVER= ${KDE_VERSION} Soon now, I think. But it's not quite ready. Josh From kris at FreeBSD.org Fri Aug 8 14:31:15 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Fri Aug 8 14:31:30 2008 Subject: dump locks again In-Reply-To: <489C560A.4020809@netfence.it> References: <489C2AB0.1000401@netfence.it> <489C533C.6050103@FreeBSD.org> <489C560A.4020809@netfence.it> Message-ID: <489C58AE.1030608@FreeBSD.org> Andrea Venturoli wrote: > Kris Kennaway ha scritto: >> This was fixed in 7.0-STABLE. >> >> Kris > > Thanks Kris. > Since this is a critical production box, I'm a bit scared to track Stable. > Do you know when this will be merged into a release (7.1 I suppose)? I don't know if it is planned to merge the fix as a 7.0 erratum. You could ask re@ about their plans if you like. > Would it be safer to just get this single patch (if possible at all)? Perhaps but I don't have a patch handy. > I've also been advised (off list), to switch from the default 4BSD > scheduler to ULE. What are the implications of this? Better performance, most likely. > Would it solve this specific problem or would I still need to > patch/upgrade? No, it won't solve it. Kris From svein.h at lvor.halvorsen.cc Fri Aug 8 14:44:15 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Fri Aug 8 14:44:22 2008 Subject: ACLs, permission mask and chmod g= Message-ID: <489C5BAE.6010205@lvor.halvorsen.cc> If I have acls enabled on a file, running chmod g=rw on that file, will not change its group permissions, but the acl mask. That is, running the following command: $ chmod g=rw foo ... is equivalent with $ setfacl -m m::rw- ... and not, as I would suspect: $ setfacl -m g::rw- In other words, foo will not be read/writable by its default group after the command have been run (unless it was already). I find this behaviour to be very confusing. It might be the correct bahaviour, but if so maybe the chmod(1) manpage, and possibly chmod(2), should be updated to document this? Svein Halvor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080808/423b2cbf/signature.pgp From pisymbol at gmail.com Fri Aug 8 14:46:11 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Fri Aug 8 14:46:19 2008 Subject: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE In-Reply-To: <20080808092628.82215z4vfuqjj7cw@pontinet.casasponti.net> References: <3c0b01820806170757v5565b59ne0e9d5db06f26761@mail.gmail.com> <4857D8BB.1080901@gmail.com> <3c0b01820806170852t39a6346doa6d77a655469eed9@mail.gmail.com> <20080617135900.18654t73s6d7sfqc@intranet.casasponti.net> <48580EB9.7090701@gmail.com> <20080617143554.1808562gg94i8ikg@intranet.casasponti.net> <3c0b01820806171244g6f2ba46ybe0ba6d89eaab13b@mail.gmail.com> <3c0b01820806171417l2b054e15i5627d88827cc03b4@mail.gmail.com> <3c0b01820806171648g7cc01476l30df79831f9b9c6@mail.gmail.com> <20080617205053.20873zhqvlj7zles@intranet.casasponti.net> <18870155.post@talk.nabble.com> <20080808092628.82215z4vfuqjj7cw@pontinet.casasponti.net> Message-ID: <18893212.post@talk.nabble.com> Edwin L. Culp wrote: > > Alexander Sack escribi?: > >> >> >> >> Edwin L. Culp wrote: >>> >>> "Alexander Sack" escribi?: >>> >>>> Final update, I got everything working! I came home and connected by >>>> new notebook using the latest PCIe Atheros chipset to a WPA2 network >>>> using wpa_supplicant! Yippie! >>>> >>>> Hope this thread helps someone else, >>>> >>>> -aps >>>> >>>> On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack >>>> wrote: >>>>> On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack >>>>> wrote: >>>>>> On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp >>>>>> wrote: >>>>>>> "Manolis Kiagias" escribi?: >>>>>>> >>>>>>>> Edwin L. Culp wrote: >>>>>>>>> >>>>>>>>> "Alexander Sack" escribi?: >>>>>>>>> >>>>>>>>>> On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> Alexander Sack wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hello: >>>>>>>>>>>> >>>>>>>>>>>> I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 >>>>>>>>>>>> Turon based >>>>>>>>>>>> notebook, a MSI-1710A (GX710Ax) which has a generic embedded >>>>>>>>>>>> controller. During boot up I notice that ATH complains with: >>>>>>>>>>>> >>>>>>>>>>>> ath_rate: version 1.2 >>>>>>>>>>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, >>>>>>>>>>>> RF2413, >>>>>>>>>>>> RF5413) >>>>>>>>>>>> ath0: mem 0xfd7f0000-0xfd7fffff irq 16 at >>>>>>>>>>>> device >>>>>>>>>>>> 0.0 >>>>>>>>>>>> on pci2 >>>>>>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfd7f0000 >>>>>>>>>>>> ath0: [MPSAFE] >>>>>>>>>>>> ath0: [ITHREAD] >>>>>>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>>>>>> >>>>>>>>>>>> HAL status 13 from the header file seems to indicate that the >>>>>>>>>>>> 7.0-STABLE driver doesn't support my hardware revision. Here >>>>>>>>>>>> is >>>>>>>>>>>> my >>>>>>>>>>>> pciconf -l output: >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Maybe you could try compiling a kernel with a newer hal. This is >>>>>>>>>>> the >>>>>>>>>>> kind of >>>>>>>>>>> hack we use on the eeepc. Have a look at this: >>>>>>>>>>> >>>>>>>>>>> http://nighthack.org/wiki/EeeBSD >>>>>>>>>> >>>>>>>>>> Thank you SO much for this link. That's EXACTLY what I want to >>>>>>>>>> do >>>>>>>>>> because I realize that this is a HAL problem. I've been >>>>>>>>>> searching >>>>>>>>>> like MAD where I could get an updated binary HAL for this chipset >>>>>>>>>> (PCIe based). >>>>>>>>> >>>>>>>>> That makes two of us ;) >>>>>>>>> >>>>>>>>> My dmesg is very, very similar to yours and hoped that this would >>>>>>>>> work. >>>>>>>>> >>>>>>>>> ath0: mem 0xf2200000-0xf220ffff irq 19 at >>>>>>>>> device >>>>>>>>> 0.0 >>>>>>>>> on pci5 >>>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf2200000 >>>>>>>>> ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 >>>>>>>>> ath0: [MPSAFE] >>>>>>>>> ath0: [ITHREAD] >>>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>>> >>>>>>>>> I followed the instructions from the web page, recompiled and it >>>>>>>>> made no >>>>>>>>> difference which really worries me that I must have done >>>>>>>>> something wrong. >>>>>>>>> >>>>>>>>> cd madwifi-ng-r2756+ar5007/hal >>>>>>>>> cp -R * /usr/src/sys/contrib/dev/ath/ >>>>>>>>> >>>>>>>>> I did not erase it previously but am going to try that. I made >>>>>>>>> no >>>>>>>>> kern >>>>>>>>> configuration changes to find that the hal is from contrib. Is >>>>>>>>> there >>>>>>>>> nothing else I should do? >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>> >>>>>>>> Well, I have only tested this on the eeepc and can confirm it >>>>>>>> works. >>>>>>>> Maybe different atheros chipset have other problems not directly >>>>>>>> related >>>>>>>> to the hal version. >>>>>>>> You do not need to do anything more that what is shown in the >>>>>>>> page: untar, >>>>>>>> replace the existing files, recompile / install kernel, reboot. >>>>>>>> If you got >>>>>>>> no errors during the kernel compilation phase, you can safely >>>>>>>> assume you did >>>>>>>> everything correctly, and the problem lies elsewhere. >>>>>>> >>>>>>> At least there was a ray of hope for the time it took to compile >>>>>>> the kernel. >>>>>> >>>>>> Ed: >>>>>> >>>>>> I took recompiled and got the same issue. If I use the LATEST mad >>>>>> distro I get some compile bugs (ath_desc_status was moved into >>>>>> ath_desc structure in ah_desc.h) which I can't completely work around >>>>>> (apparently the API into the HAL has changed as well). What I'm >>>>>> trying to do is look at the Linux driver and understand the newer API >>>>>> in order to get past this compile issue and see if this works. >>>>>> Otherwise I believe we are SOL. >>>>>> >>>>>> Does anyone know if the CURRENT contains an updated ath HAL AND >>>>>> driver >>>>>> for support of newer PCIe based chipsets? >>>>>> >>>>>> If I get it to work I will let you know... >>>>>> >>>>> >>>>> Ok the trick is not to get it from the madfi project. Get it from the >>>>> author directly! >>>>> >>>>> If you grab: >>>>> >>>>> http://people.freebsd.org/~sam/ath_hal-20080528.tgz >>>>> >>>>> Copy the contents into the src/sys/contrib/dev/ath/* and recompile, >>>>> you should now see ath attach properly to the your NIC card. Thanks >>>>> go to my friend jkim for pointing this out since he has a similar >>>>> notebook/chipset and runs CURRENT successfully. I tried using CURRENT >>>>> ath but there is to much vap support in it and it turned out the >>>>> 7.0-RELEASE driver works. >>>>> >>>>> Now ath attaches properly and I'm going to test it out! (this is at >>>>> least much further than a bad attach status code from the HAL). >>>>> >>>>> Let me know how it goes, >>> >>> Going G R E A T for the first time I see: >>> >>> ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>> RF2413, RF5413, RF2133, RF2425, RF2417) >>> >>> ath0: mem 0xf2200000-0xf220ffff irq 19 at device >>> 0.0 on pci5 >>> ath0: [ITHREAD] >>> ath0: WARNING: using obsoleted if_watchdog interface >>> ath0: mac 14.2 phy 7.0 radio 10.2 >>> >>> and an ifconfig ath0 shows: >>> >>> ath0: flags=8843 metric 0 mtu >>> 2290 >>> ether 00:1d:d9:27:5c:e5 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> >>> My problem is now the no carrier, I think that I'm very close but >>> still no cigar. >>> >>> Thanks soooooo much for your help. Gonna bang away and the manuals >>> and google to find out why, no carrier. I have an AP a few feet away >>> and iPhone works great. >>> >> >> Did you get this to ever work? I am now running into the same issue. >> What >> had happened was I sent my notebook back to fix a plastic latch and at >> the >> sametime work changed the wireless AP settings. Now when the chipset >> comes >> up I constantly get no carrier and ifconfig ath0 scan list just hangs >> (sits >> there). >> >> Any idea what maybe the issue? This is highly frustrating because it WAS >> working (I'm using a new 7.0-STABLE, from yesterday freshly built against >> Sam's latest HAL). > > It is working great for me on both amd64 and i386 Current 8 with > ath_hal-20080528. > > I haven't had time to be too adventurous and am using a fixed > configuration in rc.conf which follows: > > wlans_ath0=wlan0 > ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey > 1" > > It hasn't even hiccuped since I set it up. Actually I have multiple > configurations for different AP's but haven't set it up to be automatic. > > I hope this helps some, > > ed > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > Yes thanks. False alarm. Friggin support folks didn't install the antenna right. As a result I was getting well no carrier all the time. Its fixed and working! Thanks! -- View this message in context: http://www.nabble.com/Atheros-%28ath%29-MSI-wireless-embedded-chipset-fails-to-attach-on-7.0-STABLE-tp17913515p18893212.html Sent from the freebsd-questions mailing list archive at Nabble.com. From af300wsm at gmail.com Fri Aug 8 15:02:03 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Fri Aug 8 15:02:10 2008 Subject: [dhcpd] BOOTP from dynamic client and no dynamic leases Message-ID: <340a29540808080802n7b547ebvc5961dbb51508c00@mail.gmail.com> Hi, If I had hair I'd be pulling it out now. I cannot find adequate help anywhere as yet for this issue. I've installed the ISC dhcpd program from ports and am struggling to get it setup properly. As I mentioned in my other e-mail, I cannot share the contents of my configuration file. I'm sorry, I really wished I could. What I have is this (censored for host names and IP addresses): not authoritative; ddns-update-style none; deny unknown-clients; allow bootp; use-host-decl-names on; subnet 192.168.24.0 netmask 255.255.248.0 { # this server will only host bootp, thus the range is left out #leases default-lease-time 6000; max-lease-time 6000; option subnet-mask 255.255.248.0; option broadcast-address 192.168..31.255; option routers 192.168.24.1; option domain-name-servers 192.168.0.51; option domain-name "internal.domain"; } host host1 { option host-name "host1"; hardware ethernet 00:01:a2:4a:cc:af; fixed-address 192.168.27.0; } That's all of the globals in use by this server and a single host entry (there are 44 hosts using the range 192.168.27.0-192.168.27.43). I do not know what is causing my problem. The dhcpd server starts so I know there are no syntactic problems with my configuration file, but it's not answering requests for IP addresses. When I start the server, dhcpd -d, I get many lines with the test, "BOOTP from dynamic client and no dynamic leases." Also, because of how things are configured for the subnet I'm on, I cannot allow this server to respond to other DHCP requests. It can only service the small range of 44 that I've been allocated. The clients use bootp for this and although they are not booting anything from this server, or any other, bootp is used. Whether or not this is a good, or proper use, of bootp I know not. I didn't set it up, but it is what I have to use. Can anyone here offer me any ideas about what the problem might be? >From looking through the dhcpd.conf file I've found a configuration option for pool clauses that's something like this: lease limit N; but I don't think this is what I'm looking for. First off, it seems to only apply to pools and I'm not using any pools. Secondly, it would only help if the assumption is correct that without this statement the server defaults to a lease limit of 0. This, I don't believe, is the case from what I've read in this man page. Any help is greatly appreciated thanks, Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From richard.elwell at icsalabs.com Fri Aug 8 15:51:15 2008 From: richard.elwell at icsalabs.com (Elwell, Richard) Date: Fri Aug 8 15:51:22 2008 Subject: FreeBSD 7.0 on Xen Message-ID: Sorry about the premature sending. Here is the complete question: > Greetings, > > I am attempting to follow the directions located at > http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html > and load a FreeBSD Xen DomU instance. The document says: > Download the FreeBSD domU kernel for Xen 3.0 and disk image from http://www.fsmware.com/ * kernel-current * mdroot-7.0.bz2 * xmexample1.bsd The link for kernel-current does not work. Do you know where I can find the kernel? I tried to compile a kernel with PAE support, modify it using the objcopy instructions given in the handbook, and use it, but I get the error "xc-dom-compat-check: guest type xen-3.0-x86_32 not supported by xen kernel". It looks like I need a guest type xen-3.0-x86_32p. I thought compiling a kernel with PAE enabled would give me that, but I get the same error. Any ideas? From richard.elwell at icsalabs.com Fri Aug 8 15:55:31 2008 From: richard.elwell at icsalabs.com (Elwell, Richard) Date: Fri Aug 8 15:55:38 2008 Subject: FreeBSD 7.0 on Xen Message-ID: Greetings, I am attempting to follow the directions located at http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html and load a FreeBSD Xen DomU instance. The document says: From outbackdingo at gmail.com Fri Aug 8 16:04:04 2008 From: outbackdingo at gmail.com (OutBackDingo) Date: Fri Aug 8 16:04:13 2008 Subject: FreeBSD 7.0 on Xen In-Reply-To: References: Message-ID: <200808082304.02959.outbackdingo@gmail.com> I have a working config for non-HVM systems, its stable enough to play with but not for production, if you have however a HVM machine, FreeBSD runs great under linux KVM On Friday 08 August 2008 22:46:11 Elwell, Richard wrote: > Sorry about the premature sending. Here is the complete question: > > Greetings, > > > > I am attempting to follow the directions located at > > http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html > > and load a FreeBSD Xen DomU instance. The document says: > > Download the FreeBSD domU kernel for Xen 3.0 and disk image from > http://www.fsmware.com/ > > * kernel-current > > > * mdroot-7.0.bz2 > > > * xmexample1.bsd > > > The link for kernel-current does not work. Do you know where I can find > the kernel? I tried to compile a kernel with PAE support, modify it > using the objcopy instructions given in the handbook, and use it, but I > get the error "xc-dom-compat-check: guest type xen-3.0-x86_32 not > supported by xen kernel". > > It looks like I need a guest type xen-3.0-x86_32p. I thought compiling > a kernel with PAE enabled would give me that, but I get the same error. > > Any ideas? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From cswiger at mac.com Fri Aug 8 16:54:27 2008 From: cswiger at mac.com (Chuck Swiger) Date: Fri Aug 8 16:54:34 2008 Subject: [dhcpd] BOOTP from dynamic client and no dynamic leases In-Reply-To: <340a29540808080802n7b547ebvc5961dbb51508c00@mail.gmail.com> References: <340a29540808080802n7b547ebvc5961dbb51508c00@mail.gmail.com> Message-ID: Hi-- On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote: > Hi, > > If I had hair I'd be pulling it out now. I cannot find adequate help > anywhere as yet for this issue. I've installed the ISC dhcpd program > from ports and am struggling to get it setup properly. As I mentioned > in my other e-mail, I cannot share the contents of my configuration > file. I'm sorry, I really wished I could. What I have is this > (censored for host names and IP addresses): > > not authoritative; If you are in charge of the subnet range that you are using, then you should be setting yours to authoritative. If there is already a DHCP server running as authoritative for the local subnet, you should configure your static IPs on it, rather than trying to set up a second one. You could probably gain more information by running: tcpdump -s 0 -vv port bootps ...and look at whether the MAC addrs match what you think they should be in the request, and whether your server or another is replying with DHCPNAK. There is fine documentation and even a mailing list for the ISC DHCPD available here and at : http://www.isc.org/index.pl?/sw/dhcp/authoritative.php http://www.isc.org/sw/dhcp/dhcpv3-README.php#support Regards, -- -Chuck From dnelson at allantgroup.com Fri Aug 8 17:09:17 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Aug 8 17:09:26 2008 Subject: Weird Processes on my server from user.... In-Reply-To: References: Message-ID: <20080808170913.GD68181@dan.emsphone.com> In the last episode (Aug 07), Agus said: > Hi guys, > > Checking my server i found this processess....The user doesnt appear > doing w..so its like if he was doing an scp or something like > that...though in this case its sftp... But i read the man and doesnt > have much information..so i dont understand what is going in the > background with this proccesess or how can i check it... > > the user is deamon and is a registered user... > here is the pstree output: > > | |-+= 74888 root sshd: deamon [priv] (sshd) > | | \-+- 74891 deamon sshd: deamon@notty (sshd) > | | \-+= 74892 deamon csh -c /usr/libexec/sftp-server > | | \--- 74893 deamon /usr/libexec/sftp-server I think you'll see this if the user is sftp'ing over SSHv1; the sftp-server component has to be launched via a shell login because SSHv1 doesn't have subsystems. -- Dan Nelson dnelson@allantgroup.com From rjhjr at cox.net Fri Aug 8 17:10:04 2008 From: rjhjr at cox.net (Bob Hall) Date: Fri Aug 8 17:10:12 2008 Subject: The Design and Implementation of the FreeBSD Operating System In-Reply-To: References: <200807221806.06544.gnemmi@gmail.com> Message-ID: <20080808165540.GA20573@kongemord.krig.net> > A few years later about 6 months after the book went out of print > I actually bought a box of 20 of the books for something like a dollar > a book, from a remainder dealer, just to have a future cache of them > that I could give away. I probably wouldn't be using FBSD now if it wasn't for your book and Greg Lehey's book back then. I still have both on the shelf. Greg's book is version 3 and your book has an unopened FBSD 4.2 CD package. :) From lolrodney at gmail.com Fri Aug 8 17:13:58 2008 From: lolrodney at gmail.com (RODNEY ROGER) Date: Fri Aug 8 17:14:06 2008 Subject: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0 In-Reply-To: <20080808074606.2743534a@verizon.net> References: <4938c7f50808071619p56ccaf6dice06b62e26a85e3a@mail.gmail.com> <20080808074606.2743534a@verizon.net> Message-ID: <4938c7f50808081013n4b71521fw66cc257e8beae800@mail.gmail.com> On Fri, Aug 8, 2008 at 7:46 AM, David Gurvich wrote: > I'm not sure of your settings, but increasing tx power is only good for > transmitting and will increase noise, hurting reception. Your S:N > numbers look quite poor, I rarely get any handshake when signal is that > bad. I'm surprised you managed to get a dhcp offer. > > Have you tried this computer in the same location as the windows > machines? How far from the router are you compared to those? The machines are right near each other. I've even tried swapping the antennas only to find the same result. I tried decreasing txpower to 32, 36, 40 which did not seem to help. My laptop is even farther away (about 50 feet) from the router than my freebsd machine and has a much better signal. From af300wsm at gmail.com Fri Aug 8 17:25:35 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Fri Aug 8 17:26:12 2008 Subject: [dhcpd] BOOTP from dynamic client and no dynamic leases In-Reply-To: References: <340a29540808080802n7b547ebvc5961dbb51508c00@mail.gmail.com> Message-ID: <340a29540808081025q16eb8b7ax4fb1997721640d1f@mail.gmail.com> On Fri, Aug 8, 2008 at 10:54 AM, Chuck Swiger wrote: > Hi-- > > On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote: >> >> >> not authoritative; > > If you are in charge of the subnet range that you are using, then you should > be setting yours to authoritative. If there is already a DHCP server > running as authoritative for the local subnet, you should configure your > static IPs on it, rather than trying to set up a second one. You could > probably gain more information by running: > I just read through my original post for this message here and should have made it more clear that this list wasn't among the inadequate helps I was referencing. I cannot tell you the number of Google searches I've done in looking for this. I am not authoritative on this subnet. Originally, I had the statement as authoritative but thought this might be my problem (unfortunately it wasn't). The organization I work for is sufficiently large enough that getting requests handled for the authoritative serves nearly takes an act of Congress. When our team ramps up, we change out hardware quite frequently and this (asking for changes made to the authoritative servers) isn't feasible for us to meet demand. So, this solution was put in place. Our old bootp server worked just fine, but is now having problems (it runs for about a day and then crashes). > tcpdump -s 0 -vv port bootps > > ...and look at whether the MAC addrs match what you think they should be in > the request, and whether your server or another is replying with DHCPNAK. > There is fine documentation and even a mailing list for the ISC DHCPD > available here and at : > > http://www.isc.org/index.pl?/sw/dhcp/authoritative.php > http://www.isc.org/sw/dhcp/dhcpv3-README.php#support > thank you for these two links. I hadn't yet found them from all the searches I'd done thus far. Also, though I should have thought of it myself, thanks for the pointer on using tcpdump. I'll give that a try. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From josh.carroll at gmail.com Fri Aug 8 17:30:55 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Fri Aug 8 17:31:03 2008 Subject: FreeBSD 7.0 on Xen In-Reply-To: <200808082304.02959.outbackdingo@gmail.com> References: <200808082304.02959.outbackdingo@gmail.com> Message-ID: <8cb6106e0808081030hb65646x21d2e06edbbf2e5e@mail.gmail.com> On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo wrote: > I have a working config for non-HVM systems, its stable enough to play with but > not for production, if you have however a HVM machine, FreeBSD runs great > under linux KVM What host OS are you using for dom0? I'm considering setting this up on my second box, so I can run 7.0-STABLE and 8.0-CURRENT simultaneously (and use the full capabilities/speed of the processor), but I've heard of limited success, depending on the host/dom0 OS. Thanks, Josh From maslak at ihlas.net.tr Fri Aug 8 18:50:35 2008 From: maslak at ihlas.net.tr (Yavuz Maslak) Date: Fri Aug 8 19:02:29 2008 Subject: How to set quota ( as Mbyte ) for a directory? Message-ID: <002101c8f987$7f814aa0$dc96eed5@ihlasnetym> On freebsd7, How to set quota for a directory? For instance I want to set 100Mbyte quota for a directory. How can I do that ? From richard.elwell at icsalabs.com Fri Aug 8 19:17:15 2008 From: richard.elwell at icsalabs.com (Elwell, Richard) Date: Fri Aug 8 19:17:22 2008 Subject: FreeBSD 7.0 on Xen Message-ID: CentOS 5.2 On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo > wrote: > I have a working config for non-HVM systems, its stable enough to play with but > not for production, if you have however a HVM machine, FreeBSD runs great > under linux KVM What host OS are you using for dom0? I'm considering setting this up on my second box, so I can run 7.0-STABLE and 8.0-CURRENT simultaneously (and use the full capabilities/speed of the processor), but I've heard of limited success, depending on the host/dom0 OS. Thanks, Josh From cswiger at mac.com Fri Aug 8 19:33:59 2008 From: cswiger at mac.com (Chuck Swiger) Date: Fri Aug 8 19:34:06 2008 Subject: How to set quota ( as Mbyte ) for a directory? In-Reply-To: <002101c8f987$7f814aa0$dc96eed5@ihlasnetym> References: <002101c8f987$7f814aa0$dc96eed5@ihlasnetym> Message-ID: On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote: > On freebsd7, How to set quota for a directory? > For instance I want to set 100Mbyte quota for a directory. How can > I do > that ? Quotas are handled per filesystem, not per directory. See "man quotaon" & "man quotacheck", or the FreeBSD Handbook. Regards, -- -Chuck From kline at thought.org Fri Aug 8 19:45:01 2008 From: kline at thought.org (Gary Kline) Date: Fri Aug 8 19:45:09 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <3800467F-66CE-446B-B322-1310769B2DA6@identry.com> References: <20080807224226.GA45445@thought.org> <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> <20080808061934.GC57877@thought.org> <3800467F-66CE-446B-B322-1310769B2DA6@identry.com> Message-ID: <20080808194457.GA81628@thought.org> On Fri, Aug 08, 2008 at 08:47:50AM -0400, John Almberg wrote: > >>(And yes, while one can run FreeBSD just fine on a Macbook, Sahil is > >>right that the question is off-topic for these lists. :-) > > > > > > Well, considering that they asked us (and NetBSD) for clues when > > they were porting OSX, it didn't seem like my post was *that* > > far Off! maybe a tiny bit. > > > > Anyway, thanks to everybody who replied onlist and off. > > > > gary > > > > I don't think it's far OT, either, since IMHO, Mac desktops and > FreeBSD servers are the perfect, practical combination for many > organizations, including my own. This might better be asked offlist, but there may be others like me who are clueless, and since you are familiar, I'll ask you. How "interact-able" are FBSD and (say) MacBook? E.g., is there a "BSD-way" of my creating an account of the Apple and using is? It's got @G of RAM, and a 160G drive [!]. Apple says in plain text that is is UNIX. (or maybe Berkeley Unix). So besides the mac firewall [whatever], the laptop will be behind my pfSense box. So... --and to be completely honest, the main reason for this >> $1000 laptop is *security*. When she was younger I wasn't that concerned is some kiddie cracker learned that her favorite pet was a kitty. Different now. Another question: can I install X11 without it bothering whatever kind of mac front-end windowing comes with? Be great if I could admin this BSD-based computer from my office. thankee much! gary > > -- John > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From karabojkov at kit-bg.com Fri Aug 8 20:05:43 2008 From: karabojkov at kit-bg.com (Ivo Karabojkov) Date: Fri Aug 8 20:05:51 2008 Subject: changing architecture from i386 to amd64 Message-ID: <489CA4B2.7020503@kit-bg.com> Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and "world" with another architecture, in my case AMD64? I've tried to build kernel in /sys/amd64/conf, but on "make depend" everything fails. I see it includes paths with .../I386/.. even link machine in compile directory points to .../I386. I hope to be able to "switch" my architecture without re-installing FreeBSD with AMD64. From rsmith at xs4all.nl Fri Aug 8 20:20:39 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 8 20:20:46 2008 Subject: changing architecture from i386 to amd64 In-Reply-To: <489CA4B2.7020503@kit-bg.com> References: <489CA4B2.7020503@kit-bg.com> Message-ID: <20080808202035.GB25653@slackbox.xs4all.nl> On Fri, Aug 08, 2008 at 10:55:30PM +0300, Ivo Karabojkov wrote: > Hi! > > I have machine working with i386 version of FreeBSD 7.0 Release (after > several source updates from 6.0 during the years). Is it possible to > re-build kernel and "world" with another architecture, in my case > AMD64? Yes, but you'll need to have a seperate partition to install them to. Don't do this if you don't know what you're doing. > I hope to be able to "switch" my architecture without re-installing > FreeBSD with AMD64. You do realize that you have to recompile/reinstall your ports/packages to take advantage of the amd64 features? That is a _lot_ more work than reinstalling the base system! So reinstalling the base system should not worry you. Before you switch you should check that all ports that you need are available on amd64. If you look into the port makefile and see ONLY_FOR_ARCHS=i386, it won't work on amd64! Examples are the flash plugin for firefox and the binary nVidia driver for Xorg. The best advice I can give you is: - make backups of all your data (especially configuration files) - delete all ports - reinstall amd64 - rebuild the ports that you need. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080808/711eed17/attachment.pgp From kirk at strauser.com Fri Aug 8 20:23:54 2008 From: kirk at strauser.com (Kirk Strauser) Date: Fri Aug 8 20:24:01 2008 Subject: changing architecture from i386 to amd64 In-Reply-To: <489CA4B2.7020503@kit-bg.com> References: <489CA4B2.7020503@kit-bg.com> Message-ID: <200808081523.47271.kirk@strauser.com> On Friday 08 August 2008, Ivo Karabojkov wrote: > I hope to be able to "switch" my architecture without re-installing > FreeBSD with AMD64. I went through this last week. I use the 7.0 install disk to do an *upgrade* installation over the old one, booted into the new amd64 system, and upgraded kernel and world. Next, I manually reinstalled databases/db47, lang/ruby18, databases/ruby-bdb, and ports-mgmt/portupgrade. When that was done, I ran "portupgrade -fa" to recompile all the ports on my system. The only gotchas I had were that Berkeley databases aren't portable from 32-bit to 64-bit systems, and I used quite a few. A word to the wise: dump PostgreSQL to a text file before the upgrade. -- Kirk Strauser From ivo at kit-bg.com Fri Aug 8 20:35:42 2008 From: ivo at kit-bg.com (Iv. Karabojkov) Date: Fri Aug 8 20:35:50 2008 Subject: changing architecture from i386 to amd64 Message-ID: <489CA59F.5040206@kit-bg.com> Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and "world" with another architecture, in my case AMD64? I've tried to build kernel in /sys/amd64/conf, but on "make depend" everything fails. I see it includes paths with .../I386/.. even link machine in compile directory points to .../I386. I hope to be able to "switch" my architecture without re-installing FreeBSD with AMD64. From akme.inc at gmail.com Fri Aug 8 21:42:28 2008 From: akme.inc at gmail.com (acmeinc) Date: Fri Aug 8 21:42:36 2008 Subject: no boot/loader Message-ID: <18899421.post@talk.nabble.com> No /boot/loader no /boot/kernel/kernel I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one hard drive in which I followed with the ASQ (auto, tag for boot, quit) command. I choose the standard boot loader option. I installed through the master freebsd site via ethernet. Upon the congratulation screen is asks for a reboot, and to remove the boot disk, I resart to the error message above. I believe it is because a boot loader is not installed, however, it should be. Is it not in the set up, it is one of the first steps. Following the errors I am in put into a boot prompt: boot: Are there any commands I can run from this prompt to manually boot? How can I make the boot work? Will I need to install my own boot loader? How can I install a manul boot loader? How can I check if the boot loader is installed, but just not loading properly? -- View this message in context: http://www.nabble.com/no-boot-loader-tp18899421p18899421.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jmecheniqueh at gmail.com Fri Aug 8 21:48:03 2008 From: jmecheniqueh at gmail.com (=?ISO-8859-1?Q?Jos=E9_Manuel_Echenique_H.?=) Date: Fri Aug 8 21:48:10 2008 Subject: FreePbx In-Reply-To: <48963B9D.5060906@giallarhorn.org> References: <48963B9D.5060906@giallarhorn.org> Message-ID: <662f0f510808081419t5ab1911ew63f7ba72626310fe@mail.gmail.com> Hi, Review other option: http://asterisk.s242.xrea.com/asterisk-gui-a0.html AsteriskNOW. On 8/3/08, orv wrote: > > Hi, > Does anyone have a recipe for installing freepbx on FreeBSD 6-3 stable. > There does not seem to be a port for it and googling does not reveal > anything helpfull so far. > > I found the following which mentions a port however the port is no longer > around. http://aussievoip.com/wiki/index.php?page=freePBX-FreeBSD. > > Thanks > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From akme.inc at gmail.com Fri Aug 8 21:48:36 2008 From: akme.inc at gmail.com (acmeinc) Date: Fri Aug 8 21:48:43 2008 Subject: How to set quota ( as Mbyte ) for a directory? In-Reply-To: <002101c8f987$7f814aa0$dc96eed5@ihlasnetym> References: <002101c8f987$7f814aa0$dc96eed5@ihlasnetym> Message-ID: <18899490.post@talk.nabble.com> You may actually use the edquota -u command to set a quota a specific user. I think this is about as specific as you can get. edquota -g is for groups and edquota -f is for a filesystem. -- View this message in context: http://www.nabble.com/How-to-set-quota-%28-as-Mbyte-%29--for-a-directory--tp18897426p18899490.html Sent from the freebsd-questions mailing list archive at Nabble.com. From akme.inc at gmail.com Fri Aug 8 22:05:31 2008 From: akme.inc at gmail.com (acmeinc) Date: Fri Aug 8 22:05:38 2008 Subject: ACLs, permission mask and chmod g= In-Reply-To: <489C5BAE.6010205@lvor.halvorsen.cc> References: <489C5BAE.6010205@lvor.halvorsen.cc> Message-ID: <18899706.post@talk.nabble.com> You may consider trying chmod 660 filename. 660 -----> UGW, user group world. For each read, write, and execute is given a number, 4,2,1 repectively. So, 660 would result in rw-rw----, a popluar format is 755, rwxr-xr-x. You would simply replace add the numbers together for each division and place them after chmod and before the file to give the permissions you would like. Svein Halvor Halvorsen-4 wrote: > > If I have acls enabled on a file, running chmod g=rw on that file, > will not change its group permissions, but the acl mask. > > That is, running the following command: > $ chmod g=rw foo > > ... is equivalent with > $ setfacl -m m::rw- > > ... and not, as I would suspect: > $ setfacl -m g::rw- > > In other words, foo will not be read/writable by its default group > after the command have been run (unless it was already). > > I find this behaviour to be very confusing. It might be the correct > bahaviour, but if so maybe the chmod(1) manpage, and possibly > chmod(2), should be updated to document this? > > > Svein Halvor > > > > -- View this message in context: http://www.nabble.com/ACLs%2C-permission-mask-and-chmod-g%3D-tp18893185p18899706.html Sent from the freebsd-questions mailing list archive at Nabble.com. From svein.h at lvor.halvorsen.cc Fri Aug 8 22:29:33 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Fri Aug 8 22:29:41 2008 Subject: ACLs, permission mask and chmod g= In-Reply-To: <18899706.post@talk.nabble.com> References: <489C5BAE.6010205@lvor.halvorsen.cc> <18899706.post@talk.nabble.com> Message-ID: <489CC8BB.9060607@lvor.halvorsen.cc> acmeinc wrote: > You may consider trying chmod 660 filename. It gives the same result. When changing group permission (either way) on a file with acls, you're effectively changing the acl mask instead. Also, if I change acl mask with setfacl, then ls -l will list the permission mask in the group columns in the output. If this is by design, then it isn't documented in chmod(1) (or anywhere else that I can see). It kinda makes sense this way, though. If you chmod the group permission, you change all groups' permissions. But I'd like to see it documented, as it caused me some confusion, and I still think that this isn't obvious. > Svein Halvor Halvorsen-4 wrote: >> If I have acls enabled on a file, running chmod g=rw on that file, >> will not change its group permissions, but the acl mask. >> >> That is, running the following command: >> $ chmod g=rw foo >> >> ... is equivalent with >> $ setfacl -m m::rw- >> >> ... and not, as I would suspect: >> $ setfacl -m g::rw- >> >> In other words, foo will not be read/writable by its default group >> after the command have been run (unless it was already). >> >> I find this behaviour to be very confusing. It might be the correct >> bahaviour, but if so maybe the chmod(1) manpage, and possibly >> chmod(2), should be updated to document this? >> >> >> Svein Halvor >> >> >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080808/e410e06a/signature.pgp From akme.inc at gmail.com Fri Aug 8 22:36:23 2008 From: akme.inc at gmail.com (acmeinc) Date: Fri Aug 8 22:36:30 2008 Subject: ACLs, permission mask and chmod g= In-Reply-To: <489CC8BB.9060607@lvor.halvorsen.cc> References: <489C5BAE.6010205@lvor.halvorsen.cc> <18899706.post@talk.nabble.com> <489CC8BB.9060607@lvor.halvorsen.cc> Message-ID: <18900042.post@talk.nabble.com> One last thing.... have you tried; setfacl -s i notice you have -m in your original post. Other than this, I won't have any other insight. Svein Halvor Halvorsen-4 wrote: > > acmeinc wrote: >> You may consider trying chmod 660 filename. > > It gives the same result. When changing group permission (either > way) on a file with acls, you're effectively changing the acl mask > instead. Also, if I change acl mask with setfacl, then ls -l will > list the permission mask in the group columns in the output. > > If this is by design, then it isn't documented in chmod(1) (or > anywhere else that I can see). > > It kinda makes sense this way, though. If you chmod the group > permission, you change all groups' permissions. But I'd like to see > it documented, as it caused me some confusion, and I still think > that this isn't obvious. > > >> Svein Halvor Halvorsen-4 wrote: >>> If I have acls enabled on a file, running chmod g=rw on that file, >>> will not change its group permissions, but the acl mask. >>> >>> That is, running the following command: >>> $ chmod g=rw foo >>> >>> ... is equivalent with >>> $ setfacl -m m::rw- >>> >>> ... and not, as I would suspect: >>> $ setfacl -m g::rw- >>> >>> In other words, foo will not be read/writable by its default group >>> after the command have been run (unless it was already). >>> >>> I find this behaviour to be very confusing. It might be the correct >>> bahaviour, but if so maybe the chmod(1) manpage, and possibly >>> chmod(2), should be updated to document this? >>> >>> >>> Svein Halvor >>> >>> >>> >>> >> > > > > > -- View this message in context: http://www.nabble.com/ACLs%2C-permission-mask-and-chmod-g%3D-tp18893185p18900042.html Sent from the freebsd-questions mailing list archive at Nabble.com. From svein.h at lvor.halvorsen.cc Fri Aug 8 23:04:47 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Fri Aug 8 23:04:54 2008 Subject: ACLs, permission mask and chmod g= In-Reply-To: <18900042.post@talk.nabble.com> References: <489C5BAE.6010205@lvor.halvorsen.cc> <18899706.post@talk.nabble.com> <489CC8BB.9060607@lvor.halvorsen.cc> <18900042.post@talk.nabble.com> Message-ID: <489CD102.4000100@lvor.halvorsen.cc> acmeinc wrote: > One last thing.... > > have you tried; > > setfacl -s "setfacl -s" is not documented, and also gives "illegal option -- s" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080808/7243c88b/signature.pgp From derek at computinginnovations.com Fri Aug 8 23:49:35 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Fri Aug 8 23:49:44 2008 Subject: no boot/loader In-Reply-To: <18899421.post@talk.nabble.com> References: <18899421.post@talk.nabble.com> Message-ID: <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> At 04:42 PM 8/8/2008, acmeinc wrote: >No /boot/loader >no /boot/kernel/kernel > >I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one >hard drive in which I followed with the ASQ (auto, tag for boot, quit) >command. I choose the standard boot loader option. I installed through the >master freebsd site via ethernet. Upon the congratulation screen is asks for >a reboot, and to remove the boot disk, I resart to the error message above. >I believe it is because a boot loader is not installed, however, it should >be. Is it not in the set up, it is one of the first steps. > >Following the errors I am in put into a boot prompt: > >boot: > >Are there any commands I can run from this prompt to manually boot? How can >I make the boot work? Will I need to install my own boot loader? How can I >install a manul boot loader? How can I check if the boot loader is >installed, but just not loading properly? You would do well do try the install again, but check things BEFORE you allow sysinstall to exit and reboot. Also check that your BIOS has any anti-virus settings not allowing the boot area of the hard disk to be written, turned off. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From akme.inc at gmail.com Sat Aug 9 00:00:55 2008 From: akme.inc at gmail.com (acmeinc) Date: Sat Aug 9 00:01:02 2008 Subject: no boot/loader In-Reply-To: <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> References: <18899421.post@talk.nabble.com> <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> Message-ID: <18900779.post@talk.nabble.com> Check things? Which things should I be checking for? And where should I be checking them, to be more specific, which optoin should I choose within sysinstall to check the things? I am reading on another forum the installation is incorrect and to try again, however I have tried many times. Do you think the minimun install is not enough to allow for bootup? Derek Ragona wrote: > > At 04:42 PM 8/8/2008, acmeinc wrote: > >>No /boot/loader >>no /boot/kernel/kernel >> >>I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one >>hard drive in which I followed with the ASQ (auto, tag for boot, quit) >>command. I choose the standard boot loader option. I installed through the >>master freebsd site via ethernet. Upon the congratulation screen is asks for >>a reboot, and to remove the boot disk, I resart to the error message above. >>I believe it is because a boot loader is not installed, however, it should >>be. Is it not in the set up, it is one of the first steps. >> >>Following the errors I am in put into a boot prompt: >> >>boot: >> >>Are there any commands I can run from this prompt to manually boot? How can >>I make the boot work? Will I need to install my own boot loader? How can I >>install a manul boot loader? How can I check if the boot loader is >>installed, but just not loading properly? > > You would do well do try the install again, but check things BEFORE you > allow sysinstall to exit and reboot. Also check that your BIOS has any > anti-virus settings not allowing the boot area of the hard disk to be > written, turned off. > > -Derek > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/no-boot-loader-tp18899421p18900779.html Sent from the freebsd-questions mailing list archive at Nabble.com. From derek at computinginnovations.com Sat Aug 9 00:07:58 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sat Aug 9 00:08:05 2008 Subject: no boot/loader In-Reply-To: <18900779.post@talk.nabble.com> References: <18899421.post@talk.nabble.com> <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> <18900779.post@talk.nabble.com> Message-ID: <6.0.0.22.2.20080808190348.024efc48@mail.computinginnovations.com> At 07:00 PM 8/8/2008, acmeinc wrote: >Check things? Which things should I be checking for? And where should I be >checking them, to be more specific, which optoin should I choose within >sysinstall to check the things? > >I am reading on another forum the installation is incorrect and to try >again, however I have tried many times. Do you think the minimun install is >not enough to allow for bootup? Before you exit sysinstall, go to the emergency shell I believe alt+F4 will get you there. Then do: mount The output from mount will show where the new filesystems are mounted. You can check that /boot is populated and that you have a kernel in /boot/kernel/kernel. To check those you'd type: ls -al [fill in the root mount point]/boot and ls -al [fill in the root mount point]/boot/kernel/kernel Check your BIOS settings. It is likely you have a setting in the BIOS preventing the boot area being written. -Derek >Derek Ragona wrote: > > > > At 04:42 PM 8/8/2008, acmeinc wrote: > > > >>No /boot/loader > >>no /boot/kernel/kernel > >> > >>I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one > >>hard drive in which I followed with the ASQ (auto, tag for boot, quit) > >>command. I choose the standard boot loader option. I installed through the > >>master freebsd site via ethernet. Upon the congratulation screen is asks >for > >>a reboot, and to remove the boot disk, I resart to the error message >above. > >>I believe it is because a boot loader is not installed, however, it should > >>be. Is it not in the set up, it is one of the first steps. > >> > >>Following the errors I am in put into a boot prompt: > >> > >>boot: > >> > >>Are there any commands I can run from this prompt to manually boot? How >can > >>I make the boot work? Will I need to install my own boot loader? How can I > >>install a manul boot loader? How can I check if the boot loader is > >>installed, but just not loading properly? > > > > You would do well do try the install again, but check things BEFORE you > > allow sysinstall to exit and reboot. Also check that your BIOS has any > > anti-virus settings not allowing the boot area of the hard disk to be > > written, turned off. > > > > -Derek > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > >-- >View this message in context: >http://www.nabble.com/no-boot-loader-tp18899421p18900779.html >Sent from the freebsd-questions mailing list archive at Nabble.com. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From akme.inc at gmail.com Sat Aug 9 00:11:17 2008 From: akme.inc at gmail.com (acmeinc) Date: Sat Aug 9 00:11:24 2008 Subject: no boot/loader In-Reply-To: <6.0.0.22.2.20080808190348.024efc48@mail.computinginnovations.com> References: <18899421.post@talk.nabble.com> <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> <18900779.post@talk.nabble.com> <6.0.0.22.2.20080808190348.024efc48@mail.computinginnovations.com> Message-ID: <18900844.post@talk.nabble.com> Excellent! I will try this among the other things mentioned when I get back home. Final note, what would this BIOS MBR setting look like normally, or an idea of where to look in the CMOS. THanks Derek Ragona wrote: > > At 07:00 PM 8/8/2008, acmeinc wrote: > >>Check things? Which things should I be checking for? And where should I be >>checking them, to be more specific, which optoin should I choose within >>sysinstall to check the things? >> >>I am reading on another forum the installation is incorrect and to try >>again, however I have tried many times. Do you think the minimun install is >>not enough to allow for bootup? > > Before you exit sysinstall, go to the emergency shell I believe alt+F4 > will > get you there. Then do: > mount > > The output from mount will show where the new filesystems are mounted. > You > can check that /boot is populated and that you have a kernel in > /boot/kernel/kernel. To check those you'd type: > > ls -al [fill in the root mount point]/boot > > and > > ls -al [fill in the root mount point]/boot/kernel/kernel > > Check your BIOS settings. It is likely you have a setting in the BIOS > preventing the boot area being written. > > -Derek > > > > >>Derek Ragona wrote: >> > >> > At 04:42 PM 8/8/2008, acmeinc wrote: >> > >> >>No /boot/loader >> >>no /boot/kernel/kernel >> >> >> >>I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using >> one >> >>hard drive in which I followed with the ASQ (auto, tag for boot, quit) >> >>command. I choose the standard boot loader option. I installed through >> the >> >>master freebsd site via ethernet. Upon the congratulation screen is >> asks >>for >> >>a reboot, and to remove the boot disk, I resart to the error message >>above. >> >>I believe it is because a boot loader is not installed, however, it >> should >> >>be. Is it not in the set up, it is one of the first steps. >> >> >> >>Following the errors I am in put into a boot prompt: >> >> >> >>boot: >> >> >> >>Are there any commands I can run from this prompt to manually boot? How >>can >> >>I make the boot work? Will I need to install my own boot loader? How >> can I >> >>install a manul boot loader? How can I check if the boot loader is >> >>installed, but just not loading properly? >> > >> > You would do well do try the install again, but check things BEFORE you >> > allow sysinstall to exit and reboot. Also check that your BIOS has any >> > anti-virus settings not allowing the boot area of the hard disk to be >> > written, turned off. >> > >> > -Derek >> > >> > -- >> > This message has been scanned for viruses and >> > dangerous content by MailScanner, and is >> > believed to be clean. >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> > >> > >> >>-- >>View this message in context: >>http://www.nabble.com/no-boot-loader-tp18899421p18900779.html >>Sent from the freebsd-questions mailing list archive at Nabble.com. >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >>-- >>This message has been scanned for viruses and >>dangerous content by MailScanner, and is >>believed to be clean. > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/no-boot-loader-tp18899421p18900844.html Sent from the freebsd-questions mailing list archive at Nabble.com. From freebsd at edvax.de Sat Aug 9 00:16:31 2008 From: freebsd at edvax.de (Polytropon) Date: Sat Aug 9 00:16:38 2008 Subject: no boot/loader In-Reply-To: <18900779.post@talk.nabble.com> References: <18899421.post@talk.nabble.com> <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> <18900779.post@talk.nabble.com> Message-ID: <20080809021610.53b7b1b3.freebsd@edvax.de> On Fri, 8 Aug 2008 17:00:54 -0700 (PDT), acmeinc wrote: > Check things? Which things should I be checking for? And where should I be > checking them, to be more specific, which optoin should I choose within > sysinstall to check the things? Be sure to write your settings. In the partition editor, make sure your desired FreeBSD slice is marked "active" and ensure you have selected to install the standard MBR loader. (If you want to be able to boot into more than one OS, you need to install the boot manager.) Afterwards, when creating the partitions within the slice, I assume you've done everything correctly, else no installation success would be able to happen. > I am reading on another forum the installation is incorrect and to try > again, however I have tried many times. There seems to be something you've missed, but at this point, I can't guess what it could be. > Do you think the minimun install is > not enough to allow for bootup? It is, if done correctly. To boot, a correct modification of the boot record is essential. As it has been mentioned, there are some BIOS variants that prohibit any modification of these hard disk areas. But that does not seem to be the problem. The message you gave seems to indicat that something is already in the boot area, but the loader itself cannot be run. The loader is placed into your FreeBSD slice (partition), it resides in /boot; if started, the loader invokes the kernel from /boot/kernel, but that's to be happing after you could solve the problem in question. This is what yould happen, summarized: 1. BIOS runs loader found in MBR (standard loader) 2. Standard loader runs /boot/loader 3. /boot/loader runs /boot/kernel/kernel (GENERIC) 4. Kernel initializes system, runs rc script 5. rc script controls system startup 6. System is up and running While number 1 is connected to the hard disk "infront of" any partitions, numbers 2 and 3 depend on the FreeBSD's slice and its partitions (usually /dev/ad0s1a). If the required content of this partition is not present, the error you mentioned is completely understandable. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From derek at computinginnovations.com Sat Aug 9 00:21:29 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sat Aug 9 00:21:36 2008 Subject: no boot/loader In-Reply-To: <18900844.post@talk.nabble.com> References: <18899421.post@talk.nabble.com> <6.0.0.22.2.20080808184707.0249b5d8@mail.computinginnovations.com> <18900779.post@talk.nabble.com> <6.0.0.22.2.20080808190348.024efc48@mail.computinginnovations.com> <18900844.post@talk.nabble.com> Message-ID: <6.0.0.22.2.20080808191929.0250e3e0@mail.computinginnovations.com> At 07:11 PM 8/8/2008, acmeinc wrote: >Excellent! I will try this among the other things mentioned when I get back >home. > >Final note, what would this BIOS MBR setting look like normally, or an idea >of where to look in the CMOS. > >THanks A lot of BIOS's have a setting for boot virus prevention, or it will just be to enable or disable the boot area being written. Most BIOS's have just a few pages of settings, so look through them all. -Derek >Derek Ragona wrote: > > > > At 07:00 PM 8/8/2008, acmeinc wrote: > > > >>Check things? Which things should I be checking for? And where should I >be > >>checking them, to be more specific, which optoin should I choose within > >>sysinstall to check the things? > >> > >>I am reading on another forum the installation is incorrect and to try > >>again, however I have tried many times. Do you think the minimun install >is > >>not enough to allow for bootup? > > > > Before you exit sysinstall, go to the emergency shell I believe alt+F4 > > will > > get you there. Then do: > > mount > > > > The output from mount will show where the new filesystems are mounted. > > You > > can check that /boot is populated and that you have a kernel in > > /boot/kernel/kernel. To check those you'd type: > > > > ls -al [fill in the root mount point]/boot > > > > and > > > > ls -al [fill in the root mount point]/boot/kernel/kernel > > > > Check your BIOS settings. It is likely you have a setting in the BIOS > > preventing the boot area being written. > > > > -Derek > > > > > > > > > >>Derek Ragona wrote: > >> > > >> > At 04:42 PM 8/8/2008, acmeinc wrote: > >> > > >> >>No /boot/loader > >> >>no /boot/kernel/kernel > >> >> > >> >>I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using > >> one > >> >>hard drive in which I followed with the ASQ (auto, tag for boot, quit) > >> >>command. I choose the standard boot loader option. I installed through > >> the > >> >>master freebsd site via ethernet. Upon the congratulation screen is > >> asks > >>for > >> >>a reboot, and to remove the boot disk, I resart to the error message > >>above. > >> >>I believe it is because a boot loader is not installed, however, it > >> should > >> >>be. Is it not in the set up, it is one of the first steps. > >> >> > >> >>Following the errors I am in put into a boot prompt: > >> >> > >> >>boot: > >> >> > >> >>Are there any commands I can run from this prompt to manually boot? How > >>can > >> >>I make the boot work? Will I need to install my own boot loader? How > >> can I > >> >>install a manul boot loader? How can I check if the boot loader is > >> >>installed, but just not loading properly? > >> > > >> > You would do well do try the install again, but check things BEFORE you > >> > allow sysinstall to exit and reboot. Also check that your BIOS has any > >> > anti-virus settings not allowing the boot area of the hard disk to be > >> > written, turned off. > >> > > >> > -Derek > >> > > >> > -- > >> > This message has been scanned for viruses and > >> > dangerous content by MailScanner, and is > >> > believed to be clean. > >> > > >> > _______________________________________________ > >> > freebsd-questions@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> > To unsubscribe, send any mail to > >> > "freebsd-questions-unsubscribe@freebsd.org" > >> > > >> > > >> > >>-- > >>View this message in context: > >>http://www.nabble.com/no-boot-loader-tp18899421p18900779.html > >>Sent from the freebsd-questions mailing list archive at Nabble.com. > >> > >>_______________________________________________ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" > >> > >>-- > >>This message has been scanned for viruses and > >>dangerous content by MailScanner, and is > >>believed to be clean. > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > >-- >View this message in context: >http://www.nabble.com/no-boot-loader-tp18899421p18900844.html >Sent from the freebsd-questions mailing list archive at Nabble.com. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ccowart at rescomp.berkeley.edu Sat Aug 9 00:32:50 2008 From: ccowart at rescomp.berkeley.edu (Christopher Cowart) Date: Sat Aug 9 00:32:56 2008 Subject: Interpreting top, vmstat, and company Message-ID: <20080809001423.GN71785@hal.rescomp.berkeley.edu> Hello, I have a couple FreeBSD boxes that are providing a captive portal wifi authentcation system. Without delving into the implementation details, I'm running dhcpd, squid, and apache. We have in-house perl CGI scripts that handle session and IP management, dynamically creating and destroying netgraph nodes (ng_nat), connecting them to ipfw (ng_ipfw), and altering the contents of access tables. Right now, I'm seeing peaks of about 300 authenticated users; I'm expecting this to grow about 200% when everyone gets back from summer break. I'm trying to look at system load statistics to reassure myself we'll be fine in a month -- or to panic and start throwing more hardware at things. What is the difference between the SIZE and RES fields of top? Better yet, what does top(1) mean by "the total size of the process (text, data, and stack)" and "the current amount of resident memory"? How does this work with a threaded program like apache? If all the threads share the same text and most (all?) of the same data pages, what's the best way to figure out the fixed cost and the average per-thread cost? Some sample top output on this host: Mem: 131M Active, 3754M Inact, 425M Wired, 177M Cache, 214M Buf, 3422M Free Swap: 16G Total, 24K Used, 16G Free [...] PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 32361 root 1 96 0 106M 16604K select 2 0:02 0.00% httpd 50687 www 1 20 0 106M 17196K lockf 0 0:01 0.00% httpd I'm having a hard time accounting for the 3.8GB of inactive memory (which as I understand, represents physical pages that are in-use but not recently used, prime candidates for being swapped out if the free page count gets low). Maybe better understanding the RES verses SIZE data along with their relation to threads will explain what's going on here. One of my concerns is that a large chunk of memory is going to belong to the kernel in my configuration. I found vmstat -m (selected output lines follow): | libalias 5629 3251K - 19760019 128 | ifnet 13 25K - 13 256,2048 | dummynet 22 8K - 26 256,512,1024 | netgraph_msg 0 0K - 101991 64,128,256,512,1024,4096 | netgraph_node 72 18K - 56133 256 | netgraph_hook 284 36K - 30204 128 | netgraph 283 16K - 30203 16,64,128 | netgraph_parse 0 0K - 22650 16 | netgraph_sock 0 0K - 48581 128 | netgraph_path 0 0K - 71508 16,32 Does this really mean that my netgraph nodes (and their libalias instances) are really eating up less than 4MB of memory on the system? The only other "big spender" appears to be devbuf at 35185K. I also found `netstat -m': | 1026/1599/2625 mbufs in use (current/cache/total) | 1023/1513/2536/25600 mbuf clusters in use (current/cache/total/max) | 1/678 mbuf+clusters out of packet secondary zone in use (current/cache) | 0/121/121/12800 4k (page size) jumbo clusters in use (current/cache/total/max) | 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) | 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) | 2302K/3909K/6212K bytes allocated to network (current/cache/total) | 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) | 0/0/0 requests for jumbo clusters denied (4k/9k/16k) | 0/0/0 sfbufs in use (current/peak/max) | 0 requests for sfbufs denied | 0 requests for sfbufs delayed | 60 requests for I/O initiated by sendfile | 0 calls to protocol drain routines Again, this looks like chump change against my top output. What category does kernel memory get lumped into in top? I'd appreciate any help you can offer in terms of profiling memory usage and actually understanding what some of these figures mean. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/17edf91c/attachment.pgp From keramida at ceid.upatras.gr Sat Aug 9 01:28:32 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Aug 9 01:28:41 2008 Subject: A few questions from a current linux user In-Reply-To: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> (Krishna Mohan Gundu's message of "Thu, 7 Aug 2008 23:20:08 -0400") References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> Message-ID: <873alf9duf.fsf@kobe.laptop> On Thu, 7 Aug 2008 23:20:08 -0400, "Krishna Mohan Gundu" wrote: > Hi, > I am currently using Fedora Core 4 linux distribution for my everyday > needs like programming, checking emails etc on my two year old HP > laptop. I feel that time has come for me to move away from Fedora. I > wasted a lot of time compiling libraries and their dependencies. I > could benefit from better packaging systems that come with systems > like FreeBSD. Hi Krishna, I've been meaning to respond to this post for a couple of days, but it took me a little longer than I originally hoped... This may be totally unrelated to the real question, but doesn't Fedora use pre-compiled packages by default? I thought that was pretty much the One True Way(TM) of updating Fedora systems. > I tried to gather as much information as I could from the > documentation available on freebsd.org, but the following questions > remain unanswered. I would be glad if you can take time to educate me > > 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? > (As I understand there is no such feature in FreeBSD) Not really. SysRq has a few nice characteristics, i.e. it can unmount local filesystems gracefully to avoid `fsck' runs during the next boot. It's a nice, handy tool in some cases. But it also comes at a cost: it modifies the in-memory state of the running kernel. FreeBSD has a kernel debugger that can be enabled, called DDB. When the kernel locks up or panics because something bogus happened, the DDB can dump the state of the kernel into a preconfigured swap area, and the startup scripts of the next boot will pick up the kernel coredump from swap, save it in `/var/crash', and let you run post-mortem analysis on the kernel core dump. If this is combined with something like SysRq, and there's really a bug in the parts of the kernel that SysRq has to use to perform its final steps, you lose. You may be modifying the parts of the kernel memory that actually exhibit the bug, and make the kernel dump unusable. > 2) Is it possible to compile multiple versions of gcc? If so what is > the best way to do it? Yes, of course. The "base system" of FreeBSD includes _one_ version of gcc, installed as `/usr/bin/gcc', but this does not mean that you are limited to *that* version only. You can use the Ports tree to install one or more versions. The snapshot of Ports I have on the laptop I am using to type this includes 12 different gcc ports (and that does not include the Fortran, Objective C, or Java backends GCC supports): # pwd /usr/ports/lang # ls -ld gcc* | nl 1 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc-ooo 2 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc28 3 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc295 4 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc32 5 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc33 6 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc34 7 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41 8 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41-withgcjawt 9 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc42 10 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc42-withgcjawt 11 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc43 12 drwxr-xr-x 3 root wheel - 512 Aug 7 02:25 gcc44 # So yes, you can install several different versions of GCC at the same time. > 3) Is it possible to perform a binary update from one release to > another? If so can you please point me to the documentation? How are > config files updated in this case? (Could not locate documentation on > binup) Yes. In recent FreeBSD releases, the "base system" of FreeBSD includes freebsd-update. This is a utility authored by Colin Percival, who is currently the Security Officer of FreeBSD, and a very smart fellow :) What freebsd-update does is described in its manpage http://www.freebsd.org/cgi/man.cgi?query=freebsd-update&format=ascii but the basic idea is that is can do one of the following things: * Download binary update packs in `/var/db/freebsd-update'. These are not installed immediatelly, so you can periodically pull the binary update files and install them later, when you have the time for an upgrade. The default `fetch' mode of `freebsd-update' downloads binary updates for the release & branch of FreeBSD that you have installed on the local system. Staying on the same branch has various advantages that are nicely described in the online article about ` * Download binary update packs for _upgrading_ to a new release. This is slightly different from an update that sticks to a single FreeBSD release-branch, and there are official release notes about the changes of every major release. They are published online at http://www.FreeBSD.org/releases/ Downloading the binary packs for new release still does *not* install or upgrade anything. * The final important feature of freebsd-update is that it can use the latest snapshots you have fetched in `/var/db/freebsd-update' to perform a binary upgrade of the FreeBSD base system. > 4) If a binary update leads to an unstable system, how easy it is to > backtrack to an earlier working version along with working config > files? That's probably not very easy. But freebsd-update is not really going to pull `unstable' stuff because of the way FreeBSD branches work. If you are following a ``FreeBSD-X.Y-STABLE'' release branch, it is pretty much a given that the source tree should build at all times, and that the resulting base system should be backwards compatible with all the binary programs that were produced in any version between the time ``FreeBSD-X.Y-RELEASE'' was cut and your -STABLE snapshot was built. Having said that, of course, using some sort of backup tool is never a bad idea. Even if freebsd-update does nothing to harm your FreeBSD installation, there are hardware failures, power outages at the worst possible moment, fat-fingered commands that remove or change slightly more files that originally intended, and so on. > 5) Does FreeBSD have support for PCMCIA-USB cards? Yes, FreeBSD supports PCMCIA (PC-CARD or Cardbus) and USB devices. FreeBSD includes drivers for various devices of these two types, but before buying a PC-CARD device you should always check to see if there is a `high level' driver for the one you are buying. The generic PC-CARD, Cardbus and USB layer of the FreeBSD kernel supports the common `base functionality' of attaching and detaching a device, but to get any random device to work you need a driver that recognizes it and attaches to it. This is a long way of saying that ``Yes, we have PCMCIA and USB support in the kernel, but you should first check the hardware compatibility lists and the manpages of your system to see if a particular device is supported at all, partially supported, or completely unsupported''. This may be tricky if you can only get hold of the device *after* buying it and unpacking it, but I've had various levels of success by asking at computer stores for a ``local test'' with my laptop. In some of the local places, I've had *very* helpful responses. The local sales people have often told me "We don't have an unpacked version of *that* today, but if you can wait until Monday, we are getting a new delivery. When we unpack a sample / demo of this particular card/adapter/gadget, you can definitely try it and see how things work." > PS: I am considering Debian as another alternative. Debian is a Linux distribution. A very good one too. If that fits your job better than FreeBSD does, it's definitely not a shame to use it. FreeBSD will still be around if you need it later :-) Finally, since you are coming from a Linux background, you should spend some time to check out the excellent documentation FreeBSD contributors have written over the years. There are lists of books and articles at http://www.freebsd.org/docs.html You should probably start with some of these: [1] "The FreeBSD Handbook" http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html [2] "The FreeBSD FAQ (Frequently Asked Questions)" http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html [3] "Choosing the FreeBSD Version That Is Right For You" http://www.freebsd.org/doc/en_US.ISO8859-1/articles/version-guide/index.html [4] "Explaining BSD" http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html [5] "FreeBSD: An Open Source Alternative to Linux" http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-comparison/index.html [6] "FreeBSD Quickstart Guide for Linux Users" http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/index.html [7] "FreeBSD First Steps" http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html From noc at hdk5.net Sat Aug 9 02:22:09 2008 From: noc at hdk5.net (Al Plant) Date: Sat Aug 9 02:22:18 2008 Subject: Disk errors on installing FreeBSD 8.0 (solved) In-Reply-To: <1218187730.2749.2.camel@frodon.be-bif.ulb.ac.be> References: <489AF8A7.1010400@overbo.no> <20080807220127.GD43268@zaph.org> <489B90A1.5030603@hdk5.net> <1218187730.2749.2.camel@frodon.be-bif.ulb.ac.be> Message-ID: <489CFF50.1040306@hdk5.net> Julien Cigar wrote: > Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, > etc) .. it works a bit better when dma is turned off, but then > performances are very poor. > > On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: >> N.J. Thomas wrote: >>> * "Snorre D. ?verb?" [2008-08-07 15:29:11+0000]: >>>> When I boot up with the installation DVD these error messages appear >>>> on the screen. >>>> >>>> ad1: FAILURE - READ_DMA status=51 error=84 LBA=0055347 >>>> ad0: FAILURE - READ_DMA status=51 error=84 LBA=0 >>>> etc >>> I got the same exact errors trying to install 7.0-RELEASE on two >>> different Dell boxes. One was 4 years old, the other was brand new (3 >>> months ago). >>> >>> Never was able to fix the problem. For the older one, I plugged in an >>> external DVD drive and installed via that. For the other one, I >>> installed via a mini-install disk, and then did a minimal network >>> install. >>> >>> For the record, they both had SATA drives and the disks worked (and >>> still work) fine after the OS was installed. It was just copying the >>> base system off the CD that was causing errors. >>> >>> Thomas >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> ****************************************888 >> Aloha, >> >> I am getting the same errors as you guys with an intermittient BIG_read >> one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. >> >> This is on a no name box with a bio board and 1100 cpu. I've had this on >> other boxes too and load IDE drives on a box that works with them and >> then put them in the box with errors and they work just fine. >> >> Every thing gets recognized normally at install time, but the size of >> the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. >> >> Dont know if this has anything to do with it, except if you change the >> size in installer it wont load anything. >> >> Maybe one of the top level gurus on the list can help. >> >> >> Aloha, The suggestion to put the folloeing worked to clear my DMA error. In: /boot/loader Put: hw.ata.ata_dma=0 #disable IDE DMA This allowed an uninterrupted boot. Thanks for the suggestion. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From dkelly at hiwaay.net Sat Aug 9 03:00:40 2008 From: dkelly at hiwaay.net (David Kelly) Date: Sat Aug 9 03:00:47 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <20080808194457.GA81628@thought.org> References: <20080807224226.GA45445@thought.org> <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> <20080808061934.GC57877@thought.org> <3800467F-66CE-446B-B322-1310769B2DA6@identry.com> <20080808194457.GA81628@thought.org> Message-ID: <3E1F909D-B948-45D3-9786-EC8CB011E52D@hiwaay.net> On Aug 8, 2008, at 2:44 PM, Gary Kline wrote: > So besides the mac firewall [whatever], the laptop will be > behind my pfSense box. So... --and to be completely honest, the > main reason for this >> $1000 laptop is *security*. When she was > younger I wasn't that concerned is some kiddie cracker learned > that her favorite pet was a kitty. Different now. MacOS X comes with good old ipfw. Apple has added a 2nd firewall on top of that for 10.5, but apparently not pf. > Another question: can I install X11 without it bothering whatever > kind of mac front-end windowing comes with? Be great if I could > admin this BSD-based computer from my office. Yes, Apple provides X11 as an optional install on the included system DVD, but not preloaded from the factory. While you are loading X11 I suggest you also install Xcode. Then again I think Xcode was pre-installed on my Mac Pro. Xcode is Apple's software development environment. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From freebsd at meijome.net Sat Aug 9 04:25:19 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Sat Aug 9 04:25:26 2008 Subject: Questions about coretemp In-Reply-To: References: <200808072237.52918.pieter@degoeje.nl> <35145.1218148465@tristatelogic.com> <8cb6106e0808071623u7d1a6127x1b2f6ce2f472d233@mail.gmail.com> Message-ID: <20080809142512.6fcf493c@ayiin> On Thu, 7 Aug 2008 16:50:55 -0700 (PDT) ben@electricembers.net wrote: > that is, exept for when i added "coretemp_load="YES"" to loader.conf (as > per the coretemp manpage) and then i got this in dmesg: > > module_register: module cpu/coretemp already exists! > Module cpu/coretemp failed to register: 17 this means that the code in the module is already loaded , or it is part of the kernel itself. B _________________________ {Beto|Norberto|Numard} Meijome Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir in the rest. Hope it doesn't stink. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From torben.jakobsen at dk.ibm.com Sat Aug 9 06:21:37 2008 From: torben.jakobsen at dk.ibm.com (Torben Jakobsen) Date: Sat Aug 9 06:21:44 2008 Subject: AUTO: Torben Jakobsen is out of the office. (returning 2008-08-10) Message-ID: I am out of the office until 2008-08-10. I will respond to your message when I return. Please contact: - Erik Svennevig -- team/project manager - Pavan Gulati -- team/project manager - Bo Heegaard Hansen -- people manager - Lene Buch-Larsen -- resource deployment manager Note: This is an automated response to your message "Re: [OT] Re: apple mac laptop." sent on 9/8/08 4:46:16. This is the only notification you will receive while this person is away. From svein.h at lvor.halvorsen.cc Sat Aug 9 07:25:36 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Sat Aug 9 07:25:43 2008 Subject: A few questions from a current linux user In-Reply-To: <20080808070114.3aa40072.freebsd@edvax.de> References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> <20080808070114.3aa40072.freebsd@edvax.de> Message-ID: <489D465B.9070504@lvor.halvorsen.cc> Polytropon wrote: >> 4) If a binary update leads to an unstable system, how easy it is to >> backtrack to an earlier working version along with working config >> files? > > An update set provided via freebsd-update should not render a system > unstable / unusable; at least it's possible that the system is not > in a working state when the update process gets interrupted at a > critical point, but I never had such a problem. In the worst case, > you can restore the base system from the installation CD (or via > bootonly + network) and try the update again. There's a "freebsd-update rollback", but I've never had the need to use it, so I can't say how well it works. But I guess it does what you're asking. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/c3890da7/signature.pgp From valerio.daelli at gmail.com Sat Aug 9 07:49:13 2008 From: valerio.daelli at gmail.com (Valerio Daelli) Date: Sat Aug 9 07:49:25 2008 Subject: Questions about coretemp In-Reply-To: References: <200808072237.52918.pieter@degoeje.nl> <35145.1218148465@tristatelogic.com> <8cb6106e0808071623u7d1a6127x1b2f6ce2f472d233@mail.gmail.com> <27dbfc8c0808080319o5383a9faqb2f3d434f56677ea@mail.gmail.com> Message-ID: <27dbfc8c0808090023p77d1984ckb90e27513ed3f2d4@mail.gmail.com> On Fri, Aug 8, 2008 at 10:35 PM, wrote: >> >> have you checked your device.hints? >> Also there is the cpuid port which may help you identify if your CPU is >> supported. >> >> Valerio Daelli > > I'm not sure what I would be looking for in device.hints. Below is the output of cpuid. Perhaps Xeons are not supported by coretemp? :::::::::::::: > > eax in eax ebx ecx edx > 00000000 00000005 756e6547 6c65746e 49656e69 > 00000001 00000f4a 01020800 0000641d bfebfbff > 00000002 605b5001 00000000 00000000 007d7040 > 00000003 00000000 00000000 00000000 00000000 > 00000004 00004121 01c0003f 0000001f 00000000 > 00000005 00000040 00000040 00000000 00000000 > 80000000 80000008 00000000 00000000 00000000 > 80000001 00000000 00000000 00000001 20100000 > 80000002 20202020 20202020 20202020 20202020 > 80000003 6e492020 286c6574 58202952 286e6f65 > 80000004 20294d54 20555043 30302e33 007a4847 > 80000005 00000000 00000000 00000000 00000000 > 80000006 00000000 00000000 08006040 00000000 > 80000007 00000000 00000000 00000000 00000000 > 80000008 00003024 00000000 00000000 00000000 > > Vendor ID: "GenuineIntel"; CPUID level 5 > > Intel-specific functions: > Version 00000f4a: > Type 0 - Original OEM > Family 15 - Pentium 4 > Extended family 0 > Model 4 - Intel Pentium 4 processor (generic) or newer > Stepping 10 > Reserved 0 > > Extended brand string: " Intel(R) Xeon(TM) CPU 3.00GHz" > CLFLUSH instruction cache line size: 8 > Initial APIC ID: 1 > Hyper threading siblings: 2 > > Feature flags: bfebfbff: > FPU Floating Point Unit > VME Virtual 8086 Mode Enhancements > DE Debugging Extensions > PSE Page Size Extensions > TSC Time Stamp Counter > MSR Model Specific Registers > PAE Physical Address Extension > MCE Machine Check Exception > CX8 COMPXCHG8B Instruction > APIC On-chip Advanced Programmable Interrupt Controller present and enabled > SEP Fast System Call > MTRR Memory Type Range Registers > PGE PTE Global Flag > MCA Machine Check Architecture > CMOV Conditional Move and Compare Instructions > FGPAT Page Attribute Table > PSE-36 36-bit Page Size Extension > CLFSH CFLUSH instruction > DS Debug store > ACPI Thermal Monitor and Clock Ctrl > MMX MMX instruction set > FXSR Fast FP/MMX Streaming SIMD Extensions save/restore > SSE Streaming SIMD Extensions instruction set > SSE2 SSE2 extensions > SS Self Snoop > HT Hyper Threading > TM Thermal monitor > 31 reserved > > Feature flags set 2: 0000641d: > SSE3 SSE3 extensions > 2 - unknown feature > MONITOR MONITOR/MWAIT instructions > DS-CPL CPL Qualified Debug Store > CID Context ID > CX16 CMPXCHG16B > xTPR Send Task Priority messages > > Extended feature flags: 20100000: > XD-bit Execution Disable bit > EM64T Intel Extended Memory 64 Technology > > Extended feature flags set 2: 00000001: > 0 - unknown feature > > TLB and cache info: > 50: Instruction TLB: 4KB and 2MB or 4MB pages, 64 entries > 5b: Data TLB: 4KB and 4MB pages, fully assoc., 64 entries > 60: 1st-level data cache: 16-KB, 8-way set associative, sectored cache, 64-byte line size > 40: No 2nd-level cache, or if 2nd-level cache exists, no 3rd-level cache > 70: Trace cache: 12K-micro-op, 4-way set assoc > 7d: 2nd-level cache: 2-MB, 8-way set associative, 64-byte line size > Processor serial: 0000-0F4A-0000-0000-0000-0000 Only CPU with CPUID >= 6 seems supported. I found this link useful http://www.intel.com/software/products/documentation/vlin/mergedprojects/analyzer_ec/mergedprojects/reference_olh/mergedprojects/instructions/instruct32_hh/vc46.htm Bye Valerio Daelli From gilles.ganault at free.fr Sat Aug 9 08:13:39 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat Aug 9 08:13:46 2008 Subject: [6.3] makewhatis -> missing etags.1.gz Message-ID: Hello In the "freebsd.acme weekly run output" e-mail, I see this: -------- Rebuilding locate database: Rebuilding whatis database: makewhatis: /usr/local/man/man1/etags.1.gz: No such file or directory -------- Could someone tell me what package I'm missing that causes this error? Thank you. From gueven.bay at googlemail.com Sat Aug 9 09:19:11 2008 From: gueven.bay at googlemail.com (Gueven Bay) Date: Sat Aug 9 09:19:18 2008 Subject: FreeBSD 7.0 on Xen In-Reply-To: References: Message-ID: <13413b8f0808090154n31bc2aeexf906461142455072@mail.gmail.com> 2008/8/8 Elwell, Richard : > Sorry about the premature sending. Here is the complete question: >> Greetings, >> I am attempting to follow the directions located at >> http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html >> and load a FreeBSD Xen DomU instance. The document says: >> > Download the FreeBSD domU kernel for Xen 3.0 and disk image from > http://www.fsmware.com/ > * kernel-current > > * mdroot-7.0.bz2 > > * xmexample1.bsd > ... I want to add my following questions because in the handbook are they unfortunately _not_ explained: 1) What is this "kernel-current" ? And how can I make myself this "kernel-current" using the base system and the tools in it ? 2) What is "mdroot" ? And how can I build a "mdroot"? 3) Where are the Xen sources located? Does The FreeBSD project just write patches which are then used to modify the original sources to get Xen run on FreeBSD OR is there a fork like source repository where the FreeBSD Xen is maintained? I hope that someone can answer me these questions but also I think including the answers to the Handbook would be a great help for all who want to use Xen on FreeBSD. regards Gueven From m.seaman at infracaninophile.co.uk Sat Aug 9 09:26:49 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Aug 9 09:26:57 2008 Subject: [6.3] makewhatis -> missing etags.1.gz In-Reply-To: References: Message-ID: <489D62B9.4060007@infracaninophile.co.uk> Gilles wrote: > In the "freebsd.acme weekly run output" e-mail, I see this: > > -------- > Rebuilding locate database: > > Rebuilding whatis database: > makewhatis: /usr/local/man/man1/etags.1.gz: No such file or directory > -------- > > Could someone tell me what package I'm missing that causes this error? happy-idiot-talk:~:% pkg_which /usr/local/man/man1/etags.1.gz emacs-22.2_1 Probably any of the emacs ports would install that man page. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/b0230652/signature.pgp From reddvinylene at gmail.com Sat Aug 9 10:41:38 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 9 10:41:45 2008 Subject: BIND won't resolve my IPs (not upstream or something?) Message-ID: I got this FreeBSD server called mother (80.252.2.2). On it, I've made two jails, camel (80.252.2.3) and box (80.252.2.4 through to 80.252.2.127). The problem is that reverse lookups for any of the IPs preceding .4 on box fails. If I connect to IRC with .5 for instance, it times out and reverts back to .4, whose lookup works just fine. BIND runs on camel. Maybe the problem is that BIND is not upstream for all those IPs? (I don't know what that means, a friend just told me) Or that I haven't configured the reverse for any of the other IPs? I would really like to keep BIND running on camel, as its dedicated to all my vital network services, whereas box is the home of all my users, and thus expendable ;) Is there any way to modify BIND on camel, or must I set up an additional one on box? My (hopefully) relevant configuration files can be found here -- http://pastie.org/250469 -- much obliged, and thanks! -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Sat Aug 9 10:47:58 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 9 10:48:05 2008 Subject: BIND won't resolve my IPs (not upstream or something?) In-Reply-To: References: Message-ID: Maybe mother's /etc/pf.conf could also be of relevance? - camel="80.252.2.3" box="80.252.2.4" ext_if="rl0" set block-policy return set skip on { lo0 } scrub in pass out keep state block in pass in on $ext_if inet proto tcp from any to any port { 22 } keep state pass in on $ext_if inet proto tcp from any to $camel port { 25, 80, 110 } keep state pass in on $ext_if inet proto udp from any to $camel port 53 keep state pass in on $ext_if inet proto tcp from any to $box port { 113, 6000:9999 } keep state pass in on $ext_if inet proto icmp from any to any keep state - Thanks. On Sat, Aug 9, 2008 at 12:41 PM, Redd Vinylene wrote: > I got this FreeBSD server called mother (80.252.2.2). On it, I've made > two jails, camel (80.252.2.3) and box (80.252.2.4 through to > 80.252.2.127). The problem is that reverse lookups for any of the IPs > preceding .4 on box fails. If I connect to IRC with .5 for instance, > it times out and reverts back to .4, whose lookup works just fine. > BIND runs on camel. Maybe the problem is that BIND is not upstream for > all those IPs? (I don't know what that means, a friend just told me) > Or that I haven't configured the reverse for any of the other IPs? I > would really like to keep BIND running on camel, as its dedicated to > all my vital network services, whereas box is the home of all my > users, and thus expendable ;) Is there any way to modify BIND on > camel, or must I set up an additional one on box? My (hopefully) > relevant configuration files can be found here -- > http://pastie.org/250469 -- much obliged, and thanks! > > -- > http://www.home.no/reddvinylene > -- http://www.home.no/reddvinylene From gilles.ganault at free.fr Sat Aug 9 10:49:00 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat Aug 9 10:49:07 2008 Subject: [6.3] makewhatis -> missing etags.1.gz References: <489D62B9.4060007@infracaninophile.co.uk> Message-ID: On Sat, 09 Aug 2008 10:26:17 +0100, Matthew Seaman wrote: >happy-idiot-talk:~:% pkg_which /usr/local/man/man1/etags.1.gz >emacs-22.2_1 > >Probably any of the emacs ports would install that man page. Thanks for the tip. Out of curiosity, why does makewhatis require Emacs? From m.seaman at infracaninophile.co.uk Sat Aug 9 11:45:26 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Aug 9 11:45:34 2008 Subject: [6.3] makewhatis -> missing etags.1.gz In-Reply-To: References: <489D62B9.4060007@infracaninophile.co.uk> Message-ID: <489D8348.7000801@infracaninophile.co.uk> Gilles wrote: > On Sat, 09 Aug 2008 10:26:17 +0100, Matthew Seaman > wrote: >> happy-idiot-talk:~:% pkg_which /usr/local/man/man1/etags.1.gz >> emacs-22.2_1 >> >> Probably any of the emacs ports would install that man page. > > Thanks for the tip. Out of curiosity, why does makewhatis require > Emacs? It doesn't. makewhatis is just having a bad day trying to process an emacs-related man page that it thinks should be there, but for some reason it isn't. The reason it thinks there should be an etags.1.gz file is probably due to the presence of a ctags.1.gz file in the same directory, also installed from an emacs port. That is just a stub and looks like this: happy-idiot-talk:~:% zmore /usr/local/man/man1/ctags.1.gz .so man1/etags.1 .\" arch-tag: 54d4579b-9d66-4ba5-9fda-f01ec83612ad (Don't confuse this with the system-installed version of ctags and its man page in /usr/share/man/man1/ctags.1.gz -- completely different software package) In any case, it suggests that you have a broken installation of an emacs port on your machine, or the remnants of one. Pretty harmless really. In order to make the error message go away, do a force re-install of emacs: # portupgrade -Nf editors/emacs Then, if you don't actually want emacs installed, do a clean deletion of the package: # pkg_deinstall editors/emacs 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/c2a39f6e/signature-0001.pgp From svein.h at lvor.halvorsen.cc Sat Aug 9 11:54:19 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Sat Aug 9 11:54:26 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) Message-ID: <489D855C.6010903@lvor.halvorsen.cc> Hello, fellow FreeBSD-ers! I'd like to a good neighbor and share my DSL line and set up an unencrypted free wireless access point. I often find myself wanting more free access points around the city, so I thought I'd stand up as a good example for others :-) I want people to know that they can use the network (easy, use ssid "free internet"), but I want them to know that they should be nice, and it's meant for casual browsing, and that misuse will cause a ban. So, what I'd like: 1) Setup a wireless network card in infrastructure mode, I think. 2) Setup a DHCP server and DNS forwarder on this interface 3) Setup routing from one interface to my other network 4) Use a firewall to close down lots of stuff, maybe also limit bandwith per mac-address, and a way to deny access to certain NICs. 5) Insert a message in all text/html over HTTP, basically saying: "Hi, guest! Feel free to use our free internet, but be nice!" And a close-button, which I guess needs to send a POST to a http server as well, and that I need to record this action in a database, and use the same database to dynamically insert the message above or not. So, if you have any pointers to any of the above, please feel free to give me directions. Keywords, product names, and other "google bait" is good. I know how to read, but I don't really know where to start. I'm guessing that pt. (5) will be hardest. Svein Halvor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/e0a3da4c/signature.pgp From reddvinylene at gmail.com Sat Aug 9 11:55:59 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sat Aug 9 11:56:06 2008 Subject: BIND won't resolve my IPs (not upstream or something?) In-Reply-To: <6.0.0.22.2.20080809064710.0250ee08@mail.computinginnovations.com> References: <6.0.0.22.2.20080809064710.0250ee08@mail.computinginnovations.com> Message-ID: I'm pretty sure I do, though my apologies if I'm wrong, did you check my pastie? On Sat, Aug 9, 2008 at 1:48 PM, Derek Ragona wrote: > At 05:41 AM 8/9/2008, Redd Vinylene wrote: > > I got this FreeBSD server called mother (80.252.2.2). On it, I've made > two jails, camel (80.252.2.3) and box (80.252.2.4 through to > 80.252.2.127). The problem is that reverse lookups for any of the IPs > preceding .4 on box fails. If I connect to IRC with .5 for instance, > it times out and reverts back to .4, whose lookup works just fine. > BIND runs on camel. Maybe the problem is that BIND is not upstream for > all those IPs? (I don't know what that means, a friend just told me) > Or that I haven't configured the reverse for any of the other IPs? I > would really like to keep BIND running on camel, as its dedicated to > all my vital network services, whereas box is the home of all my > users, and thus expendable ;) Is there any way to modify BIND on > camel, or must I set up an additional one on box? My (hopefully) > relevant configuration files can be found here -- > http://pastie.org/250469 -- much obliged, and thanks! > > You need to check that you have zone files for both forward and reverse > lookups, and those zones are defined in named.conf > > -Derek > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. -- http://www.home.no/reddvinylene From sreenivasan.biju at gmail.com Sat Aug 9 12:49:42 2008 From: sreenivasan.biju at gmail.com (Biju Sreenivasan) Date: Sat Aug 9 12:49:49 2008 Subject: Query regarding Advertisment Message-ID: <3e9c05360808090524q209772fbke7fe75fc218cf240@mail.gmail.com> Dear Sir, I am planning a website with BSD FDL.Is advertisment allowed in my website? If no, is there any other options. Regards Biju Sreenivasan From davidcollins001 at gmail.com Sat Aug 9 13:22:38 2008 From: davidcollins001 at gmail.com (davidcollins001@gmail.com) Date: Sat Aug 9 13:22:45 2008 Subject: pxeboot In-Reply-To: <1b30fd140807291632v491323d4jb4371ec1303bd5a9@mail.gmail.com> References: <1b30fd140807291632v491323d4jb4371ec1303bd5a9@mail.gmail.com> Message-ID: <1b30fd140808090622k9bdfb3dyfe4d809cbfbe8d78@mail.gmail.com> On 30/07/2008, David Collins wrote: > I have been trying to get pxeboot to work, so far with no luck. I have > a dhcp/tftp server set up and I am able to push pxeboot across the > network, so I assume that is all ok. NFS is also setup, at least I was > getting nfs errors that I don't have anymore. I copied the contents of > the 7.0 cd into the my tftpboot folder and changed the contents for > loader.conf and loader.rc Hi, I have been playing around all week and I finally have some sort of result. I am trying to pxeboot an ibm transnote (thinkpad), when I try to netboot with the power plugged in it starts to load the kernel then quickly reboots everytime. I don't think this is to do with the mfsroot gzip bug since I don't get that far - I think it maybe when it is loading the kernel, I am not sure I can't see any debugging messages they disappear from the screen quickly. I noticed that when I unplug the power and run from battery I am able to pxeboot everytime! Can anyone shed some light on why this happens? It isn't really a problem it is just an annoyance! Strangly enough if I copy the contents of the 7.0 cd to my exported directory and pxe boot from that (ie with mfsroot still gzipped) it boots right into the "cd" - no mfsroot bug here? I have tried this with 5.1 6.2 and 7.0 and they all act the same way. What I am stuck with now is when I modify loader.rc to something like the following: /usr/local/export# cat freebsd/boot/loader.rc echo Loading /boot/loader.rc load /boot/kernel/kernel set mfsroot_type="mfs_root" set mfsroot_name="/boot/mfsroot" set vfs.root.mountfrom="ufs:/dev/md0c" load -t mfs_root /boot/mfsroot autoboot 5 The booting computer hangs after it tries to install the acpi.ko module. Does anyone know how I can get around this? Thanks David From keramida at ceid.upatras.gr Sat Aug 9 13:45:46 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Aug 9 13:45:54 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <489D855C.6010903@lvor.halvorsen.cc> (Svein Halvor Halvorsen's message of "Sat, 09 Aug 2008 13:54:04 +0200") References: <489D855C.6010903@lvor.halvorsen.cc> Message-ID: <878wv6tiry.fsf@kobe.laptop> On Sat, 09 Aug 2008 13:54:04 +0200, Svein Halvor Halvorsen wrote: > Hello, fellow FreeBSD-ers! > > I'd like to a good neighbor and share my DSL line and set up an > unencrypted free wireless access point. I often find myself wanting > more free access points around the city, so I thought I'd stand up > as a good example for others :-) > > I want people to know that they can use the network (easy, use ssid > "free internet"), but I want them to know that they should be nice, > and it's meant for casual browsing, and that misuse will cause a ban. > > So, what I'd like: > > 1) Setup a wireless network card in infrastructure mode, I think. > 2) Setup a DHCP server and DNS forwarder on this interface > 3) Setup routing from one interface to my other network > 4) Use a firewall to close down lots of stuff, maybe also limit > bandwith per mac-address, and a way to deny access to certain NICs. > 5) Insert a message in all text/html over HTTP, basically saying: > "Hi, guest! Feel free to use our free internet, but be nice!" And a > close-button, which I guess needs to send a POST to a http server as > well, and that I need to record this action in a database, and use > the same database to dynamically insert the message above or not. This sounds like too much work for a doubtful amount of gain. It is probably a lot easier to use ipfw or pf+altq to rate limit the bandwidth "others" can use :) From thavinci at thavinci.za.net Sat Aug 9 14:05:27 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Sat Aug 9 14:05:33 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <878wv6tiry.fsf@kobe.laptop> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> Message-ID: <00d801c8fa28$d19cd010$74d67030$@za.net> Sounds To Me Also too much work for little gain... Easist would be to use a product called "Mikrotik" you will have that entire system up & running in 15mins tops. http://www.mikrotik.com/download.html + Runs on underspec machines perfectly as it's designed for embedded systems. I always found myself using it instead of doing all the work myself because of time constraints. It's linux based, but everything is done through a client. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Giorgos Keramidas Sent: Saturday, August 09, 2008 3:34 PM To: Svein Halvor Halvorsen Cc: questions@freebsd.org Subject: Re: Free wireless network (access point, router, transparent HTTP proxy setup) On Sat, 09 Aug 2008 13:54:04 +0200, Svein Halvor Halvorsen wrote: > Hello, fellow FreeBSD-ers! > > I'd like to a good neighbor and share my DSL line and set up an > unencrypted free wireless access point. I often find myself wanting > more free access points around the city, so I thought I'd stand up > as a good example for others :-) > > I want people to know that they can use the network (easy, use ssid > "free internet"), but I want them to know that they should be nice, > and it's meant for casual browsing, and that misuse will cause a ban. > > So, what I'd like: > > 1) Setup a wireless network card in infrastructure mode, I think. > 2) Setup a DHCP server and DNS forwarder on this interface > 3) Setup routing from one interface to my other network > 4) Use a firewall to close down lots of stuff, maybe also limit > bandwith per mac-address, and a way to deny access to certain NICs. > 5) Insert a message in all text/html over HTTP, basically saying: > "Hi, guest! Feel free to use our free internet, but be nice!" And a > close-button, which I guess needs to send a POST to a http server as > well, and that I need to record this action in a database, and use > the same database to dynamically insert the message above or not. This sounds like too much work for a doubtful amount of gain. It is probably a lot easier to use ipfw or pf+altq to rate limit the bandwidth "others" can use :) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" __________ NOD32 3329 (20080805) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From svein.h at lvor.halvorsen.cc Sat Aug 9 14:23:02 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Sat Aug 9 14:23:09 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <00d801c8fa28$d19cd010$74d67030$@za.net> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> <00d801c8fa28$d19cd010$74d67030$@za.net> Message-ID: <489DA835.6030309@lvor.halvorsen.cc> Giorgos Keramidas wrote: > This sounds like too much work for a doubtful amount of gain. It > is probably a lot easier to use ipfw or pf+altq to rate limit > the bandwidth "others" can use :) Marcel Grandemange wrote: > Sounds To Me Also too much work for little gain... The learning experience in doing it, is a major part of the gain. Although, the end product itself is also of some value. > Easist would be to use a product called "Mikrotik" you will have > that entire system up & running in 15mins tops. > http://www.mikrotik.com/download.html I will look into it. Svein Halvor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/49857c71/signature.pgp From matthias.apitz at oclc.org Sat Aug 9 14:24:15 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Sat Aug 9 14:24:45 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <878wv6tiry.fsf@kobe.laptop> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> Message-ID: <20080809141717.GB12190@rebelion.Sisis.de> El d?a Saturday, August 09, 2008 a las 04:33:37PM +0300, Giorgos Keramidas escribi?: > On Sat, 09 Aug 2008 13:54:04 +0200, Svein Halvor Halvorsen wrote: > > Hello, fellow FreeBSD-ers! > > > > I'd like to a good neighbor and share my DSL line and set up an > > unencrypted free wireless access point. I often find myself wanting > > more free access points around the city, so I thought I'd stand up > > as a good example for others :-) > > > > I want people to know that they can use the network (easy, use ssid > > "free internet"), but I want them to know that they should be nice, > > and it's meant for casual browsing, and that misuse will cause a ban. > > > > So, what I'd like: > > > > 1) Setup a wireless network card in infrastructure mode, I think. > > 2) Setup a DHCP server and DNS forwarder on this interface > > 3) Setup routing from one interface to my other network > > 4) Use a firewall to close down lots of stuff, maybe also limit > > bandwith per mac-address, and a way to deny access to certain NICs. > > 5) Insert a message in all text/html over HTTP, basically saying: > > "Hi, guest! Feel free to use our free internet, but be nice!" And a > > close-button, which I guess needs to send a POST to a http server as > > well, and that I need to record this action in a database, and use > > the same database to dynamically insert the message above or not. > > This sounds like too much work for a doubtful amount of gain. It is > probably a lot easier to use ipfw or pf+altq to rate limit the bandwidth > "others" can use :) To the OP: Be aware that depending on the local laws you might (will) be responsible if the NATed IP is used in criminal affairs (downloads, child porno, etc.); at least the local authorities will ask you who used that IP and take your complete system with them for further investigations, scanning your logs and disks; even if it is a nice idea and you have good neighbors, I would not do that here in Germany; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ We should all learn from the peoples of The Netherlands, France and Ireland. Aprendamos todos de los pueblos de Holanda, Francia e Irlanda. From svein.h at lvor.halvorsen.cc Sat Aug 9 14:35:29 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Sat Aug 9 14:35:36 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <20080809141717.GB12190@rebelion.Sisis.de> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> <20080809141717.GB12190@rebelion.Sisis.de> Message-ID: <489DAB24.2090807@lvor.halvorsen.cc> Matthias Apitz wrote: > To the OP: Be aware that depending on the local laws you might (will) be > responsible if the NATed IP is used in criminal affairs (downloads, > child porno, etc.); at least the local authorities will ask you who used > that IP and take your complete system with them for further > investigations, scanning your logs and disks; > > even if it is a nice idea and you have good neighbors, I would not do > that here in Germany; Yes, I'm well aware of the laws in this regard. It wont be illegal to relay any traffic, for whatever reason. It's far more likely that I will violate the contract I have with my ISP, than Norwegian criminal law. But it will of course be unpleasant for me, if someone used my network for illegal activities, for the reasons you mention. Still, I'd like to set up something like this, if for nothing else, the challenge of doing it. I might even make people aware that the traffic is being monitored, and that will probably make people behave. An alternative to the inserted text in all http traffic (and probably easier to implement) is just to divert all unknown traffic to an internal ip-adress (using the firewall), and setup a web page on that address. Then have people click some button, which will rewrite the fw rules for that specific machine (white list). Svein Halvor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080809/eb53b247/signature.pgp From brie.gordon at gmail.com Sat Aug 9 14:41:13 2008 From: brie.gordon at gmail.com (Brie Gordon) Date: Sat Aug 9 14:41:20 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <00d801c8fa28$d19cd010$74d67030$@za.net> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> <00d801c8fa28$d19cd010$74d67030$@za.net> Message-ID: On Sat, Aug 9, 2008 at 10:04 AM, Marcel Grandemange wrote: > Sounds To Me Also too much work for little gain... > Easist would be to use a product called "Mikrotik" you will have that entire > system up & running in 15mins tops. > http://www.mikrotik.com/download.html > > + Runs on underspec machines perfectly as it's designed for embedded > systems. > > I always found myself using it instead of doing all the work myself because > of time constraints. > It's linux based, but everything is done through a client. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Giorgos Keramidas > Sent: Saturday, August 09, 2008 3:34 PM > To: Svein Halvor Halvorsen > Cc: questions@freebsd.org > Subject: Re: Free wireless network (access point, router, transparent HTTP > proxy setup) > > On Sat, 09 Aug 2008 13:54:04 +0200, Svein Halvor Halvorsen > wrote: >> Hello, fellow FreeBSD-ers! >> >> I'd like to a good neighbor and share my DSL line and set up an >> unencrypted free wireless access point. I often find myself wanting >> more free access points around the city, so I thought I'd stand up >> as a good example for others :-) >> >> I want people to know that they can use the network (easy, use ssid >> "free internet"), but I want them to know that they should be nice, >> and it's meant for casual browsing, and that misuse will cause a ban. >> >> So, what I'd like: >> >> 1) Setup a wireless network card in infrastructure mode, I think. >> 2) Setup a DHCP server and DNS forwarder on this interface >> 3) Setup routing from one interface to my other network >> 4) Use a firewall to close down lots of stuff, maybe also limit >> bandwith per mac-address, and a way to deny access to certain NICs. >> 5) Insert a message in all text/html over HTTP, basically saying: >> "Hi, guest! Feel free to use our free internet, but be nice!" And a >> close-button, which I guess needs to send a POST to a http server as >> well, and that I need to record this action in a database, and use >> the same database to dynamically insert the message above or not. > > This sounds like too much work for a doubtful amount of gain. It is > probably a lot easier to use ipfw or pf+altq to rate limit the bandwidth > "others" can use :) > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > __________ NOD32 3329 (20080805) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > It would be a great learning experience, though! Squid (http://www.squid-cache.org) will do the bandwidth-limiting and authentication. It will also make browsing faster. The message you described sending to others sounds like a captive portal. Squid does that, too. (Mikrotik is awesome, too.) -- Regards, Brie A. Gordon A BSD Diva http://granite.sru.edu/~bag6849/index.html From twhoffma at student.matnat.uio.no Sat Aug 9 15:06:42 2008 From: twhoffma at student.matnat.uio.no (Torgeir Hoffmann) Date: Sat Aug 9 15:06:50 2008 Subject: 7-stable packages on 7.0-release system? Message-ID: <53237.84.48.122.117.1218294399.squirrel@webmail.uio.no> Hi all, I assume that it is not advisable, but what can I expect to happen if I try to use packages for 7-stable on a 7.0-release system? The reason is simple: I have a low-end laptop, so I want to avoid building as much as possible. However, the packages from release are rarely, if ever, updated and therefore very quickly becomes out of date, or they don't exist (e.g. openoffice). I often run into trouble when I need something that depends upon something that often affects many ports is updated, say gettext. Are packages for 7-stable mostly binary compatible with 7.0-release? Or should I just upgrade to 7-stable? Can 7-stable be trusted to run smoothly in most cases? I saw in one thread on the freebsd-stable list that 7-stable was more like current, only a bit "cleaner". What do other 7-release users do in cases such as these? Best Regards, Torgeir From mikel.king at olivent.com Sat Aug 9 15:55:39 2008 From: mikel.king at olivent.com (Mikel King) Date: Sat Aug 9 15:55:46 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <20080808194457.GA81628@thought.org> References: <20080807224226.GA45445@thought.org> <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> <20080808061934.GC57877@thought.org> <3800467F-66CE-446B-B322-1310769B2DA6@identry.com> <20080808194457.GA81628@thought.org> Message-ID: On Aug 8, 2008, at 3:44 PM, Gary Kline wrote: > > This might better be asked offlist, but there may be others like > me who are clueless, and since you are familiar, I'll ask you. > How "interact-able" are FBSD and (say) MacBook? E.g., is there a > "BSD-way" of my creating an account of the Apple and using is? > It's got @G of RAM, and a 160G drive [!]. Apple says in plain > text that is is UNIX. (or maybe Berkeley Unix). > > So besides the mac firewall [whatever], the laptop will be > behind my pfSense box. So... --and to be completely honest, the > main reason for this >> $1000 laptop is *security*. When she was > younger I wasn't that concerned is some kiddie cracker learned > that her favorite pet was a kitty. Different now. > > Another question: can I install X11 without it bothering whatever > kind of mac front-end windowing comes with? Be great if I could > admin this BSD-based computer from my office. > > thankee much! > > gary > > -- > Gary Kline kline@thought.org http://www.thought.org Public > Service Unix > http://jottings.thought.org http://transfinite.thought.org Gary, I also strongly encourage you to install MacPorts.org, when you install x11 and xcode from the install media. There are methods of adding users via CLI however since the Apple setup is rather sophisticated I would recommend that you stick with the system preferences panel to start with. m! From cswiger at mac.com Sat Aug 9 16:06:51 2008 From: cswiger at mac.com (Chuck Swiger) Date: Sat Aug 9 16:06:59 2008 Subject: 7-stable packages on 7.0-release system? In-Reply-To: <53237.84.48.122.117.1218294399.squirrel@webmail.uio.no> References: <53237.84.48.122.117.1218294399.squirrel@webmail.uio.no> Message-ID: On Aug 9, 2008, at 8:06 AM, Torgeir Hoffmann wrote: > Are packages for 7-stable mostly binary compatible with 7.0-release? > Or > should I just upgrade to 7-stable? Can 7-stable be trusted to run > smoothly > in most cases? I saw in one thread on the freebsd-stable list that > 7-stable was more like current, only a bit "cleaner". FreeBSD tries to avoid making incompatible changes to userland API once a major version is released, and exceptions to that are generally documented in /usr/src/UPDATING & /usr/ports/UPDATING. You shouldn't have any problems running 7-stable packages on a 7.0-R system, at least for the present. Eventually, packages will end up being built with newly added functionality, and will fail to run if it isn't there, but it will be a while before you are likely to experience a problem. If you have concerns about following 7-STABLE, you might consider following the security branch (aka RELENG_7_0) instead, or even using the binary update mechanism Colin Percival wrote... Regards, -- -Chuck From jalmberg at identry.com Sat Aug 9 16:12:09 2008 From: jalmberg at identry.com (John Almberg) Date: Sat Aug 9 16:12:16 2008 Subject: [OT] Re: apple mac laptop. In-Reply-To: <20080808194457.GA81628@thought.org> References: <20080807224226.GA45445@thought.org> <367CE1DD-F026-407C-819F-4A190B7F6716@mac.com> <20080808061934.GC57877@thought.org> <3800467F-66CE-446B-B322-1310769B2DA6@identry.com> <20080808194457.GA81628@thought.org> Message-ID: >> I don't think it's far OT, either, since IMHO, Mac desktops and >> FreeBSD servers are the perfect, practical combination for many >> organizations, including my own. > > > This might better be asked offlist, but there may be others like > me who are clueless, and since you are familiar, I'll ask you. > How "interact-able" are FBSD and (say) MacBook? E.g., is there a > "BSD-way" of my creating an account of the Apple and using is? > It's got @G of RAM, and a 160G drive [!]. Apple says in plain > text that is is UNIX. (or maybe Berkeley Unix). > > So besides the mac firewall [whatever], the laptop will be > behind my pfSense box. So... --and to be completely honest, the > main reason for this >> $1000 laptop is *security*. When she was > younger I wasn't that concerned is some kiddie cracker learned > that her favorite pet was a kitty. Different now. > > Another question: can I install X11 without it bothering whatever > kind of mac front-end windowing comes with? Be great if I could > admin this BSD-based computer from my office. > > thankee much! > X11 is integrated with the Apple desktop, so you can run X11 applications, like OpenOffice, from the desktop, more or less seamlessly. The only difference that I've noted is that X11 applications use Ctrl-C, etc., for copy/paste instead of the usual Apple-C, etc, that normal Apple applications use. This is a minor inconvenience, but it reminds me that there are two different types of applications on the desktop. Basically, OSX *is* BSD so you can mount server disks, etc., as usual. The main benefit to me is that administering Apples is very similar to administering a FreeBSD server, so I don't need to learn two completely different OSs (one is more than enough for me!) I basically think of OSX as BSD with a really, really good GUI. Blows the doors off the usual Unix desktops (which is why I switched.) -- John From derek at computinginnovations.com Sat Aug 9 17:20:30 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sat Aug 9 17:20:37 2008 Subject: BIND won't resolve my IPs (not upstream or something?) In-Reply-To: References: <6.0.0.22.2.20080809064710.0250ee08@mail.computinginnovations.com> Message-ID: <6.0.0.22.2.20080809121205.024a1b50@mail.computinginnovations.com> At 06:55 AM 8/9/2008, Redd Vinylene wrote: >I'm pretty sure I do, though my apologies if I'm wrong, did you check my >pastie? > >On Sat, Aug 9, 2008 at 1:48 PM, Derek Ragona > wrote: > > At 05:41 AM 8/9/2008, Redd Vinylene wrote: > > > > I got this FreeBSD server called mother (80.252.2.2). On it, I've made > > two jails, camel (80.252.2.3) and box (80.252.2.4 through to > > 80.252.2.127). The problem is that reverse lookups for any of the IPs > > preceding .4 on box fails. If I connect to IRC with .5 for instance, > > it times out and reverts back to .4, whose lookup works just fine. > > BIND runs on camel. Maybe the problem is that BIND is not upstream for > > all those IPs? (I don't know what that means, a friend just told me) > > Or that I haven't configured the reverse for any of the other IPs? I > > would really like to keep BIND running on camel, as its dedicated to > > all my vital network services, whereas box is the home of all my > > users, and thus expendable ;) Is there any way to modify BIND on > > camel, or must I set up an additional one on box? My (hopefully) > > relevant configuration files can be found here -- > > http://pastie.org/250469 -- much obliged, and thanks! > > > > You need to check that you have zone files for both forward and reverse > > lookups, and those zones are defined in named.conf > > > > -Derek > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > Well, I never let my read of these files suffice. You should check them with the tools from bind: named-checkconf nemed-checkzone If they pass those tests, then check the resolution using just a single ip that is NOT jailed on this server using dig or nslookup. If those are working then adjust your jails. If you go step-by-step you will quickly get it working. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kdk at daleco.biz Sat Aug 9 17:31:13 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Sat Aug 9 17:31:20 2008 Subject: Interpreting top, vmstat, and company In-Reply-To: <20080809001423.GN71785@hal.rescomp.berkeley.edu> References: <20080809001423.GN71785@hal.rescomp.berkeley.edu> Message-ID: <489DD3DD.5000004@daleco.biz> Christopher Cowart wrote: > I have a couple FreeBSD boxes that are providing a captive portal > wifi authentcation system. Without delving into the implementation > details, I'm running dhcpd, squid, and apache. We have in-house perl CGI > scripts that handle session and IP management, dynamically creating and > destroying netgraph nodes (ng_nat), connecting them to ipfw (ng_ipfw), > and altering the contents of access tables. > > Right now, I'm seeing peaks of about 300 authenticated users; I'm > expecting this to grow about 200% when everyone gets back from summer > break. I'm trying to look at system load statistics to reassure myself > we'll be fine in a month -- or to panic and start throwing more hardware > at things. > > What is the difference between the SIZE and RES fields of top? Better > yet, what does top(1) mean by "the total size of the process (text, > data, and stack)" and "the current amount of resident memory"? How does > this work with a threaded program like apache? If all the threads share > the same text and most (all?) of the same data pages, what's the best > way to figure out the fixed cost and the average per-thread cost? > > Some sample top output on this host: > > Mem: 131M Active, 3754M Inact, 425M Wired, 177M Cache, 214M Buf, 3422M Free > Swap: 16G Total, 24K Used, 16G Free > [...] > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 32361 root 1 96 0 106M 16604K select 2 0:02 0.00% httpd > 50687 www 1 20 0 106M 17196K lockf 0 0:01 0.00% httpd > > I'm having a hard time accounting for the 3.8GB of inactive memory > (which as I understand, represents physical pages that are in-use but > not recently used, prime candidates for being swapped out if the free > page count gets low). Maybe better understanding the RES verses SIZE > data along with their relation to threads will explain what's going on > here. > > One of my concerns is that a large chunk of memory is going to belong to > the kernel in my configuration. I found vmstat -m (selected output lines > follow): > > | libalias 5629 3251K - 19760019 128 > | ifnet 13 25K - 13 256,2048 > | dummynet 22 8K - 26 256,512,1024 > | netgraph_msg 0 0K - 101991 64,128,256,512,1024,4096 > | netgraph_node 72 18K - 56133 256 > | netgraph_hook 284 36K - 30204 128 > | netgraph 283 16K - 30203 16,64,128 > | netgraph_parse 0 0K - 22650 16 > | netgraph_sock 0 0K - 48581 128 > | netgraph_path 0 0K - 71508 16,32 > > Does this really mean that my netgraph nodes (and their libalias > instances) are really eating up less than 4MB of memory on the system? > The only other "big spender" appears to be devbuf at 35185K. > > I also found `netstat -m': > > | 1026/1599/2625 mbufs in use (current/cache/total) > | 1023/1513/2536/25600 mbuf clusters in use (current/cache/total/max) > | 1/678 mbuf+clusters out of packet secondary zone in use (current/cache) > | 0/121/121/12800 4k (page size) jumbo clusters in use (current/cache/total/max) > | 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > | 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > | 2302K/3909K/6212K bytes allocated to network (current/cache/total) > | 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > | 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > | 0/0/0 sfbufs in use (current/peak/max) > | 0 requests for sfbufs denied > | 0 requests for sfbufs delayed > | 60 requests for I/O initiated by sendfile > | 0 calls to protocol drain routines > > Again, this looks like chump change against my top output. What category > does kernel memory get lumped into in top? > > I'd appreciate any help you can offer in terms of profiling memory usage > and actually understanding what some of these figures mean. > Hi, Christopher, IANAE, don't wanna presume, just wanna keep your thread alive and see if you've read the FAQ --- Your basic questions sound real similar to questions one and two here: http://www.freebsd.org/doc/en/books/faq/misc.html Once again, I'm hoping you can get someone to discuss your concerns who has a better understanding of FBSD's memory reporting than I do. AFAIK, though, there might be some reason to be concerned; Squid tends to hog memory IME. KDK -- Surely you cant be serious." "I am serious, and dont call me Shirley. From lists at jnielsen.net Sat Aug 9 18:37:54 2008 From: lists at jnielsen.net (John Nielsen) Date: Sat Aug 9 18:38:01 2008 Subject: How to set quota ( as Mbyte ) for a directory? In-Reply-To: References: <002101c8f987$7f814aa0$dc96eed5@ihlasnetym> Message-ID: <200808091434.46537.lists@jnielsen.net> On Friday 08 August 2008, Chuck Swiger wrote: > On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote: > > On freebsd7, How to set quota for a directory? > > For instance I want to set 100Mbyte quota for a directory. How can > > I do > > that ? > > Quotas are handled per filesystem, not per directory. > See "man quotaon" & "man quotacheck", or the FreeBSD Handbook. If you're in a position to use/migrate to ZFS, quotas are something you get "for free". You still have to apply them on a per-filesystem basis but a ZFS filesystem is just part of a pool so it's a lot more dynamic. See the "quota" and "refquota" property descriptions in the zfs(1M) manpage. However, ZFS is only available in FreeBSD 7.0 or newer and is still considered experimental. There is a patch for -HEAD (8-CURRENT) that brings in the latest version and addresses many issues, but it hasn't been backported to 7.x (and may not be). JN From me at janh.de Sat Aug 9 18:45:15 2008 From: me at janh.de (Jan Henrik Sylvester) Date: Sat Aug 9 18:45:23 2008 Subject: 7-stable packages on 7.0-release system? References: 53237.84.48.122.117.1218294399.squirrel@webmail.uio.no Message-ID: <489DE5B3.7070708@janh.de> Torgeir wrote: > I assume that it is not advisable, but what can I expect to happen if > I try to use packages for 7-stable on a 7.0-release system? No, it is not advisable. I tried: http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/177553.html As I said two weeks ago, that failure was predictable and the few offenders could be found, but I had another weird problem that could only be solved with recompile: http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179517.html For the opposite, using packages from an earlier point, compatibility is usually preserved, but not always, either: http://lists.freebsd.org/pipermail/freebsd-stable/2008-July/043950.html Not having newer binary packages for the latest RELEASE is a shortcoming on FreeBSD, but you will find many references that there are simply not enough resources. Cheers, Jan Henrik From mgrant at grant.org Sat Aug 9 20:22:01 2008 From: mgrant at grant.org (Michael Grant) Date: Sat Aug 9 20:22:08 2008 Subject: shutdown/reboot suggestion Message-ID: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> More than once, through carelessness, and I'm sure I'm not alone, I have inadvertently shutdown or rebooted the wrong machine. I'm sure some of you know that all too familiar feeling when you see "Connection closed" instead of your desktop being rebooted. I have a suggestion with respect to these commands. What if they could be modified to require the hostname of the machine as their first argument, otherwise, they refuse to bring the machine down? shutdown -h now becomes: shutdown example.com -h now and reboot becomes reboot example.com How hard would it to get the other *nix distributions to take up this up too? Michael Grant From noc at hdk5.net Sat Aug 9 20:35:13 2008 From: noc at hdk5.net (Al Plant) Date: Sat Aug 9 20:35:21 2008 Subject: shutdown/reboot suggestion In-Reply-To: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> References: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> Message-ID: <489DFF7F.6040902@hdk5.net> Michael Grant wrote: > More than once, through carelessness, and I'm sure I'm not alone, I > have inadvertently shutdown or rebooted the wrong machine. I'm sure > some of you know that all too familiar feeling when you see > "Connection closed" instead of your desktop being rebooted. > > I have a suggestion with respect to these commands. What if they > could be modified to require the hostname of the machine as their > first argument, otherwise, they refuse to bring the machine down? > > shutdown -h now > > becomes: > > shutdown example.com -h now > > and > > reboot > > becomes > > reboot example.com > > How hard would it to get the other *nix distributions to take up this up too? > > Michael Grant > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Aloha, I have set all my servers in the noc to shutdown -r now. This prevents me from locking my self out of servers as they are not in my office. I also set the tcsh command line to show path to the directory and the name of the host box i'm working on so I cant get confused. Maybe this will help. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From sahil at tandon.net Sat Aug 9 21:01:01 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat Aug 9 21:01:08 2008 Subject: shutdown/reboot suggestion In-Reply-To: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> References: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> Message-ID: <20080809210054.GD71266@shepherd> Michael Grant wrote: > More than once, through carelessness, and I'm sure I'm not alone, I > have inadvertently shutdown or rebooted the wrong machine. I'm sure > some of you know that all too familiar feeling when you see > "Connection closed" instead of your desktop being rebooted. > > I have a suggestion with respect to these commands. What if they > could be modified to require the hostname of the machine as their > first argument, otherwise, they refuse to bring the machine down? Write two scripts that check for those additional arguments and name them 'shutdown' and 'reboot'. Then ensure that they exist earlier in your PATH than the actual shutdown and reboot binaries. -- Sahil Tandon From scole at serverhouse.co.uk Sat Aug 9 21:32:04 2008 From: scole at serverhouse.co.uk (Steve Cole) Date: Sat Aug 9 21:32:12 2008 Subject: Video streaming with freeBSD Message-ID: <489E0312.40908@serverhouse.co.uk> Hi I have just installed FreeBSD 4.11 with the intention of not only creating a file server but to allow for video streaming and recording with the aid of a TV card. Lots of forums suggest many options to achieve this however to save alot of time with untested and not always proven methods. Could you please advise me if this indeed possible and secondly if you could recommend any possible tv cards compatible with your OS I look forward to any help or assistance that you may offer. Many Thanks Steve C -- *********************************************************************** ServerHouse Ltd Delme Place Cams Hall Estate Fareham Hampshire PO16 8UJ http://www.serverhouse.co.uk Helpdesk Opening Hours: Monday to Friday 6am - 10pm Saturday 9am - 5pm Closed: All Sunday's and public holidays Serverhouse Ltd: Company Registration 0338799 *********************************************************************** From tamara.bunke at gmail.com Sat Aug 9 22:03:36 2008 From: tamara.bunke at gmail.com (Tamara Bunke) Date: Sat Aug 9 22:03:42 2008 Subject: Linksys wpc100 kernel module Message-ID: Is there a Linksys wpc100 (802.11) kernel module? The card is not detected in: FreeBSD 6.3-RELEASE-p3 #2 TIA T.B. -- During times of universal deceit, telling the truth becomes a revolutionary act. - George Orwell From dan at langille.org Sat Aug 9 23:10:10 2008 From: dan at langille.org (Dan Langille) Date: Sat Aug 9 23:10:31 2008 Subject: The FreeBSD Diary: 2008-07-20 - 2008-08-09 Message-ID: <20080809231002.C6AE250856@nyi.unixathome.org> 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 and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From kritek at gmail.com Sun Aug 10 00:07:44 2008 From: kritek at gmail.com (R Dicaire) Date: Sun Aug 10 00:07:51 2008 Subject: bind9 sdb pgsql Message-ID: Hi folks...I'm looking to rebuild bind9 to support the pgsql sdb interface, from /usr/src/contrib/bind9. However I don't see the contrib subdir in bind9/ where the sdb files reside (as they do in the src tarball). So how would I go about rebuilding bind to have this support? -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u From kdk at daleco.biz Sun Aug 10 01:07:07 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Sun Aug 10 01:07:14 2008 Subject: Video streaming with freeBSD In-Reply-To: <489E0312.40908@serverhouse.co.uk> References: <489E0312.40908@serverhouse.co.uk> Message-ID: <489E3F2A.3040002@daleco.biz> Steve Cole wrote: > Hi > > I have just installed FreeBSD 4.11 with the intention of not only > creating a file server but to allow for video streaming and recording > with the aid of a TV card. > > Lots of forums suggest many options to achieve this however to save alot > of time with untested and not always proven methods. Could you please > advise me if this indeed possible and secondly if you could recommend > any possible tv cards compatible with your OS > > I look forward to any help or assistance that you may offer. > > Many Thanks > > Steve C 4.11 is officially Pretty Old (and possibly "Officially Unsupported"), but I'm not "official" in any way, shape or form. You might try "man 4 bktr" and "man 4 meteor" on your 4.11 system; I know the current version of the bktr manpage lists supported cards for that driver. Also, there is a "freebsd-multimedia" mailing list, I believe, which might have people on it who are more finely tuned (excuse the pun) in that direction. HTH, Kevin Kinsey -- Lost interest? It's so bad I've lost apathy. From jeffrey at goldmark.org Sun Aug 10 01:45:38 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sun Aug 10 01:45:46 2008 Subject: shutdown/reboot suggestion In-Reply-To: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> References: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> Message-ID: <34556D79-74F5-4222-A945-DC22628CB17D@goldmark.org> On Aug 9, 2008, at 3:22 PM, Michael Grant wrote: > More than once, through carelessness, and I'm sure I'm not alone, I > have inadvertently shutdown or rebooted the wrong machine. I'm sure > some of you know that all too familiar feeling when you see > "Connection closed" instead of your desktop being rebooted. I use a combination of tricks. 1. I have the hostname in my prompt. 2. I have a separate color scheme for ssh sessions for each host I commonly connect to, and a generic color scheme for ssh sessions for other hosts. These are all distinct from my term window color scheme for my local host. 3. I rarely run as root, so all of my shutdown's use sudo. My password isn't the same on all hosts. This doesn't work perfectly, but it does help avoid this kind of problem. > I have a suggestion with respect to these commands. What if they > could be modified to require the hostname of the machine as their > first argument, otherwise, they refuse to bring the machine down? > > shutdown -h now > > becomes: > > shutdown example.com -h now As others have pointed out, you can easily make scripts to do that. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From jerrymc at msu.edu Sun Aug 10 03:35:49 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Aug 10 03:35:56 2008 Subject: Video streaming with freeBSD In-Reply-To: <489E0312.40908@serverhouse.co.uk> References: <489E0312.40908@serverhouse.co.uk> Message-ID: <20080810033127.GC64330@gizmo.acns.msu.edu> On Sat, Aug 09, 2008 at 09:50:26PM +0100, Steve Cole wrote: > Hi > > I have just installed FreeBSD 4.11 with the intention of not only > creating a file server but to allow for video streaming and recording > with the aid of a TV card. > > Lots of forums suggest many options to achieve this however to save alot > of time with untested and not always proven methods. Could you please > advise me if this indeed possible and secondly if you could recommend > any possible tv cards compatible with your OS It can be done. But why such an ancient version. The latest full release is 7.0. ////jerry > > I look forward to any help or assistance that you may offer. > > Many Thanks > > Steve C > > > -- > *********************************************************************** > ServerHouse Ltd > Delme Place > Cams Hall Estate > Fareham Hampshire PO16 8UJ http://www.serverhouse.co.uk > > Helpdesk Opening Hours: > > Monday to Friday 6am - 10pm > Saturday 9am - 5pm > Closed: All Sunday's and public holidays > > Serverhouse Ltd: Company Registration 0338799 > *********************************************************************** > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From kritek at gmail.com Sun Aug 10 04:15:14 2008 From: kritek at gmail.com (R Dicaire) Date: Sun Aug 10 04:15:20 2008 Subject: [SOLVED} bind9 sdb pgsql Message-ID: With a bit of work I was able to successfully build/replace bind9.4.2 port and add pgsql sdb support. If anyone's interested, I can post the method I used. -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u From shinjii at maydias.com Sun Aug 10 04:34:05 2008 From: shinjii at maydias.com (Warren Liddell) Date: Sun Aug 10 04:34:18 2008 Subject: Wireless net Card In-Reply-To: <20080807002141.319b3ffd@verizon.net> References: <200808051748.55133.shinjii@maydias.com> <200808070641.53857.shinjii@maydias.com> <20080807002141.319b3ffd@verizon.net> Message-ID: <200808101433.54554.shinjii@maydias.com> I downloaded the drivers for the chipset my belkin wireless card has, used ndisgen to create the kernel module, which all went aok .. however when trying to load the module it hard hangs the machine to the point of it restarting itself .. is there something i perhaps mybe missing or am i out in the cold in not being able to use this wireless card untill some time a freebsd driver is done ? From mgrant at grant.org Sun Aug 10 05:11:56 2008 From: mgrant at grant.org (Michael Grant) Date: Sun Aug 10 05:12:04 2008 Subject: shutdown/reboot suggestion In-Reply-To: <34556D79-74F5-4222-A945-DC22628CB17D@goldmark.org> References: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> <34556D79-74F5-4222-A945-DC22628CB17D@goldmark.org> Message-ID: <62b856460808092211r50111d3fnd70feeb46f819a43@mail.gmail.com> I have such a script, I put it in /bin/require_hostname and symlinked shutdown, halt, reboot, fastboot, and fasthalt to this script: #!/bin/sh if [ "$1" = `hostname` ]; then shift exec /sbin/`basename $0` $@ else echo "For your protection, use: $0 hostname ..." fi I realize a lot of people have their own tricks and habits for avoiding such stupidity, but what is the problem of fixing the problem globally by getting these commands to take a hostname argument? This could certainly be the basis for another thread (and this is perhaps not the correct list), but is there some way to request a modification across all the unix/linux distributions out there to maintain some level of consistency across them? Except for Posix, is there some overall list which deals with this conformity of all these sibling platforms? Michael Grant On Sun, Aug 10, 2008 at 3:45 AM, Jeffrey Goldberg wrote: > On Aug 9, 2008, at 3:22 PM, Michael Grant wrote: > >> More than once, through carelessness, and I'm sure I'm not alone, I >> have inadvertently shutdown or rebooted the wrong machine. I'm sure >> some of you know that all too familiar feeling when you see >> "Connection closed" instead of your desktop being rebooted. > > I use a combination of tricks. > > 1. I have the hostname in my prompt. > 2. I have a separate color scheme for ssh sessions for each host I commonly > connect to, and a generic color scheme for ssh sessions for other hosts. > These are all distinct from my term window color scheme for my local host. > 3. I rarely run as root, so all of my shutdown's use sudo. My password > isn't the same on all hosts. > > This doesn't work perfectly, but it does help avoid this kind of problem. > > >> I have a suggestion with respect to these commands. What if they >> could be modified to require the hostname of the machine as their >> first argument, otherwise, they refuse to bring the machine down? >> >> shutdown -h now >> >> becomes: >> >> shutdown example.com -h now > > As others have pointed out, you can easily make scripts to do that. > > -j > > > > -- > Jeffrey Goldberg http://www.goldmark.org/jeff/ > > From kritek at gmail.com Sun Aug 10 05:53:59 2008 From: kritek at gmail.com (R Dicaire) Date: Sun Aug 10 05:54:11 2008 Subject: [SOLVED} bind9 sdb pgsql In-Reply-To: <1218342771.53495.1.camel@localhost> References: <1218342771.53495.1.camel@localhost> Message-ID: On Sun, Aug 10, 2008 at 12:32 AM, User Lenzi wrote: > With a bit of work I was able to successfully build/replace bind9.4.2 > port and add pgsql sdb support. If anyone's interested, I can post the > method I used. > > > I am interested, please if you put the posts it would be nice.... Sergio, I hope this helps. http://www.freebsddiary.org/phorum/read.php?f=4&i=331&t=331 -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u From shinjii at maydias.com Sun Aug 10 07:43:32 2008 From: shinjii at maydias.com (Warren Liddell) Date: Sun Aug 10 07:43:50 2008 Subject: OpenOffice Build Error Message-ID: <200808101743.24019.shinjii@maydias.com> I am using FreeBSD 7.0-CURREENT all ports/src upto date as of this morning.. when trying to compile oo below is the result during the make. What seems ot be causing this error ? Test #PASSED# Running processes: 0 deliver -- version: 1.129 Module 'o3tl' delivered successfully. 0 files copied, 5 files unchanged 1 module(s): store need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/BEB300_m3/store/util Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from store" *** Error code 1 From derek at computinginnovations.com Sun Aug 10 08:06:33 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sun Aug 10 08:06:42 2008 Subject: BIND won't resolve my IPs (not upstream or something?) In-Reply-To: References: Message-ID: <6.0.0.22.2.20080809064710.0250ee08@mail.computinginnovations.com> At 05:41 AM 8/9/2008, Redd Vinylene wrote: >I got this FreeBSD server called mother (80.252.2.2). On it, I've made >two jails, camel (80.252.2.3) and box (80.252.2.4 through to >80.252.2.127). The problem is that reverse lookups for any of the IPs >preceding .4 on box fails. If I connect to IRC with .5 for instance, >it times out and reverts back to .4, whose lookup works just fine. >BIND runs on camel. Maybe the problem is that BIND is not upstream for >all those IPs? (I don't know what that means, a friend just told me) >Or that I haven't configured the reverse for any of the other IPs? I >would really like to keep BIND running on camel, as its dedicated to >all my vital network services, whereas box is the home of all my >users, and thus expendable ;) Is there any way to modify BIND on >camel, or must I set up an additional one on box? My (hopefully) >relevant configuration files can be found here -- >http://pastie.org/250469 -- much obliged, and thanks! You need to check that you have zone files for both forward and reverse lookups, and those zones are defined in named.conf -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From shinjii at maydias.com Sun Aug 10 08:45:27 2008 From: shinjii at maydias.com (Warren Liddell) Date: Sun Aug 10 08:45:35 2008 Subject: OpenOffice Build Error(Update) In-Reply-To: <200808101743.24019.shinjii@maydias.com> References: <200808101743.24019.shinjii@maydias.com> Message-ID: <200808101845.19720.shinjii@maydias.com> On Sunday 10 August 2008 17:43:23 Warren Liddell wrote: > I am using FreeBSD 7.0-CURREENT all ports/src upto date as of this > morning.. when trying to compile oo below is the result during the make. > What seems ot be causing this error ? 2 module(s): icu openssl need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/BEB300_m3/icu ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/BEB300_m3/openssl Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from icu openssl" *** Error code 1 1 error From ervin23 at gmail.com Sun Aug 10 09:52:10 2008 From: ervin23 at gmail.com (ervin) Date: Sun Aug 10 09:52:17 2008 Subject: Removing a port & its dependencies / Message-ID: hi, I installed a port with "make install" and it worked including installation of dependencies Removing the port: Do I use pkg_delete or .... ? I want the dependencies to me removed as well .... the "make deinstall" deinstall the primary port but not the dependencies. -- best regards ev From pieter at degoeje.nl Sun Aug 10 10:02:13 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Sun Aug 10 10:02:19 2008 Subject: Removing a port & its dependencies / In-Reply-To: References: Message-ID: <200808101202.05856.pieter@degoeje.nl> On Sunday 10 August 2008, ervin wrote: > hi, > > I installed a port with "make install" and it worked including > installation of dependencies > > Removing the port: > > Do I use pkg_delete or .... ? > I want the dependencies to me removed as well .... the "make deinstall" > deinstall the primary port but not the dependencies. You can use pkg_rmleaves or pkg_cutleaves (both in ports/ports-mgmt). -- Pieter de Goeje From twhoffma at student.matnat.uio.no Sun Aug 10 10:05:17 2008 From: twhoffma at student.matnat.uio.no (Torgeir Hoffmann) Date: Sun Aug 10 10:05:25 2008 Subject: 7-stable packages on 7.0-release system? In-Reply-To: <489DE5B3.7070708@janh.de> References: 53237.84.48.122.117.1218294399.squirrel@webmail.uio.no <489DE5B3.7070708@janh.de> Message-ID: <33216.80.202.85.78.1218362714.squirrel@webmail.uio.no> Hi again! > > I assume that it is not advisable, but what can I expect to happen if > > I try to use packages for 7-stable on a 7.0-release system? > > No, it is not advisable. I tried: > > http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/177553.html Thanks for pointing this out! > Not having newer binary packages for the latest RELEASE is a shortcoming > on FreeBSD, but you will find many references that there are simply not > enough resources. Please excuse me for branching this thread off into another loosely related question. But then, if I am to use this laptop of mine for work (nothing critical): How stable is 7-stable? Can I upgrade to 7-stable via freebsd-update? Best Regards, //Torgeir From shinjii at maydias.com Sun Aug 10 10:08:44 2008 From: shinjii at maydias.com (Warren Liddell) Date: Sun Aug 10 10:08:51 2008 Subject: 7-stable packages on 7.0-release system? In-Reply-To: <33216.80.202.85.78.1218362714.squirrel@webmail.uio.no> References: <489DE5B3.7070708@janh.de> <33216.80.202.85.78.1218362714.squirrel@webmail.uio.no> Message-ID: <200808102008.14726.shinjii@maydias.com> On Sunday 10 August 2008 20:05:14 Torgeir Hoffmann wrote: > Hi again! > > > > I assume that it is not advisable, but what can I expect to happen if > > > I try to use packages for 7-stable on a 7.0-release system? > > > > No, it is not advisable. I tried: > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/177553.htm > >l > > Thanks for pointing this out! > > > Not having newer binary packages for the latest RELEASE is a shortcoming > > on FreeBSD, but you will find many references that there are simply not > > enough resources. > > Please excuse me for branching this thread off into another loosely > related question. But then, if I am to use this laptop of mine for work > (nothing critical): How stable is 7-stable? Can I upgrade to 7-stable via > freebsd-update? From previous threads of my own asking around simlar questions, freebsd-update wont do STABLE but only releases, to do stable edit your sup file to RELENG_7 and go form there. From m.seaman at infracaninophile.co.uk Sun Aug 10 10:24:54 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Aug 10 10:25:01 2008 Subject: 7-stable packages on 7.0-release system? In-Reply-To: <33216.80.202.85.78.1218362714.squirrel@webmail.uio.no> References: 53237.84.48.122.117.1218294399.squirrel@webmail.uio.no <489DE5B3.7070708@janh.de> <33216.80.202.85.78.1218362714.squirrel@webmail.uio.no> Message-ID: <489EC1E6.9050807@infracaninophile.co.uk> Torgeir Hoffmann wrote: > Please excuse me for branching this thread off into another loosely > related question. But then, if I am to use this laptop of mine for work > (nothing critical): How stable is 7-stable? Can I upgrade to 7-stable via > freebsd-update? RELENG_7 is very stable. It is a development branch, but it is the ultimate stage of testing before code goes into a release. I've never personally been bitten by problems introduced into stable -- and I track it fairly closely on a couple of machines that are pretty important to me. Problems in RELENG_7 are rare -- weeks between occurrences -- and when they do happen it's usually due to trivial errors merging code from HEAD that stop the system building successfully. That sort of thing is generally fixed within hours. As the user of a RELENG_7 system, the only effect this could have on you would be to delay your doing a system update for a small time. You will have to use csup/cvsup to track RELENG_7 and compile world yourself. FreeBSD-update only covers release branches (eg RELENG_7_0 or 7.0-RELEASE-p3 as it is at the moment.) 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080810/f1b0eec2/signature.pgp From craig001 at lerwick.hopto.org Sun Aug 10 11:37:10 2008 From: craig001 at lerwick.hopto.org (Craig Butler) Date: Sun Aug 10 11:37:17 2008 Subject: sound jitter with snd_via8233 and freebsd 7 Message-ID: <1218367781.94802.23.camel@main.lerwick.hopto.org> Hi All I am experiencing sound jitter when watching video or listening to music. I have tried many players (vlc, mplayer, xine ... etc) with different cache settings -- same result. It jitters even if the computer is not busy. Has anybody else experienced this ? is there a fix ? Thanks Craig Butler ============================================================ This email has been handled by lerwick.hopto.org mail server and has been scanned by 3 virus killers and spamassassin ============================================================ From craig001 at lerwick.hopto.org Sun Aug 10 11:48:21 2008 From: craig001 at lerwick.hopto.org (Craig Butler) Date: Sun Aug 10 11:48:28 2008 Subject: video glitch with high def vids on nvidia 7600 Message-ID: <1218367253.94802.17.camel@main.lerwick.hopto.org> Hi All I am having a problem playing High Definition video using Freebsd 7 and an Nvidia 7600 AGP graphics card. I have tried hd-divx and mkv. Video plays smooth, but there is a horizontal glitch through the centre when displaying full screen. Has anybody else experienced this ? is there a fix ? I am using the nvidia-driver from ports (173.14.09) compiled with the default configuration. Nvidia kernel object is loaded and nvidia is configured in xorg.conf and controlled by nvidia-settings. Kind Regards Craig Butler ============================================================ This email has been handled by lerwick.hopto.org mail server and has been scanned by 3 virus killers and spamassassin ============================================================ From rsmith at xs4all.nl Sun Aug 10 12:01:25 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Aug 10 12:01:32 2008 Subject: sound jitter with snd_via8233 and freebsd 7 In-Reply-To: <1218367781.94802.23.camel@main.lerwick.hopto.org> References: <1218367781.94802.23.camel@main.lerwick.hopto.org> Message-ID: <20080810120041.GA8483@slackbox.xs4all.nl> On Sun, Aug 10, 2008 at 12:29:41PM +0100, Craig Butler wrote: > Hi All > > I am experiencing sound jitter when watching video or listening to > music. > I have tried many players (vlc, mplayer, xine ... etc) with different > cache settings -- same result. > It jitters even if the computer is not busy. > > Has anybody else experienced this ? is there a fix ? You could try playing around with some of the sound sysctls: hw.snd.latency_profile hw.snd.latency hw.snd.feeder_buffersize (try 'sysctl hw.snd' to see all sysctls). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080810/01a648b7/attachment.pgp From DemonImp13 at mail.ru Sun Aug 10 04:37:51 2008 From: DemonImp13 at mail.ru (=?koi8-r?B?88XSx8XK?=) Date: Sun Aug 10 14:02:56 2008 Subject: problems with installtion: "panic: Going nowhere without my init!" Message-ID: <000801c8fa2d$d798d950$0201a8c0@saratov23cc3ae> Hello, when I try to install FreeBSD 7.0 I have some problems: after booting and loading kernel (I boot from CD) I saw blue screen with grey box in center with text: "Probing devices please wait (this can take a while)..." and on screen was writen: >/: write failed, filesystem is full >panic: Going nowhere without my init! >cpuid=0 >uptime=18s >Can not dump. No dump device defined. >Automatic reboot in 15 seconds - press a key on the console to abort. May I have any hardware problems? I have PC with processor Pentium 4 (2000 mHz), 512 MB RAM, HDD 300 GB, mainboard MS-65533 From jokers32463 at yahoo.com Sun Aug 10 09:51:01 2008 From: jokers32463 at yahoo.com (Marshall) Date: Sun Aug 10 14:09:17 2008 Subject: building a OS Message-ID: <292552.68067.qm@web55105.mail.re4.yahoo.com> hi, I would like some help. I want to make my own build, how do I? What tools do I need? is there a stripped down to the base I use and add the apps I want? I'm not sure how to go about it. I don't want to be a new distro or anything like that, I just want to build for me. thanks Marshall From mario.lobo.neto at gmail.com Sun Aug 10 15:46:04 2008 From: mario.lobo.neto at gmail.com (Mario Lobo) Date: Sun Aug 10 15:46:12 2008 Subject: building a OS In-Reply-To: <292552.68067.qm@web55105.mail.re4.yahoo.com> References: <292552.68067.qm@web55105.mail.re4.yahoo.com> Message-ID: <200808101224.21441.mario.lobo.neto@gmail.com> On Sunday 10 August 2008 06:24:19 Marshall wrote: > hi, > I would like some help. I want to make my own build, > how do I? What tools do I need? is there a stripped > down to the base I use and add the apps I want? I'm > not sure how to go about it. I don't want to be a new > distro or anything like that, I just want to build for > me. > thanks > Marshall > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Ahh ! To me, this is where the real magic of FreeBSD comes alive: Full access to everything in one place ! Everything you to customise it is there for you. Start by looking into /usr/src/sys/ARCH/conf to custmize the kernel. Then go through /usr/src for everything else. Thera are TONS of reading material, topping at www.freebsd.org, in the handbook section. good luck ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From freebsd at assetburned.de Sun Aug 10 15:55:05 2008 From: freebsd at assetburned.de (assetburned) Date: Sun Aug 10 15:55:12 2008 Subject: how to let MPD check the password against POP3, IMAP or WWW? Message-ID: <36770826-27C1-4806-8355-D07758613B39@assetburned.de> Hi I have a MPD VPN server and another machine which runs WWW, IMAP and POP3 services. I know that I could check if a password is valid e.g. by writing a script which calls a Lynx command. But how can I forward the password from MPD to that script? And I also think that the password has to be unencrypted for the lynx command, so how can I manage that? CU AssetBurned From eculp at casasponti.net Sun Aug 10 16:02:10 2008 From: eculp at casasponti.net (Edwin L. Culp) Date: Sun Aug 10 16:02:18 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <00d801c8fa28$d19cd010$74d67030$@za.net> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> <00d801c8fa28$d19cd010$74d67030$@za.net> Message-ID: <20080810110207.15442ibe13re104k@pontinet.casasponti.net> Marcel Grandemange escribi?: > Sounds To Me Also too much work for little gain... > Easist would be to use a product called "Mikrotik" you will have that entire > system up & running in 15mins tops. > http://www.mikrotik.com/download.html > > + Runs on underspec machines perfectly as it's designed for embedded > systems. > > I always found myself using it instead of doing all the work myself because > of time constraints. > It's linux based, but everything is done through a client. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Giorgos Keramidas > Sent: Saturday, August 09, 2008 3:34 PM > To: Svein Halvor Halvorsen > Cc: questions@freebsd.org > Subject: Re: Free wireless network (access point, router, transparent HTTP > proxy setup) > > On Sat, 09 Aug 2008 13:54:04 +0200, Svein Halvor Halvorsen > wrote: >> Hello, fellow FreeBSD-ers! >> >> I'd like to a good neighbor and share my DSL line and set up an >> unencrypted free wireless access point. I often find myself wanting >> more free access points around the city, so I thought I'd stand up >> as a good example for others :-) >> >> I want people to know that they can use the network (easy, use ssid >> "free internet"), but I want them to know that they should be nice, >> and it's meant for casual browsing, and that misuse will cause a ban. >> >> So, what I'd like: >> >> 1) Setup a wireless network card in infrastructure mode, I think. >> 2) Setup a DHCP server and DNS forwarder on this interface >> 3) Setup routing from one interface to my other network >> 4) Use a firewall to close down lots of stuff, maybe also limit >> bandwith per mac-address, and a way to deny access to certain NICs. >> 5) Insert a message in all text/html over HTTP, basically saying: >> "Hi, guest! Feel free to use our free internet, but be nice!" And a >> close-button, which I guess needs to send a POST to a http server as >> well, and that I need to record this action in a database, and use >> the same database to dynamically insert the message above or not. > > This sounds like too much work for a doubtful amount of gain. It is > probably a lot easier to use ipfw or pf+altq to rate limit the bandwidth > "others" can use :) Hmmm, is there a way to limit bandwidth on incoming connections with pf+altq? Squid, afaik, can only limit incoming web traffic. My major concern would be p2p file sharing. How would you limit that? ed From cagri.ersen at gmail.com Sun Aug 10 16:06:26 2008 From: cagri.ersen at gmail.com (Cagri Ersen) Date: Sun Aug 10 16:06:33 2008 Subject: Need FreeBSD 7.0 XEN-KERNEL Message-ID: <73a179920808100839i635944f0k5d3e132f4b3b02a0@mail.gmail.com> Hi list, I want to install a FreeBSD 7.0 on a XEN Server as (para-virtualize) domU. There is an installation document on FreeBSD handbook ( http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html) However, the link is broken on the page which is for downloading the kernel file. So, where can i get that file ? Thanks for help. -- Cagri Ersen From doug at fledge.watson.org Sun Aug 10 17:25:54 2008 From: doug at fledge.watson.org (doug) Date: Sun Aug 10 17:26:00 2008 Subject: named file missing Message-ID: I build a 7.0 system from the CD and then updated it via cvs. The file make-localhost (among) others is not in /etc/named. So make sure I did not muck up mergemaster I did the following: mkdir /var/tmp/root cd /usr/src/etc make DESTDIR=/var/tmp/root distrib-dirs distribution and checked /var/tmp/root/var/named/etc/namedb. I assume this is my problem but can not see what to do about it. Thanks for any help From doug at fledge.watson.org Sun Aug 10 17:43:59 2008 From: doug at fledge.watson.org (doug) Date: Sun Aug 10 17:44:05 2008 Subject: named file missing In-Reply-To: References: Message-ID: On Sun, 10 Aug 2008, doug wrote: > I build a 7.0 system from the CD and then updated it via cvs. The file > make-localhost (among) others is not in /etc/named. > > So make sure I did not muck up mergemaster I did the following: > > mkdir /var/tmp/root > cd /usr/src/etc > make DESTDIR=/var/tmp/root distrib-dirs distribution > > and checked /var/tmp/root/var/named/etc/namedb. > > I assume this is my problem but can not see what to do about it. Thanks for > any help I got the answer from a friend. This went away sometime ago. The handbook and the system I was copying from confused me. cvs log on make-localhost shows: revision 1.8 date: 2007/06/18 05:58:23; author: dougb; state: dead; lines: +1 -1 Bring our default named configuration more in line with current best practices: : Sorry for the noise From drew at mykitchentable.net Sun Aug 10 17:56:23 2008 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sun Aug 10 17:56:31 2008 Subject: Video streaming with freeBSD In-Reply-To: <489E0312.40908@serverhouse.co.uk> References: <489E0312.40908@serverhouse.co.uk> Message-ID: <489F2582.3060304@mykitchentable.net> Steve Cole wrote: > Hi > > I have just installed FreeBSD 4.11 with the intention of not only > creating a file server but to allow for video streaming and recording > with the aid of a TV card. > > Lots of forums suggest many options to achieve this however to save > alot of time with untested and not always proven methods. Could you > please advise me if this indeed possible and secondly if you could > recommend any possible tv cards compatible with your OS > > I look forward to any help or assistance that you may offer. > > Many Thanks > > Steve C If the main purpose of your box is to be a PVR, I suggest going with a Linux distribution and using MythTV (http://www.mythtv.org). While I am a fan of FreeBSD as a web/mail/etc. server, it did not meet my needs when attempting to build a PVR. I found the Gentoo Linux distribution most comfortable for me because it uses a "portage" system similar to the "ports" system of FreeBSD. Others I tried were package based and didn't always support my hardware. Anyway, my two cents, Drew > > -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From freebsd-questions at slightlystrange.org Sun Aug 10 18:17:49 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Sun Aug 10 18:17:58 2008 Subject: building a OS In-Reply-To: <292552.68067.qm@web55105.mail.re4.yahoo.com> References: <292552.68067.qm@web55105.mail.re4.yahoo.com> Message-ID: <20080810181733.GE6648@torus.slightlystrange.org> On Sun, Aug 10, 2008 at 02:24:19AM -0700, Marshall wrote: > hi, > I would like some help. I want to make my own build, > how do I? What tools do I need? is there a stripped > down to the base I use and add the apps I want? I'm > not sure how to go about it. I don't want to be a new > distro or anything like that, I just want to build for > me. > thanks > Marshall That's quite an ambitious task. The first thing to do is to reread the Handbook (you have read it already, haven't you?), and then take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/index.html As for stripped down systems, there are a number of approaches. Search Google for things like minibsd, picobsd, nanobsd. There are plenty of pages out there. Good luck! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080810/01eff287/attachment.pgp From jos at webrz.net Sun Aug 10 19:01:39 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Aug 10 19:01:50 2008 Subject: Rsync Message-ID: <489F3B10.30203@webrz.net> I have server1 of which I would like to backup some slices/directories to a backup server2 that in fact is a mirror of the one that I want to backup. I don't allow root logon from prompt on Server2. Can someone tell me how I can force rsync to backup server1 without having a root login permission on Server2? Thanks in advance for sharing. -- Jos From m.seaman at infracaninophile.co.uk Sun Aug 10 19:15:44 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Aug 10 19:15:57 2008 Subject: Rsync In-Reply-To: <489F3B10.30203@webrz.net> References: <489F3B10.30203@webrz.net> Message-ID: <489F3E50.1050602@infracaninophile.co.uk> Jos Chrispijn wrote: > I have server1 of which I would like to backup some slices/directories > to a backup server2 that in fact is a mirror of the one that I want to > backup. > I don't allow root logon from prompt on Server2. Can someone tell me how > I can force rsync to backup server1 without having a root login > permission on Server2? > Use anonymous rsync? There's a section on rsyncd in the rsync(1) man page, but most of the meat is in the rsyncd.conf(5) man page. The downside is you'll lose information about user and group ownership of files. Oh, and obviously be careful about limiting where people can access the rsyncd server from, or your precious data may go on an unplanned walkies... 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080810/024cee15/signature.pgp From jos at webrz.net Sun Aug 10 19:18:46 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Aug 10 19:18:58 2008 Subject: Rsync In-Reply-To: <489F3E50.1050602@infracaninophile.co.uk> References: <489F3B10.30203@webrz.net> <489F3E50.1050602@infracaninophile.co.uk> Message-ID: <489F3F13.6050302@webrz.net> Matthew Seaman wrote: > Use anonymous rsync? There's a section on rsyncd in the rsync(1) > man page, but most of the meat is in the rsyncd.conf(5) man page. > The downside is you'll lose information about user and group ownership > of files. Oh, and obviously be careful about limiting where people > can access the rsyncd server from, or your precious data may go on > an unplanned walkies... I don't want to loose any user and group ownership of files. Would there be another solution without rsync then or does the 'forbidden root login' affect all backup solutions here? thanks for sharing, Jos From m.seaman at infracaninophile.co.uk Sun Aug 10 19:50:49 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Aug 10 19:51:00 2008 Subject: Rsync In-Reply-To: <489F3F13.6050302@webrz.net> References: <489F3B10.30203@webrz.net> <489F3E50.1050602@infracaninophile.co.uk> <489F3F13.6050302@webrz.net> Message-ID: <489F468A.9070000@infracaninophile.co.uk> Jos Chrispijn wrote: > Matthew Seaman wrote: >> Use anonymous rsync? There's a section on rsyncd in the rsync(1) >> man page, but most of the meat is in the rsyncd.conf(5) man page. >> The downside is you'll lose information about user and group ownership >> of files. Oh, and obviously be careful about limiting where people >> can access the rsyncd server from, or your precious data may go on >> an unplanned walkies... > > I don't want to loose any user and group ownership of files. Would there > be another solution without rsync then or does the 'forbidden root > login' affect all backup solutions here? If you're going to expand the backup sets on the mirror box back into a second copy of the filesystem, then you definitely need root access on the client (to read any file irrespective of permissions) and on the server (in order to set the ownership and permissions on the files). You can NFS mount the filesystem onto the second server and copy the files locally that way -- but watch out for the way root-owned files are changed to nobody:nobody ownership by default. You can use ggated(8) and ggatec(8) to share the filesystem at low-level between the two machines. It's even possible to combine that with a local filesystem using gmirror(8) to have instantaneous synchronisation of both copies of the data on the two machines, although I wouldn't trust that for anything your livelihood depends on. You can do a similar trick using iSCSI -- you'll need the net/iscsi-target port installed on the server machine and to use the iscsi_initiator(4) driver on the client machines. See also iscontrol(8) However, if you're willing to store a tarball or other archive format as your backup, then you don't need root access on the backup server, although you will still need it on the client. In this case, you can use just about anything: dump(8), tar(1), cpio(1) -- these all give you the option of 'writing to a remote device' which can just be a regular file on your second machine. Usually network writes are over ssh(1), although you will possibly be required to set some variables in the environment to force that to be the case. So all you need is a non-root account on the server that lets root on the clients log into it. That can be arranged using key-based auth quite nicely. Depending on how much stuff you have, and the likelyhood that you'll need to restore it, you could use a full-blown backup system like bacula. It's pretty easy to get bacula to write backup sets to disk, and you get a not bad at all command interface via bconsole to manipulate all that from either the backup client or the backup server host. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080810/4e30af2b/signature.pgp From jos at webrz.net Sun Aug 10 19:55:53 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Aug 10 19:56:05 2008 Subject: Rsync In-Reply-To: <489F3B10.30203@webrz.net> References: <489F3B10.30203@webrz.net> Message-ID: <489F47C7.1030308@webrz.net> Thanks for sharing, I will look at the suggest solutions! regards, Jos From jerrymc at msu.edu Sun Aug 10 20:04:56 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Aug 10 20:05:03 2008 Subject: Video streaming with freeBSD In-Reply-To: <489EE5B5.5050305@serverhouse.co.uk> References: <489E0312.40908@serverhouse.co.uk> <20080810033127.GC64330@gizmo.acns.msu.edu> <489EE5B5.5050305@serverhouse.co.uk> Message-ID: <20080810193551.GA74817@gizmo.acns.msu.edu> On Sun, Aug 10, 2008 at 01:57:25PM +0100, Steve Cole wrote: > Sorry I ment 7.0 I was thinking about something else. :-[ > > I have been looking at the Hauppauge range of cards as I understand > that they offer the best support for any linux based OS > > To be honest I am a virgin when it comes to Linux with this being my > first install. Could you please elaborate a little more on your initial > responce if thats ok. I will point out that FreeBSD is a version of UNIX and is not a Linux Distro. As for capture of streaming, someone else might better respond than me. ////jerry > > Cheers > > Steve C > Jerry McAllister wrote: > >On Sat, Aug 09, 2008 at 09:50:26PM +0100, Steve Cole wrote: > > > > > >>Hi > >> > >>I have just installed FreeBSD 4.11 with the intention of not only > >>creating a file server but to allow for video streaming and recording > >>with the aid of a TV card. > >> > >>Lots of forums suggest many options to achieve this however to save alot > >>of time with untested and not always proven methods. Could you please > >>advise me if this indeed possible and secondly if you could recommend > >>any possible tv cards compatible with your OS > >> > > > >It can be done. > >But why such an ancient version. > >The latest full release is 7.0. > > > >////jerry > > > > > >>I look forward to any help or assistance that you may offer. > >> > >>Many Thanks > >> > >>Steve C > >> > >> > >>-- > >>*********************************************************************** > >>ServerHouse Ltd > >>Delme Place > >>Cams Hall Estate > >>Fareham Hampshire PO16 8UJ http://www.serverhouse.co.uk > >> > >>Helpdesk Opening Hours: > >> > >>Monday to Friday 6am - 10pm > >>Saturday 9am - 5pm > >>Closed: All Sunday's and public holidays > >> > >>Serverhouse Ltd: Company Registration 0338799 > >>*********************************************************************** > >> > >>_______________________________________________ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >>"freebsd-questions-unsubscribe@freebsd.org" > >> > > > > > > > > > -- > *********************************************************************** > ServerHouse Ltd > Delme Place > Cams Hall Estate > Fareham Hampshire PO16 8UJ http://www.serverhouse.co.uk > > Helpdesk Opening Hours: > > Monday to Friday 6am - 10pm > Saturday 9am - 5pm > Closed: All Sunday's and public holidays > > Serverhouse Ltd: Company Registration 0338799 > *********************************************************************** > From rsmith at xs4all.nl Sun Aug 10 20:11:22 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Aug 10 20:11:29 2008 Subject: Rsync In-Reply-To: <489F3B10.30203@webrz.net> References: <489F3B10.30203@webrz.net> Message-ID: <20080810192907.GA31087@slackbox.xs4all.nl> On Sun, Aug 10, 2008 at 09:01:36PM +0200, Jos Chrispijn wrote: > I have server1 of which I would like to backup some slices/directories > to a backup server2 that in fact is a mirror of the one that I want to > backup. > I don't allow root logon from prompt on Server2. Can someone tell me how > I can force rsync to backup server1 without having a root login > permission on Server2? You could run rsync in daemon mode on server2, then use rsync on server1 to push the data to server2. See rsync(1) and rsyncd.conf(5). Assuming you have a module [backups] in rsyncd.conf on server2, you can do something like this on server1 (where part1 is a partition/directory you want to back up): rsync -acvx --delete /part1/ server2::backups/part1 Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080810/a184b211/attachment.pgp From jos at webrz.net Sun Aug 10 22:33:32 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Aug 10 22:33:39 2008 Subject: ipfw log file stats Message-ID: <489F6CB9.3020808@webrz.net> I have ipfw installed and it works oke; now I am looking for a script that can generate flat text statistics out of it's logfile; I am not that a smart programmer; perhaps someone else can hint me to the right direction? Thanks... -- Jos From k2msmith at gmail.com Sun Aug 10 23:30:15 2008 From: k2msmith at gmail.com (Kevin Smith) Date: Sun Aug 10 23:30:21 2008 Subject: need help debugging port mapping/server setup Message-ID: <49dd14e0808101606o7b95e41fn7152f47d7a42d39b@mail.gmail.com> I have my freebsd system configured with a static IP behind an Apple Airport Extreme router using ethernet connection rather than wireless. I am trying to set up dynamic dns (with dyndns.com service) and I would like to open port 80 and others so that I can use my freebsd system as a web server. My freebsd system is set up with ddclient to associate dynamic ip address of router (I have DHCP connection to my ISP, the local connnection to my freebsd sytem is static ip address. Everything appears to be working and I am able to try to telnet the dyndns hostname and it returns the correct address of my router, but it does not appear that the router is forwarding the port request to the freebsd system. The port tools on the website for dyndns.com return that the ports I am testing are closed. (80, 21, 23) How do I debug this ? The AE router as a syslog that I have set for the highest level of debugging, but I do not see any port mapping requests in the. The router is set of for NAT enabled and I have entered the static IP address of my freebsd system associated with the desired ports that I want. A call to my ISP confirmed (at least they told me) that they do not block any ports. Any ideas on where to start ? Thanks! From sfourman at gmail.com Mon Aug 11 00:22:46 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Mon Aug 11 00:22:53 2008 Subject: Video streaming with freeBSD In-Reply-To: <489F2582.3060304@mykitchentable.net> References: <489E0312.40908@serverhouse.co.uk> <489F2582.3060304@mykitchentable.net> Message-ID: <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> > If the main purpose of your box is to be a PVR, I suggest going with a Linux > distribution and using MythTV (http://www.mythtv.org). While I am a fan of > FreeBSD as a web/mail/etc. server, it did not meet my needs when attempting > to build a PVR. I found the Gentoo Linux distribution most comfortable for > me because it uses a "portage" system similar to the "ports" system of > FreeBSD. Others I tried were package based and didn't always support my > hardware. I would like to try and put together the most functional FreeBSD based PVR system possible, even if it does have less functionality than it's Linux counterpart. does anyone have a recipe for a working FreeBSD based PVR? if not post Ideas for software / configurations / Hardware, and I will l make a web page out of it. Sam Fourman Jr. From Millenia2000 at hotmail.com Mon Aug 11 01:53:52 2008 From: Millenia2000 at hotmail.com (Sean Cavanaugh) Date: Mon Aug 11 01:53:59 2008 Subject: Video streaming with freeBSD In-Reply-To: <489E0312.40908@serverhouse.co.uk><489F2582.3060304@mykitchentable.net> <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> References: <489E0312.40908@serverhouse.co.uk><489F2582.3060304@mykitchentable.net> <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> Message-ID: -------------------------------------------------- From: "Sam Fourman Jr." Sent: Sunday, August 10, 2008 8:22 PM To: "Drew Tomlinson" Cc: ; Subject: Re: Video streaming with freeBSD >> If the main purpose of your box is to be a PVR, I suggest going with a >> Linux >> distribution and using MythTV (http://www.mythtv.org). While I am a fan >> of >> FreeBSD as a web/mail/etc. server, it did not meet my needs when >> attempting >> to build a PVR. I found the Gentoo Linux distribution most comfortable >> for >> me because it uses a "portage" system similar to the "ports" system of >> FreeBSD. Others I tried were package based and didn't always support my >> hardware. > > I would like to try and put together the most functional FreeBSD based PVR > system possible, even if it does have less functionality than it's > Linux counterpart. > > does anyone have a recipe for a working FreeBSD based PVR? > if not post Ideas for software / configurations / Hardware, and I will > l make a web page > out of it. > install multimedia/MythTV from ports tree. doubt you will find a better PVR program. From gueven.bay at googlemail.com Mon Aug 11 04:43:32 2008 From: gueven.bay at googlemail.com (Gueven Bay) Date: Mon Aug 11 04:43:46 2008 Subject: Need FreeBSD 7.0 XEN-KERNEL In-Reply-To: <73a179920808100839i635944f0k5d3e132f4b3b02a0@mail.gmail.com> References: <73a179920808100839i635944f0k5d3e132f4b3b02a0@mail.gmail.com> Message-ID: <13413b8f0808102118g73cbb127hf02942bed22f0ea@mail.gmail.com> > Hi list, > I want to install a FreeBSD 7.0 on a XEN Server as (para-virtualize) domU. > There is an installation document on FreeBSD handbook ( > http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html) > However, > the link is broken on the page which is for downloading the kernel file. > So, where can i get that file ? Yesterday I asked for an explanation about a howto to build a XEN kernel file. This would be better because with an explanation noone needs a download address anymore. Unfortunately noone answered. From sunshower at sbcglobal.net Mon Aug 11 06:59:28 2008 From: sunshower at sbcglobal.net (AAH) Date: Mon Aug 11 06:59:35 2008 Subject: freebsd Message-ID: Hi, Can someone give me the correct settings to configure an att/sbcglobal 2wire 1800 gateway(it's a modem, router/gateway)to work with FreeBSD? I have been told my other users of FreeBSD that this router/gateway does work with FreeBSD. (Freebsd 6.3). However, the values given to me by att techs have not worked. This is why I am email you all for some assistance. The error message is that network/server is unknown or cannot be found. Thanks AAH From cagri.ersen at gmail.com Mon Aug 11 07:04:34 2008 From: cagri.ersen at gmail.com (Cagri Ersen) Date: Mon Aug 11 07:04:41 2008 Subject: Need FreeBSD 7.0 XEN-KERNEL In-Reply-To: <5635aa0d0808101853s7fbee237re1ec22ed167ac169@mail.gmail.com> References: <73a179920808100839i635944f0k5d3e132f4b3b02a0@mail.gmail.com> <5635aa0d0808101853s7fbee237re1ec22ed167ac169@mail.gmail.com> Message-ID: <73a179920808110004s3191668eh4f42b42778e74d6c@mail.gmail.com> Thanks mate, If i need that FS files, i can give you a ftp accunt. BTW, My XEN server is installed on Fedora 8.0. And i need 3 FreeBSD as a guest OS for production. That servers will be a qmail cluster with 2 qmail/vpopmail and a NFS storage server for mail servers. Can you tell me your opinion about this condition ? Thanks again. On Mon, Aug 11, 2008 at 4:53 AM, Outback Dingo wrote: > heres three kernels working and my config, i also have 4, 8 and 16GB file > systems ready to roll, compressed they run 70+Megs each, if you want them i > > need a place to drop em, good luck though, paravirtualized is good for > maybe > light dev work, not production, hypervised under linux KVM both 7 and > CURRENT > work fine > > On Sun, Aug 10, 2008 at 10:39 PM, Cagri Ersen wrote: > >> Hi list, >> I want to install a FreeBSD 7.0 on a XEN Server as (para-virtualize) domU. >> There is an installation document on FreeBSD handbook ( >> http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html) >> However, >> the link is broken on the page which is for downloading the kernel file. >> >> So, where can i get that file ? >> >> Thanks for help. >> -- >> Cagri Ersen >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > -- Cagri Ersen From sonic2000gr at gmail.com Mon Aug 11 07:12:26 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Aug 11 07:12:33 2008 Subject: tt/sbcglobal 2wire,1800 gateway (was: Re: freebsd) In-Reply-To: References: Message-ID: <489FE654.1050006@gmail.com> AAH wrote: > Hi, > > > > Can someone give me the correct settings to configure an att/sbcglobal 2wire > 1800 gateway(it's a modem, router/gateway)to work with FreeBSD? > > I have been told my other users of FreeBSD that this router/gateway does > work with FreeBSD. (Freebsd 6.3). However, the values given to me > > by att techs have not worked. This is why I am email you all for some > assistance. The error message is that network/server is unknown or cannot > > be found. > > > Well, is this connected through Ethernet? Then it is not a FreeBSD problem. You would want to check the following: - Your computer's IP address / subnet mask - Your router's IP address / subnet mask (and whether they are in the same subnet with the PC). If you are not sure of the router's IP, most of them have a reset hole you can use to return it to factory settings. Have a look at the manual to see the defaults if you are not sure. When you verify these, you should be able to ping the router from your terminal. Then it is simply a matter of entering the web interface of the router and provide a set of credentials and maybe a few more settings (like PPPoE or PPPoA and so on). From rkramer at mweb.com Mon Aug 11 07:51:40 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Mon Aug 11 07:51:48 2008 Subject: Cluster Filesystem References: <20080807092636.J28450@gwdu60.gwdg.de><20080807210345.121a04a1@ayiin><39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> <20080808110418.589bfc80@ayiin> Message-ID: <39DC135F7F0571489196E0B6F5D58B4A03B46003@MWBEXCH.mweb.com> > Norberto Meijome > > On Thu, 7 Aug 2008 13:10:52 +0200 > "Rudi Kramer - MWEB" wrote: > > > We have setup hadoop on FreeBSD, bit of mission cause of java and I'm > > not sure about performance but it can be done :) > > > > http://hadoop.apache.org/core/ > > Hi Rudi, > what versions of fbsd , java, hadoop and DB have u used? what were the issues? > how many nodes? We are running Fbsd 6.3, jdk-1.6.0.3p3_2, diablo-jdk-1.5.0.07.01_9, hadoop-0.15.3. We are only running 2 nodes, more for playing around with at the moment. We'll have to wait till end of year when we have a bit of R&D time to abuse it properly. I was speaking to a friend of mine and he also recommended looking at GlusterFS, http://www.gluster.org. From jonathan+freebsd-questions at hst.org.za Mon Aug 11 08:08:51 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Mon Aug 11 08:08:58 2008 Subject: shutdown/reboot suggestion In-Reply-To: <62b856460808092211r50111d3fnd70feeb46f819a43@mail.gmail.com> References: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> <34556D79-74F5-4222-A945-DC22628CB17D@goldmark.org> <62b856460808092211r50111d3fnd70feeb46f819a43@mail.gmail.com> Message-ID: <200808111009.44648.jonathan+freebsd-questions@hst.org.za> On Sunday 10 August 2008 07:11, Michael Grant wrote: > I have such a script, I put it in /bin/require_hostname and symlinked > shutdown, halt, reboot, fastboot, and fasthalt to this script: > > #!/bin/sh > > if [ "$1" = `hostname` ]; then > shift > exec /sbin/`basename $0` $@ > else > echo "For your protection, use: $0 hostname ..." > fi > > I realize a lot of people have their own tricks and habits for > avoiding such stupidity, but what is the problem of fixing the problem > globally by getting these commands to take a hostname argument? The extra typing imposed on every admin in the world? Here's a trick or habit for avoiding the ohnosecond (``As your life flashes before your eyes, in the unit of time known as an ohnosecond...'' [Usenet, author unknown]): Pause to check the command before executing. The more dangerous or potentially disastrous the command, the longer the pause. What you're proposing is to enforce the thinking time by making the admin pause to type the fully-qualified hostname. Granted, you could change every command to enforce thinking time (to take this to the absurd, you could arrange that if you hit Enter less than five seconds after another key, the shell would give you a ``stop and think'' warning). It's safer just to develop the habit yourself. I recently saw a colleague take an install CD, put it into a machine, and power-cycle the box to start the install. I can't think of a technical measure that would have enforced thinking time on him. (And yes, it was the wrong box. Five seconds of thought would have saved five weeks of work). Jonathan From shinjii at maydias.com Mon Aug 11 08:13:40 2008 From: shinjii at maydias.com (Warren Liddell) Date: Mon Aug 11 08:13:53 2008 Subject: Wireless net Card In-Reply-To: References: Message-ID: <200808111813.42060.shinjii@maydias.com> > Which Belkin wireless card do you have? Which arch are you running > (i386/amd64)? > > I had horrific trouble with a Belkin on the Realtek chipset, played up > with Ubuntu, FreeBSD, Fedora, even Windows! > > Trouble with Belkin is, you never know what you're getting. You need > the revision number of the card, and then find out which chipset it > is. Make sure the drivers you downloaded are for that exact revision. > > Hope you have more luck than I did, I tossed mine and bought a Ralink. > > Chris AMD64 Arch & ironically it worked beautifully for ages in windows, but i got sick of windows having been used to FreeBSD, so i re-installed FreeBSD an using the onboard LAN card atm, but am wanting to goto wireless. none1@pci0:3:5:0: class=0x020000 card=0x700f1799 chip=0x700f1799 rev=0x20 hdr=0x00 vendor = 'Belkin Research and Development Labs' class = network subclass = ethernet Chipset is RT8185L an i used the ndisgen to create the .ko file, which is just over 572kb in size. ironically the 8180 works fine, but naturally wont do my wireless card. From reinhard.haller at interactive-net.de Mon Aug 11 09:10:48 2008 From: reinhard.haller at interactive-net.de (Reinhard Haller) Date: Mon Aug 11 09:11:01 2008 Subject: dhcp for ipv6 Message-ID: <489FFF09.9070307@interactive-net.de> Hi, is there a working dhcp port for ipv6 which is able to populate dynamic zones in Bind and deliver ipv4/ipv6 addresses to the clients? Thanks Reinhard From jordi at cdmon.com Mon Aug 11 09:31:25 2008 From: jordi at cdmon.com (Jordi Moles Blanco) Date: Mon Aug 11 09:31:33 2008 Subject: problems with a C script, exiting with signal 10 In-Reply-To: <489BF19D.1010804@cdmon.com> References: <489ACAB8.7000503@cdmon.com> <489B2689.8070209@mahan.org> <489BF19D.1010804@cdmon.com> Message-ID: <48A006DD.4030300@cdmon.com> Hi, i've been trying to debug what you suggested, but no luck so far :( The thing is that i checked out all the calls to arrays, space handling and so on, and i couldn't find anything wrong. After that, i ended up trying the "hard" way, which is to keep a file /tmp/debug.log where the script writes everything that it does. So... the problem was that even in those cases when postfix logged a "signal 10" error, the logs showed that the C script got to the end of the file, it executed every single line, it doesn't get stuck manipulating arrays or anything like that. any idea? Thanks. En/na Jordi Moles Blanco ha escrit: > Hi, > > thanks for the reply, i will have a close look at what you suggested. > The thing is that, yes, i work with arrays, pointers, mallocs and so > on. I'll try to make sure everything is initiliazed properly before > being used. > > Thanks for the advice. > > > > > En/na Patrick Mahan ha escrit: >> >> >> Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM-> >>> Hi, >>> >>> I've got this home-made script, written in C, on a Freebsd 7.0 >>> server with different versions of postfix: 2.3,2,4 and 2.5 >>> >>> The problem is that, while most of the time it works like a charm, >>> sometimes it crashes and bounces the message. It's not really a big >>> deal, cause the sender gets notified that their mail wasn't >>> delivered and hopefully, they will resend it. However, the problem >>> is that I've tried to debug my script but found nothing wrong at >>> all, cause it only fails from time to time, let's say... once for >>> each 2000 messages that postfix receives, and it appears to do so in >>> a random way. >>> >>> As i said... postfix can fail to deliver a message to one particular >>> mailbox, but if then you resend the very same message to the very >>> same mailbox, it will be delivered. >>> >>> The error is reported in both "maillog" and "messages", like this: >>> >>> >>> ******/var/log/maillog******** >>> Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: >>> to=, relay=quota_postfix, delay=0.23, >>> delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with >>> signal 10: "/usr/local/etc/postfix/quota_postfix") >>> >>> >>> *****/var/log/messages******* >>> Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: >>> exited on signal 10 >>> >> >> Well signal 10 is SIGBUS which is indicative of (generally) a bad >> address, >> non-aligned memory address (on platforms it matters) or a hardware >> error. >> I would look for places you are dereferencing a pointer without perhaps >> first validating it. >> >> Given that it rarely occurs, I might suspect that you are allocating >> some >> memory, but failing to completely initialize (malloc() doesn't zero out >> memory) it or assuming it is already initialize. >> >> Good luck, >> >> Patrick >>> >>> Here you have some extra information about the script itself and the >>> master.cf >>> >>> >>> *****/usr/local/etc/postfix/quota_postfix*** >>> >>> # ls -la /usr/local/etc/postfix/quota_postfix >>> -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 >>> /usr/local/etc/postfix/quota_postfix >>> >>> It's got de suid flag cause it performs a "du" command and other >>> file operations which need permissions, although i've tried with >>> other groups of permissions and it eventually crashes anyway with >>> "signal 10" >>> >>> ******master.cf********* >>> >>> ......... >>> >>> # spamfilter >>> spamfilter unix - n n - 20 pipe >>> flags=R user=filter argv=/home/antispam.pl "localhost:10027" >>> "antispam" "${sender}" "${recipient}" "/usr/local/bin/spamc" >>> >>> # from spamfilter to smtpd:10026 >>> localhost:10027 inet n - n - 100 >>> smtpd -o content_filter=quota_postfix >>> >>> >>> # quota_postfix >>> quota_postfix unix - n n - 20 pipe >>> flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix >>> "localhost" "10028" "${sender}" "${recipient}" "${domain}" >>> >>> # from quota_postfix to smtpd:10028 >>> localhost:10028 inet n - n - 100 >>> smtpd -o content_filter= >>> >>> ................ >>> >>> So far, any program which crashed would leave a ".core" file in >>> /usr/crash, but this one is not doing the same, so... i can't >>> actually debug from the core file either. >>> Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow >>> is preventing this filter from generating a core file. Is that >>> possible? Or am i completely wrong? >>> >>> How could I, at least, generate the .core file? >>> >>> Thanks. >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From derek at computinginnovations.com Mon Aug 11 09:41:59 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon Aug 11 09:42:06 2008 Subject: freebsd In-Reply-To: References: Message-ID: <6.0.0.22.2.20080811044016.02525480@mail.computinginnovations.com> At 01:32 AM 8/11/2008, AAH wrote: >Hi, > > > >Can someone give me the correct settings to configure an att/sbcglobal 2wire >1800 gateway(it's a modem, router/gateway)to work with FreeBSD? > >I have been told my other users of FreeBSD that this router/gateway does >work with FreeBSD. (Freebsd 6.3). However, the values given to me > >by att techs have not worked. This is why I am email you all for some >assistance. The error message is that network/server is unknown or cannot > >be found. > > > >Thanks > > > >AAH The default setting for this router/gateway is to have the client systems on the LAN use DHCP for configuration. You should set your system up to use DHCP. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jon at witchspace.com Mon Aug 11 10:14:09 2008 From: jon at witchspace.com (Jonathan Belson) Date: Mon Aug 11 10:14:18 2008 Subject: Changing 'From:' address of periodic scripts Message-ID: <48A00C8C.4060105@witchspace.com> Hiya I set up a remote box to e-mail 'periodic' output to me directly. It has now stopped working, and I suspect it's because the 'From:' addresses of the status e-mails is of the form 'root@mybox.local' and the ISP has upped its anti-spam checks. I see /usr/sbin/periodic itself uses the 'mail' command to send the mails, but I couldn't see a command line option to specify a 'From:'. I guess 'mail' uses 'sendmail' to send e-mail; is there a simple way of forcing a 'From:' address via 'sendmail' config? Cheers, --Jon From gkmohan at gmail.com Mon Aug 11 11:15:09 2008 From: gkmohan at gmail.com (Krishna Mohan Gundu) Date: Mon Aug 11 11:15:16 2008 Subject: A few questions from a current linux user In-Reply-To: <873alf9duf.fsf@kobe.laptop> References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> <873alf9duf.fsf@kobe.laptop> Message-ID: <70ec82800808110415s22fe82d1kea2b57551929f7e6@mail.gmail.com> First of all, let me thank everyone who has responded to my questions on this mailing list. Hi Giorgos, > I've been meaning to respond to this post for a couple of days, but it > took me a little longer than I originally hoped... Thank you for taking time to write a detailed response. > This may be totally unrelated to the real question, but doesn't Fedora > use pre-compiled packages by default? I thought that was pretty much > the One True Way(TM) of updating Fedora systems. Yes it is. I have friends who are happy doing dist-upgrades with one command. But I have been using Fedora from the beginning and I have had a few bad experiences with distribution upgrades leaving me to spend more time fixing the problems. I have decided not to risk upgrades after Fedora Core 4 and two years down the line I think it is a good decision with a few side effects, mainly keeping pace with newer versions of packages of interest. >> 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? >> (As I understand there is no such feature in FreeBSD) > > Not really. SysRq has a few nice characteristics, i.e. it can unmount > local filesystems gracefully to avoid `fsck' runs during the next boot. > It's a nice, handy tool in some cases. But it also comes at a cost: it > modifies the in-memory state of the running kernel. > > FreeBSD has a kernel debugger that can be enabled, called DDB. When the > kernel locks up or panics because something bogus happened, the DDB can > dump the state of the kernel into a preconfigured swap area, and the > startup scripts of the next boot will pick up the kernel coredump from > swap, save it in `/var/crash', and let you run post-mortem analysis on > the kernel core dump. > > If this is combined with something like SysRq, and there's really a bug > in the parts of the kernel that SysRq has to use to perform its final > steps, you lose. You may be modifying the parts of the kernel memory > that actually exhibit the bug, and make the kernel dump unusable. Should one risk losing the data or should one be able to debug reliably? I think letting the user decide on this option is a better solution than not implementing SysRq at all. But after reading the mailing lists, I got a feeling that most experienced FreeBSD users don't really need the SysRq feature. However I still don't understand how the data is safe even if one enables SoftUpdate with disk caching disabled. >> 2) Is it possible to compile multiple versions of gcc? If so what is >> the best way to do it? > > Yes, of course. > > The "base system" of FreeBSD includes _one_ version of gcc, installed as > `/usr/bin/gcc', but this does not mean that you are limited to *that* > version only. You can use the Ports tree to install one or more > versions. The snapshot of Ports I have on the laptop I am using to type > this includes 12 different gcc ports (and that does not include the > Fortran, Objective C, or Java backends GCC supports): > > # pwd > /usr/ports/lang > # ls -ld gcc* | nl > 1 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc-ooo > 2 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc28 > 3 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc295 > 4 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc32 > 5 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc33 > 6 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc34 > 7 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41 > 8 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41-withgcjawt > 9 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc42 > 10 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc42-withgcjawt > 11 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc43 > 12 drwxr-xr-x 3 root wheel - 512 Aug 7 02:25 gcc44 > # > > So yes, you can install several different versions of GCC at the same > time. So I believe each gcc port keeps track of various dependencies and their versions for a chosen gcc version. However if I need gcc40 (lets say, not available from ports) or if I need to enable certain features that ports disable then I guess I am on my own in that there are no guarantees that it will compile. >> 3) Is it possible to perform a binary update from one release to >> another? If so can you please point me to the documentation? How are >> config files updated in this case? (Could not locate documentation on >> binup) > > Yes. In recent FreeBSD releases, the "base system" of FreeBSD includes > freebsd-update. This is a utility authored by Colin Percival, who is > currently the Security Officer of FreeBSD, and a very smart fellow :) > > What freebsd-update does is described in its manpage > > http://www.freebsd.org/cgi/man.cgi?query=freebsd-update&format=ascii > > but the basic idea is that is can do one of the following things: > > * Download binary update packs in `/var/db/freebsd-update'. These > are not installed immediatelly, so you can periodically pull the > binary update files and install them later, when you have the time > for an upgrade. > > The default `fetch' mode of `freebsd-update' downloads binary > updates for the release & branch of FreeBSD that you have > installed on the local system. Staying on the same branch has > various advantages that are nicely described in the online article > about ` > > * Download binary update packs for _upgrading_ to a new release. > This is slightly different from an update that sticks to a single > FreeBSD release-branch, and there are official release notes about > the changes of every major release. They are published online at > > http://www.FreeBSD.org/releases/ > > Downloading the binary packs for new release still does *not* > install or upgrade anything. > > * The final important feature of freebsd-update is that it can use > the latest snapshots you have fetched in `/var/db/freebsd-update' > to perform a binary upgrade of the FreeBSD base system. Coming from linux background, the different way of managing base system and ports bothers me. I understand the reasons behind the division but not the necessity to manage them differently. For example how would I know if a package is in the base system or not? Looks like for ports this can done with 'make search name=whatever'. Is there an equivalent of freebsd-update for ports? >> 4) If a binary update leads to an unstable system, how easy it is to >> backtrack to an earlier working version along with working config >> files? > > That's probably not very easy. But freebsd-update is not really going > to pull `unstable' stuff because of the way FreeBSD branches work. If > you are following a ``FreeBSD-X.Y-STABLE'' release branch, it is pretty > much a given that the source tree should build at all times, and that > the resulting base system should be backwards compatible with all the > binary programs that were produced in any version between the time > ``FreeBSD-X.Y-RELEASE'' was cut and your -STABLE snapshot was built. Debian seems to do a reasonable job in simplifying rollbacks. However they clearly point out that things like modifications to databases on upgrage are very unlikely to be revertible. They have a nice way of upgrading and doing a rollback on configuration files. > Having said that, of course, using some sort of backup tool is never a > bad idea. Even if freebsd-update does nothing to harm your FreeBSD > installation, there are hardware failures, power outages at the worst > possible moment, fat-fingered commands that remove or change slightly > more files that originally intended, and so on. Yes, of course. >> 5) Does FreeBSD have support for PCMCIA-USB cards? > > Yes, FreeBSD supports PCMCIA (PC-CARD or Cardbus) and USB devices. > > FreeBSD includes drivers for various devices of these two types, but > before buying a PC-CARD device you should always check to see if there > is a `high level' driver for the one you are buying. The generic > PC-CARD, Cardbus and USB layer of the FreeBSD kernel supports the common > `base functionality' of attaching and detaching a device, but to get any > random device to work you need a driver that recognizes it and attaches > to it. > > This is a long way of saying that ``Yes, we have PCMCIA and USB support > in the kernel, but you should first check the hardware compatibility > lists and the manpages of your system to see if a particular device is > supported at all, partially supported, or completely unsupported''. > > This may be tricky if you can only get hold of the device *after* buying > it and unpacking it, but I've had various levels of success by asking at > computer stores for a ``local test'' with my laptop. In some of the > local places, I've had *very* helpful responses. The local sales people > have often told me "We don't have an unpacked version of *that* today, > but if you can wait until Monday, we are getting a new delivery. When > we unpack a sample / demo of this particular card/adapter/gadget, you > can definitely try it and see how things work." Unfortunately I already have a card, I will have to try my luck. However your idea of taking a device for a test run seems to be a good one. >> PS: I am considering Debian as another alternative. > > Debian is a Linux distribution. A very good one too. If that fits your > job better than FreeBSD does, it's definitely not a shame to use it. > FreeBSD will still be around if you need it later :-) Over the last two days I had a very good experience of installing FreeBSD on one of my disk partitions. Unfortunately the installation did not go smooth at all. The installation disk itself would stop short of running sysinstall. But the best part was the documentation and configurability. I am amazed at what one can do from the FreeBSD boot prompt, sysctl is amazing. I will try the Debian system as well. It seems like they share a few strengths. But if cross compiling works on FreeBSD out of box that would be icing on cake for me. > Finally, since you are coming from a Linux background, you should spend > some time to check out the excellent documentation FreeBSD contributors > have written over the years. There are lists of books and articles at > > http://www.freebsd.org/docs.html > > You should probably start with some of these: > > [1] "The FreeBSD Handbook" > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html > > [2] "The FreeBSD FAQ (Frequently Asked Questions)" > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html > > [3] "Choosing the FreeBSD Version That Is Right For You" > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/version-guide/index.html > > [4] "Explaining BSD" > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html > > [5] "FreeBSD: An Open Source Alternative to Linux" > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-comparison/index.html > > [6] "FreeBSD Quickstart Guide for Linux Users" > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/index.html > > [7] "FreeBSD First Steps" > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html FreeBSD documentation is incredible. The handbook has been like a bible for me so far, but I also took a peek into architecture handbook to read about device drivers. cheers, Krishna. From brentgclarklist at gmail.com Mon Aug 11 11:20:57 2008 From: brentgclarklist at gmail.com (Brent Clark) Date: Mon Aug 11 11:21:04 2008 Subject: bsdpan but would prefer deb-make-perl Message-ID: <48A019E5.9060308@gmail.com> Hi I dont like these bsdpan perl modules that I needed, but have. I would like to build and install these modules myself with something like debian's deb-make-perl. Is there anything like that for freebsd, of how do you guys go about with this. Kind Regards Brent Clark From freebsd at meijome.net Mon Aug 11 11:33:29 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon Aug 11 11:33:36 2008 Subject: Cluster Filesystem In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A03B46003@MWBEXCH.mweb.com> References: <20080807092636.J28450@gwdu60.gwdg.de> <20080807210345.121a04a1@ayiin> <39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com> <20080808110418.589bfc80@ayiin> <39DC135F7F0571489196E0B6F5D58B4A03B46003@MWBEXCH.mweb.com> Message-ID: <20080811213324.0d6650dd@ayiin> On Mon, 11 Aug 2008 09:51:33 +0200 "Rudi Kramer - MWEB" wrote: > I was speaking to a friend of mine and he also recommended looking at > GlusterFS, http://www.gluster.org. thanks for the info. yes, it sounds VERY interesting, in particular I like the modularity provided by FUSE. I'd love to be able to run it on bsd though ;) B _________________________ {Beto|Norberto|Numard} Meijome "Why do you sit there looking like an envelope without any address on it?" Mark Twain I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From shinjii at maydias.com Mon Aug 11 11:35:34 2008 From: shinjii at maydias.com (Warren Liddell) Date: Mon Aug 11 11:35:52 2008 Subject: Wireless net Card In-Reply-To: References: <200808051748.55133.shinjii@maydias.com> <200808101433.54554.shinjii@maydias.com> Message-ID: <200808112135.14728.shinjii@maydias.com> > Please provide more detailed informatio. Card model, at least, or the > output of > > pciconf -lv > > supposing that you have a real card, either internal or PCMCIA. If it > is a USB model, then use > > usbdevs -v none1@pci0:3:5:0: class=0x020000 card=0x700f1799 chip=0x700f1799 rev=0x20 hdr=0x00 vendor = 'Belkin Research and Development Labs' class = network subclass = ethernet Chipset is RT8185L an i used the ndisgen to create the .ko file, which is just over 572kb in size. ironically the 8180 works fine, but naturally wont do my wireless card. From outbackdingo at gmail.com Mon Aug 11 11:59:13 2008 From: outbackdingo at gmail.com (OutBackDingo) Date: Mon Aug 11 11:59:19 2008 Subject: Need FreeBSD 7.0 XEN-KERNEL In-Reply-To: <73a179920808110004s3191668eh4f42b42778e74d6c@mail.gmail.com> References: <73a179920808100839i635944f0k5d3e132f4b3b02a0@mail.gmail.com> <5635aa0d0808101853s7fbee237re1ec22ed167ac169@mail.gmail.com> <73a179920808110004s3191668eh4f42b42778e74d6c@mail.gmail.com> Message-ID: <200808111859.07624.outbackdingo@gmail.com> I would only attempot this in Hypervisor mode where FreeBSD runs fine stock I dont think paravirtualized XEN FreeBSD instances are ready for production. Though I can assure you running FreeBSD 7 and CUURENt under linux KVM works fine, i have 13 hosts on two HVM capable systems under Ubuntu On Monday 11 August 2008 14:04:32 Cagri Ersen wrote: > Thanks mate, > If i need that FS files, i can give you a ftp accunt. > > BTW, My XEN server is installed on Fedora 8.0. And i need 3 FreeBSD as a > guest OS for production. That servers will be a qmail cluster with 2 > qmail/vpopmail and a NFS storage server for mail servers. > > Can you tell me your opinion about this condition ? > > Thanks again. From wmoran at potentialtech.com Mon Aug 11 12:10:05 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Aug 11 12:10:12 2008 Subject: Query regarding Advertisment In-Reply-To: <3e9c05360808090524q209772fbke7fe75fc218cf240@mail.gmail.com> References: <3e9c05360808090524q209772fbke7fe75fc218cf240@mail.gmail.com> Message-ID: <20080811081002.77aef158.wmoran@potentialtech.com> "Biju Sreenivasan" wrote: > > Dear Sir, > I am planning a website with BSD FDL. What is FDL? > Is advertisment allowed in > my website? If no, is there any other options. The license has no restrictions on what you can do with the software once you install it. -- Bill Moran http://www.potentialtech.com From wmoran at potentialtech.com Mon Aug 11 12:25:33 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Aug 11 12:25:39 2008 Subject: shutdown/reboot suggestion In-Reply-To: <62b856460808092211r50111d3fnd70feeb46f819a43@mail.gmail.com> References: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> <34556D79-74F5-4222-A945-DC22628CB17D@goldmark.org> <62b856460808092211r50111d3fnd70feeb46f819a43@mail.gmail.com> Message-ID: <20080811082530.e4c51dae.wmoran@potentialtech.com> "Michael Grant" wrote: > > I have such a script, I put it in /bin/require_hostname and symlinked > shutdown, halt, reboot, fastboot, and fasthalt to this script: > > #!/bin/sh > > if [ "$1" = `hostname` ]; then > shift > exec /sbin/`basename $0` $@ > else > echo "For your protection, use: $0 hostname ..." > fi > > I realize a lot of people have their own tricks and habits for > avoiding such stupidity, but what is the problem of fixing the problem > globally by getting these commands to take a hostname argument? > > This could certainly be the basis for another thread (and this is > perhaps not the correct list), but is there some way to request a > modification across all the unix/linux distributions out there to > maintain some level of consistency across them? Except for Posix, is > there some overall list which deals with this conformity of all these > sibling platforms? Changing that command globally is a huge undertaking. First off, it will break every single script out there that uses those commands, thus causing a worldwide riot. Second, it's not compliant with POSIX, thus we reopen the wound of The Unix Wars. Third, it's not a very good solution. Off the top of my head: 1) What happens to machines that don't have a hostname yet? (during install for example) you can't shut them down? 2) Which hostname? The FQDN, which can be REALLY long in many cases. Or the short name, which can be duplicated (how many web00s do I have in various facilities across the country?) so then doesn't solve the problem. 3) I'm not having the problem you describe, thus you're asking me to type more (possibly a LOT more) to solve a problem I don't have. 4) It breaks every single script out there that uses those commands 5) Tied in with #3, there's a REALLY easy way to fix this for those out there who are having trouble with it. I'm unclear why you find the mechanisms built into the system that allow you to fix this yourself to be inadequate? -- Bill Moran http://www.potentialtech.com From raghu at mri.ernet.in Mon Aug 11 12:29:15 2008 From: raghu at mri.ernet.in (N. Raghavendra) Date: Mon Aug 11 12:29:23 2008 Subject: Query regarding Advertisment In-Reply-To: <20080811081002.77aef158.wmoran@potentialtech.com> (Bill Moran's message of "Mon, 11 Aug 2008 08:10:02 -0400") References: <3e9c05360808090524q209772fbke7fe75fc218cf240@mail.gmail.com> <20080811081002.77aef158.wmoran@potentialtech.com> Message-ID: <86sktb6905.fsf@riemann.mri.ernet.in> At 2008-08-11T08:10:02-04:00, Bill Moran wrote: > "Biju Sreenivasan" wrote: >> >> Dear Sir, >> I am planning a website with BSD FDL. > > What is FDL? Perhaps "Free Documentation License", as in "G(NU)FDL". Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From lists at webtent.net Mon Aug 11 12:59:49 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Mon Aug 11 12:59:57 2008 Subject: Screwed up upgrade to 7.0 Message-ID: <1218458513.18845.15.camel@columbus.webtent.org> I have screwed up my upgrade from 6.2 to 7.0 following the doc at... http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html I ran the install a second time and it completed before the next to the last step including 'portupgrade -af' was completed. I went back and ran the next to the last step, but still, all my packages complain of missing shared libraries. Is there any way to get everything rebuilt, saving me a complete reinstall? Fortunately, I am doing this on a test box. -- Robert From vince at unsane.co.uk Mon Aug 11 13:10:01 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Mon Aug 11 13:10:09 2008 Subject: Screwed up upgrade to 7.0 In-Reply-To: <1218458513.18845.15.camel@columbus.webtent.org> References: <1218458513.18845.15.camel@columbus.webtent.org> Message-ID: <48A03A26.1080001@unsane.co.uk> Robert Fitzpatrick wrote: > I have screwed up my upgrade from 6.2 to 7.0 following the doc at... > > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > > I ran the install a second time and it completed before the next to the > last step including 'portupgrade -af' was completed. I went back and ran > the next to the last step, but still, all my packages complain of > missing shared libraries. Is there any way to get everything rebuilt, > saving me a complete reinstall? Fortunately, I am doing this on a test > box. > > Try installing misc/compat6x as a stopgap? Vince From reddvinylene at gmail.com Mon Aug 11 13:22:58 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Mon Aug 11 13:23:04 2008 Subject: How to stop my services from trying to bind to IPv6? Message-ID: Hello-hello! I haven't enabled IPv6, yet many of my processes are trying to bind to it. Aug 11 16:19:13 camel named[1562]: couldn't add command channel ::1#953: socket already bound Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: Invalid argument. Is there an easy way to stop these services from trying to bind to IPv6, other than explicitly telling each and every one not to do so? Thanks! -- http://www.home.no/reddvinylene From pisymbol at gmail.com Mon Aug 11 13:32:55 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Mon Aug 11 13:33:02 2008 Subject: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE In-Reply-To: <18893212.post@talk.nabble.com> References: <3c0b01820806170757v5565b59ne0e9d5db06f26761@mail.gmail.com> <48580EB9.7090701@gmail.com> <20080617143554.1808562gg94i8ikg@intranet.casasponti.net> <3c0b01820806171244g6f2ba46ybe0ba6d89eaab13b@mail.gmail.com> <3c0b01820806171417l2b054e15i5627d88827cc03b4@mail.gmail.com> <3c0b01820806171648g7cc01476l30df79831f9b9c6@mail.gmail.com> <20080617205053.20873zhqvlj7zles@intranet.casasponti.net> <18870155.post@talk.nabble.com> <20080808092628.82215z4vfuqjj7cw@pontinet.casasponti.net> <18893212.post@talk.nabble.com> Message-ID: <3c0b01820808110608p475dc0e5rfce422746de6332d@mail.gmail.com> On Fri, Aug 8, 2008 at 10:46 AM, Alexander Sack wrote: > > > > Edwin L. Culp wrote: >> >> Alexander Sack escribi?: >> >>> >>> >>> >>> Edwin L. Culp wrote: >>>> >>>> "Alexander Sack" escribi?: >>>> >>>>> Final update, I got everything working! I came home and connected by >>>>> new notebook using the latest PCIe Atheros chipset to a WPA2 network >>>>> using wpa_supplicant! Yippie! >>>>> >>>>> Hope this thread helps someone else, >>>>> >>>>> -aps >>>>> >>>>> On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack >>>>> wrote: >>>>>> On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack >>>>>> wrote: >>>>>>> On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp >>>>>>> wrote: >>>>>>>> "Manolis Kiagias" escribi?: >>>>>>>> >>>>>>>>> Edwin L. Culp wrote: >>>>>>>>>> >>>>>>>>>> "Alexander Sack" escribi?: >>>>>>>>>> >>>>>>>>>>> On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> Alexander Sack wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hello: >>>>>>>>>>>>> >>>>>>>>>>>>> I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 >>>>>>>>>>>>> Turon based >>>>>>>>>>>>> notebook, a MSI-1710A (GX710Ax) which has a generic embedded >>>>>>>>>>>>> controller. During boot up I notice that ATH complains with: >>>>>>>>>>>>> >>>>>>>>>>>>> ath_rate: version 1.2 >>>>>>>>>>>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, >>>>>>>>>>>>> RF2413, >>>>>>>>>>>>> RF5413) >>>>>>>>>>>>> ath0: mem 0xfd7f0000-0xfd7fffff irq 16 at >>>>>>>>>>>>> device >>>>>>>>>>>>> 0.0 >>>>>>>>>>>>> on pci2 >>>>>>>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfd7f0000 >>>>>>>>>>>>> ath0: [MPSAFE] >>>>>>>>>>>>> ath0: [ITHREAD] >>>>>>>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>>>>>>> >>>>>>>>>>>>> HAL status 13 from the header file seems to indicate that the >>>>>>>>>>>>> 7.0-STABLE driver doesn't support my hardware revision. Here >>>>>>>>>>>>> is >>>>>>>>>>>>> my >>>>>>>>>>>>> pciconf -l output: >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Maybe you could try compiling a kernel with a newer hal. This is >>>>>>>>>>>> the >>>>>>>>>>>> kind of >>>>>>>>>>>> hack we use on the eeepc. Have a look at this: >>>>>>>>>>>> >>>>>>>>>>>> http://nighthack.org/wiki/EeeBSD >>>>>>>>>>> >>>>>>>>>>> Thank you SO much for this link. That's EXACTLY what I want to >>>>>>>>>>> do >>>>>>>>>>> because I realize that this is a HAL problem. I've been >>>>>>>>>>> searching >>>>>>>>>>> like MAD where I could get an updated binary HAL for this chipset >>>>>>>>>>> (PCIe based). >>>>>>>>>> >>>>>>>>>> That makes two of us ;) >>>>>>>>>> >>>>>>>>>> My dmesg is very, very similar to yours and hoped that this would >>>>>>>>>> work. >>>>>>>>>> >>>>>>>>>> ath0: mem 0xf2200000-0xf220ffff irq 19 at >>>>>>>>>> device >>>>>>>>>> 0.0 >>>>>>>>>> on pci5 >>>>>>>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf2200000 >>>>>>>>>> ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 >>>>>>>>>> ath0: [MPSAFE] >>>>>>>>>> ath0: [ITHREAD] >>>>>>>>>> ath0: unable to attach hardware; HAL status 13 >>>>>>>>>> device_attach: ath0 attach returned 6 >>>>>>>>>> >>>>>>>>>> I followed the instructions from the web page, recompiled and it >>>>>>>>>> made no >>>>>>>>>> difference which really worries me that I must have done >>>>>>>>>> something wrong. >>>>>>>>>> >>>>>>>>>> cd madwifi-ng-r2756+ar5007/hal >>>>>>>>>> cp -R * /usr/src/sys/contrib/dev/ath/ >>>>>>>>>> >>>>>>>>>> I did not erase it previously but am going to try that. I made >>>>>>>>>> no >>>>>>>>>> kern >>>>>>>>>> configuration changes to find that the hal is from contrib. Is >>>>>>>>>> there >>>>>>>>>> nothing else I should do? >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> >>>>>>>>> >>>>>>>>> Well, I have only tested this on the eeepc and can confirm it >>>>>>>>> works. >>>>>>>>> Maybe different atheros chipset have other problems not directly >>>>>>>>> related >>>>>>>>> to the hal version. >>>>>>>>> You do not need to do anything more that what is shown in the >>>>>>>>> page: untar, >>>>>>>>> replace the existing files, recompile / install kernel, reboot. >>>>>>>>> If you got >>>>>>>>> no errors during the kernel compilation phase, you can safely >>>>>>>>> assume you did >>>>>>>>> everything correctly, and the problem lies elsewhere. >>>>>>>> >>>>>>>> At least there was a ray of hope for the time it took to compile >>>>>>>> the kernel. >>>>>>> >>>>>>> Ed: >>>>>>> >>>>>>> I took recompiled and got the same issue. If I use the LATEST mad >>>>>>> distro I get some compile bugs (ath_desc_status was moved into >>>>>>> ath_desc structure in ah_desc.h) which I can't completely work around >>>>>>> (apparently the API into the HAL has changed as well). What I'm >>>>>>> trying to do is look at the Linux driver and understand the newer API >>>>>>> in order to get past this compile issue and see if this works. >>>>>>> Otherwise I believe we are SOL. >>>>>>> >>>>>>> Does anyone know if the CURRENT contains an updated ath HAL AND >>>>>>> driver >>>>>>> for support of newer PCIe based chipsets? >>>>>>> >>>>>>> If I get it to work I will let you know... >>>>>>> >>>>>> >>>>>> Ok the trick is not to get it from the madfi project. Get it from the >>>>>> author directly! >>>>>> >>>>>> If you grab: >>>>>> >>>>>> http://people.freebsd.org/~sam/ath_hal-20080528.tgz >>>>>> >>>>>> Copy the contents into the src/sys/contrib/dev/ath/* and recompile, >>>>>> you should now see ath attach properly to the your NIC card. Thanks >>>>>> go to my friend jkim for pointing this out since he has a similar >>>>>> notebook/chipset and runs CURRENT successfully. I tried using CURRENT >>>>>> ath but there is to much vap support in it and it turned out the >>>>>> 7.0-RELEASE driver works. >>>>>> >>>>>> Now ath attaches properly and I'm going to test it out! (this is at >>>>>> least much further than a bad attach status code from the HAL). >>>>>> >>>>>> Let me know how it goes, >>>> >>>> Going G R E A T for the first time I see: >>>> >>>> ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>> >>>> ath0: mem 0xf2200000-0xf220ffff irq 19 at device >>>> 0.0 on pci5 >>>> ath0: [ITHREAD] >>>> ath0: WARNING: using obsoleted if_watchdog interface >>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>> >>>> and an ifconfig ath0 shows: >>>> >>>> ath0: flags=8843 metric 0 mtu >>>> 2290 >>>> ether 00:1d:d9:27:5c:e5 >>>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>>> status: no carrier >>>> >>>> My problem is now the no carrier, I think that I'm very close but >>>> still no cigar. >>>> >>>> Thanks soooooo much for your help. Gonna bang away and the manuals >>>> and google to find out why, no carrier. I have an AP a few feet away >>>> and iPhone works great. >>>> >>> >>> Did you get this to ever work? I am now running into the same issue. >>> What >>> had happened was I sent my notebook back to fix a plastic latch and at >>> the >>> sametime work changed the wireless AP settings. Now when the chipset >>> comes >>> up I constantly get no carrier and ifconfig ath0 scan list just hangs >>> (sits >>> there). >>> >>> Any idea what maybe the issue? This is highly frustrating because it WAS >>> working (I'm using a new 7.0-STABLE, from yesterday freshly built against >>> Sam's latest HAL). >> >> It is working great for me on both amd64 and i386 Current 8 with >> ath_hal-20080528. >> >> I haven't had time to be too adventurous and am using a fixed >> configuration in rc.conf which follows: >> >> wlans_ath0=wlan0 >> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey >> 1" >> >> It hasn't even hiccuped since I set it up. Actually I have multiple >> configurations for different AP's but haven't set it up to be automatic. >> >> I hope this helps some, >> >> ed >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > Yes thanks. False alarm. Friggin support folks didn't install the antenna > right. As a result I was getting well no carrier all the time. Its fixed > and working! Well I spoke too soon. In Windows it works but within 7.0-STABLE, scanning just sort of hangs and I never got an output of SSIDs. Perhaps I should now try CURRENT. This stinks cause 7.0-STABLE was working at some point but now its broke. -aps From roberthuff at rcn.com Mon Aug 11 13:36:30 2008 From: roberthuff at rcn.com (Robert Huff) Date: Mon Aug 11 13:36:37 2008 Subject: How to stop my services from trying to bind to IPv6? In-Reply-To: References: Message-ID: <18592.16475.776041.273847@jerusalem.litteratus.org> Redd Vinylene writes: > I haven't enabled IPv6, yet many of my processes are trying to bind to it. > > Aug 11 16:19:13 camel named[1562]: couldn't add command channel > ::1#953: socket already bound > Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: > Invalid argument. > > Is there an easy way to stop these services from trying to bind to > IPv6, other than explicitly telling each and every one not to do so? In both cases, the first place to check would be the config files. Robert Huff From reddvinylene at gmail.com Mon Aug 11 13:38:57 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Mon Aug 11 13:39:04 2008 Subject: How to stop my services from trying to bind to IPv6? In-Reply-To: <18592.16475.776041.273847@jerusalem.litteratus.org> References: <18592.16475.776041.273847@jerusalem.litteratus.org> Message-ID: I use the default sshd config file, I'd rather not maintain one. As for my named.conf, I haven't enabled no IPv6 setting there either. Perhaps an ipv6_enable="NO" in rc.conf will do the trick? Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I tell it that I do? On Mon, Aug 11, 2008 at 3:36 PM, Robert Huff wrote: > Redd Vinylene writes: > > >> I haven't enabled IPv6, yet many of my processes are trying to bind to it. >> >> Aug 11 16:19:13 camel named[1562]: couldn't add command channel >> ::1#953: socket already bound >> Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: >> Invalid argument. >> >> Is there an easy way to stop these services from trying to bind to >> IPv6, other than explicitly telling each and every one not to do so? > > In both cases, the first place to check would be the config > files. > > > Robert Huff > > -- http://www.home.no/reddvinylene From asenchi at gmail.com Mon Aug 11 13:42:49 2008 From: asenchi at gmail.com (Curt Micol) Date: Mon Aug 11 13:42:56 2008 Subject: How to stop my services from trying to bind to IPv6? In-Reply-To: References: <18592.16475.776041.273847@jerusalem.litteratus.org> Message-ID: <8d9c091a0808110642s127b690x33d3cde570dbd813@mail.gmail.com> On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene wrote: > I use the default sshd config file, I'd rather not maintain one. > > As for my named.conf, I haven't enabled no IPv6 setting there either. > > Perhaps an ipv6_enable="NO" in rc.conf will do the trick? > > Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I > tell it that I do? Nope, quite the opposite. IPv6 is in a lot of services, and keeping it on is a good idea (at least imho). In rc.conf you can set many *_flags to listen on IPv4. For example: sshd_flags="-4" You could also simply block all traffic on IPv6 (in pf): block all inet6 HTH, -- # Curt Micol From reddvinylene at gmail.com Mon Aug 11 13:47:20 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Mon Aug 11 13:47:34 2008 Subject: How to stop my services from trying to bind to IPv6? In-Reply-To: <8d9c091a0808110642s127b690x33d3cde570dbd813@mail.gmail.com> References: <18592.16475.776041.273847@jerusalem.litteratus.org> <8d9c091a0808110642s127b690x33d3cde570dbd813@mail.gmail.com> Message-ID: I just don't want my logs filling up with useless error messages ;) Thanks! On Mon, Aug 11, 2008 at 3:42 PM, Curt Micol wrote: > On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene wrote: >> I use the default sshd config file, I'd rather not maintain one. >> >> As for my named.conf, I haven't enabled no IPv6 setting there either. >> >> Perhaps an ipv6_enable="NO" in rc.conf will do the trick? >> >> Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I >> tell it that I do? > > Nope, quite the opposite. IPv6 is in a lot of services, and keeping > it on is a good idea (at least imho). In rc.conf you can set many > *_flags to listen on IPv4. For example: > > sshd_flags="-4" > > You could also simply block all traffic on IPv6 (in pf): > block all inet6 > > HTH, > > -- > # Curt Micol > -- http://www.home.no/reddvinylene From rkramer at mweb.com Mon Aug 11 13:51:44 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Mon Aug 11 13:51:52 2008 Subject: Cluster Filesystem References: <20080807092636.J28450@gwdu60.gwdg.de><20080807210345.121a04a1@ayiin><39DC135F7F0571489196E0B6F5D58B4A03B45FEA@MWBEXCH.mweb.com><20080808110418.589bfc80@ayiin><39DC135F7F0571489196E0B6F5D58B4A03B46003@MWBEXCH.mweb.com> <20080811213324.0d6650dd@ayiin> Message-ID: <39DC135F7F0571489196E0B6F5D58B4A03B4600A@MWBEXCH.mweb.com> > Behalf Of Norberto Meijome > Sent: Monday, August 11, 2008 1:33 PM > To: Rudi Kramer - MWEB > Cc: freebsd-questions@freebsd.org > Subject: Re: Cluster Filesystem > > On Mon, 11 Aug 2008 09:51:33 +0200 > "Rudi Kramer - MWEB" wrote: > > > I was speaking to a friend of mine and he also recommended looking at > > GlusterFS, http://www.gluster.org. > > thanks for the info. yes, it sounds VERY interesting, in particular I like the > modularity provided by FUSE. I'd love to be able to run it on bsd though ;) According to the wiki (http://en.wikipedia.org/wiki/GlusterFS) GlusterFS server has been tested on FreeBSD but the client has only been successfully tested on Linux. I'm not sure why though. I've dropped an email to the GlusterFS Devs asking for more info. Rudi From lists at webtent.net Mon Aug 11 13:59:11 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Mon Aug 11 13:59:18 2008 Subject: Screwed up upgrade to 7.0 In-Reply-To: <48A03A26.1080001@unsane.co.uk> References: <1218458513.18845.15.camel@columbus.webtent.org> <48A03A26.1080001@unsane.co.uk> Message-ID: <1218463143.18845.19.camel@columbus.webtent.org> On Mon, 2008-08-11 at 14:09 +0100, Vincent Hoffman wrote: > Robert Fitzpatrick wrote: > > I have screwed up my upgrade from 6.2 to 7.0 following the doc at... > > > > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > > > > I ran the install a second time and it completed before the next to the > > last step including 'portupgrade -af' was completed. I went back and ran > > the next to the last step, but still, all my packages complain of > > missing shared libraries. Is there any way to get everything rebuilt, > > saving me a complete reinstall? Fortunately, I am doing this on a test > > box. > > > > > Try installing misc/compat6x as a stopgap? > Sweet! Thank you very much, all services started. Now, how do I proceed with my upgrade to 7.0? Do I just rebuild all now and it will update to the 7.0 libraries and then how to undo COMPAT_FREEBSD6? -- Robert From keramida at freebsd.org Mon Aug 11 14:54:10 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Mon Aug 11 14:54:17 2008 Subject: A few questions from a current linux user In-Reply-To: <70ec82800808110415s22fe82d1kea2b57551929f7e6@mail.gmail.com> (Krishna Mohan Gundu's message of "Mon, 11 Aug 2008 04:15:07 -0700") References: <70ec82800808072020h5aafa48axe4140c5eeb229854@mail.gmail.com> <873alf9duf.fsf@kobe.laptop> <70ec82800808110415s22fe82d1kea2b57551929f7e6@mail.gmail.com> Message-ID: <878wv361rw.fsf@kobe.laptop> On Mon, 11 Aug 2008 04:15:07 -0700, "Krishna Mohan Gundu" wrote: >>> 2) Is it possible to compile multiple versions of gcc? If so what is >>> the best way to do it? >> >> Yes, of course. >> >> The "base system" of FreeBSD includes _one_ version of gcc, installed as >> `/usr/bin/gcc', but this does not mean that you are limited to *that* >> version only. You can use the Ports tree to install one or more >> versions[...] >> >> # pwd >> /usr/ports/lang >> # ls -ld gcc* | nl >> 1 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc-ooo >> 2 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc28 >> 3 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc295 >> 4 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc32 >> 5 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc33 >> 6 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc34 >> 7 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41 >> 8 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41-withgcjawt >> 9 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc42 >> 10 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc42-withgcjawt >> 11 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc43 >> 12 drwxr-xr-x 3 root wheel - 512 Aug 7 02:25 gcc44 >> # > > So I believe each gcc port keeps track of various dependencies and > their versions for a chosen gcc version. However if I need gcc40 (lets > say, not available from ports) or if I need to enable certain features > that ports disable then I guess I am on my own in that there are no > guarantees that it will compile. Then it's usually much easier to tweak the port than start from scratch. The Ports tree also includes various patches, updates and it supports a lot of things other than ``run the ./configure script with all the right options''. Some of these extra features are: * Dependency tracking of the package. * Conflicts tracking. If there are possible conflicts with already installed packages, you will get notified. * Recursive or simple one-port fetching of all the sources from their standard FTP, or HTTP site, including checksum verification of the distfiles. * Patching of the source tree with `make patch', as an integrated part of the port itself. * Package registration in `/var/db/pkg'. With this comes also the ability to pkg_delete the installed port in one, well-defined step. The alternative of manually tracking what was installed, where it was installed, which files it touched or added, and so on, may also work, but it's not really as nice as pkg_add/pkg_delete. * Package creation. You can build on one system, then `make package' and transfer the pre-compiled port to another system (i.e. your small sub-notebook EeePC that can do better things than build gcc all the time). Enabling a new option in a port is often just a matter of editing the port Makefile and adding a few extra arguments to CONFIGURE_ARGS, i.e.: # I like my gcc ports to have --enable-foo too (keramida) CONFIGURE_ARGS += --enable-foo Then you get to keep all the nice features of Ports, and if you find the new option useful, you can send it back to the Port maintainer :) > Coming from linux background, the different way of managing base > system and ports bothers me. I understand the reasons behind the > division but not the necessity to manage them differently. For > example how would I know if a package is in the base system or not? > Looks like for ports this can done with 'make search name=whatever'. > Is there an equivalent of freebsd-update for ports? The separation comes with its own advantages. For example, if you are tracking the 6.X-STABLE branch of the base system, then you can keep updating the base system as many times as you want and leave the Ports unchanged. The binary compatibility of the 6.X-STABLE branch guarantees that a thirdparty package you compiled on 6.0-RELEASE will keep working with a base system of 6.1-RELEASE, 6.2-RELEASE or 6.10-STABLE. As long as there are not major security issues with a specific port you do *not* have to upgrade it. The base system itself is not a package, and all the ports intstall software _exclusively_ under `/usr/local'. So you know that something is part of the Ports because it is installed under `/usr/local'. The opposite is also true: if something is in /usr/{bin,sbin,lib} then in a well-managed FreeBSD system it is *not* part of the Ports, but of the base system. To answer the question about updates, yes, there are tools like freebsd-update for Ports too. They are usually Ports themselves too, and they are found in the `/usr/ports/ports-mgmt' category of software. AFAIK, the most popular ones are `portupgrade', `portmanager' and `portmaster'. From glarkin at FreeBSD.org Mon Aug 11 15:21:53 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon Aug 11 15:21:59 2008 Subject: Changing 'From:' address of periodic scripts In-Reply-To: <48A00C8C.4060105@witchspace.com> References: <48A00C8C.4060105@witchspace.com> Message-ID: <48A05902.8060103@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Belson wrote: | Hiya | | I set up a remote box to e-mail 'periodic' output to me directly. It | has now | stopped working, and I suspect it's because the 'From:' addresses of the | status | e-mails is of the form 'root@mybox.local' and the ISP has upped its | anti-spam | checks. | | I see /usr/sbin/periodic itself uses the 'mail' command to send the | mails, but I | couldn't see a command line option to specify a 'From:'. I guess 'mail' | uses | 'sendmail' to send e-mail; is there a simple way of forcing a 'From:' | address | via 'sendmail' config? | | Cheers, | | --Jon | Hi Jon, Have a look at this: http://www.sendmail.org/m4/masquerading.html and perhaps this, too: http://www.madboa.com/geek/sendmail-genericstable/ You can rewrite root@mybox.local to appear as though it's coming from a real email address by using the techniques on those pages. Please post back here if you run into any trouble! Best regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoFkC0sRouByUApARAo8OAJ9zuwcF2RL5SyZa6udBc38dMlLO3wCeOlju FZhVVFU4d+aKeWtBFSnd/7Q= =B+FE -----END PGP SIGNATURE----- From vince at unsane.co.uk Mon Aug 11 15:36:24 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Mon Aug 11 15:36:31 2008 Subject: Screwed up upgrade to 7.0 In-Reply-To: <1218463143.18845.19.camel@columbus.webtent.org> References: <1218458513.18845.15.camel@columbus.webtent.org> <48A03A26.1080001@unsane.co.uk> <1218463143.18845.19.camel@columbus.webtent.org> Message-ID: <48A05C74.3070600@unsane.co.uk> Robert Fitzpatrick wrote: > On Mon, 2008-08-11 at 14:09 +0100, Vincent Hoffman wrote: > >> Robert Fitzpatrick wrote: >> >>> I have screwed up my upgrade from 6.2 to 7.0 following the doc at... >>> >>> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html >>> >>> I ran the install a second time and it completed before the next to the >>> last step including 'portupgrade -af' was completed. I went back and ran >>> the next to the last step, but still, all my packages complain of >>> missing shared libraries. Is there any way to get everything rebuilt, >>> saving me a complete reinstall? Fortunately, I am doing this on a test >>> box. >>> >>> >>> >> Try installing misc/compat6x as a stopgap? >> >> > > Sweet! Thank you very much, all services started. Now, how do I proceed > with my upgrade to 7.0? Do I just rebuild all now and it will update to > the 7.0 libraries and then how to undo COMPAT_FREEBSD6? > > As you upgrade the ports they will link against the new verson of the libraries, once you're certain you dont need them any more you can just pkg_delete the compat6x package. You can use something like pkg_libchk from the sysutils/bsdadminscripts to look check whats still compiled againt the compat libs. Vince From vince at vjs.org Mon Aug 11 15:54:54 2008 From: vince at vjs.org (Vince Sabio) Date: Mon Aug 11 15:55:01 2008 Subject: Upgrade v5.x to v7.0 Message-ID: I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin experience, but have no experience (yet) with FreeBSD updates. Is there a site with step-by-step instructions for the uninitiated, to help minimize Pr(failure)? 3. Anything else I should know? Muchas gracias.... __________________________________________________________________________ Vince Sabio vince@vjs.org From jack at jarasoft.net Mon Aug 11 16:05:12 2008 From: jack at jarasoft.net (Jack Raats) Date: Mon Aug 11 16:05:26 2008 Subject: FreeBSD, Ubuntu and Win XP on one system Message-ID: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack From wojtek at wojtek.tensor.gdynia.pl Mon Aug 11 16:13:34 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Aug 11 16:13:41 2008 Subject: allowing rtprio in jail Message-ID: <20080811181239.B26145@wojtek.tensor.gdynia.pl> can it be done? From roberthuff at rcn.com Mon Aug 11 16:15:52 2008 From: roberthuff at rcn.com (Robert Huff) Date: Mon Aug 11 16:15:59 2008 Subject: Upgrade v5.x to v7.0 In-Reply-To: References: Message-ID: <18592.25970.307339.178858@jerusalem.litteratus.org> Vince Sabio writes: > I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), Why? > and need to update it to v7.0. Questions: > > 1. Can I go straight from v5.1 to v7.0? Or do I need to make a > stop at v6.x? It is probably technically possible. However: when jumping major versions, my advice is always "If possible, install from clean disk." On the down-side, it is moderately more work than upgrading. On the up-side: 1) if something goes Horribly Wrong, you're not screwed 2) you will avoid library version conflicts, and indeed reclaim space used by orphaned libraries (and other files) 3) if desirable, you can re-size partitions Others are left as an exercise to the reader. In either case: remember to save critical config files (rc.conf, the kernel config, sshd_config, the named directory, etc.) elsewhere. Robert Huff From jmc-freebsd at milibyte.co.uk Mon Aug 11 16:33:17 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Mon Aug 11 16:33:25 2008 Subject: Xerox Phaser 6110 printer Message-ID: <200808111733.14834.jmc-freebsd@milibyte.co.uk> Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? My current inkjet is on it's last legs and the 6110 looks like a good deal at only 90 GBP for a colour laser. It's listed in the OpenPrinting database as working "mostly" but I'm not sure if that applies to FreeBSD as well as Unix and how good "mostly" is. -- Mike Clarke From pluknet at gmail.com Mon Aug 11 16:47:59 2008 From: pluknet at gmail.com (pluknet) Date: Mon Aug 11 16:48:06 2008 Subject: Kernel compile R7.0 i386 GENERIC, fails In-Reply-To: <200808111537.m7BFbHf1006054@brother.ludd.ltu.se> References: <200808111537.m7BFbHf1006054@brother.ludd.ltu.se> Message-ID: [hackers@->questions@] 2008/8/11 Peter B : > > I'm trying to compile the generic FreeBSD kernel 7.0-RELEASE i386. But it > fails. Any tip on how to fix it? > > Extracted sources: sbase, srelease, ssys You also need scontrib (ACPI sources are there) component and maybe some others for successful build. btw, this is not a very usual (and a simple) way to make kernel. > > toor@m /usr/src #make buildkernel KERNCONF=GENERIC > . > . > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/GENERIC /usr/src/sys/modules/accf_http/../../netinet/accf_http.c > ===> acpi (depend) > ===> acpi/acpi (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > make: don't know how to make dsfield.c. Stop > *** Error code 2 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > Exit 1 wbr, pluknet From pb at ludd.ltu.se Mon Aug 11 16:49:25 2008 From: pb at ludd.ltu.se (Peter B) Date: Mon Aug 11 16:49:33 2008 Subject: Kernel compile R7.0 i386 GENERIC, fails In-Reply-To: from "pluknet" at Aug 11, 2008 08:21:39 PM Message-ID: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> >> Extracted sources: sbase, srelease, ssys > >You also need scontrib (ACPI sources are there) component and maybe >some others for successful build. >btw, this is not a very usual (and a simple) way to make kernel. I added "device acpi" to the kernel configuration file. And it made the error go away. I'm downloading scontrib.* now. But now it complains on: ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h make: don't know how to make cam.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Exit 1 Exit 1 In previous releases. It was possible to make at leas the generic kernel compile out of the box. From raggen at passagen.se Mon Aug 11 16:59:11 2008 From: raggen at passagen.se (Roger Olofsson) Date: Mon Aug 11 16:59:19 2008 Subject: Video streaming with freeBSD In-Reply-To: <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> References: <489E0312.40908@serverhouse.co.uk> <489F2582.3060304@mykitchentable.net> <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> Message-ID: <48A06FD8.2080407@passagen.se> Sam Fourman Jr. skrev: >> If the main purpose of your box is to be a PVR, I suggest going with a Linux >> distribution and using MythTV (http://www.mythtv.org). While I am a fan of >> FreeBSD as a web/mail/etc. server, it did not meet my needs when attempting >> to build a PVR. I found the Gentoo Linux distribution most comfortable for >> me because it uses a "portage" system similar to the "ports" system of >> FreeBSD. Others I tried were package based and didn't always support my >> hardware. > > I would like to try and put together the most functional FreeBSD based PVR > system possible, even if it does have less functionality than it's > Linux counterpart. > > does anyone have a recipe for a working FreeBSD based PVR? > if not post Ideas for software / configurations / Hardware, and I will > l make a web page > out of it. > > Sam Fourman Jr. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.6.0/1602 - Release Date: 2008-08-09 13:22 > > > Some year back I was meddling around with VLC (videolan) that does a pretty good job of the streaming part. There was issues with threads at the time so I let it rest though. Xmltv to grab the channels listings should also work. TV cards supported should be in the handbook.... Please let us know the uri for the webpage! /R From andrewlylegould at gmail.com Mon Aug 11 17:43:07 2008 From: andrewlylegould at gmail.com (Andrew Gould) Date: Mon Aug 11 17:43:14 2008 Subject: FreeBSD, Ubuntu and Win XP on one system In-Reply-To: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> References: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> Message-ID: On Mon, Aug 11, 2008 at 11:05 AM, Jack Raats wrote: > I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot > manager. > > Which version do I have to put first on the harddisk, which second and > which last? > > I also want to know which bootmanager to use? > > > Thanks for your time > > Greeting > Jack > > I would recommend installing WinXP first, then Ubuntu. The selection of a boot manager is a personal choice. I think Ubuntu uses the GRUB boot manager, which many people like. Install FreeBSD last, being careful not to overwrite the MBR of the hard drive. Once FreeBSD has been installed, boot up Ubuntu and modify the GRUB menu configuration file (/boot/grub/menu.lst). I found a sample of a FreeBSD entry here: http://ubuntuforums.org/showthread.php?t=455951 Best of luck, Andrew Gould From sfourman at gmail.com Mon Aug 11 18:23:18 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Mon Aug 11 18:23:25 2008 Subject: Video streaming with freeBSD In-Reply-To: <48A06FD8.2080407@passagen.se> References: <489E0312.40908@serverhouse.co.uk> <489F2582.3060304@mykitchentable.net> <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> <48A06FD8.2080407@passagen.se> Message-ID: <11167f520808111123k6e678453t4a08d2f9927a4c02@mail.gmail.com> > Some year back I was meddling around with VLC (videolan) that does a pretty > good job of the streaming part. There was issues with threads at the time so > I let it rest though. Do you have any Idea, how much bandwidth it takes to stream HDTV 1080i via VLC I am assuming a T1 would not be enough upstream, unless you can buffer with something like a 5 min lag. > > Xmltv to grab the channels listings should also work. > > TV cards supported should be in the handbook.... Does anyone have any HDTV cards that are known to work? I know about the HDTV5 RT Lite, I found it on this page http://wiki.freebsd.org/HDTV has anyone tried it on FreeBSD? > > Please let us know the uri for the webpage! > > /R > > > > From cswiger at mac.com Mon Aug 11 18:46:25 2008 From: cswiger at mac.com (Chuck Swiger) Date: Mon Aug 11 18:46:37 2008 Subject: Video streaming with freeBSD In-Reply-To: <11167f520808111123k6e678453t4a08d2f9927a4c02@mail.gmail.com> References: <489E0312.40908@serverhouse.co.uk> <489F2582.3060304@mykitchentable.net> <11167f520808101722l7aba023pf705d8ff6233126c@mail.gmail.com> <48A06FD8.2080407@passagen.se> <11167f520808111123k6e678453t4a08d2f9927a4c02@mail.gmail.com> Message-ID: <23B07BDA-5FFB-46BE-BCA2-2ECF70F1FF6E@mac.com> On Aug 11, 2008, at 11:23 AM, Sam Fourman Jr. wrote: >> Some year back I was meddling around with VLC (videolan) that does >> a pretty >> good job of the streaming part. There was issues with threads at >> the time so >> I let it rest though. > > Do you have any Idea, how much bandwidth it takes to stream HDTV > 1080i via VLC > I am assuming a T1 would not be enough upstream, unless you can buffer > with something like a 5 min lag. 1080i uncompressed requires 37MHz of video bandwidth; using MPEG2/H. 262 or better yet MPEG4/H.264 you can usually fit into about 3Mhz of bandwidth. If you had to packetize this and transmit over an IP network, you'd need about 70Mbs for uncompressed (or half an OC3), or about 6Mbs (ie, four T1's, or about a 20% of a full T3) compressed. Regards, -- -Chuck From james.johnson at emerald.fiserv.com Mon Aug 11 18:47:31 2008 From: james.johnson at emerald.fiserv.com (Johnson, James) Date: Mon Aug 11 18:47:38 2008 Subject: mysql and BIND 9.4.2 Message-ID: Does any know how to make mysql and BIND work together. I found this, it's similar to what I want to do. http://gentoo-wiki.com/HOWTO_Setup_Bind_with_DLZ,_MySQL_and_replication James Johnson From jaxtr at jaxtr.com Mon Aug 11 18:58:55 2008 From: jaxtr at jaxtr.com (jaxtr) Date: Mon Aug 11 18:59:02 2008 Subject: Like to call friends from your mobile? Message-ID: <407695593.968701218479935542.JavaMail.tomcat@que1.sv.jaxtr.com> Sunil, Did you know you can use jaxtr to call friends abroad from your mobile phone and bypass expensive international fees? Just click on the jaxtr link of your friend and enter your mobile or landline phone number. Then your phone rings, the phone of your friend rings and you can talk without paying international phone charges. If your friends don't already have a jaxtr link,invite them from your contact list on jaxtr now: http://www.jaxtr.com/user/friends.jsp -Your jaxtr Team P.S. See how it works by clicking on the jaxtr link of one of your friends: http://www.jaxtr.com/user/friends.jsp Sent by jaxtr, 855 Oak Grove, Suite 100, Menlo Park, California 94025. You received this message because you are a registered jaxtr user. If you don't wish to receive any more email from jaxtr, send an email to blockme@jaxtr.com. From wblock at wonkity.com Mon Aug 11 19:04:37 2008 From: wblock at wonkity.com (Warren Block) Date: Mon Aug 11 19:04:44 2008 Subject: Xerox Phaser 6110 printer In-Reply-To: <200808111733.14834.jmc-freebsd@milibyte.co.uk> References: <200808111733.14834.jmc-freebsd@milibyte.co.uk> Message-ID: On Mon, 11 Aug 2008, Mike Clarke wrote: > Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? My > current inkjet is on it's last legs and the 6110 looks like a good deal > at only 90 GBP for a colour laser. It's listed in the OpenPrinting > database as working "mostly" but I'm not sure if that applies to > FreeBSD as well as Unix and how good "mostly" is. Printers with sole-source drivers like that make me nervous. If the driver or certain features doen't work on your system, it doesn't leave a lot of options. foo2qpdl doesn't appear to be in ports, but probably it'll build okay anyway. If it were me, I'd make sure that builds and runs first, making a port of it. Then test the output on a sample printer before buying. -Warren Block * Rapid City, South Dakota USA From cyberleo at cyberleo.net Mon Aug 11 19:23:47 2008 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Mon Aug 11 19:23:53 2008 Subject: Free wireless network (access point, router, transparent HTTP proxy setup) In-Reply-To: <489DAB24.2090807@lvor.halvorsen.cc> References: <489D855C.6010903@lvor.halvorsen.cc> <878wv6tiry.fsf@kobe.laptop> <20080809141717.GB12190@rebelion.Sisis.de> <489DAB24.2090807@lvor.halvorsen.cc> Message-ID: <48A08D83.2060302@cyberleo.net> Svein Halvor Halvorsen wrote: > An alternative to the inserted text in all http traffic (and > probably easier to implement) is just to divert all unknown traffic > to an internal ip-adress (using the firewall), and setup a web page > on that address. Then have people click some button, which will > rewrite the fw rules for that specific machine (white list). I set something similar on my roommate's wireless network, and routinely use it on another server to inform banned users that they are. It's easy to set up for either a whitelist or a blacklist. It utilizes FreeBSD's IPFW, but is trivial to implement in PF as well. http://wiki.cyberleo.net/index.php/FirewallRedirect -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From nightrecon at verizon.net Mon Aug 11 19:52:55 2008 From: nightrecon at verizon.net (Michael Powell) Date: Mon Aug 11 19:53:02 2008 Subject: Kernel compile R7.0 i386 GENERIC, fails References: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> Message-ID: Peter B wrote: [snip] > > In previous releases. It was possible to make at leas the generic kernel > compile out of the box. > As it still is. I just did a make buildkernel KERNCONF=GENERIC on a 7-Release box and it built with no difficulty. -Mike From nage.403 at gmail.com Mon Aug 11 20:23:14 2008 From: nage.403 at gmail.com (Bruno Schmitt) Date: Mon Aug 11 20:23:21 2008 Subject: FreeBSD, Ubuntu and Win XP on one system In-Reply-To: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> References: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> Message-ID: <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com> I recommend installing FreeBSD first, then Windows and then Ubuntu. For reasons that I don't know, WinXP SP3 will become unable to start if you installs FreeBSD after it (It will freeze on the welcome screen). - I don't know if this problem just happened with me or with others people too, but it happened more than one time. Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box, so you will have to add some lines to /boot/grub/menu.lst # For booting FreeBSD title FreeBSD 5.2 root (hd0,a) chainloader +1 where "(hd0,a)" reflects the position of the FreeBSD primary partition. On Mon, Aug 11, 2008 at 1:05 PM, Jack Raats wrote: > I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot > manager. > > Which version do I have to put first on the harddisk, which second and > which last? > > I also want to know which bootmanager to use? > > > Thanks for your time > > Greeting > Jack > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From cwhiteh at onetel.com Mon Aug 11 20:31:47 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Aug 11 20:31:55 2008 Subject: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS In-Reply-To: <48981BE8.8050804@guice.ath.cx> References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> <489784A8.7030701@guice.ath.cx> <20080805042950.GB6648@torus.slightlystrange.org> <48981BE8.8050804@guice.ath.cx> Message-ID: <48A0A1AC.2090000@onetel.com> freebsd_user@guice.ath.cx wrote: > Daniel Bye wrote: >> On Mon, Aug 04, 2008 at 06:37:28PM -0400, email wrote: >> >>> I thank you. In addition, I am quite sure the command we are >>> referred to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown >>> now' and not 'shutdown -r now'. >> >> Yes. But that section relates to dropping to single user mode for the >> duration of the build, not for the installworld phase. To quote from >> 23.4.5: >> >> You may want to *compile* the system in single user mode. (Emphasis >> mine) >> >> It is merely a possible preparatory step that some people like to take >> before embarking on the rest of the process. >> >> Section 23.4.9 goes on to talk about what to do after the world and >> kernel build are complete, and you have installed the new kernel: >> >> You should reboot into single user mode to test the new kernel works. >> Do this by following the instructions in Section 23.4.5. >> >> This refers specifically to the part of 23.4.5 that talks about >> rebooting into single user mode, and not the part that talks about >> dropping to single user mode. (A subtle, but important, distinction.) >> >> I would suggest that the simplest approach would be something like: >> >> # cd /usr/src >> # make buildworld && make buildkernel >> # make installkernel >> (reboot into single user mode) >> # fsck -p >> # mount -u / >> # mount -at ufs >> # swapon -a >> # cd /usr/src >> # make installworld >> # mergemaster >> >> (Just so we're clear - section 23.4.5 talks about going to single >> user mode for the duration of the *first 3 steps* of the above process. >> As I mentioned previously, I have never found this step necessary, but >> there is certainly no harm in it, and it may be the sensible thing to >> do if your system has a lot of users logged in during normal operations. >> Note that you must still reboot after installing the new kernel, and >> before continuing to installworld.) >> >> Dan >> >> > > > I followed 'your' suggestion/recommendation and did 'shutdown -r now' > with great results; -- fsck -p works fine. However allow me to say that > the fbsd handbook section 23.4.9, which I was initially following > referred me back/up to section 23.4.5. The entire section -- 23.4 > Rebuilding ?world? only mentioned 'shutdown -r now' one (1) time in > section 23.4.12. Had the fbsd handbook mentioned 'shutdown -r now' > instead of referring the reader to another section perhaps I wouldn't be > discussing this with you. :-) Sorry to make this longer than it needed > to be. I thank you once again. The handbook does say in section 23.4.2 that if /usr/src/UPDATING contradicts something you read in the handbook, UPDATING takes precedence so I guess it does cover itself. The steps in UPDATING seem to work pretty well. I sometimes do mergemaster -iU at the second mergemaster step in the "To rebuild everything and install it on the current system" step as I mostly don't change the files that get reviewed by mergemaster, otherwise I stick exactly to UPDATING and get almost no problems. Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From patfbsd at davenulle.org Mon Aug 11 20:37:48 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Mon Aug 11 20:37:54 2008 Subject: FreeBSD, Ubuntu and Win XP on one system In-Reply-To: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> References: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> Message-ID: <20080811223743.58386d5a@baby-jane-lamaiziere-net.local> Le Mon, 11 Aug 2008 18:05:10 +0200, "Jack Raats" a ?crit : > I would like to put FreeBSD, Ubuntu and WInXP on one system using a > boot manager. > > Which version do I have to put first on the harddisk, which second > and which last? > > I also want to know which bootmanager to use? By default, (the last time i tried Ubuntu) Ubuntu removes the bootmanager to put Grub. But with the "alternate" CD of Ubuntu you can choose to install Grub (or Lilo) on the Linux partition. For the bootmanager I use GAG, GAG is cool and very simple. I'm not sure is there is still an alternate CD for Ubuntu. From jmc-freebsd at milibyte.co.uk Mon Aug 11 20:39:46 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Mon Aug 11 20:39:53 2008 Subject: Xerox Phaser 6110 printer In-Reply-To: References: <200808111733.14834.jmc-freebsd@milibyte.co.uk> Message-ID: <200808112139.43163.jmc-freebsd@milibyte.co.uk> On Monday 11 August 2008, Warren Block wrote: > Printers with sole-source drivers like that make me nervous. ?If the > driver or certain features doen't work on your system, it doesn't > leave a lot of options. > > foo2qpdl doesn't appear to be in ports, but probably it'll build okay > anyway. ?If it were me, I'd make sure that builds and runs first, > making a port of it. ?Then test the output on a sample printer before > buying. I'm using CUPS which seems to support the Phaser 6110 via the SpliX port so I assume I wouldn't need foo2qpdl. But rather worryingly pkg-descr lists the 6110 as "Untested". I don't have the necessary skills to hack the driver if things don't work so it looks like I'll probably have to eliminate this model from my list unless I can get any feedback from anybody who is successfully using one with FreeBSD. -- Mike Clarke From jmc-freebsd at milibyte.co.uk Mon Aug 11 21:48:40 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Mon Aug 11 21:48:47 2008 Subject: FreeBSD, Ubuntu and Win XP on one system In-Reply-To: <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com> References: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com> Message-ID: <200808112248.36999.jmc-freebsd@milibyte.co.uk> On Monday 11 August 2008, Bruno Schmitt wrote: > Ubuntu uses GRUB boot manager and as far as I remember it won't > recognize FreeBSD partition out of the box, so you will have to add > some lines to /boot/grub/menu.lst > > # For booting FreeBSD > title ?FreeBSD 5.2 > root ? (hd0,a) > chainloader +1 > > where "(hd0,a)" reflects the position of the FreeBSD primary > partition. Grub does recognise FreeBSD partitions so you can use either the chainloader command or point grub directly to /boot/loader, though I can't speak for the Ubuntu version. Here's the menu file for my box with FreeBSD 6.3, FreeBSD 7.0 and Windoze: default 0 timeout 3 hiddenmenu color white/blue yellow/blue title FreeBSD 6.3 root (hd0,0,a) kernel /boot/loader title FreeBSD 7.0 root (hd0,1,a) kernel /boot/loader title MS Windows root (hd0,3) makeactive chainloader +1 title Floppy root (fd0) chainloader +1 -- Mike Clarke From lists at oak-wood.co.uk Mon Aug 11 21:51:45 2008 From: lists at oak-wood.co.uk (Chris Hastie) Date: Mon Aug 11 21:52:12 2008 Subject: Monitoring raid health with mpt Message-ID: <48A0B46E.6000504@oak-wood.co.uk> I have a Dell PowerEdge 860 with SAS 5iR RAID controller and FreeBSD 6.2. The controller is configured for RAID 1. The controller is recognised as mpt0 and seen as a SCSI device da0. All seems to be working fine, but is there any way to tell if one of the disks fails? Lots of searching has suggested that most people reckon 'no', but some reckon sysctl -a | grep nonoptimal_volumes should come up with something useful. I've had a poke around in the source, which is probably pointless since my knowledge of C is next to zilch. But it looks like a number of sysctl oids are defined in mpt_raid.c: vol_member_wce, vol_queue_depth, vol_resync_rate and nonoptimal_volumes. I see none of these, just a couple from mpt.c: paddington# sysctl dev.mpt.0 dev.mpt.0.%desc: LSILogic SAS/SATA Adapter dev.mpt.0.%driver: mpt dev.mpt.0.%location: slot=8 function=0 dev.mpt.0.%pnpinfo: vendor=0x1000 device=0x0054 subvendor=0x1028 subdevice=0x1f09 class=0x010000 dev.mpt.0.%parent: pci2 dev.mpt.0.debug: 3 dev.mpt.0.role: 1 Should I expect to see some other values? Will the nonoptimal_volumes value turn up if a drive fails? Or will I see some messages in syslog? Anything that will give me some notice of a failed drive would help - the machine is colocated so keeping an eye open for flashing LEDs isn't really an option :( This is the relevant bit of demesg: mpt0: port 0xec00-0xecff mem 0xfe9fc000-0xfe9fffff,0xfe9e0000-0xfe9effff irq 16 at device 8.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.5.13.0 mpt0: mpt_cam_event: 0x16 mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x16 mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). mpt0: mpt_cam_event: 0xb mpt0: Unhandled Event Notify Frame. Event 0xb (ACK not required). da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers, Tagged Queueing Enabled da0: 237464MB (486326272 512 byte sectors: 255H 63S/T 30272C) Trying to mount root from ufs:/dev/da0s1a -- Chris Hastie Find tree care advice at http://www.tree-care.info/ From lists at oak-wood.co.uk Mon Aug 11 22:15:30 2008 From: lists at oak-wood.co.uk (Chris Hastie) Date: Mon Aug 11 22:15:37 2008 Subject: mysql and BIND 9.4.2 In-Reply-To: References: Message-ID: <48A0BA00.7050407@oak-wood.co.uk> On 11/08/08 19:17, Johnson, James wrote: > Does any know how to make mysql and BIND work together. > > > Configure bind with --with-dlz-mysql. I seem to recall that using --disable-threads is also recommended with MySql. Lots of info at http://bind-dlz.sourceforge.net/ There is an issue with bind giving up if the MySQL server goes away, which is helped by this patch: --- contrib/dlz/drivers/dlz_mysql_driver.c.orig 2007-11-15 09:08:05.000000000 +0000 +++ contrib/dlz/drivers/dlz_mysql_driver.c 2007-11-15 09:10:49.000000000 +0000 @@ -923,6 +923,13 @@ pass = getParameterValue(argv[1], "pass="); socket = getParameterValue(argv[1], "socket="); + if(mysql_options((MYSQL *) dbi->dbconn, MYSQL_OPT_RECONNECT,"1")) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, + DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, + "Could not set database reconnect option"); + } + + for (j=0; dbc == NULL && j < 4; j++) dbc = mysql_real_connect((MYSQL *) dbi->dbconn, host, user, pass, dbname, port, socket, -- Chris Hastie Find tree care advice at http://www.tree-care.info/ From james.johnson at emerald.fiserv.com Mon Aug 11 22:23:56 2008 From: james.johnson at emerald.fiserv.com (Johnson, James) Date: Mon Aug 11 22:24:10 2008 Subject: mysql and BIND 9.4.2 In-Reply-To: <48A0B763.4020305@oak-wood.co.uk> References: <48A0B763.4020305@oak-wood.co.uk> Message-ID: Thanks Chris, I'll look into this. Have you or anyone you know ever set something like this before? What I'm trying to do is replace our name servers, they will be Virtualized. James Johnson -----Original Message----- From: Chris Hastie [mailto:lists@oak-wood.co.uk] Sent: Monday, August 11, 2008 3:04 PM To: Johnson, James Subject: Re: mysql and BIND 9.4.2 On 11/08/08 19:17, Johnson, James wrote: > Does any know how to make mysql and BIND work together. > > Configure bind with --with-dlz-mysql. I seem to recall that using --disable-threads is also recommended with MySql. Lots of info at http://bind-dlz.sourceforge.net/ There is an issue with bind giving up if the MySQL server goes away, which is helped by this patch: --- contrib/dlz/drivers/dlz_mysql_driver.c.orig 2007-11-15 09:08:05.000000000 +0000 +++ contrib/dlz/drivers/dlz_mysql_driver.c 2007-11-15 09:10:49.000000000 +0000 @@ -923,6 +923,13 @@ pass = getParameterValue(argv[1], "pass="); socket = getParameterValue(argv[1], "socket="); + if(mysql_options((MYSQL *) dbi->dbconn, MYSQL_OPT_RECONNECT, "1")) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, + DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, + "Could not set database reconnect option"); + } + + for (j=0; dbc == NULL && j < 4; j++) dbc = mysql_real_connect((MYSQL *) dbi->dbconn, host, user, pass, dbname, port, socket, -- Chris Hastie Find tree care advice at http://www.tree-care.info/ From lists at oak-wood.co.uk Mon Aug 11 22:24:02 2008 From: lists at oak-wood.co.uk (Chris Hastie) Date: Mon Aug 11 22:24:11 2008 Subject: Xerox Phaser 6110 printer In-Reply-To: <200808111733.14834.jmc-freebsd@milibyte.co.uk> References: <200808111733.14834.jmc-freebsd@milibyte.co.uk> Message-ID: <48A0BBFF.9060503@oak-wood.co.uk> On 11/08/08 17:33, Mike Clarke wrote: > Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? My > current inkjet is on it's last legs and the 6110 looks like a good deal > at only 90 GBP for a colour laser. It's listed in the OpenPrinting > database as working "mostly" but I'm not sure if that applies to > FreeBSD as well as Unix and how good "mostly" is. > > I've never had any trouble with my 6120, but I guess the crucial difference is the PostScript support in the 6120. -- Chris Hastie Find tree care advice at http://www.tree-care.info/ From ivoras at freebsd.org Mon Aug 11 22:25:17 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Aug 11 22:25:24 2008 Subject: Upgrade v5.x to v7.0 In-Reply-To: References: Message-ID: Vince Sabio wrote: > I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and > need to update it to v7.0. Questions: > > 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at > v6.x? Theoretically it might be possible but definitely not recommended. 5.1 is very old (it's not even labeled STABLE - are you sure "FreeBSD updates" track such old releases?) and there might be unexpected problems. > 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin > experience, but have no experience (yet) with FreeBSD updates. Is there > a site with step-by-step instructions for the uninitiated, to help > minimize Pr(failure)? > > 3. Anything else I should know? You probably don't want to do it with binary upgrades, for many reasons, including unexpected problems (i.e. possibility of ending up with a system so messed up nobody could help you restore it). Do a source upgrade to 6.0 then to 7.0 - it's not hard. For best effects, you need to also recompile all additional ports installed on the server (actually, you *can* run ports compiled for 5.x on 7.x but as soon as you need to upgrade one of them, you'll probably need to upgrade all or most of them because of cross-dependencies). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080811/ab483533/signature.pgp From keramida at ceid.upatras.gr Mon Aug 11 22:55:39 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Aug 11 22:55:48 2008 Subject: Kernel compile R7.0 i386 GENERIC, fails In-Reply-To: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> (Peter B.'s message of "Mon, 11 Aug 2008 18:32:02 +0200 (MEST)") References: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> Message-ID: <87ljz3upql.fsf@kobe.laptop> On Mon, 11 Aug 2008 18:32:02 +0200 (MEST), Peter B wrote: >>> Extracted sources: sbase, srelease, ssys >> >> You also need scontrib (ACPI sources are there) component and maybe >> some others for successful build. btw, this is not a very usual (and >> a simple) way to make kernel. > > I added "device acpi" to the kernel configuration file. And it made the error > go away. I'm downloading scontrib.* now. > > But now it complains on: > ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > make: don't know how to make cam.c. Stop > *** Error code 2 > In previous releases. It was possible to make at leas the generic > kernel compile out of the box. It still is. You have to get the full sources though. What you are trying to do now, by extracting more parts of the source tree as you need them is a very good way to learn the dependencies of the various parts of the source tree, but it is likely to fail a few times until you get all the necessary bits. All this is *very* good as learning experience, but it may be frustrating if you just want ``something that works now, instead of, say, a week later''. From shinjii at maydias.com Mon Aug 11 23:05:35 2008 From: shinjii at maydias.com (Warren Liddell) Date: Mon Aug 11 23:05:42 2008 Subject: KDE4 libssl conflicts Message-ID: <200808120857.16732.shinjii@maydias.com> How do i avoid//overturn this conflict ? /usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libcurl.so, may conflict with libssl.so.5 /usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libcurl.so, may conflict with libcrypto.so.5 /usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libcurl.so, may conflict with libz.so.4 /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libxslt.so, may conflict with libm.so.5 /usr/bin/ld: warning: libcrypt.so.3, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.4 ../librdf/.libs/librdf.so: undefined reference to `db_create' ../librdf/.libs/librdf.so: undefined reference to `db_strerror' gmake[1]: *** [redland-db-upgrade] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/redland/work/redland-1.0.7/utils' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/textproc/redland. *** Error code 1 Stop in /usr/ports/textproc/soprano. *** Error code 1 Stop in /usr/ports/x11/kdelibs4. *** Error code 1 Stop in /usr/ports/x11/kdebase4-runtime. *** Error code 1 Stop in /usr/ports/x11/kde4. *** Error code 1 Stop in /usr/ports/x11/kde4. From cswiger at mac.com Mon Aug 11 23:19:07 2008 From: cswiger at mac.com (Chuck Swiger) Date: Mon Aug 11 23:20:02 2008 Subject: KDE4 libssl conflicts In-Reply-To: <200808120857.16732.shinjii@maydias.com> References: <200808120857.16732.shinjii@maydias.com> Message-ID: Hi-- On Aug 11, 2008, at 3:57 PM, Warren Liddell wrote: > How do i avoid//overturn this conflict ? You've got a mix of older and newer library versions, which makes me think that you are trying to do a partial upgrade of your ports after upgrading the FreeBSD base system to a newer version. You really need to rebuild all ports when doing that, or else you'll run into issues. However, the specific problem you mention should have been resolved by this change here: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126410 ...so please double-check that your ports tree has been updated to get this fix. Regards, -- -Chuck From ismaelpsp at hotmail.com Mon Aug 11 23:28:17 2008 From: ismaelpsp at hotmail.com (Ismael ....) Date: Mon Aug 11 23:28:24 2008 Subject: installing in a ext3 partition? Message-ID: Is it possible to install in an existing ext3 partition? Can freebsd make use of a linux-swap as swap space? how? _________________________________________________________________ Plug&Play te trae en exclusiva los mejores conciertos de la red http://club.prodigymsn.com/ From pb at ludd.ltu.se Mon Aug 11 23:34:43 2008 From: pb at ludd.ltu.se (Peter B) Date: Mon Aug 11 23:34:50 2008 Subject: Kernel compile R7.0 i386 GENERIC, fails In-Reply-To: <87ljz3upql.fsf@kobe.laptop> from "Giorgos Keramidas" at Aug 12, 2008 01:54:42 AM Message-ID: <200808112334.m7BNYb4Q021393@brother.ludd.ltu.se> >> In previous releases. It was possible to make at leas the generic >> kernel compile out of the box. > >It still is. You have to get the full sources though. > >What you are trying to do now, by extracting more parts of the source >tree as you need them is a very good way to learn the dependencies of >the various parts of the source tree, but it is likely to fail a few >times until you get all the necessary bits. > >All this is *very* good as learning experience, but it may be >frustrating if you just want ``something that works now, instead of, >say, a week later''. I found the errors: 1) add "device acpi" to kernel configuration file. 2) Faulty FreeBSD NFS server makeing directory entries empty. So I got all the required source distributions. And I got the ae and ath driver upgraded and working. Thanks anyway for trying to point in the right direction. From vince at vjs.org Mon Aug 11 23:41:46 2008 From: vince at vjs.org (Vince Sabio) Date: Mon Aug 11 23:41:54 2008 Subject: Upgrade v5.x to v7.0 In-Reply-To: References: Message-ID: ** At 00:25 +0200 on 08/12/2008, Ivan Voras wrote: >Vince Sabio wrote: >>I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), >>and need to update it to v7.0. Questions: >> >>1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? > >Theoretically it might be possible but definitely not recommended. >5.1 is very old (it's not even labeled STABLE Neither am I -- so my FreeBSD box and I are even. >- are you sure "FreeBSD updates" track such old releases?) I don't think they do. >and there might be unexpected problems. > >>2. I'm Unix shell literate with a reasonable level of Solaris >>sysadmin experience, but have no experience (yet) with FreeBSD >>updates. Is there a site with step-by-step instructions for the >>uninitiated, to help minimize Pr(failure)? >> >>3. Anything else I should know? > >You probably don't want to do it with binary upgrades, for many >reasons, including unexpected problems (i.e. possibility of ending >up with a system so messed up nobody could help you restore it). Do >a source upgrade to 6.0 then to 7.0 - it's not hard. For best >effects, you need to also recompile all additional ports installed >on the server (actually, you *can* run ports compiled for 5.x on 7.x >but as soon as you need to upgrade one of them, you'll probably need >to upgrade all or most of them because of cross-dependencies). Got it. There are sites that go through the 6.x to 7.0 upgrade, but I've foud nothing that explains how to get from 5. to 6.x. Any ideas here? __________________________________________________________________________ Vince Sabio vince@vjs.org From cwhiteh at onetel.com Mon Aug 11 23:47:02 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Aug 11 23:47:09 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <20080805181926.GA24000@thought.org> References: <20080805181926.GA24000@thought.org> Message-ID: <48A0CF70.4060903@onetel.com> Gary Kline wrote: > Folks, > > Actually, I have two 'general-computer' type questions, but it > might be better to ask them in separate posts. > > First about FBSD (6.x or 7.x) and newer vs older computers. > First, 7.0 seems as stable or more so than its predecessor. > It may even be faster and more efficient. How much more > "green" this is isn't a main question. > > But let's take my 1998 Computer each maxed out with a Gig or > close to and having been upgraded to small 2005 drives. Would it > make more sense from a environmental vp to buy a newer, faster > servers with probably more efficient drives, or just buy new drives > and stay at the current 400MHz speed? > > I kep track on the load on my main server, and it is rarely above > 0.20. If the load is a poor metric of power use, what is > better? (My new `Watt-o-Meter' is checking the power right now, > but I would like to know what drink the most juice: disk,RAM, > processor, OpSys? Number of hit/hours? I want my upgrades to > be as cost-effective as possible, in other words. > > thanks in advance, > > gary > > > Hi Gary Just back from hols so hope I'm not too late to add 2c. If you do go for new machines it's worth doing some research. I found there's no single component to go for when aiming for energy efficiency, you need to look at them all. I made energy efficiency and silence the top priorities when researching parts for my current desktop and the two pretty much go together. I ended up with Asus M2NPV-VM motherboard and AMD 35watt cpu and Seasonic high efficiency power supply. The CPU is even lower power than AMD's low power range (search for ADD3800CUBOX). It was cheap then but they are hard to find now. There seems to be a lot of variation in CPU power consumption in CPU's with the same performance, eg ADO3800CUBOX, virtually identical, is 65 watts. You can also reduce consumption by choosing an energy efficient model of power supply and by choosing lower output power. I calculated the power consumption for each component and found I could buy the smallest power supply in the Seasonic range and still have power to spare. Only one hard drive of course. I bought SATA but it turns out IDE uses less power. Also limiting the amount of memory and keeping the monitor brightness turned down keeps power consumption down. It's a while since I measured the power consumption of the finished machine but I seem to remember it uses about 35 watts at idle and about 95 watts while exercising everything to the max. The Dells at work use quite a lot more, in the region of 60 to 130 I think. It's a good idea to turn computers off at the wall when not using them not just shut them down. I was surprised to find mine uses about 25 watts when shut down. Again the Dells at work use even more. The corporate environment must waste so many megawatts... For servers my workplace is heading towards fewer physical machines and running virtual servers to implement their 'green ICT' policy. It's great to hear that someone else is thinking about the environmental effects. Chris From dorian.buettner at gmx.de Tue Aug 12 00:44:28 2008 From: dorian.buettner at gmx.de (Dorian =?iso-8859-1?q?B=FCttner?=) Date: Tue Aug 12 00:44:35 2008 Subject: [kde-freebsd] KDE4 libssl conflicts In-Reply-To: <200808120857.16732.shinjii@maydias.com> References: <200808120857.16732.shinjii@maydias.com> Message-ID: <200808120216.23689.dorian.buettner@gmx.de> On Tuesday 12 August 2008 00:57:16 Warren Liddell wrote: > How do i avoid//overturn this conflict ? > > > /usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libcurl.so, may > conflict with libssl.so.5 > /usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libcurl.so, > may conflict with libcrypto.so.5 > /usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libcurl.so, may > conflict with libz.so.4 > /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libxslt.so, may > conflict with libm.so.5 > /usr/bin/ld: warning: libcrypt.so.3, needed > by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.4 > ../librdf/.libs/librdf.so: undefined reference to `db_create' > ../librdf/.libs/librdf.so: undefined reference to `db_strerror' looks like it's already known: http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/062933bb91c04166?fwc=1 From nage.403 at gmail.com Tue Aug 12 00:51:29 2008 From: nage.403 at gmail.com (Bruno Schmitt) Date: Tue Aug 12 00:51:36 2008 Subject: FreeBSD, Ubuntu and Win XP on one system In-Reply-To: <200808112248.36999.jmc-freebsd@milibyte.co.uk> References: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com> <200808112248.36999.jmc-freebsd@milibyte.co.uk> Message-ID: <18da510b0808111751n5842bab0wd0d7b132d2fca05d@mail.gmail.com> Sorry for not making myself clear... When I said "Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box" I was referring to the GRUB installed by Ubuntu installation which won't come with FreeBSD partition configured. On Mon, Aug 11, 2008 at 6:48 PM, Mike Clarke wrote: > On Monday 11 August 2008, Bruno Schmitt wrote: > > > Ubuntu uses GRUB boot manager and as far as I remember it won't > > recognize FreeBSD partition out of the box, so you will have to add > > some lines to /boot/grub/menu.lst > > > > # For booting FreeBSD > > title FreeBSD 5.2 > > root (hd0,a) > > chainloader +1 > > > > where "(hd0,a)" reflects the position of the FreeBSD primary > > partition. > > Grub does recognise FreeBSD partitions so you can use either the > chainloader command or point grub directly to /boot/loader, though I > can't speak for the Ubuntu version. Here's the menu file for my box > with FreeBSD 6.3, FreeBSD 7.0 and Windoze: > > default 0 > timeout 3 > hiddenmenu > color white/blue yellow/blue > > title FreeBSD 6.3 > root (hd0,0,a) > kernel /boot/loader > > title FreeBSD 7.0 > root (hd0,1,a) > kernel /boot/loader > > title MS Windows > root (hd0,3) > makeactive > chainloader +1 > > title Floppy > root (fd0) > chainloader +1 > > > -- > Mike Clarke > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From kline at thought.org Tue Aug 12 01:07:49 2008 From: kline at thought.org (Gary Kline) Date: Tue Aug 12 01:07:59 2008 Subject: general questions about 7.0 and computer efficiency...... In-Reply-To: <48A0CF70.4060903@onetel.com> References: <20080805181926.GA24000@thought.org> <48A0CF70.4060903@onetel.com> Message-ID: <20080812010745.GA24824@thought.org> On Tue, Aug 12, 2008 at 12:46:56AM +0100, Chris Whitehouse wrote: > > Hi Gary > > Just back from hols so hope I'm not too late to add 2c. If you do go for > new machines it's worth doing some research. I found there's no single > component to go for when aiming for energy efficiency, you need to look > at them all. tHis was the point one person made, and of course it makes sense to weigh every variable. Including use patterns. E.G., I've cut my personal hacking way down, save for PHP, but still build most things during a portupgrade. > I made energy efficiency and silence the top priorities > when researching parts for my current desktop and the two pretty much go > together. I ended up with Asus M2NPV-VM motherboard and AMD 35watt cpu > and Seasonic high efficiency power supply. The CPU is even lower power > than AMD's low power range (search for ADD3800CUBOX). It was cheap then > but they are hard to find now. There seems to be a lot of variation in > CPU power consumption in CPU's with the same performance, eg > ADO3800CUBOX, virtually identical, is 65 watts. Do you build your hardware from the tower case up? ---Green is "in" these days; so maybe some of us, or each of us, can contribute to a best-of list for those who are going to find a local builder or roll their own. First time I'll be in an "in" group :-) > > You can also reduce consumption by choosing an energy efficient model of > power supply and by choosing lower output power. I calculated the power > consumption for each component and found I could buy the smallest power > supply in the Seasonic range and still have power to spare. Only one > hard drive of course. I bought SATA but it turns out IDE uses less > power. Also limiting the amount of memory and keeping the monitor > brightness turned down keeps power consumption down. Hmm, any idea if a large drive <= 200G is more/less watts than having, oh, 4Gigs of ram?? > > It's a while since I measured the power consumption of the finished > machine but I seem to remember it uses about 35 watts at idle and about > 95 watts while exercising everything to the max. The Dells at work use > quite a lot more, in the region of 60 to 130 I think. Not that bad if you've got only one box. My Ubuntu is a bear to reboot, sometimes, because the mouse goes nuts every other reboot. > > It's a good idea to turn computers off at the wall when not using them > not just shut them down. I was surprised to find mine uses about 25 > watts when shut down. Again the Dells at work use even more. The > corporate environment must waste so many megawatts... > > For servers my workplace is heading towards fewer physical machines and > running virtual servers to implement their 'green ICT' policy. > > It's great to hear that someone else is thinking about the environmental > effects. I've been thinking about my footprint ever since talking to a friend up in Ottawa who was looking into building a hay-bail home. This is [tiny] green [/tiny]. Hay-bail insulation is [HUGE] Green [/HUGE]. I told him I was going to buy some land north of Nome and plant palm trees! gary > > Chris > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From stapleton.41 at gmail.com Tue Aug 12 02:31:06 2008 From: stapleton.41 at gmail.com (Jim) Date: Tue Aug 12 02:31:13 2008 Subject: terminology question - upgrading one port with another Message-ID: <80f4f2b20808111931q7e6d4d7bx9ea90729d8f349d4@mail.gmail.com> I'm trying to update something (actually install KDE4), and In need to make an 'update chain', but I can't remember the proper term. Namely I have port found in 'foo/abc' (abc-12345) and want to replace it with 'var/xyz'. I know there are several ways to do this (one involving entries in a file in etc?), but I cannot come up with the proper terms to find what I'm looking for in a search? Can anyone tell me a few terms that might help with this one? I've tried compbinations of "port", "upgrade", "search" and "different", but that (unsurprisingly) isn't getting anywhere. Thanks, -Jim Stapleton From perryh at pluto.rain.com Tue Aug 12 03:13:33 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Aug 12 03:13:45 2008 Subject: FreeBSD, Ubuntu and Win XP on one system In-Reply-To: <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com> References: <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com> Message-ID: <48a0ffae.e47PTt34uohO+7R9%perryh@pluto.rain.com> > I recommend installing FreeBSD first, then Windows and then > Ubuntu ... Unless something has changed since the last time I was messing with this sort of thing, one hazard of installing a Linux last is that there may by then be no space left for the /boot partition, which has to be below cylinder 1024 to be accessible by BIOS. One might want to allocate what will become /boot as early in the process as possible. From perryh at pluto.rain.com Tue Aug 12 03:13:33 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Aug 12 03:13:47 2008 Subject: Xerox Phaser 6110 printer In-Reply-To: <48A0BBFF.9060503@oak-wood.co.uk> References: <200808111733.14834.jmc-freebsd@milibyte.co.uk> <48A0BBFF.9060503@oak-wood.co.uk> Message-ID: <48a0ffbe.2SfEWkLpqx+tfuCQ%perryh@pluto.rain.com> > > Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? > > I've never had any trouble with my 6120, but I guess the crucial > difference is the PostScript support in the 6120. The 6130 "just works" -- it internally supports lpr/lpd, not even needing CUPS -- but it, too, is PostScript. I'd be very cautious about any printer that doesn't support PostScript or at least PCL, even one from a first-rate supplier like Xerox. From ronw at bals.org Tue Aug 12 03:28:28 2008 From: ronw at bals.org (Ron Wilhoite) Date: Tue Aug 12 03:28:44 2008 Subject: terminology question - upgrading one port with another In-Reply-To: <80f4f2b20808111931q7e6d4d7bx9ea90729d8f349d4@mail.gmail.com> References: <80f4f2b20808111931q7e6d4d7bx9ea90729d8f349d4@mail.gmail.com> Message-ID: <48A0FD31.1060406@bals.org> On 08/11/2008 10:31 PM Jim wrote: > I'm trying to update something (actually install KDE4), and In need to > make an 'update chain', but I can't remember the proper term. Namely I > have port found in 'foo/abc' (abc-12345) and want to replace it with > 'var/xyz'. I know there are several ways to do this (one involving > entries in a file in etc?), but I cannot come up with the proper terms > to find what I'm looking for in a search? > > Can anyone tell me a few terms that might help with this one? I've > tried compbinations of "port", "upgrade", "search" and "different", > but that (unsurprisingly) isn't getting anywhere. > portupgrade --origin maybe? From man portupgrade: Replace ghostscript-gnu with ghostscript-afpl: portupgrade -o print/ghostscript-afpl ghostscript-gnu -o / --origin was originally the option to supply a missing origin of an outdated package before FreeBSD 4.2, but this example shows another useful usage. Use portupgrade like this, and all the depen- dencies on the old package (ghostscript-gnu) will be succeeded to the new one (ghostscript-afpl) cleanly, without leaving inconsistency. Ron Wilhoite From noc at hdk5.net Tue Aug 12 03:48:23 2008 From: noc at hdk5.net (Al Plant) Date: Tue Aug 12 03:48:29 2008 Subject: web log in FreeBSD box to /exchange Message-ID: <48A10806.6080804@hdk5.net> Aloha, One of my clients just switched from a RedHat server to an /exchange web mail on some kind of M$ server. I used to get emails by ssh into the Linux box on my FreeBSD terminal. I tried to get onto the URL they gave me for the webmail on line, but it wants me to load an unamed binary for some reason. I had web mail from another client 2 years ago that I just logged on to a url and up it came with a place to input your user name. It was squirell mail if I remember correctly. Any Ideas how to get on to this web mail site with out down loading some M$ file? Do we have a FreeBSD work around for this? Thanks.... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From odhiambo at gmail.com Tue Aug 12 05:29:57 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue Aug 12 05:30:12 2008 Subject: how to let MPD check the password against POP3, IMAP or WWW? In-Reply-To: <36770826-27C1-4806-8355-D07758613B39@assetburned.de> References: <36770826-27C1-4806-8355-D07758613B39@assetburned.de> Message-ID: <991123400808112229q184bca5ao8403a24ff8a56df@mail.gmail.com> On Sun, Aug 10, 2008 at 6:20 PM, assetburned wrote: > Hi > > I have a MPD VPN server and another machine which runs WWW, IMAP and POP3 > services. > > I know that I could check if a password is valid e.g. by writing a script > which calls a Lynx command. > > But how can I forward the password from MPD to that script? And I also think > that the password has to be unencrypted for the lynx command, so how can I > manage that? > > CU AssetBurned I run dovecot with MySQL database on one of my servers. Dovecot provides POP3/IMAP. I also have mpd5 on this box and I use credentials from the DB (which contains cleartext passwords) for mpd5 to authenticate, but I do it using a script which extracts the username and cleartext password and writes those to mpd.secret, and also sets the correct permissions on the file. It's a simplistic shell script, called from cron once a day. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From mapsware at prodigy.net.mx Tue Aug 12 06:46:36 2008 From: mapsware at prodigy.net.mx (Martin Alejandro Paredes Sanchez) Date: Tue Aug 12 06:46:43 2008 Subject: USB mouse problems. In-Reply-To: <489DB293.4070709@bah.homeip.net> References: <489DB293.4070709@bah.homeip.net> Message-ID: <200808112331.12511.mapsware@prodigy.net.mx> El S?b 09 Ago 2008, Bernt Hansson escribi?: > > ums0: on uhub1 > ums0: 8 buttons and Z dir > if you see those lines, means the kernel found your mouse, run the command ps axw|grep -i mouse to see if moused is running maps From lists at oak-wood.co.uk Tue Aug 12 07:59:41 2008 From: lists at oak-wood.co.uk (Chris Hastie) Date: Tue Aug 12 07:59:47 2008 Subject: mysql and BIND 9.4.2 In-Reply-To: References: <48A0B763.4020305@oak-wood.co.uk> Message-ID: <48A142E9.2090906@oak-wood.co.uk> On 11/08/08 23:23, Johnson, James wrote: > Thanks Chris, I'll look into this. Have you or anyone you know ever set > something like this before? What I'm trying to do is replace our name > servers, they will be Virtualized. > > > I have several nameservers running from a replicated MySQL database, on both Ubuntu and FreeBSD, and in the past on Debian. It's not really a FreeBSD issue this, so you might be better off with the bind-dlz-testers mailing list (http://bind-dlz.sourceforge.net/mailing_list.html). There's a good deal of information on configuring bind-dlz on the bind-dlz site, and a good deal of information on configuring replication in MySQL on the MySQL site. Here are a few pointers from my experience: Like any database project, spend some time thinking carefully about your database schema before you start. As I recall, the examples on the bind-dlz site place SOA records and other RRs in the same table. I prefer to separate these out, eg -- -- Table structure for table `dns_rr` -- CREATE TABLE `dns_rr` ( `rr_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `zone` varchar(255) NOT NULL DEFAULT '', `host` varchar(255) NOT NULL DEFAULT '@', `ttl` mediumint(8) unsigned NOT NULL DEFAULT '86400', `rr_type` enum('A','AAAA','MX','PTR','NS','TXT','CNAME','RP','SRV') NOT NULL DEFAULT 'A', `mx_priority` smallint(5) unsigned DEFAULT NULL, `rr_data` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`rr_id`), KEY `zone` (`zone`), KEY `zone_host` (`zone`(250),`host`(250)), KEY `rr_type` (`rr_type`), KEY `zone_host_type` (`zone`(245),`host`(245),`rr_type`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `dns_soa` -- CREATE TABLE `dns_soa` ( `zone` varchar(255) NOT NULL DEFAULT '', `ttl` mediumint(8) unsigned NOT NULL DEFAULT '86400', `primary_ns` varchar(255) NOT NULL DEFAULT 'ns0.example.com.', `resp_person` varchar(255) DEFAULT 'hostmaster', `serial` bigint(20) unsigned DEFAULT '1', `refresh` mediumint(8) unsigned DEFAULT '3600', `retry` mediumint(8) unsigned DEFAULT '600', `expire` int(10) unsigned DEFAULT '2419200', `minimum` mediumint(8) unsigned DEFAULT '1800', `owner` varchar(30) NOT NULL DEFAULT '', `active` enum('yes','no') NOT NULL DEFAULT 'no', PRIMARY KEY (`zone`), KEY `owner` (`owner`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; If you plan on running bind chroot bear in mind that if you connect to MySQL with a unix socket, you need the socket to be in the chroot. An alternative, with slightly more overhead, is to connect with TCP. But don't forget that if you specify the host as 'localhost' the mysql client will try to use unix sockets - you need to specify it as 127.0.0.1 to force TCP. Spend some time tuning MySQL. In particular, make sure the query cache is adequate. Query responses are quite small, so I've found reducing query_cache_min_res_unit to 1k useful. It may be worth considering running a separate instance of MySQL just for bind so that it can be tuned to that specific purpose and the query cache isn't filled with non bind related queries. Bear in mind that storing your zone data in MySQL is considerably slower than bind's default in memory system, so on a busy system you need to get every ounce of performance out of MySQL. Don't use a bind-dlz installation as a caching nameserver. Apart from the usual reasons to keep caching resolvers and authoritative name servers apart, firing recursive queries at bind massively increases the number of sql queries - bind-dlz will have to execute queries in order to work out that it is not authoritative for the requested domain. All these queries on random domains will fill MySQL's query cache with stuff that might not be asked again and you'll see a reduction in query cache hit rate. HTH -- Chris Hastie Find tree care advice at http://www.tree-care.info/ From shinjii at maydias.com Tue Aug 12 09:43:55 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Aug 12 09:44:22 2008 Subject: KDE4 libssl conflicts In-Reply-To: References: <200808120857.16732.shinjii@maydias.com> Message-ID: <200808121943.38120.shinjii@maydias.com> > You've got a mix of older and newer library versions, which makes me > think that you are trying to do a partial upgrade of your ports after > upgrading the FreeBSD base system to a newer version. You really need > to rebuild all ports when doing that, or else you'll run into issues. > > However, the specific problem you mention should have been resolved by > this change here: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126410 > > ...so please double-check that your ports tree has been updated to get > this fix. > > Regards, I did recently upgrade my base system from 6.3-STABLE to 7.0-STABLE, however, i just re-ran a csup and ran portupgrade an tried a re-build of KDE4 with the same error output. From jmc-freebsd at milibyte.co.uk Tue Aug 12 10:32:32 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Tue Aug 12 10:32:39 2008 Subject: Xerox Phaser 6110 printer In-Reply-To: <48a0ffbe.2SfEWkLpqx+tfuCQ%perryh@pluto.rain.com> References: <200808111733.14834.jmc-freebsd@milibyte.co.uk> <48A0BBFF.9060503@oak-wood.co.uk> <48a0ffbe.2SfEWkLpqx+tfuCQ%perryh@pluto.rain.com> Message-ID: <200808121132.30219.jmc-freebsd@milibyte.co.uk> On Tuesday 12 August 2008, perryh@pluto.rain.com wrote: > > > Does anybody have a Xerox Phaser 6110 printer working with > > > FreeBSD? > > > > I've never had any trouble with my 6120, but I guess the crucial > > difference is the PostScript support in the 6120. > > The 6130 "just works" -- it internally supports lpr/lpd, not even > needing CUPS -- but it, too, is PostScript. I'd be very cautious > about any printer that doesn't support PostScript or at least PCL, > even one from a first-rate supplier like Xerox. That's the problem, the 6120 and 6130 both talk Postscript and PCL but the 6110 only uses Samsung Printer Language. The splix port lists 13 Xerox printers of which only the 3117 and 6100 are known to work, the rest are "Untested". -- Mike Clarke From marshc187 at gmail.com Tue Aug 12 12:44:42 2008 From: marshc187 at gmail.com (mc) Date: Tue Aug 12 12:44:50 2008 Subject: question -updating package + ignore depend Message-ID: <200808121444.32191.marshc187@gmail.com> hi, can anyone briefly explain what is the general procedure here? i am trying to update a few packages which inevitably provoke a firefox2 install, which i don't want (have ff3). checked google and porter's handbook, then tried marking ff2 as IGNORE -- which i didn't really understand how but added IGNORE= reason etc etc to the makefile at the very top after the comments. seems like it worked, but what i want to update fails because of that. i am installing portupgrade now to try with k or K (whichever means comtinue anyway) but is this a good idea or an easier way? also, i am not sure if questions like this go here or still go in ports mailing list ? thanks in advance From glarkin at FreeBSD.org Tue Aug 12 13:07:25 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Aug 12 13:07:31 2008 Subject: question -updating package + ignore depend In-Reply-To: <200808121444.32191.marshc187@gmail.com> References: <200808121444.32191.marshc187@gmail.com> Message-ID: <48A18B09.8050000@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mc wrote: | hi, | | can anyone briefly explain what is the general procedure here? | | i am trying to update a few packages which inevitably provoke a firefox2 | install, which i don't want (have ff3). | | checked google and porter's handbook, then tried marking ff2 as IGNORE -- | which i didn't really understand how but added IGNORE= reason etc etc to the | makefile at the very top after the comments. seems like it worked, but what i | want to update fails because of that. | | i am installing portupgrade now to try with k or K (whichever means comtinue | anyway) but is this a good idea or an easier way? | | also, i am not sure if questions like this go here or still go in ports | mailing list ? | | thanks in advance Hi mc, Which ports are you trying to update? It may be that they need their dependencies (BUILD_DEPENDS, RUN_DEPENDS, etc.) changed to reflect the new version of Firefox. Of course, that assumes that FF3 provides the same requirements that FF2 did for each specific port. Please post the port names back here, and I'll take a look at the various Makefiles. Best regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoYsJ0sRouByUApARAjlJAJ9rt9DrGWZQxI/BjEMlUhj+Bl1nKQCff5O4 B9ZRfJ/r/Efg/xgcrP/CfCU= =fFq9 -----END PGP SIGNATURE----- From davidn04 at gmail.com Tue Aug 12 13:10:45 2008 From: davidn04 at gmail.com (David N) Date: Tue Aug 12 13:11:01 2008 Subject: fsync: giving up on dirty - gjournal on 7.0-R Message-ID: <4d7dd86f0808120610s11fe4206xa2ad38b252a05db8@mail.gmail.com> Hi, On my FreeBSD 7.0-RELEASE amd64 i get the following in my logs when I was upgrading my ports via portmaster. fsync: giving up on dirty 0xffffff00014745d0: tag devfs, type VCHR usecount 1, writecount 0, refcount 173 mountedhere 0xffffff00013b2800 flags () v_object 0xffffff000143f1a0 ref 0 pages 2057 lock type devfs: EXCL (count 1) by thread 0xffffff0001302340 (pid 39) dev mirror/gm0s3.journal GEOM_JOURNAL: Cannot suspend file system /usr (error=35). gm0s3.journal has a 2GB journal. Journal and data is on the same disk (mirror) Is this something to worry about? Smart for the disks aren't reporting any errors. this is with short tests and extended tests. Regards David N From fullblaststorm at gmail.com Tue Aug 12 13:22:24 2008 From: fullblaststorm at gmail.com (FuLLBLaSTstorm) Date: Tue Aug 12 13:22:31 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE Message-ID: <6c51dbb10808120556u20d20587occc990dc836e0f67@mail.gmail.com> Just in case anybody knows: will be KDE-4.1 included in 7.1-RELEASE? From jalmberg at identry.com Tue Aug 12 13:25:17 2008 From: jalmberg at identry.com (John Almberg) Date: Tue Aug 12 13:25:24 2008 Subject: Monitoring raid health with mpt In-Reply-To: <48A0B46E.6000504@oak-wood.co.uk> References: <48A0B46E.6000504@oak-wood.co.uk> Message-ID: <987DAB0B-DD6D-4054-AC55-35BC0B4AE1F9@identry.com> On Aug 11, 2008, at 5:51 PM, Chris Hastie wrote: > I have a Dell PowerEdge 860 with SAS 5iR RAID controller and FreeBSD > 6.2. The controller is configured for RAID 1. The controller is > recognised as mpt0 and seen as a SCSI device da0. All seems to be > working fine, but is there any way to tell if one of the disks fails? I was thinking about this same question over the weekend. I have no idea what the answer is, but am hoping someone has one. I'm pretty sure an answer exists... I have an Intel motherboard with a hardware raid controller. I'm sure the controller knows if a drive fails, and maybe even logs the event somewhere... I'm just not sure where. I'm going to try digging in the docs for my raid controller... -- John From sonic2000gr at gmail.com Tue Aug 12 13:46:10 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Aug 12 13:46:17 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE In-Reply-To: <6c51dbb10808120556u20d20587occc990dc836e0f67@mail.gmail.com> References: <6c51dbb10808120556u20d20587occc990dc836e0f67@mail.gmail.com> Message-ID: <48A1941C.2040301@gmail.com> FuLLBLaSTstorm wrote: > Just in case anybody knows: will be KDE-4.1 included in 7.1-RELEASE? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > You mean as in "precompiled package on CD"? I can't answer that, but KDE 4.1 is already in ports and you can install it *now* In fact, I am using it this exact moment ;) From bseklecki at collaborativefusion.com Tue Aug 12 13:51:13 2008 From: bseklecki at collaborativefusion.com (Brian A. Seklecki) Date: Tue Aug 12 13:51:25 2008 Subject: Monitoring raid health with mpt In-Reply-To: <987DAB0B-DD6D-4054-AC55-35BC0B4AE1F9@identry.com> References: <48A0B46E.6000504@oak-wood.co.uk> <987DAB0B-DD6D-4054-AC55-35BC0B4AE1F9@identry.com> Message-ID: <1218548459.19384.55.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Tue, 2008-08-12 at 09:25 -0400, John Almberg wrote: > On Aug 11, 2008, at 5:51 PM, Chris Hastie wrote: > > > I have a Dell PowerEdge 860 with SAS 5iR RAID controller and FreeBSD > > 6.2. The controller is configured for RAID 1. The controller is See if Dell has populated IPMI SDR data structures with RAID yet. Dell and LSI/Qlogic really play well together. No really. They do. ~BAS > > recognised as mpt0 and seen as a SCSI device da0. All seems to be > > working fine, but is there any way to tell if one of the disks fails? > > I was thinking about this same question over the weekend. I have no > idea what the answer is, but am hoping someone has one. > From dfeustel at mindspring.com Tue Aug 12 13:58:16 2008 From: dfeustel at mindspring.com (Dave Feustel) Date: Tue Aug 12 13:58:23 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE In-Reply-To: <48A1941C.2040301@gmail.com> Message-ID: <20080812135816.8F67D8FC1A@mx1.freebsd.org> On Tue, Aug 12, 2008 at 04:46:04PM +0300, Manolis Kiagias wrote: > FuLLBLaSTstorm wrote: >> Just in case anybody knows: will be KDE-4.1 included in 7.1-RELEASE? >> _______________________________________________ >> > You mean as in "precompiled package on CD"? > > I can't answer that, but KDE 4.1 is already in ports and you can install > it *now* > In fact, I am using it this exact moment ;) > _______________________________________________ What is the procedure for updating from kde 4.0.5 to 4.1? I've tried yum update but yum reports there are no updates to apply. Thanks. From sonic2000gr at gmail.com Tue Aug 12 14:11:12 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Aug 12 14:11:20 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE In-Reply-To: <20080812135816.8F67D8FC1A@mx1.freebsd.org> References: <20080812135816.8F67D8FC1A@mx1.freebsd.org> Message-ID: <48A199FB.9030205@gmail.com> Dave Feustel wrote: > On Tue, Aug 12, 2008 at 04:46:04PM +0300, Manolis Kiagias wrote: > >> FuLLBLaSTstorm wrote: >> >>> Just in case anybody knows: will be KDE-4.1 included in 7.1-RELEASE? >>> _______________________________________________ >>> >>> >> You mean as in "precompiled package on CD"? >> >> I can't answer that, but KDE 4.1 is already in ports and you can install >> it *now* >> In fact, I am using it this exact moment ;) >> _______________________________________________ >> > > What is the procedure for updating from kde 4.0.5 to 4.1? > I've tried yum update but yum reports there are no updates to apply. > > Thanks. > > Well, yum is a Fedora method, it seems you mixed up the mailing lists :) For FreeBSD, look at the following post: http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050109.html From vince at unsane.co.uk Tue Aug 12 14:17:07 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Aug 12 14:17:15 2008 Subject: fsync: giving up on dirty - gjournal on 7.0-R In-Reply-To: <4d7dd86f0808120610s11fe4206xa2ad38b252a05db8@mail.gmail.com> References: <4d7dd86f0808120610s11fe4206xa2ad38b252a05db8@mail.gmail.com> Message-ID: <48A19B5D.4010707@unsane.co.uk> My understanding is that its nothing to worry about. http://freebsd.monkey.org/freebsd-stable/200609/msg00020.html for example, where pjd@freebsd.org who wrote gjounal says "It happens sometimes under load, haven't investigated yet what exactly is happening, but you can ignore it for now, it's harmless, it just means journal switch will be done a bit later." Vince David N wrote: > Hi, > > On my FreeBSD 7.0-RELEASE amd64 i get the following in my logs when I > was upgrading my ports via portmaster. > > fsync: giving up on dirty > 0xffffff00014745d0: tag devfs, type VCHR > usecount 1, writecount 0, refcount 173 mountedhere 0xffffff00013b2800 > flags () > v_object 0xffffff000143f1a0 ref 0 pages 2057 > lock type devfs: EXCL (count 1) by thread 0xffffff0001302340 (pid 39) > dev mirror/gm0s3.journal > GEOM_JOURNAL: Cannot suspend file system /usr (error=35). > > gm0s3.journal has a 2GB journal. Journal and data is on the same disk (mirror) > > Is this something to worry about? > > Smart for the disks aren't reporting any errors. this is with short > tests and extended tests. > > > Regards > David N > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From kris at FreeBSD.org Tue Aug 12 14:26:49 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Aug 12 14:26:58 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE In-Reply-To: <20080812135816.8F67D8FC1A@mx1.freebsd.org> References: <20080812135816.8F67D8FC1A@mx1.freebsd.org> Message-ID: <48A19DA3.704@FreeBSD.org> Dave Feustel wrote: > On Tue, Aug 12, 2008 at 04:46:04PM +0300, Manolis Kiagias wrote: >> FuLLBLaSTstorm wrote: >>> Just in case anybody knows: will be KDE-4.1 included in 7.1-RELEASE? >>> _______________________________________________ >>> >> You mean as in "precompiled package on CD"? >> >> I can't answer that, but KDE 4.1 is already in ports and you can install >> it *now* >> In fact, I am using it this exact moment ;) >> _______________________________________________ > > What is the procedure for updating from kde 4.0.5 to 4.1? > I've tried yum update but yum reports there are no updates to apply. I think you are confused ;) FreeBSD does not use yum. Kris From sfourman at gmail.com Tue Aug 12 14:28:56 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Tue Aug 12 14:29:02 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE In-Reply-To: <20080812135816.8F67D8FC1A@mx1.freebsd.org> References: <48A1941C.2040301@gmail.com> <20080812135816.8F67D8FC1A@mx1.freebsd.org> Message-ID: <11167f520808120728q4327b646qcf4c06701fc85845@mail.gmail.com> > What is the procedure for updating from kde 4.0.5 to 4.1? > I've tried yum update but yum reports there are no updates to apply. > FreeBSD does not use Yum, it uses a ports tree, the closest thing that Linux has is Gentoo portage Sam Fourman Jr. From davidn04 at gmail.com Tue Aug 12 14:39:22 2008 From: davidn04 at gmail.com (David N) Date: Tue Aug 12 14:39:30 2008 Subject: fsync: giving up on dirty - gjournal on 7.0-R In-Reply-To: <48A19B5D.4010707@unsane.co.uk> References: <4d7dd86f0808120610s11fe4206xa2ad38b252a05db8@mail.gmail.com> <48A19B5D.4010707@unsane.co.uk> Message-ID: <4d7dd86f0808120739j7d2c8962j51ca31b7170a6ade@mail.gmail.com> 2008/8/13 Vincent Hoffman : > My understanding is that its nothing to worry about. > > http://freebsd.monkey.org/freebsd-stable/200609/msg00020.html > for example, where pjd@freebsd.org who wrote gjounal says > "It happens sometimes under load, haven't investigated yet what exactly > is happening, but you can ignore it for now, it's harmless, it just > means journal switch will be done a bit later." > > Vince > > David N wrote: >> >> Hi, >> >> On my FreeBSD 7.0-RELEASE amd64 i get the following in my logs when I >> was upgrading my ports via portmaster. >> >> fsync: giving up on dirty >> 0xffffff00014745d0: tag devfs, type VCHR >> usecount 1, writecount 0, refcount 173 mountedhere 0xffffff00013b2800 >> flags () >> v_object 0xffffff000143f1a0 ref 0 pages 2057 >> lock type devfs: EXCL (count 1) by thread 0xffffff0001302340 (pid 39) >> dev mirror/gm0s3.journal >> GEOM_JOURNAL: Cannot suspend file system /usr (error=35). >> >> gm0s3.journal has a 2GB journal. Journal and data is on the same disk >> (mirror) >> >> Is this something to worry about? >> >> Smart for the disks aren't reporting any errors. this is with short >> tests and extended tests. >> >> >> Regards >> David N >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > Thank you for the info, that puts my mind to rest. Regards David N From dfeustel at mindspring.com Tue Aug 12 14:40:08 2008 From: dfeustel at mindspring.com (Dave Feustel) Date: Tue Aug 12 14:40:15 2008 Subject: KDE-4.1 in FreeBSD 7.1-RELEASE In-Reply-To: <48A199FB.9030205@gmail.com> Message-ID: <20080812144008.53C658FC2C@mx1.freebsd.org> On Tue, Aug 12, 2008 at 05:11:07PM +0300, Manolis Kiagias wrote: > Dave Feustel wrote: >> On Tue, Aug 12, 2008 at 04:46:04PM +0300, Manolis Kiagias wrote: >> >>> FuLLBLaSTstorm wrote: >>> >>>> Just in case anybody knows: will be KDE-4.1 included in 7.1-RELEASE? >>>> _______________________________________________ >>>> >>> You mean as in "precompiled package on CD"? >>> >>> I can't answer that, but KDE 4.1 is already in ports and you can >>> install it *now* >>> In fact, I am using it this exact moment ;) >>> _______________________________________________ >>> >> >> What is the procedure for updating from kde 4.0.5 to 4.1? >> I've tried yum update but yum reports there are no updates to apply. >> >> Thanks. >> >> > > Well, yum is a Fedora method, it seems you mixed up the mailing lists :) Yes, I did. I'm running both FreeBSD 7.0 and also Fedora 9 on AMD computers. I am having problems with my vision (diabetes) and I didn't realize I was posting a Fedora question to the FreeBSD list. Thanks for the correction. > For FreeBSD, look at the following post: > > http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050109.html > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jordi at cdmon.com Tue Aug 12 15:02:52 2008 From: jordi at cdmon.com (Jordi Moles Blanco) Date: Tue Aug 12 15:03:00 2008 Subject: error allocating memory with realloc(). how can i increase max_allowed in the system? Message-ID: <48A1A613.5020407@cdmon.com> Hi, i'm running a FreeBSD 7.0 amd64 machine and struggling with some C code i'm writing. I've had some trouble with this home-made script as it keeps crashing while launching a "realloc()" call. I narrowed down the problem and here i'm sending you a short example of code that crashes: ************* #include #include int main() { int midataula; midataula = 3000; char *missatge = (char *)malloc(midataula * sizeof(char)); missatge[0]='h'; missatge[1]='o'; missatge[2]='l'; missatge[3]='a'; printf("\n\ntaula1: %s",missatge); int voltes; voltes = 0; while(voltes<4) { midataula = midataula+500; realloc(missatge, midataula * sizeof(char)); voltes++; } printf("\n\ntaula2: %s",missatge); } ************* this is a full "working" you can compile on your machine. Like this... i get "Segmentation fault (core dumped)" but if instead of "while(voltes<4)" i use "while(voltes<3)" the script works fine with this output: ********** taula1: hola taula2: hola ********** so... i guess there must be a limit in the system somewhere. I've tried to reset all variables that i've seen in the "sysctl -a" list refering to malloc, memory, mem, and so on... but so far i haven't fixed the problem. i'm running this script as root and in the /etc/login.conf file there's only the "default" group with the "unlimited" values. A part from that, if i perform a "limit" call, i get this: ************* # limit cputime unlimited filesize unlimited datasize 33554432 kbytes stacksize 524288 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 45000 memorylocked unlimited maxproc 22500 sbsize unlimited ************* i've tried to resize datasize and stacksize, but the system won't let me do so. any idea how to solve this? thanks. From jerrymc at msu.edu Tue Aug 12 15:11:04 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Aug 12 15:11:11 2008 Subject: installing in a ext3 partition? In-Reply-To: References: Message-ID: <20080812150635.GA84454@gizmo.acns.msu.edu> On Mon, Aug 11, 2008 at 06:16:15PM -0500, Ismael .... wrote: > > Is it possible to install in an existing ext3 partition? Why would you want to do that? It doesn't make sense. FreeBSD is its own operating system - completely separate from Linux. It should run in its own slice (Primary Partition in MS terms). You may be able to cobble up some tricks to do otherwise, but don't. > > Can freebsd make use of a linux-swap as swap space? I don't think so. ////jerry > > how? > _________________________________________________________________ From andy at athame.co.uk Tue Aug 12 15:59:15 2008 From: andy at athame.co.uk (Andy Fawcett) Date: Tue Aug 12 15:59:23 2008 Subject: [kde-freebsd] KDE4 libssl conflicts In-Reply-To: <200808121943.38120.shinjii@maydias.com> References: <200808120857.16732.shinjii@maydias.com> <200808121943.38120.shinjii@maydias.com> Message-ID: <200808121823.52691.andy@athame.co.uk> On Tuesday 12 August 2008 12:43:37 Warren Liddell wrote: > > You've got a mix of older and newer library versions, which makes > > me think that you are trying to do a partial upgrade of your ports > > after upgrading the FreeBSD base system to a newer version. You > > really need to rebuild all ports when doing that, or else you'll > > run into issues. > > > > However, the specific problem you mention should have been resolved > > by this change here: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126410 > > > > ...so please double-check that your ports tree has been updated to > > get this fix. > > > > Regards, > > I did recently upgrade my base system from 6.3-STABLE to 7.0-STABLE, > however, i just re-ran a csup and ran portupgrade an tried a re-build > of KDE4 with the same error output. You need to clean out the 6.3 versions of various libs/binaries. See the delete-old and delete-old-libs targets on /usr/src/Makefile -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org From keramida at ceid.upatras.gr Tue Aug 12 16:09:18 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Aug 12 16:09:26 2008 Subject: error allocating memory with realloc(). how can i increase max_allowed in the system? In-Reply-To: <48A1A613.5020407@cdmon.com> (Jordi Moles Blanco's message of "Tue, 12 Aug 2008 17:02:43 +0200") References: <48A1A613.5020407@cdmon.com> Message-ID: <87fxpab4gy.fsf@kobe.laptop> On Tue, 12 Aug 2008 17:02:43 +0200, Jordi Moles Blanco wrote: > Hi, > > i'm running a FreeBSD 7.0 amd64 machine and struggling with some C > code i'm writing. > > I've had some trouble with this home-made script as it keeps crashing > while launching a "realloc()" call. > > I narrowed down the problem and here i'm sending you a short example of > code that crashes: > > ************* > #include > #include > > int main() > { > > int midataula; > > midataula = 3000; > > char *missatge = (char *)malloc(midataula * sizeof(char)); > > missatge[0]='h'; > missatge[1]='o'; > missatge[2]='l'; > missatge[3]='a'; > > printf("\n\ntaula1: %s",missatge); > > int voltes; > voltes = 0; > > while(voltes<4) > { > midataula = midataula+500; > realloc(missatge, midataula * sizeof(char)); > voltes++; > } There's your problem. realloc() works fine, but it *returns* the new pointer; it does _not_ modify missatge "in place". The program should work fine if you use size_t for midataula (it is the 'size' of an array, which may not necessarily fit in an 'int'), and if you use realloc() correctly, as in: #include #include size_t midataula; char *missatge; /* * DON'T cast the result of malloc(). It may 'hide' the bug of * a missing include, and cause troubles when * malloc() is implicitly defined by the compiler as: * * int malloc(...); * * On a 64-bit machine converting a 64-bit pointer to `int' will * lose the high-order 32 bits of the address, and you will try * to access unexpected memory areas. */ midataula = 3000; missatge = malloc(midataula * sizeof(*missatge)); if (missatge == NULL) err(1, "malloc"); Then when you use realloc() keep both midataula and missatge in temporary copies until you are sure that realloc() worked: while (voltes < 4) { char *tmp; size_t newsize; newsize = midataula + 500; tmp = realloc(missatge, newsize * sizeof(*missatge)); if (tmp == NULL) err(1, "realloc"); /* * Now that you know the resize has succeeded, update * midataula and missatge. realloc() is allowed to * relocate missatge. See the following note in its * manpage: * * Note that realloc() and reallocf() may move the * memory allocation, resulting in a different return * value than ptr. */ midataula = newsize; missatge = tmp; } Right now you are calling realloc() as: realloc(missatge, newsize * sizeof(*missatge)); and throwing away the resulting pointer. The first time that realloc() discovers that the `resized' vector cannot fit in its original location, it relocates the array, and returns the new location. You throw away that location and your next iteration through the loop tries to access an invalid (already freed) memory region. That's what causes your segmentation fault. From jordi at cdmon.com Tue Aug 12 16:22:30 2008 From: jordi at cdmon.com (Jordi Moles Blanco) Date: Tue Aug 12 16:22:38 2008 Subject: error allocating memory with realloc(). how can i increase max_allowed in the system? [solved] In-Reply-To: <87fxpab4gy.fsf@kobe.laptop> References: <48A1A613.5020407@cdmon.com> <87fxpab4gy.fsf@kobe.laptop> Message-ID: <48A1B8BD.3080306@cdmon.com> Hello, thank you very much for your time and help, i had completely misunderstood how realloc() works. i though i was able to write some C code but now i feel a complete newbie, hehehe. anyway... that made everything clear to me and now my script is working like a charm. thanks for everything En/na Giorgos Keramidas ha escrit: > On Tue, 12 Aug 2008 17:02:43 +0200, Jordi Moles Blanco wrote: > >> Hi, >> >> i'm running a FreeBSD 7.0 amd64 machine and struggling with some C >> code i'm writing. >> >> I've had some trouble with this home-made script as it keeps crashin