Re: How to make a process detect time zone change?

2010-03-16 Thread Mark Shroyer
On 3/16/2010 11:23 AM, Peter Steele wrote: > We have a system controlled through a Java GUI and one of the > commands provided in the GUI is to change the date/time, including > the time zone. When the time zone is changed the FreeBSD system > immediately recognizes the change (that is, the date co

Re: kldload vs Statically compiled in kernel

2010-03-16 Thread Alexander Best
sure there are advantages. with a module you can change code in src, recompile the kernel module and then reload it. this lets you test your changes without having to reboot. i also use modules for devices i only attached every now and then, like a usb dongle device for doing bluetooth. i only loa

Re: kldload vs Statically compiled in kernel

2010-03-16 Thread Polytropon
On Tue, 16 Mar 2010 19:37:58 -0500, Brandon Falk wrote: > Hello fellow FreeBSD mates, > > I've always statically compiled in my modules into my kernel, rather > then using kldload, or throwing them in /boot/loader.conf. I'm just > wondering if there are actually any advantages to doing it this

Re: kldload vs Statically compiled in kernel

2010-03-16 Thread Adam Vande More
On Tue, Mar 16, 2010 at 7:37 PM, Brandon Falk wrote: > Hello fellow FreeBSD mates, > > I've always statically compiled in my modules into my kernel, rather then > using kldload, or throwing them in /boot/loader.conf. I'm just wondering if > there are actually any advantages to doing it this way.

NDIS failed under 8.0, please help

2010-03-16 Thread Xihong Yin
The NDIS driver failed after I upgraded from 7.1 to 8.0 Stable, the NDIS driver was built successfully under 8.0 though. The wireless card is a Dell TrueMobile 1300 WLAN Mini-PCI Card. It works perfectly under 7.2. I run #ifconfig ndis0 up scan and got and error: ifconfig: unable to get scan

Re: FreeBSD Version recommend for OLD machine

2010-03-16 Thread Steve Bertrand
On 2010.03.16 15:25, alexus wrote: > On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: >> On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (st...@ibctech.ca) wrote: >> The machine has a Motherboard that supports 2 double pentium III processors with 1GB of ram and a hard disk with

kldload vs Statically compiled in kernel

2010-03-16 Thread Brandon Falk
Hello fellow FreeBSD mates, I've always statically compiled in my modules into my kernel, rather then using kldload, or throwing them in /boot/loader.conf. I'm just wondering if there are actually any advantages to doing it this way. Thanks, Brandon Falk __

Re: Recovering base system files after failed installworld - RESOLVED

2010-03-16 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16/03/2010 22:34:47, Alejandro Imass wrote: > Thanks Matthew for such a prompt and detailed answer and to give me > the confidence I was in the right track! I think my main mistake was > to jump from such an old version to the latest 7 release. This

Re: FreeBSD Version recommend for OLD machine

2010-03-16 Thread Joseph Lenox
I had my fileserver running on a P3-1Ghz with Freebsd-8 for a good long while. I eventually replaced it with a dual-socket opteron board I got on ebay for something like $50 after shipping (with processors, seller was getting rid of 600 or so blades). I'm pretty sure the auction is still up if

Re: FreeBSD Version recommend for OLD machine

2010-03-16 Thread Kevin Kinsey
alexus wrote: On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (st...@ibctech.ca) wrote: The machine has a Motherboard that supports 2 double pentium III processors with 1GB of ram and a hard disk with 40GB. I run FreeBSD 7.2 on a head

Re: POP3 , Inetd and Handbook.

2010-03-16 Thread Frank Shute
On Tue, Mar 16, 2010 at 10:48:22AM -0600, Jorge Biquez wrote: > > Hello all. > > I'm sorry if this sounds too stupid or basic. > > I moved from 4.3 to latest version and it is working fine. On $.x I > used to have inedt active since services are basic. On new system > inedt did not active servi

Re: wlan0 + hostap + rc.conf

2010-03-16 Thread Alberto Mijares
On Tue, Mar 16, 2010 at 5:37 PM, Maciej Milewski wrote: > Dnia wtorek, 16 marca 2010 o 21:50:05 Alberto Mijares napisał(a): >> ifconfig_sis0="up" >> wlans_ath0="wlan0" >> create_args_wlan0="wlanmode ap" >> ifconfig_wlan0="ssid nombre channel X mode 11g up" >> cloned_interfaces="bridge0" >> ifconfi

Re: POP3 , Inetd and Handbook.

2010-03-16 Thread Alejandro Imass
On Tue, Mar 16, 2010 at 12:48 PM, Jorge Biquez wrote: > Hello all. > [...] > I moved from 4.3 to latest version and it is working fine. On $.x I used to Sorry dunno what $.x is > have inedt active since services are basic. On new system inedt did not > active service immediately (not here at

Re: Recovering base system files after failed installworld - RESOLVED

2010-03-16 Thread Alejandro Imass
(sorry, I had mailed this directly by mistake intead of the list) On Mon, Mar 15, 2010 at 3:29 PM, Matthew Seaman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 15/03/2010 18:16:17, Alejandro Imass wrote: >> Hi, >> >> [...] > Yes. In essence what you need to do is obtain the 6.2

istgt write errors

2010-03-16 Thread David Newman
On an 8.0-RELEASE/amd64 box, I used the net/istgt port to share iSCSI targets. The installation succeeded, but I'm now seeing write errors when using the targets: Mar 16 15:10:26 bettini istgt[1202]: istgt_iscsi.c: 640:istgt_iscsi_write_pdu: ***ERROR*** iscsi_write() failed (errno=32) Mar 16 15:10

Re: wlan0 + hostap + rc.conf

2010-03-16 Thread Maciej Milewski
Dnia wtorek, 16 marca 2010 o 21:50:05 Alberto Mijares napisał(a): > ifconfig_sis0="up" > wlans_ath0="wlan0" > create_args_wlan0="wlanmode ap" > ifconfig_wlan0="ssid nombre channel X mode 11g up" > cloned_interfaces="bridge0" > ifconfig_bridge0="addm wlan0 addm sis0 inet A.B.C.D netmask W.X.Y.Z up"

wlan0 + hostap + rc.conf

2010-03-16 Thread Alberto Mijares
Hi Hackers, >From man rc.conf: If a wlans_⟨interface⟩ variable is set, an wlan(4) interface will be created for each item in the list with the wlandev argument set to interface. Further wlan cloning arguments may be passed to the ifconfig(8) create command by setting the create_args_⟨interface⟩

Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Eitan Adler
>        I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then begins to build a > FreeBSD system on it. The script could intelligently ask for the > 64-bit or 32-bit trees if it could d

Re: FreeBSD Version recommend for OLD machine

2010-03-16 Thread alexus
On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: > On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (st...@ibctech.ca) wrote: > >> > The machine has a Motherboard that supports 2 double pentium III >> > processors with 1GB of ram and a hard disk with 40GB. > > I run FreeBSD 7.2 on a headle

Re: FreeBSD Version recommend for OLD machine

2010-03-16 Thread andrew clarke
On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (st...@ibctech.ca) wrote: > > The machine has a Motherboard that supports 2 double pentium III > > processors with 1GB of ram and a hard disk with 40GB. I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. ... > Again... so long

Re: More ZIP Problems

2010-03-16 Thread Polytropon
On Tue, 16 Mar 2010 10:38:42 -0500, Programmer In Training wrote: > On 03/16/10 10:18, Lowell Gilbert wrote: > > Just checking: you did do a newfs(8), right? > > That did it! Thanks (: Never had to run that command before when > formatting a disk (granted all I've ever formatted was a floppy dis

Re: limit bandwidth on sftp

2010-03-16 Thread Erik Osterholm
On Tue, Mar 16, 2010 at 10:40:35AM -0400, Lowell Gilbert wrote: > krad writes: > > > On 15 March 2010 13:34, Lowell Gilbert < > > freebsd-questions-lo...@be-well.ilk.org> wrote: > > > >> Tsu-Fan Cheng writes: > >> > >> >I need to limit my sftp session bandwidth to 20K, can someone show me >

4K compatibility

2010-03-16 Thread Jerry
I just ran across an article that states that through the International Disk Drive Equipment and Materials Association (Idema) all hard drive makers have committed to adopting the 4K advanced format by the end of January 2011. Later in the article: Windows 7, Vista, OS X Tiger, Leopard, Snow Leop

[RESOLVED] Re: More ZIP Problems

2010-03-16 Thread Programmer In Training
On 03/16/10 12:13, Lowell Gilbert wrote: > Programmer In Training writes: >> That did it! Thanks (: Never had to run that command before when >> formatting a disk (granted all I've ever formatted was a floppy disk on >> a Linux box). > > Good! > > This is covered in the "Adding disks" section o

Re: POP3 , Inetd and Handbook.

2010-03-16 Thread marcus
On Tuesday 16 March 2010 01:48:22 pm Jorge Biquez wrote: > Hello all. > > I'm sorry if this sounds too stupid or basic. > > I moved from 4.3 to latest version and it is working fine. On $.x I > used to have inedt active since services are basic. On new system > inedt did not active service immedi

Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Rolf Nielsen
On 2010-03-16 18:02, Martin McCormick wrote: Is there a FreeBSD command similar to the Linux arch command? I have built a fairly decent Bourne shell script to run just after installing mfsbsd on a target system. It figures out the likely boot drive, formats it and then begins to

Re: More ZIP Problems

2010-03-16 Thread Lowell Gilbert
Programmer In Training writes: > On 03/16/10 10:18, Lowell Gilbert wrote: >> Programmer In Training writes: >> >>> OK, so I got the disk mounted as it was. Then I used fdisk to reformat >>> it (probably not the best tool to do so, but it worked) to the default >>> FreeBSD fs as I have no plans

Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Chris Rees
On 16 March 2010 17:02, Martin McCormick wrote: >        Is there a FreeBSD command similar to the Linux arch > command? > >        I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then

Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Matthew Seaman
On 16/03/2010 17:02:47, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch > command? > > I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then b

Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Matthias Fechner
Hi, Am 16.03.2010 18:02, schrieb Martin McCormick: > Is there a FreeBSD command similar to the Linux arch > command? have you tried: uname -p Bye Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the univers

Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Chuck Swiger
On Mar 16, 2010, at 10:02 AM, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch command? POSIX provides `uname -m`...? You should get either i386 or amd64, depending on whether the system is running that architecture. Regards, -- -Chuck _

Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Martin McCormick
Is there a FreeBSD command similar to the Linux arch command? I have built a fairly decent Bourne shell script to run just after installing mfsbsd on a target system. It figures out the likely boot drive, formats it and then begins to build a FreeBSD system on it. The script could

POP3 , Inetd and Handbook.

2010-03-16 Thread Jorge Biquez
Hello all. I'm sorry if this sounds too stupid or basic. I moved from 4.3 to latest version and it is working fine. On $.x I used to have inedt active since services are basic. On new system inedt did not active service immediately (not here at least) so I enable the service like "ftpd" on rc

Re: More ZIP Problems

2010-03-16 Thread Programmer In Training
On 03/16/10 10:18, Lowell Gilbert wrote: > Programmer In Training writes: > >> OK, so I got the disk mounted as it was. Then I used fdisk to reformat >> it (probably not the best tool to do so, but it worked) to the default >> FreeBSD fs as I have no plans on using it on a Windows box, ever. > >

Re: More ZIP Problems

2010-03-16 Thread Programmer In Training
On 03/16/10 10:18, Lowell Gilbert wrote: > Programmer In Training writes: > >> OK, so I got the disk mounted as it was. Then I used fdisk to reformat >> it (probably not the best tool to do so, but it worked) to the default >> FreeBSD fs as I have no plans on using it on a Windows box, ever. > >

How to make a process detect time zone change?

2010-03-16 Thread Peter Steele
We have a system controlled through a Java GUI and one of the commands provided in the GUI is to change the date/time, including the time zone. When the time zone is changed the FreeBSD system immediately recognizes the change (that is, the date command from the command line shows the correct ti

Re: More ZIP Problems

2010-03-16 Thread Lowell Gilbert
Programmer In Training writes: > OK, so I got the disk mounted as it was. Then I used fdisk to reformat > it (probably not the best tool to do so, but it worked) to the default > FreeBSD fs as I have no plans on using it on a Windows box, ever. Just checking: you did do a newfs(8), right? -- L

More ZIP Problems

2010-03-16 Thread Programmer In Training
OK, so I got the disk mounted as it was. Then I used fdisk to reformat it (probably not the best tool to do so, but it worked) to the default FreeBSD fs as I have no plans on using it on a Windows box, ever. [r...@heaven]mount /dev/afd0s1 /mnt/zip mount: /dev/afd0s1 : Invalid argument [r...@heaven

Re: limit bandwidth on sftp

2010-03-16 Thread Lowell Gilbert
krad writes: > On 15 March 2010 13:34, Lowell Gilbert < > freebsd-questions-lo...@be-well.ilk.org> wrote: > >> Tsu-Fan Cheng writes: >> >> >I need to limit my sftp session bandwidth to 20K, can someone show me >> how >> > to do it? thank you! >> >> There's no simple way to do that. >> >> scp

Re: /etc/rc.conf and NFS

2010-03-16 Thread RW
On Mon, 15 Mar 2010 21:38:39 -0400 Joe Auty wrote: > Hello, > > I have my /usr/local partition hosted on an NFS share which is mounted > at boot. Do you have any theories as to why my various services > (Apache, Postfix, MySQL) listed in /etc/rc.conf do not start up > automatically at boot, and

Re: cdrecord errors messages

2010-03-16 Thread Alexander Best
have you tried both commands with the -tao switch? i was also getting errors with cdrecord until i started using that switch. cheers. alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsub

Re: limit bandwidth on sftp

2010-03-16 Thread krad
On 15 March 2010 13:34, Lowell Gilbert < freebsd-questions-lo...@be-well.ilk.org> wrote: > Tsu-Fan Cheng writes: > > >I need to limit my sftp session bandwidth to 20K, can someone show me > how > > to do it? thank you! > > There's no simple way to do that. > > scp has such a capability, thoug