Re: Repost: Drive jumpers - was: Boot Timeout?

2003-09-16 Thread David Siebörger
At  1:52 PM on Tuesday 16 September 2003, Charles Howse wrote:
 I currently have a HDD as the primary master, a CDROM as the secondary
 master and a HDD as the secondary slave on my FBSD box.
 
 FBSD detects them as ad0, acd0 and ad3, respectively.
 
 If I change the drive jumpers to make the HDD the secondary master and
 the CDROM the secondary slave, is it correct to assume that FBSD will
 detect them as ad1 and acd0?

ad2, rather.  Assuming that you use the ATA_STATIC_ID kernel option,
ATA drives will be numbered like this:

ad0 primary master
ad1 primary slave
ad2 secondary master
ad3 secondary slave
...

 This configuration will break /etc/fstab, as well as anything else that
 references the HDD on the secondary IDE channel. Other than /etc/fstab
 and personal files, what should I edit to reflect the hardware changes?

When I've made those sorts of changes, I've only ever had to change
fstab and my scripts that run dump(8).


-- 
David Siebörger
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SSH login banner: IP address instead of DNS name

2003-07-01 Thread David Siebörger
At 12:41 PM on Tuesday  1 July 2003, Supote leelasupphakorn wrote:
  Hi again. When I SSH into my 4.8 box, the first line of the banner is:
  Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name
  That DNS name is truncated to 15 characters. I would much prefer an 
  IP address. What do I need to change to get this?
 
  --Paul Hoffman

Run sshd with the -u 15 option.  You can do so by adding this line to
/etc/rc.conf:

sshd_flags=-u 15

 You can alter sshd's banner at the directive named Banner
 in the file c/sshd/sshd_config.

That banner is shown before authentication, which is not what Paul is
talking about.


-- 
David Siebörger
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Burning audio cd with burncd command

2003-06-27 Thread David Siebörger
At 12:03 AM on Friday 27 June 2003, David wrote:
 Hello, I'm using freebsd 5.0 Jan 2003 series
 
 I read the freebsd handbook on mp3 and making
 audio cd's. First I use the mpg123 command to
 convert the mp3's to wavs in 16 bit 44.1k stereo,
 then I use the sox utility to remove the headers 
 that produces the pop click sound at the begining 
 of each track. Then I burn the cd using burncd.
 
 I still get the pop click sound when I play the audio cd.
 Is there a switch missing in the command syntax
 I'm using?
 
 mpg123 -w - anysong.mp3  newsong.wav
 
 sox -t  wav -r 44100 -s -w -c 2 newsong.wav new-song.wav

The example in the handbook reads:

% sox -t wav -r 44100 -s -w -c 2 track.wav track.raw

Note that the output file has a .raw extension.

 burncd -f /dev/acd1c -s 8 audio *.wav fixate

You should be writing the headerless .raw files to the disc, rather
than the .wav files.

 If you had a similar situation, let me know how you fix
 the problem. Any suggestions is helpful


-- 
David Siebörger
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which one is the right FTP?

2002-12-04 Thread David Siebörger
At  8:12 AM on Thursday  5 December 2002, Akifyev Sergey wrote:
   cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep -v @
 
 should list all files in package, with path relative to prefix
 
   cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep @cwd
 
 will give you the default prefix for a package.

pkg_info -Lx proftpd would be far less painful.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ServeRAID 4Lx SCSI RAID Controller

2002-12-01 Thread David Siebörger
At  7:47 PM on Sunday  1 December 2002, Nick Twaddell wrote:
 I have an IBM rack mount server with an IBM ServeRAID 4Lx SCSI RAID
 Controller.  I downloaded the FreeBSD 4.7 ISO, but I don't think it
 supports the card because it shows up as an unknown device on boot up.

That's correct - FreeBSD doesn't have a ServeRAID driver.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=726088+0+archive/2002/freebsd-stable/20021201.freebsd-stable


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: shutdown with power button

2002-11-20 Thread David Siebörger
At 11:12 PM on Monday 18 November 2002, [EMAIL PROTECTED] wrote:
 I want to learn if there is a way to make the system shutdown with the key 
 on the case. 

Provided your system supports ACPI, that feature will be available in
FreeBSD 5.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Installation of FreeBSD using volume manager

2002-11-12 Thread David Siebörger
At  9:08 PM on Tuesday 12 November 2002, Toomas Aas wrote:
 It seems to me that this is kind of chicken-and-egg problem - if the 
 support for vinum volumes is implemented as a module (vinum.ko), then 
 you need to load this module before you can access the logical volume. 
 Hence, vinum.ko itself can't be on a vinum volume :-)

That's true, but there's an article Bootstrapping Vinum, which
describes how to make the best of the situation, though.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How can i use multiple ethernet card for data transfer in my program( in C language)?

2002-11-06 Thread David Siebörger
At  7:30 PM on Wednesday  6 November 2002, Alireza Mahini wrote:
 I have two ethernet card(NIC)im my computer .Their
 characteristics are:
 
 name:rl0
 ip:128.128.64.235
 netmask:255.255.0.0
 broadcast:128.128.255.255
 
 name:rl1
 ip:128.128.65.235
 netmask:255.255.0.0
 broadcast:128.128.255.255

Notice that you've configured both of these interfaces on the same
subnet: 128.128.0.0/16.  I doubt that's what you intended.  The
operating system will create one route to the 128.128.0.0/16 network
and will send packets through that route.

I would suggest you change the netmasks to 255.255.255.0.  Or read up
on IP subnetting and rethink your network topology.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: user dead but appears still logged in in 'w' output

2002-11-04 Thread David Siebörger
On Mon 2002-11-04 (11:35), Jez Hancock wrote:
  I have a problem with a user who was idle for a long period
  of time which I killed off by terminating the associated
  login process for that user's ssh connection.  However
  that user still appears in the output from 'w'.
  
  How can I remove the user from 'w' output?
 Ok, I've just logged in multiple times on a ttyp until I logged
 in on the tty occupied by the ghost and the w entry was removed.
 (The user was logged in on ttyp2, so I logged in on ttyp0, p1 and
 then on logging in on p2 the ghost was removed).
 
 Is there an easier way?

Send the user's shell a SIGHUP and (in most cases) it'll cleanly log
itself out.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to capture bootup messages?

2002-07-24 Thread David Siebörger

On Tue 2002-07-23 (18:34), Ed Yu wrote:
 When the machine boots up, I get whole bunch of
 messages at console (Ctrl-Alt-F1) Some of it is in
 dmesg but the rest (with the daemon start info) is
 lost. Are they saved anywhere? 

'dmesg -a' will include the rc output.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message