Re : Replacing Home Router With PC
You can use pfSense : pfSense is a free, open source customized distribution of FreeBSD tailored for use as a firewall and router. http://www.pfsense.org/ pfSense is very simple and intuitive to use with is GUI in PHP. --- En date de : Jeu 11.3.10, mailinglist a écrit : > De: mailinglist > Objet: Replacing Home Router With PC > À: "freebsd-questions@freebsd.org" > Date: Jeudi 11 mars 2010, 1h36 > I've got an old Linksys router > hanging off of my cable modem that is several years old and > is about to die (very poor wireless throughput should be 54 > mb and is 2, runs hot, and "buzzes" while turned on). > I've got an older PC that would great as a routerhowever > I also need it to be a wireless access point for my > house. It has a PCI wireless network card (A 54G > Belkin, not sure of the exact model). I know FreeBSD > is technically capable for acting as my DHCP, DNS, router, > gateway box if properly configured. The question is, > can it use that wireless card to act as a access point > instead of a client (how the card is intended to be used)? > > Also, any links anyone can provide on how to setup a > FreeBSD box to act as home router/gateway would be much > appreciated! > > ___ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Silicon Image SiI 3124 and 3132 RAID controllers
On 2010-03-10 23:12, Steve Polyack wrote: On 03/10/10 15:56, Leslie Jensen wrote: I'm trying to install FreeBSD 8-RELEASE on a machine with an Abit aw8-max MB. This MB has a built in SiI 3132 RAID controller. I also have an addon card with a SiI 3124 RAID controller. The problem is that I can see the 2 disks and the RAID1 set that I want to use for the system if I connect the disks to the built in 3132 controller. But if I connect the disks to the 3124 controller and create a RAID1 set, only the disks can be seen. I need to be able to use both controllers because I've got four disks that I want to build a RAID5 set on one of the controllers. Can anyone shed some light on this. Via Google I've read some articles about these controllers and I'm aware that I might have to rethink because of lacking support for the 3124 controller. I've read in the ata man page that parameters can be added to /boot/device.hints but I'm not sure how to handle this during installation. /Leslie Are you using the default ata(4) driver that FreeBSD-8 boots with, or are you loading the siis(4) module at boot? If you are using the ata(4) driver, you should try enabling the siis(4) driver by placing 'siis_load="YES"' in /boot/loader.conf. Beware that the names of your disks will transition from ad -> ada and will likely be renumbered as well. The siis(4) driver overall has a much richer feature set. I have several 3124 controllers which work great with it, but I have never tried using the controllers RAID - I simply use them as disk controllers and then pool the disks using ZFS. I installed with the 2 disks connected to the controller that was found by Freebsd. Then I added siis_load="YES" to /boot/loader.conf. Power down the machine and connected 4 drives to the 3124 controller. Upon restart I created a RAID5 set with the 4 drives in the controllers bios. Booted into FreeBSD but the RAID5 was not detected only the individual disks. This controller obviously does not work as expected. I need a suggestion on a not to expensive RAID controller that is supported by FreeBSD so that I can get the RAID5 set to work. Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?
> What is the content of the header file? File GarbageObj.h: #import @interface GarbageObj : NSObject { } -(void) foo; @end File GarbageObj.m: #import "GarbageObj.h" @implementation GarbageObj -(void) foo { } -(void) dealloc { //printf("dealloc\n"); [super dealloc]; } @end File GarbageMain.m: #import "GarbageObj.h" int main(int argc, const char *argv[]) { int inx = 0; while (YES) { inx++; GarbageObj *obj = [[GarbageObj alloc] init]; [obj foo]; if (inx == 100) { inx = 0; sleep(1); } //printf("before release\n"); //[obj release]; //printf("after release\n"); } return 0; } File GNUmakefile: include $(GNUSTEP_MAKEFILES)/common.make APP_NAME = garbagecollection garbagecollection_HEADERS = GarbageObj.h garbagecollection_OBJC_FILES = GarbageObj.m GarbageMain.m garbagecollection_RESOURCE_FILES = ADDITIONAL_OBJCFLAGS = -fobjc-gc include $(GNUSTEP_MAKEFILES)/application.make (I was building it as a "tool" before but now I tried "app" instead. Same thing really.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Replacing Home Router With PC
> I've got an old Linksys router hanging off of my cable modem that is several > years old and is about to die (very poor wireless throughput should be 54 mb > and is 2, runs hot, and "buzzes" while turned on). I've got an older PC that > would great as a routerhowever I also need it to be a wireless access > point for my house. It has a PCI wireless network card (A 54G Belkin, not > sure of the exact model). I know FreeBSD is technically capable for acting > as my DHCP, DNS, router, gateway box if properly configured. The question > is, can it use that wireless card to act as a access point instead of a > client (how the card is intended to be used)? > > Also, any links anyone can provide on how to setup a FreeBSD box to act as > home router/gateway would be much appreciated! I too am using an old PC as my home router. I have an ath-based ("ath" is the driver) wireless card which is acting as a host access point. Then I have about 4 ethernet ports, but I'm only using 2. One of those is a gigabit card, and most of my home computer collection is on a gigabit LAN. Just look in the Handbook I guess. Once you have it all set up it's very rewarding. I'll never go back to having a purpose-built router device for my home. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Moving master.passwd file between servers... is this correct?
In the last episode (Mar 10), Modulok said: > I need to migrate a passwd file from an old 6.2 server to a newer 8.0 > server (different box). This is what I did: > > copied the '/etc/master.passwd' from old server to '/etc/master.passwd' > on new server then ran: > > pwd_mkdb /etc/master.passwd && pwd_mkdb -p /etc/master.passwd > > It seems to work, but is this correct? I'd hate to miss somethign before > it goes online. Yep, that should work. Don't forget to update /etc/groups too. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 08:58:12PM -0600, Adam Vande More wrote: > On Wed, Mar 10, 2010 at 8:47 PM, Anton Shterenlikht > wrote: > > > # uname -a > > FreeBSD mech-anton240.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #2: > > Tue Mar 9 14:35:40 GMT 2010 > > me...@mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF > > sparc64 > > > > > > > I believe -current has a issue where you can not ping localhost atm > > > > > > > all my machines are current, but some are more current than others.. > > > > Well, the ping issue is just an example. > > My real problem is that sendmail can't send > > anything locally: > > > > # tail /var/log/maillog > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: > > to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, > > mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: > > [127.0.0.1]: No route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0hbGe029358: > > to=mexas, ctladdr=mexas (1001/1001), delay=01:33:21, xdelay=00:00:00, > > mailer=relay, pri=570028, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: > > [127.0.0.1]: No route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4K005078: to=root, > > delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3721559, > > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4L005078: to=root, > > delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3725184, > > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4L004977: to=root, > > delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903061, > > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4K004977: to=root, > > delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903122, > > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3bvPl004242: to=root, > > ctladdr=root (0/0), delay=22:39:01, xdelay=00:00:00, mailer=relay, > > pri=4530195, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > > route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3c9wG004609: to=root, > > ctladdr=root (0/0), delay=22:38:49, xdelay=00:00:00, mailer=relay, > > pri=4533820, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > > route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A340iF002543: to=root, > > ctladdr=root (0/0), delay=23:12:58, xdelay=00:00:00, mailer=relay, > > pri=4711758, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > > route to host > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A33vXB002495: to=root, > > ctladdr=root (0/0), delay=23:13:01, xdelay=00:00:00, mailer=relay, > > pri=4801697, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > > route to host > > # > > > > > > many thanks > > anton > > > > -- > > Anton Shterenlikht > > > > If you run CURRENT, you would do well to follow the mailing list. > > http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/2ab13c4b31228c88/15dab18a9066e9a2?lnk=raot yes, I've seen this. It's just that usually when I get problems I suspect my incompetence, so this thread didn't come to mind. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 10:00:01PM -0500, Jon Radel wrote: > > > Well, the ping issue is just an example. > > My real problem is that sendmail can't send > > anything locally: > > > > # tail /var/log/maillog > > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: > > to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, > > mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: > > [127.0.0.1]: No route to host > > Well, have you considered looking to see if it's right? What do you get > in response to: > > $ netstat -rn | grep 127 > 127.0.0.1 127.0.0.1 UH 064746lo0 > $ > > Showing what I get on a 7.0 server. > > Unless they've moved things around since 7.0, you probably want to make > sure that you've not messed with the ifconfig_lo0 line in > /etc/defaults/rc.conf. > > My apologies if that config stuff has changed in the latest; I don't > have access to the latest right now. # netstat -rn|grep 127 127.0.0.1 link#2 UH 00lo0 thank you anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
Well, the ping issue is just an example. My real problem is that sendmail can't send anything locally: # tail /var/log/maillog Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Well, have you considered looking to see if it's right? What do you get in response to: $ netstat -rn | grep 127 127.0.0.1 127.0.0.1 UH 064746lo0 $ Showing what I get on a 7.0 server. Unless they've moved things around since 7.0, you probably want to make sure that you've not messed with the ifconfig_lo0 line in /etc/defaults/rc.conf. My apologies if that config stuff has changed in the latest; I don't have access to the latest right now. -- --Jon Radel j...@radel.com
Re: can't ping localhost
On Wed, Mar 10, 2010 at 8:47 PM, Anton Shterenlikht wrote: > # uname -a > FreeBSD mech-anton240.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #2: > Tue Mar 9 14:35:40 GMT 2010 > me...@mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF > sparc64 > > > > I believe -current has a issue where you can not ping localhost atm > > > > all my machines are current, but some are more current than others.. > > Well, the ping issue is just an example. > My real problem is that sendmail can't send > anything locally: > > # tail /var/log/maillog > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: > to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, > mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: > [127.0.0.1]: No route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0hbGe029358: > to=mexas, ctladdr=mexas (1001/1001), delay=01:33:21, xdelay=00:00:00, > mailer=relay, pri=570028, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: > [127.0.0.1]: No route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4K005078: to=root, > delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3721559, > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4L005078: to=root, > delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3725184, > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4L004977: to=root, > delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903061, > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4K004977: to=root, > delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903122, > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3bvPl004242: to=root, > ctladdr=root (0/0), delay=22:39:01, xdelay=00:00:00, mailer=relay, > pri=4530195, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3c9wG004609: to=root, > ctladdr=root (0/0), delay=22:38:49, xdelay=00:00:00, mailer=relay, > pri=4533820, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A340iF002543: to=root, > ctladdr=root (0/0), delay=23:12:58, xdelay=00:00:00, mailer=relay, > pri=4711758, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > route to host > Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A33vXB002495: to=root, > ctladdr=root (0/0), delay=23:13:01, xdelay=00:00:00, mailer=relay, > pri=4801697, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No > route to host > # > > > many thanks > anton > > -- > Anton Shterenlikht > If you run CURRENT, you would do well to follow the mailing list. http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/2ab13c4b31228c88/15dab18a9066e9a2?lnk=raot -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 6:34 PM, Sam Fourman Jr. wrote: > On Wed, Mar 10, 2010 at 8:23 PM, Anton Shterenlikht > wrote: >> I misconfigured my system somehow, >> so now I can't ping localhost: >> >> # ping localhost >> PING localhost (127.0.0.1): 56 data bytes >> ping: sendto: No route to host >> ping: sendto: No route to host >> ^C > > what is the output of uname -a ? > > I believe -current has a issue where you can not ping localhost atm That's correct. Try the following patch: http://people.freebsd.org/~qingli/route.h.diff -- Rob Farmer > > > Sam Fourman Jr. > Fourman Networks > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 08:34:08PM -0600, Sam Fourman Jr. wrote: > On Wed, Mar 10, 2010 at 8:23 PM, Anton Shterenlikht > wrote: > > I misconfigured my system somehow, > > so now I can't ping localhost: > > > > # ping localhost > > PING localhost (127.0.0.1): 56 data bytes > > ping: sendto: No route to host > > ping: sendto: No route to host > > ^C > > what is the output of uname -a ? # uname -a FreeBSD mech-anton240.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Tue Mar 9 14:35:40 GMT 2010 me...@mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF sparc64 > I believe -current has a issue where you can not ping localhost atm > all my machines are current, but some are more current than others.. Well, the ping issue is just an example. My real problem is that sendmail can't send anything locally: # tail /var/log/maillog Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0hbGe029358: to=mexas, ctladdr=mexas (1001/1001), delay=01:33:21, xdelay=00:00:00, mailer=relay, pri=570028, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4K005078: to=root, delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3721559, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4L005078: to=root, delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3725184, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4L004977: to=root, delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903061, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4K004977: to=root, delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903122, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3bvPl004242: to=root, ctladdr=root (0/0), delay=22:39:01, xdelay=00:00:00, mailer=relay, pri=4530195, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3c9wG004609: to=root, ctladdr=root (0/0), delay=22:38:49, xdelay=00:00:00, mailer=relay, pri=4533820, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A340iF002543: to=root, ctladdr=root (0/0), delay=23:12:58, xdelay=00:00:00, mailer=relay, pri=4711758, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A33vXB002495: to=root, ctladdr=root (0/0), delay=23:13:01, xdelay=00:00:00, mailer=relay, pri=4801697, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host # many thanks anton > > Sam Fourman Jr. > Fourman Networks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 9:23 PM, Anton Shterenlikht wrote: > I misconfigured my system somehow, > so now I can't ping localhost: > > # ping localhost > PING localhost (127.0.0.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C > > # cat /etc/hosts > # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ > # > ::1 localhost localhost.men.bris.ac.uk > 127.0.0.1 localhost localhost.men.bris.ac.uk > > So far, can't find anything relevant > on the net. > > Please advise > > many thanks > anton http://www.freebsd.org/doc/handbook/network-routing.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 8:23 PM, Anton Shterenlikht wrote: > I misconfigured my system somehow, > so now I can't ping localhost: > > # ping localhost > PING localhost (127.0.0.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C what is the output of uname -a ? I believe -current has a issue where you can not ping localhost atm Sam Fourman Jr. Fourman Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: can't ping localhost
On Wed, Mar 10, 2010 at 9:23 PM, Anton Shterenlikht wrote: > I misconfigured my system somehow, > so now I can't ping localhost: > > # ping localhost > PING localhost (127.0.0.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C > > # cat /etc/hosts > # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ > # > ::1 localhost localhost.men.bris.ac.uk > 127.0.0.1 localhost localhost.men.bris.ac.uk > > So far, can't find anything relevant > on the net. > > Please advise > > many thanks > anton > > -- Just a shot in the dark. Do you have a default route? -r ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
can't ping localhost
I misconfigured my system somehow, so now I can't ping localhost: # ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ^C # cat /etc/hosts # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ # ::1 localhost localhost.men.bris.ac.uk 127.0.0.1 localhost localhost.men.bris.ac.uk So far, can't find anything relevant on the net. Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Moving master.passwd file between servers... is this correct?
I need to migrate a passwd file from an old 6.2 server to a newer 8.0 server (different box). This is what I did: copied the '/etc/master.passwd' from old server to '/etc/master.passwd' on new server then ran: pwd_mkdb /etc/master.passwd && pwd_mkdb -p /etc/master.passwd It seems to work, but is this correct? I'd hate to miss somethign before it goes online. Thanks guys! -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Replacing Home Router With PC
On Thursday 11 of March 2010 03:36, mailinglist wrote: > The question is, can it use that wireless card to > act as a access point instead of a client (how the card is intended to be > used)? you can run the hostapd daemon to configure a card as an access point. I did this on an openbsd box, so i'm perfectly sure you can do it on a freebsd box too. -- Real programmers don't document. If it was hard to write, it should be hard to understand. signature.asc Description: This is a digitally signed message part.
Replacing Home Router With PC
I've got an old Linksys router hanging off of my cable modem that is several years old and is about to die (very poor wireless throughput should be 54 mb and is 2, runs hot, and "buzzes" while turned on). I've got an older PC that would great as a routerhowever I also need it to be a wireless access point for my house. It has a PCI wireless network card (A 54G Belkin, not sure of the exact model). I know FreeBSD is technically capable for acting as my DHCP, DNS, router, gateway box if properly configured. The question is, can it use that wireless card to act as a access point instead of a client (how the card is intended to be used)? Also, any links anyone can provide on how to setup a FreeBSD box to act as home router/gateway would be much appreciated! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On Wednesday 10 March 2010 14:49:59 p...@pair.com wrote: > in message <201003100850.58321.l...@bsd.com.br>, > wrote Mario Lobo thusly... > > ... > > > I have 8-STABLE amd64 > > > > I have a dell vostro 1320 with a 4315 wireless and got it working > > with the bwn driver from HEAD (svn) and the net/bwn-firmware-kmod > > port. > > Mario, do WPA & WPA2 work with the card? > > > - parv > WEP - yes WPA - not tested WPA2 - not tested -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: KDE firefox integration
On 03/07/2010 12:29, Josh Paetzel wrote: On Sunday 07 March 2010 10:53:29 Anselm Strauss wrote: On Sunday 07 March 2010 15:52:30 Josh Paetzel wrote: On Sunday 07 March 2010 08:13:53 Elias Chrysoheris wrote: On Sunday 07 of March 2010 15:56:15 Anselm Strauss wrote: Hi, I noticed that in PC-BSD 8 firefox is nicely integrated into KDE. Anybody knows how to achieve this on FreeBSD 8? Anselm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" I believe you mean that you need KDE to open Firefox whenever you click on a link. That's easy. From your KDE menu, open "System Settings" (in the first tab, "favorites") Then select "Default Applications". Then, in the left list of the applications, choose "Web browser", and at the right part of the screen choose the radio button "in the following browser" and in the edit box enter the "/usr/local/bin/firefox3". Then apply the new settings. Elias Another trick that PC-BSD useswhich might be more of what you are asking about is the installation of a port called x11-themes/gtk-qt4-engine This port allows gtk applications to be displayed using qt, which helps integrate the look of things like FF, Thunderbird, OOo with KDE. I already installed the gtk-qt4-engine, but it has some serious bugs. Scroll bars are not painted, tab borders are painted at the wrong position, etc. Could this be because I modified some of KDEs appearance options? The gtk-qt4-engine works great here, not run into those problems you describe. Check the gtk-qt4-engine configuration gui in KDE4's system settings though, there is a fix you can enable to fix scrollbar issues. Are there any other integration tweaks, like icons, keyboard shortcuts, file chooser dialog, ... ? We've not modified anything else like that, just standard stuff. Thanks, Anselm Kris Moore PC-BSD Software http://www.pcbsd.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Silicon Image SiI 3124 and 3132 RAID controllers
On 03/10/10 15:56, Leslie Jensen wrote: I'm trying to install FreeBSD 8-RELEASE on a machine with an Abit aw8-max MB. This MB has a built in SiI 3132 RAID controller. I also have an addon card with a SiI 3124 RAID controller. The problem is that I can see the 2 disks and the RAID1 set that I want to use for the system if I connect the disks to the built in 3132 controller. But if I connect the disks to the 3124 controller and create a RAID1 set, only the disks can be seen. I need to be able to use both controllers because I've got four disks that I want to build a RAID5 set on one of the controllers. Can anyone shed some light on this. Via Google I've read some articles about these controllers and I'm aware that I might have to rethink because of lacking support for the 3124 controller. I've read in the ata man page that parameters can be added to /boot/device.hints but I'm not sure how to handle this during installation. /Leslie Are you using the default ata(4) driver that FreeBSD-8 boots with, or are you loading the siis(4) module at boot? If you are using the ata(4) driver, you should try enabling the siis(4) driver by placing 'siis_load="YES"' in /boot/loader.conf. Beware that the names of your disks will transition from ad -> ada and will likely be renumbered as well. The siis(4) driver overall has a much richer feature set. I have several 3124 controllers which work great with it, but I have never tried using the controllers RAID - I simply use them as disk controllers and then pool the disks using ZFS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Silicon Image SiI 3124 and 3132 RAID controllers
I'm trying to install FreeBSD 8-RELEASE on a machine with an Abit aw8-max MB. This MB has a built in SiI 3132 RAID controller. I also have an addon card with a SiI 3124 RAID controller. The problem is that I can see the 2 disks and the RAID1 set that I want to use for the system if I connect the disks to the built in 3132 controller. But if I connect the disks to the 3124 controller and create a RAID1 set, only the disks can be seen. I need to be able to use both controllers because I've got four disks that I want to build a RAID5 set on one of the controllers. Can anyone shed some light on this. Via Google I've read some articles about these controllers and I'm aware that I might have to rethink because of lacking support for the 3124 controller. I've read in the ata man page that parameters can be added to /boot/device.hints but I'm not sure how to handle this during installation. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: HTML5 under FreeBSD Desktop
On Mar 8, 2010, at 7:53 AM, ltsampros wrote: Alexander Best writes: recent chromium builds on http://chromium.jaggeri.com/ and http://code.google.com/p/chromium-freebsd8/ support html5. don't know if the firefox and opera ports support html5 yet. If you use the latest version of firefox , check this link: http://www.mozilla.com/en-US/firefox/video/?video=personas It played flawless on my system and I don't remember me having configured some option/port knob to enable the functionality. However, there is an ongoing battle regarding which codecs would be supported. Google/Apple support h264 while Mozilla/Opera prefer/ advocate the Ogg theora one. I think this is a pretty thin picture of the situation but I guess you can google it around. So, don't expect all html5/video sites to work. alex The main issue is licensing fees. The company that owns h2.64 charges $5M for a license. Ogg Theora on the other hand is slightly more affordable as a semi-open codec. I certainly would not bet the farm on this fight ending nicely. Regards, Mikel King CEO, Olivent Technologies Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 c: 631.796.1499 skype:mikel.king http://olivent.com http://www.linkedin.com/in/mikelking http://twitter.com/mikelking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: HTML5 under FreeBSD Desktop
On Mar 7, 2010, at 10:35 AM, Alexander Best wrote: recent chromium builds on http://chromium.jaggeri.com/ and http://code.google.com/p/chromium-freebsd8/ support html5. don't know if the firefox and opera ports support html5 yet. alex Opera seems to have the best support for HTML5 at this point. http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28HTML5%29 Regards, Mikel King CEO, Olivent Technologies Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 c: 631.796.1499 skype:mikel.king http://olivent.com http://www.linkedin.com/in/mikelking http://twitter.com/mikelking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Creating a .iso bootable image
>You can do this with the native "make release" process for freebsd. > >http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html > >Is this what you are looking for? Hmmm. This might very well do what we need. I'll check it out. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?
>> I am compiling this program and running it, and without the "release" >> calls there, it certainly is using up more and more memory every >> second. Definitely no garbage collection happening. I then modified >> the GNUmakefile to make sure that the option "-fobjc-gc" was being >> passed to gcc, and verbose output from make assured me that this was >> the case. However, my program sill did not garbage collect (3 gigs of >> RAM, then a segfault). I then tried the gcc option "-fobjc-gc-only" >> and gcc42 reported that it did not recognize that option. The options >> are described here: >> http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.0.1/gcc/Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options.html > > While I am not very familiar with Objective C, I can tell you that GC > generally runs in the background, using idle time to scavenge memory. > (It's not counted pointers, synchronously freeing memory immediately.) > So if you race to allocate memory in an infinite loop like this, you are > destined to exhaust memory, GC or no, unless the runtime is designed to > force a GC on alloc in low memory conditions. > > Try putting some sort of sleep in the middle of your loop and see if GC > kicks in and you get more of a sawtooth memory usage pattern. Well thanks for that advice. My new program looks like this: #import "GarbageObj.h" int main(int argc, const char *argv[]) { int inx = 0; while (YES) { inx++; GarbageObj *obj = [[GarbageObj alloc] init]; [obj foo]; if (inx == 10) { inx = 0; sleep(1); } } return 0; } Unfortunately the memory usage is still steadily increasing. No garbage collection even if I compile with "-fobjc-gc". :-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "tao" suddenly died
On Wed, Mar 10, 2010 at 2:01 PM, Gary Kline wrote: > On Tue, Mar 09, 2010 at 10:04:26PM -0600, Adam Vande More wrote: > > On Tue, Mar 9, 2010 at 9:34 PM, Gary Kline wrote: > > > > >Aloha Al and thanks for responding. {god this has been a > > >long day... . } > > > > > >Well, long-story-short, the most unepect thing happened: a > > >power surge. I did not realize that my printer was also off > > >until hours later. A friend helped me trace the problem and > > >reset my surgge-protector. ---It is worth noting that BEFORE > > >I got my battery [UPS], when things were dead or suddenly > > >went dead, i knew right away to check the surge-protector. > > > > > >nutshell: things are almost back. it'll be only an hour > > >before everything is back. > > > > > >still, this is a warning to get back on the ball and start > > >looking for a new desktop. > > > > > >i would be much obliged for ideas on what kind of dell to buy > > >next. i say 'dell' because i would like to make life simple > > >and eventually have one kind of box. (i have three tower > > >computers: one is my DNS/mail/web server; one is my pfSense > > >firewall; one is my laptop. i COULD use the server as a > > >desktop, but that would be too much of a risk! > > > > > >so:: should i be looking for a dual or quad? i am biased > > >toward intel because i think the AMD requires more juice. [[my > > >only linux server --long dead-- seemed to suck 100w to 107w as > > >a minimum.]] > > > > > >suggestions? > > > > > > > I don't really think much of Dell consumer level products or support. > While > > they aren't the worst out there, it still doesn't make it very compelling > > for me. Depending on your resources(money) you might consider something > > like this: > > > WEll, frankly, _cost_ is less of an issue considering all >the grief, &c. i think I've built [custom ordred] more >and better systems than the Dells and HPs. > > > > > http://www.ixsystems.com/apollo > > > I'll look this up when I am using a GUI mailer. > > > > While more money than you'd probably spend with dell, here's a couple > > reasons to consider it further. > > > > 1. Out the Box compatibility > > 2. Great hardware support/warranty service > > 3. Vendor backing of your OS > > 4. Long term upgradability, this will serve you better than any > emachine. > > 5. ixsystems is a large supporter of FreeBSD > > > > I believe the TCO of something like that is lower than most alternatives. > > > > One further thought is I don't see a lot sense in the requirement "must > be a > > dell, cause the other ones I have are dell" given the amount of machines > you > > run. To me, it would make more sense to standardize on something like > cpu, > > so that you could run one as a build system/package repository. I know > that > > settling on one vendor generally means you only need one source for > warranty > > work, but with stickers on cases and online accounts this isn't such an > > issue anymore. > > > > > I would like to establish a history with one vendor, so >your feedback makes sense. > >What I haven't decided on yet in whether to go with a >dual-core or quad-. mY current desktop is a 2.4GHz and >has always seemed slow when I've running more than five >tasks. Strange. The new dual-core server is like >greased lightening ... and extremely lightly loaded. > >gary > > > > > > -- > > Adam Vande More > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > > -- > Gary Kline kl...@thought.org http://www.thought.org Public Service > Unix > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > I will choose to go witha Dual Core and the extra buck to a better hard driver, more memory or even better a good quality mainboard. -- mmm, interesante. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "tao" suddenly died
On Tue, Mar 09, 2010 at 10:04:26PM -0600, Adam Vande More wrote: > On Tue, Mar 9, 2010 at 9:34 PM, Gary Kline wrote: > > >Aloha Al and thanks for responding. {god this has been a > >long day... . } > > > >Well, long-story-short, the most unepect thing happened: a > >power surge. I did not realize that my printer was also off > >until hours later. A friend helped me trace the problem and > >reset my surgge-protector. ---It is worth noting that BEFORE > >I got my battery [UPS], when things were dead or suddenly > >went dead, i knew right away to check the surge-protector. > > > >nutshell: things are almost back. it'll be only an hour > >before everything is back. > > > >still, this is a warning to get back on the ball and start > >looking for a new desktop. > > > >i would be much obliged for ideas on what kind of dell to buy > >next. i say 'dell' because i would like to make life simple > >and eventually have one kind of box. (i have three tower > >computers: one is my DNS/mail/web server; one is my pfSense > >firewall; one is my laptop. i COULD use the server as a > >desktop, but that would be too much of a risk! > > > >so:: should i be looking for a dual or quad? i am biased > >toward intel because i think the AMD requires more juice. [[my > >only linux server --long dead-- seemed to suck 100w to 107w as > >a minimum.]] > > > >suggestions? > > > > I don't really think much of Dell consumer level products or support. While > they aren't the worst out there, it still doesn't make it very compelling > for me. Depending on your resources(money) you might consider something > like this: WEll, frankly, _cost_ is less of an issue considering all the grief, &c. i think I've built [custom ordred] more and better systems than the Dells and HPs. > > http://www.ixsystems.com/apollo I'll look this up when I am using a GUI mailer. > > While more money than you'd probably spend with dell, here's a couple > reasons to consider it further. > > 1. Out the Box compatibility > 2. Great hardware support/warranty service > 3. Vendor backing of your OS > 4. Long term upgradability, this will serve you better than any emachine. > 5. ixsystems is a large supporter of FreeBSD > > I believe the TCO of something like that is lower than most alternatives. > > One further thought is I don't see a lot sense in the requirement "must be a > dell, cause the other ones I have are dell" given the amount of machines you > run. To me, it would make more sense to standardize on something like cpu, > so that you could run one as a build system/package repository. I know that > settling on one vendor generally means you only need one source for warranty > work, but with stickers on cases and online accounts this isn't such an > issue anymore. > I would like to establish a history with one vendor, so your feedback makes sense. What I haven't decided on yet in whether to go with a dual-core or quad-. mY current desktop is a 2.4GHz and has always seemed slow when I've running more than five tasks. Strange. The new dual-core server is like greased lightening ... and extremely lightly loaded. gary > > -- > Adam Vande More > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "tao" suddenly died
On Wed, Mar 10, 2010 at 07:23:30AM +, Matthew Seaman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/03/2010 03:34:52, Gary Kline wrote: > > Well, long-story-short, the most unepect thing happened: a > > power surge. I did not realize that my printer was also off > > until hours later. A friend helped me trace the problem and > > reset my surgge-protector. ---It is worth noting that BEFORE > > I got my battery [UPS], when things were dead or suddenly > > went dead, i knew right away to check the surge-protector. > > Uh -- if you have a UPS, why are you using a surge protector as well? > The function of a UPS is to condition your power supply. It puts > out clean 110/220V 50/60Hz power (depending on where you live) > irrespective of what it is getting from the mains. That is, the UPS > also does all the surge protection function itself. Not only that, it > should cope with surges by absorbing them, rather than blowing a circuit > breaker, so it carries on running after the surge is over. > > Admittedly some UPS designs are better than others -- inline UPSes are > the best, but tend to be more expensive. These work by converting the > input to DC and then converting back to AC. Cheaper UPSes monitor the > characteristics of the incoming current and switch to battery power if > it is out of specification, which is not really failsafe. > > Also, didn't your UPS sound the alarm? They are normally too loud to > ignore easily. > (This is all new to me, first, and I do not have everything plugged into the UPS, second. I don't have the unit fully configured [via X11] so want to keep the load as light as possible. ) The unit is an APC manufacture; should be closer to the top of the line -- that's just my guess. What happened yesterday morning was that my DNS and firewall, router and widescreen kept on working ... :-D Now it's time for me to finish the task on upgrading and maintenance. Trying to decide whether to build another home-brew computer or buy one off the shelf. gary > 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 > -BEGIN PGP SIGNATURE- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkuXSPIACgkQ8Mjk52CukIwEOwCfWQN0avDyhhKwrP9THpWkd4Na > 5i0Ani14kuI9kYx2RF9x5gOJf/Khcb+I > =32IO > -END PGP SIGNATURE- -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Creating a .iso bootable image
Hi. You can do this with the native "make release" process for freebsd. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html Is this what you are looking for? On Wed, Mar 10, 2010 at 12:17:58PM -0600, Peter Steele thus spake: Are there any good instructions for creating a customized bootable .iso image? I've done the work for creating a bootable USB image, but a .iso is a different beast in that the boot media is read-only and a virtual disk has to be created as part of the boot process. Any pointers would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Directory with large number of files
In some passed projects of mine where large quantities of image files had to be referenced I used a hierarchical tree structure based on the filename. For example: instead of '/disk/images/0018391.jpg' I used '/disk/images/1/8/3/91.jpg' instead of '/disk/images/abcdsomename.jpg' I used '/disk/images/a/b/cdsomename.jpg' In most cases it was to store large amounts of small image files to reference from web-apps and such with a database key. Usually I tried to work either numerically or alphabetically scaling to the database itself. This also allows you to (if needed) use multiple disks/mount-points down the line if the scale grows (ie: move /disk/images/a or /disk/images/1 to a dedicated disk/mount if room runs out or for performance reasons). Not sure on the system-side what the advantages versus using a single large directory will be - but I noted it was a much easier way to maintain things and scaled very well (in one case had a directory with well over a million images tied to a database of a product catalog, we broke it down by department/section and then by numeric key and eventually had to dedicate larger/faster storage to certain sections thus off-loading the work from all-in-one and requiring minimal effort to do so). Food for thought anyways - hope it helps. -- Nathan Vidican nat...@vidican.com On Wed, Mar 10, 2010 at 11:51 AM, Janos Dohanics wrote: > I have a directory with over 180,000 files in 4 subdirectories. Over > 170,000 > of the files are in one of the subdirectories. The files are image files, > mostly <50K. The machine has 2 GB RAM. > > What would be a reasonable setting for vfs.ufs.dirhash_maxmem? Is there a > disadvantage to setting vfs.ufs.dirhash_maxmem too high? > > Is there any other setting to change to find files faster in a directory > with > such large number of files? > > Thank you for your advice. > > -- > Janos Dohanics > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Creating a .iso bootable image
Are there any good instructions for creating a customized bootable .iso image? I've done the work for creating a bootable USB image, but a .iso is a different beast in that the boot media is read-only and a virtual disk has to be created as part of the boot process. Any pointers would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Directory with large number of files
I have a directory with over 180,000 files in 4 subdirectories. Over 170,000 of the files are in one of the subdirectories. The files are image files, mostly <50K. The machine has 2 GB RAM. What would be a reasonable setting for vfs.ufs.dirhash_maxmem? Is there a disadvantage to setting vfs.ufs.dirhash_maxmem too high? Is there any other setting to change to find files faster in a directory with such large number of files? Thank you for your advice. -- Janos Dohanics ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
2010/3/10 Nikos Vassiliadis: > All I am looking for is an "I have and it works with FreeBSD-[89] > and amd64|x86". > #pciconf -lvcb no...@pci0:3:0:0: class=0x028000 card=0x137d103c chip=0x431514e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 USB Controller' class = network bar [10] = type Memory, range 64, base 0xd820, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint FreeBSD 8.0 i386 WLAN works fine via NDIS with WPA2 -- Sergei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
subversion1.6 gnome-keyring kwallet
http://blogs.open.collab.net/svn/2009/07/index.html tells that to be able to cache passwords in gnome keyring or in kwallet, the subverison binaries must be compiled with the respective options --with-gnome-keyring and --with-kwallet. # cd /usr/ports/devel/subversion # make config does not seem to show any such options .. How to do it ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
in message <201003100850.58321.l...@bsd.com.br>, wrote Mario Lobo thusly... > ... > I have 8-STABLE amd64 > > I have a dell vostro 1320 with a 4315 wireless and got it working > with the bwn driver from HEAD (svn) and the net/bwn-firmware-kmod > port. Mario, do WPA & WPA2 work with the card? - parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?
On Wed, Mar 10, 2010 at 01:00:59AM -0800, Nerius Landys wrote: > #import "GarbageObj.h" > > int main(int argc, const char *argv[]) { > while (YES) { > GarbageObj *obj = [[GarbageObj alloc] init]; > [obj foo]; // foo is does literally nothing. > } > return 0; > } > > I am compiling this program and running it, and without the "release" > calls there, it certainly is using up more and more memory every > second. Definitely no garbage collection happening. I then modified > the GNUmakefile to make sure that the option "-fobjc-gc" was being > passed to gcc, and verbose output from make assured me that this was > the case. However, my program sill did not garbage collect (3 gigs of > RAM, then a segfault). I then tried the gcc option "-fobjc-gc-only" > and gcc42 reported that it did not recognize that option. The options > are described here: > http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.0.1/gcc/Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options.html While I am not very familiar with Objective C, I can tell you that GC generally runs in the background, using idle time to scavenge memory. (It's not counted pointers, synchronously freeing memory immediately.) So if you race to allocate memory in an infinite loop like this, you are destined to exhaust memory, GC or no, unless the runtime is designed to force a GC on alloc in low memory conditions. Try putting some sort of sleep in the middle of your loop and see if GC kicks in and you get more of a sawtooth memory usage pattern. Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On 2010-03-10 12:31, Nikos Vassiliadis wrote: On 3/10/2010 12:41 PM, Leslie Jensen wrote: I bought a Dell Latitude 6500 two years ago. The Dell Wireless was not supported then by FreeBSD. I got an Intel card from Dell instead and the iwn driver works well. http://forums.freebsd.org/showthread.php?t=8041 I guess you have not looked back to 'Dell Wireless 1397' with a recent FreeBSD? ___ No! I think you can alter the configuration of the pc before you buy it. So the cost should not be so big. I think I payed about 20$ extra for the Intel card. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On 3/10/2010 10:50 AM, Mario Lobo wrote: I have 8-STABLE amd64 I have a dell vostro 1320 with a 4315 wireless and got it working with the bwn driver from HEAD (svn) and the net/bwn-firmware-kmod port. That's good to hear, thanks! Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On 3/10/2010 1:00 PM, George Liaskos wrote: No, i do not have this card but i trust the man pages :) Me too. Yet I will not buy new/non-mainstream hardware based on the manual. Hence the question... All I am looking for is an "I have and it works with FreeBSD-[89] and amd64|x86". > I found this post : > http://www.linuxquestions.org/hcl/showproduct.php/product/4325/sl/i > >> 0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) > > Maybe what you find is based on experiences before May 16, 2009? Yes, prior to the 8.0 release. All I find online is about failure and references about the driver being included in FreeBSD-8 branch. Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT] ssh security
On Mar 10, 2010, at 11:59, Olivier Nicole wrote: Now Diffie-Hellman may help providing the trust for the fingerprint. No it won't. Trust goes either via a trusted third party as in PKI or the pgp chain of trust or via direct verification. In the latter case if you cannot establish trust, call up the owner to verify his key. BR erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On Wednesday 10 March 2010 11:00:03 George Liaskos wrote: > On Wed, Mar 10, 2010 at 10:34 AM, Nikos Vassiliadis wrote: > > On 3/10/2010 12:13 PM, George Liaskos wrote: > >> On Wed, Mar 10, 2010 at 10:05 AM, Nikos Vassiliadis > >> > >> wrote: > >>> Hi, > >>> > >>> I am interested in buying a laptop from the > >>> Dell Inspiron 15 series. Most of them are having > >>> a wifi card branded as 'Dell Wireless 1397'. > >>> Is there a driver for this? > >>> > >>> I would prefer a native driver, but success > >>> stories using it with NDIS or other general > >>> comments regarding the Dell Inspiron 15 series > >>> are welcome. > >> > >> Hello, > >> > >>> > From a quick google query this card should have a Broadcom BCM43xx > >>> > chipset. > >> > >> http://www.freebsd.org/cgi/man.cgi?query=bwi > > > > Thanks, but I've already done the quick google and > > the not-so-quick google look. The results were not > > that positive. Do you know by personal experience > > that this card is working with bwi driver? > > > > Or at least with NDIS and amd64? > > > > Thanks, Nikos > > No, i do not have this card but i trust the man pages :) > > I found this post : > http://www.linuxquestions.org/hcl/showproduct.php/product/4325/sl/i > > >0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev > > 01) > > Maybe what you find is based on experiences before May 16, 2009? > > Regards > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscr...@freebsd.org" > I have 8-STABLE amd64 I have a dell vostro 1320 with a 4315 wireless and got it working with the bwn driver from HEAD (svn) and the net/bwn-firmware-kmod port. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On 3/10/2010 12:41 PM, Leslie Jensen wrote: I bought a Dell Latitude 6500 two years ago. The Dell Wireless was not supported then by FreeBSD. I got an Intel card from Dell instead and the iwn driver works well. http://forums.freebsd.org/showthread.php?t=8041 I guess you have not looked back to 'Dell Wireless 1397' with a recent FreeBSD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On Wed, Mar 10, 2010 at 10:34 AM, Nikos Vassiliadis wrote: > On 3/10/2010 12:13 PM, George Liaskos wrote: >> >> On Wed, Mar 10, 2010 at 10:05 AM, Nikos Vassiliadis >> wrote: >>> >>> Hi, >>> >>> I am interested in buying a laptop from the >>> Dell Inspiron 15 series. Most of them are having >>> a wifi card branded as 'Dell Wireless 1397'. >>> Is there a driver for this? >>> >>> I would prefer a native driver, but success >>> stories using it with NDIS or other general >>> comments regarding the Dell Inspiron 15 series >>> are welcome. >>> >> >> Hello, >> >>> > From a quick google query this card should have a Broadcom BCM43xx >>> > chipset. >> >> http://www.freebsd.org/cgi/man.cgi?query=bwi > > Thanks, but I've already done the quick google and > the not-so-quick google look. The results were not > that positive. Do you know by personal experience > that this card is working with bwi driver? > > Or at least with NDIS and amd64? > > Thanks, Nikos > No, i do not have this card but i trust the man pages :) I found this post : http://www.linuxquestions.org/hcl/showproduct.php/product/4325/sl/i >0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) Maybe what you find is based on experiences before May 16, 2009? Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT] ssh security
Hi, > > The pre-shared information need not to be secret ... but there is > > need for pre-shared trusted information. > Er, if the pre-shared information is not secret, how can I be sure > that the person presenting it is in fact my intended correspondent > and not a MIM? That is why I wrote "trusted", I don't assume how this is trusted, but I need to trust it. If I am 100% sure the fingerprint comes from the right guy, I can easily test that the fingerprint corresponds to the intended public key, so that the publick key effectively belongs to the right guy, and crypting with that public key, only the right guy with his provate key will be able to read my message. Now Diffie-Hellman may help providing the trust for the fingerprint. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On 2010-03-10 11:05, Nikos Vassiliadis wrote: Hi, I am interested in buying a laptop from the Dell Inspiron 15 series. Most of them are having a wifi card branded as 'Dell Wireless 1397'. Is there a driver for this? I would prefer a native driver, but success stories using it with NDIS or other general comments regarding the Dell Inspiron 15 series are welcome. Thanks, Nikos I bought a Dell Latitude 6500 two years ago. The Dell Wireless was not supported then by FreeBSD. I got an Intel card from Dell instead and the iwn driver works well. http://forums.freebsd.org/showthread.php?t=8041 /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On 3/10/2010 12:13 PM, George Liaskos wrote: On Wed, Mar 10, 2010 at 10:05 AM, Nikos Vassiliadis wrote: Hi, I am interested in buying a laptop from the Dell Inspiron 15 series. Most of them are having a wifi card branded as 'Dell Wireless 1397'. Is there a driver for this? I would prefer a native driver, but success stories using it with NDIS or other general comments regarding the Dell Inspiron 15 series are welcome. Hello, > From a quick google query this card should have a Broadcom BCM43xx chipset. http://www.freebsd.org/cgi/man.cgi?query=bwi Thanks, but I've already done the quick google and the not-so-quick google look. The results were not that positive. Do you know by personal experience that this card is working with bwi driver? Or at least with NDIS and amd64? Thanks, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a native driver for 'Dell Wireless 1397'?
On Wed, Mar 10, 2010 at 10:05 AM, Nikos Vassiliadis wrote: > Hi, > > I am interested in buying a laptop from the > Dell Inspiron 15 series. Most of them are having > a wifi card branded as 'Dell Wireless 1397'. > Is there a driver for this? > > I would prefer a native driver, but success > stories using it with NDIS or other general > comments regarding the Dell Inspiron 15 series > are welcome. > > Thanks, Nikos > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > Hello, >From a quick google query this card should have a Broadcom BCM43xx chipset. http://www.freebsd.org/cgi/man.cgi?query=bwi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Updating the system and ports
On 09/03/2010 17:58, Pongthep Kulkrisada wrote: * RW (rwmailli...@googlemail.com) wrote: that should be RELENG_8_0 Sorry for typo, but actually I only appended to the existing supfile. Thing goes well. Stable is a stable development branch, if you want to use freebsd-update you need to use a proper release security branch. Does that mean -STABLE can not use freebsd-update? If so, I am clear now because I encountered the problem when I used freebsd-update from -STABLE. It failed. Thanks, Pongthep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" If you're using STABLE you won't be able to update the base system using freebsd-update, use csup for that purpose. Also have a look to freebsd-update man page, the Description section explains the tool's purpose. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
is there a native driver for 'Dell Wireless 1397'?
Hi, I am interested in buying a laptop from the Dell Inspiron 15 series. Most of them are having a wifi card branded as 'Dell Wireless 1397'. Is there a driver for this? I would prefer a native driver, but success stories using it with NDIS or other general comments regarding the Dell Inspiron 15 series are welcome. Thanks, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Objective-C 2.0 on FreeBSD; garbage collection, anyone?
Running FreeBSD 8.0 32 bit PAE kernel, latest ports. My current hobby is to experiment more with Objective-C. I'm rewriting some of my old Java code in Objectve-C to get a better feeling for how this language works. I'm finally able to write, compile, and run Objective-C programs after learning about this the whole day. i noticed that the gcc42 compiler from ports is necessary as it contains the parts that are able to compile Objective-C. I realized that gcc43, gcc44, and gcc45 from ports are _not_ able to compile Objective-C. So my real question is this. The supposed feature called "garbage collection" that eliminates the need for "retain" and "release" syntax in Objective-C - has anyone gotten it to work? Frankly, I'm not even sure if Objective-C framework on my FreeBSD server is supporting Objective-C 2.0 or an older version; I have not gotten as far as knowing which language constructs exist in 2.0 but not in earlier versions. But for right now I'm just trying to get automatic garbage collection to work, which I know is a new feature in 2.0. So, I've written a simple program that instantiates objects over and over again, and loses references to them. Like so: #import "GarbageObj.h" int main(int argc, const char *argv[]) { while (YES) { GarbageObj *obj = [[GarbageObj alloc] init]; [obj foo]; // foo is does literally nothing. } return 0; } I am compiling this program and running it, and without the "release" calls there, it certainly is using up more and more memory every second. Definitely no garbage collection happening. I then modified the GNUmakefile to make sure that the option "-fobjc-gc" was being passed to gcc, and verbose output from make assured me that this was the case. However, my program sill did not garbage collect (3 gigs of RAM, then a segfault). I then tried the gcc option "-fobjc-gc-only" and gcc42 reported that it did not recognize that option. The options are described here: http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.0.1/gcc/Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options.html . So, I can't really try the newer compilers from ports because they don't do Objective-C, and even so, I don't know if that would have any effect on garbage collection. Has anyone had success in writing Objectve-C programs on FreeBSD that have automated garbage collection? Does anyone know if this is Objective-C 2.0 I'm dealing with? How do I get this to work? For reference, here is a diff of packages installed today as a result of trying out Objective-C: > aspell-0.60.6_2:textproc/aspell > cups-client-1.4.2_4:print/cups-client > ffcall-1.10_1:devel/ffcall > fontconfig-2.8.0,1:x11-fonts/fontconfig > gcc-4.2.5.20090325_2:lang/gcc42 > giflib-nox11-4.1.6:graphics/giflib > gnustep-back-0.17.1_1:x11-toolkits/gnustep-back > gnustep-base-1.19.3:lang/gnustep-base > gnustep-gui-0.17.1_1:x11-toolkits/gnustep-gui > gnustep-make-2.2.0_1:devel/gnustep-make > gnutls-2.8.3:security/gnutls > jbigkit-1.6:graphics/jbigkit > libXft-2.1.14:x11-fonts/libXft > libXrender-0.9.4_1:x11/libXrender > libaudiofile-0.2.6_1:audio/libaudiofile > libgmp-4.3.2:math/libgmp4 > mpfr-2.4.2:math/mpfr > portaudio-19.20071207:audio/portaudio2 > renderproto-0.9.3:x11/renderproto > tiff-3.9.2_1:graphics/tiff - Nerius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"