Re: Shell line parse needed

2003-06-09 Thread Steve Sapovits
On Sun, 08 Jun 2003 23:02:42 -0700
Derrick Ryalls [EMAIL PROTECTED] wrote:

 Thanks to help from here I have MRTG setup on a 4.7 server, but now I
 need help with parsing console info.  I want a script to report CPU
 utilization by a specific process.  When I type this:
 
 top | grep hlds
 
 it gives me:
 
 60905 root10   0 54960K 49736K nanslp   1:26  0.00%  0.00% hlds
 
 What I need is to get the last whole number before hlds, which should be
 cpu utilization.  For instance, if the line was:
 
 60905 root10   0 54960K 49736K nanslp   1:26  4.61%  5.23% hlds
 
 I would need the script to report:
 
 5

This gets you the 5 if the process is running:

top | grep hlds | awk '{printf %d\n, $10}'

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


Problem with starting X: drm:r128_cce after upgrade to 5.1

2003-06-09 Thread Alexey Chuprinin
Hello

I've upgraded to 5.1 from 5.0. Now I can't start X.
I rebuild X collection via ports, but it doesn't help.
In messages.log I have a lot of lines like:
kernel: error: [drm:r128_cce_start] *ERROR* r128_cce_start called without lock held
kernel: error: [drm:r128_cce_idle] *ERROR* r128_cce_idle called without lock held
kernel: error: [drm:r128_cce_reset] *ERROR* r128_cce_reset called without lock held

In XFree86.0.log:
(EE) R128(0): R128CCEWaitForIdle: CCE idle -1007
(EE) R128(0): Idle timed out, resetting engine...
(EE) R128(0): R128CCEWaitForIdle: CCE reset -1007
(EE) R128(0): R128CCEWaitForIdle: CCE start -1007

After running X I can't switch to any console neither close X, the only way
is rebooting computer.

I will be appreciated for any help.

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


Re: Ghost images?

2003-06-09 Thread Tobias Roth
On Sun, Jun 08, 2003 at 11:14:53PM -0700, Remington L. wrote:
 I am looking for software that has the capabilities of Norton Ghost for
 FreeBSD. I am having problems finding such an application. Does one exist?

I do not exactly know what Norton Ghost is capable of, but I think
dump(8) or dd(1) will probably do what you want. Be careful with dd
though, you can easily delete all your data.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safely removing USB hard drive

2003-06-09 Thread Brandon S. Allbery
On Mon, 2003-06-09 at 02:36, Remington L. wrote:
 I have a USB keychain storage device. I can get it working fine but I cant
 figure out how to properly disconnect it. In windows I can detach the drive
 and the LED on the USB keychain goes off. Can this be accomplished in FBSD
 5.1? Or is unmounting and simply removing it safe?

Simply unmounting it should be good enough.  camcontrol stop will
probably do what you want (*after* unmounting it).

-- 
brandon s allbery [openafs/solaris/japh/freebsd] [EMAIL PROTECTED]
system administrator [linux/heimdal/too many hats] [EMAIL PROTECTED]
electrical and computer engineering  KF8NH
carnegie mellon university  [better check the oblivious first -ke6sls]

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


Re: ADSL: Using mpd(8) for PPPoE [solved?]

2003-06-09 Thread Rob
I just found a posting[1] from Archie Cobbs to freebsd-net@ where he
suggested loading the ng_ether module before running mpd(8). That's
silly, thought I, there's already a bunch of modules loaded
automatically.

And indeed, after an unsuccessful attempt, kldstat(8) shows the
following:

  Id Refs AddressSize Name
   1   10 0xc010 1fd990   kernel
   21 0xc02fe000 5448 vesa.ko
   31 0xc129e000 6000 procfs.ko
   41 0xc130c000 2000 green_saver.ko
   51 0xc1323000 3000 ng_socket.ko
   65 0xc172c000 9000 netgraph.ko
   71 0xc132f000 3000 ng_iface.ko
   81 0xc1338000 6000 ng_ppp.ko
   91 0xc1343000 4000 ng_bpf.ko
  101 0xc134e000 4000 ng_vjc.ko

But no ng_ether. So I loaded it with kldload(8) and tried again. And
what do you know - it worked!

Here's the successful output (innocent names  addresses concealed):

  Multi-link PPP for FreeBSD, by Archie L. Cobbs.
  Based on iij-ppp, by Toshiharu OHNO.
  mpd: pid 194, version 3.13 ([EMAIL PROTECTED] 16:04 22-Mar-2003)
  [PPPoE] ppp node is mpd194-PPPoE
  [PPPoE] using interface ng0
  [PPPoE] IPCP: peer address cannot be zero
  [PPPoE] IFACE: Open event
  [PPPoE] IPCP: Open event
  [PPPoE] IPCP: state change Initial -- Starting
  [PPPoE] IPCP: LayerStart
  [PPPoE:PPPoE] [PPPoE] bundle: OPEN event in state CLOSED
  [PPPoE] opening link PPPoE...
  [PPPoE] link: OPEN event
  [PPPoE] LCP: Open event
  [PPPoE] LCP: state change Initial -- Starting
  [PPPoE] LCP: LayerStart
  [PPPoE] device: OPEN event in state DOWN
  [PPPoE] exec: /sbin/ifconfig rl0 up
  [PPPoE] device is now in state OPENING
  [PPPoE] rec'd ACNAME -
  [PPPoE] rec'd command 11 from [10]:
  [PPPoE] connection successful
  [PPPoE] device: UP event in state OPENING
  [PPPoE] device is now in state UP
  [PPPoE] link: UP event
  [PPPoE] link: origination is local
  [PPPoE] LCP: Up event
  [PPPoE] LCP: state change Starting -- Req-Sent
  [PPPoE] LCP: phase shift DEAD -- ESTABLISH
  [PPPoE] LCP: SendConfigReq #1
   MRU 1492
   MAGICNUM 58783cb0
   MP MRRU 1600
   MP SHORTSEQ
   ENDPOINTDISC [802.1] 00 c1 28 00 e6 0b
  [PPPoE] LCP: rec'd Configure Request #55 link 0 (Req-Sent)
   MAGICNUM 27addd92
   MRU 1500
   AUTHPROTO CHAP MD5
  [PPPoE] LCP: SendConfigAck #55
   MAGICNUM 27addd92
   MRU 1500
   AUTHPROTO CHAP MD5
  [PPPoE] LCP: state change Req-Sent -- Ack-Sent
  [PPPoE] LCP: rec'd Configure Reject #1 link 0 (Ack-Sent)
   MP MRRU 1600
   ENDPOINTDISC [802.1] 00 c1 28 00 e6 0b
  [PPPoE] LCP: SendConfigReq #2
   MRU 1492
   MAGICNUM 58783cb0
  [PPPoE] LCP: rec'd Configure Ack #2 link 0 (Ack-Sent)
   MRU 1492
   MAGICNUM 58783cb0
  [PPPoE] LCP: state change Ack-Sent -- Opened
  [PPPoE] LCP: phase shift ESTABLISH -- AUTHENTICATE
  [PPPoE] LCP: auth: peer wants CHAP, I want nothing
  [PPPoE] LCP: LayerUp
  [PPPoE] CHAP: rec'd CHALLENGE #1
   Name: -
   Using authname [EMAIL PROTECTED]
  [PPPoE] CHAP: sending RESPONSE
  [PPPoE] CHAP: rec'd SUCCESS #1
  [PPPoE] LCP: authorization successful
  [PPPoE] LCP: phase shift AUTHENTICATE -- NETWORK
  [PPPoE] setting interface ng0 MTU to 1460 bytes
  [PPPoE] up: 1 link, total bandwidth 64000 bps
  [PPPoE] IPCP: Up event
  [PPPoE] IPCP: state change Starting -- Req-Sent
  [PPPoE] IPCP: SendConfigReq #1
   IPADDR 0.0.0.0
   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
  [PPPoE] IPCP: rec'd Configure Request #1 link 0 (Req-Sent)
   IPADDR 12.34.56.1
 12.34.56.1 is OK
  [PPPoE] IPCP: SendConfigAck #1
   IPADDR 12.34.56.1
  [PPPoE] IPCP: state change Req-Sent -- Ack-Sent
  [PPPoE] IPCP: rec'd Configure Reject #1 link 0 (Ack-Sent)
   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
  [PPPoE] IPCP: SendConfigReq #2
   IPADDR 0.0.0.0
  [PPPoE] IPCP: rec'd Configure Nak #2 link 0 (Ack-Sent)
   IPADDR 12.34.56.229
 12.34.56.229 is OK
  [PPPoE] IPCP: SendConfigReq #3
   IPADDR 12.34.56.229
  [PPPoE] IPCP: rec'd Configure Ack #3 link 0 (Ack-Sent)
   IPADDR 12.34.56.229
  [PPPoE] IPCP: state change Ack-Sent -- Opened
  [PPPoE] IPCP: LayerUp
12.34.56.229 - 12.34.56.1
  [PPPoE] IFACE: Up event
  [PPPoE] setting interface ng0 MTU to 1460 bytes
  [PPPoE] exec: /sbin/ifconfig ng0 12.34.56.229 12.34.56.1 netmask 0x -link0
  [PPPoE] exec: /sbin/route add 12.34.56.229 -iface lo0
  [PPPoE] exec: /sbin/route add 0.0.0.0 12.34.56.1
  [PPPoE] IFACE: Up event
  quit
  [PPPoE] IPCP: Down event
  [PPPoE] IPCP: state change Opened -- Starting
  [PPPoE] IPCP: LayerDown
  [PPPoE] IFACE: Down event
  [PPPoE] exec: /sbin/route delete 0.0.0.0 12.34.56.1
  [PPPoE] exec: /sbin/route delete 12.34.56.229 -iface lo0
  [PPPoE] exec: /sbin/ifconfig ng0 down delete -link0
  [PPPoE] IFACE: Close event
  [PPPoE] IPCP: Close event
  [PPPoE] IPCP: state change Starting -- Initial
  [PPPoE] IPCP: LayerFinish
  mpd: process 194 terminated

And ifconfig(8) listing (likewise):

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 0.0.0.0 netmask 0xff00 broadcast 

saving realaudio files

2003-06-09 Thread Kent Hauser
Hi,

Is there a way to save a realaudio file  later write it to an audio CD?

Thanks, Kent

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


5.1 ethernet device problems? QWE

2003-06-09 Thread Anthony Wyatt

   Hi,

 I've just built a FreeBSD 5.1 system by hand, and I'm having some
   problems.

 I suspect I've missed a config file somewhere but I know not where,
   and I'm hoping someone can point me in the right direction.

 When my system starts up it tries to DHCP an IP address and I get:

   lnc0: Device timeout -- Resetting
   ...
   lnc0: Missed packet -- no recieve buffer

 I keep getting these errors for the rest of the time this machine is
   up and running.  I have exactly the same config running that was built
   from the 5.0 cd and upgraded with the sources.

 I coped the /etc dir from the working system to this broken one, and
   it didn't seem to make any difference.

 Has anyone seen this error before and know how to fix it?

   Thanks,
   Anthony

   --
   To email me add QWE to the subject

   --
   To email me add QWE to the subject
 _

   Get mobile Hotmail. [1]Click here for more.

References

   1. http://g.msn.com/8HMWENAU/2737??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: saving realaudio files

2003-06-09 Thread Kliment Ognianov
- Original Message - 
  From: Kent Hauser 
  To: [EMAIL PROTECTED] 
  Sent: Monday, June 09, 2003 12:58 PM
  Subject: saving realaudio files


  Hi,

  Is there a way to save a realaudio file  later write it to an audio CD?

  Thanks, Kent

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

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


Re: Newbie wirless install question

2003-06-09 Thread sektie
 windows.  After I boot into freebsd I use ifconfig to set the SSID 
 and the wepkey.  The link light on the card is solid (this usually 
 means the card is configured and connected correctly).

Heh, I'm wondering if you did the same thing I did. You set the WEP key, but 
did you turn WEP on? ;)

Check your ifconfig. Are you getting an IP via DHCP, or is it statically 
assigned? Does it say that your NIC is associated in ifconfig?

Gotta love FBSD ifconfig. Having wireless support in ifconfig saves quite a 
bit of time. Didn't realize how much I liked it until I was forced to set up 
linux on a laptop. :)

Randi
[EMAIL PROTECTED]
http://perlpimp.codersluts.net

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


quation about using email

2003-06-09 Thread Marcos . Melaku
Hi
as I have asked abut using email If I would not put any thing on cc Is the
message still wiil sena or not or what is the use of cc .what wiil i put


***
For more information on the Foreign  Commonwealth Office visit: http://www.fco.gov.uk 
For information about the UK visit: http://www.i-uk.com

Please note that all messages sent and received by members of the Foreign  
Commonwealth Office and its missions overseas may be monitored centrally.  This is 
done to ensure the integrity of the system.

***

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


Re: Safely removing USB hard drive

2003-06-09 Thread John Baldwin

On 09-Jun-2003 Brandon S. Allbery  KF8NH wrote:
 On Mon, 2003-06-09 at 02:36, Remington L. wrote:
 I have a USB keychain storage device. I can get it working fine but I cant
 figure out how to properly disconnect it. In windows I can detach the drive
 and the LED on the USB keychain goes off. Can this be accomplished in FBSD
 5.1? Or is unmounting and simply removing it safe?
 
 Simply unmounting it should be good enough.  camcontrol stop will
 probably do what you want (*after* unmounting it).

or 'camcontrol eject'.  eject is what I use to disconnect my firewire iPod
for example.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Mount command...again

2003-06-09 Thread John DeStefano
::bump::
Has anyone got a suggestion for this?  I've also tried to do this in the same manner 
(a la Linux) and been equally as frustrated.  man mount describes lots of options 
for the command, but it does not go into all of the -o options, which are 
(apparently) what we're looking for here.
Thanks.
 
Jon Reynolds wrote:
 Ok, here is what I am trying to do. I am trying to mount a
 samba served
 directory on a remote system onto my local system. Both
 servers are
 running freebsd4.8. I want to mount the remote directory with
 the
 priveliges of the remote owner of the directory onto my local
 system.
 
 In Linux I can do it this way:
 mount -t smbfs -o username=,password=,
 uid=jonr,gid=jonr //sambaserver/ /path/to/mount/point
 
 This will send my username and password then mount the share
 with the
 remote users uid and gid.
 
 Is there a way to do this on FreeBSD? I have been reading the
 man pages
 for mount and mount_smbfs and can't find out how to do this.
 -- 
 Jon Reynolds 


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Newbie wirless install question

2003-06-09 Thread Scott Miller
It should get an address via DHCP. (I did not see where this was indicated
in ifconfig.)

ifconfig shows that wi0 is:

associated
SSID=Donner Pass (this is correct)
wep is on, channel 1, and 128 bit key (all correct)

Thanks,

Scott



-Original Message-
From: sektie [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 5:02 AM
To: Scott Miller; [EMAIL PROTECTED]
Subject: Re: Newbie wirless install question


 windows.  After I boot into freebsd I use ifconfig to set the SSID
 and the wepkey.  The link light on the card is solid (this usually
 means the card is configured and connected correctly).

Heh, I'm wondering if you did the same thing I did. You set the WEP key, but
did you turn WEP on? ;)

Check your ifconfig. Are you getting an IP via DHCP, or is it statically
assigned? Does it say that your NIC is associated in ifconfig?

Gotta love FBSD ifconfig. Having wireless support in ifconfig saves quite a
bit of time. Didn't realize how much I liked it until I was forced to set up
linux on a laptop. :)

Randi
[EMAIL PROTECTED]
http://perlpimp.codersluts.net

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


Dead keys on Toshiba laptop - 4.8-STABLE - XFree 4.3

2003-06-09 Thread Florian Ponroy
Hello,

I've recently installed FreeBSD on my laptop, fetched the kernel sources
to upgrade from 4.8-RELEASE to 4.8-STABLE, and now i'm trying to make
these dead-keys working under XFree :)

Well, it doesn't work at all. 8 bits caracters are perfectly supported
by the terminal (aterm), since i can see them if i switch to a french
keyboard mapping. Usually i use a dvorak keyboard mapping.

Although i've used xmodmap to set up Mode_switch or Multi_key keys, i
still can't get dead-keys working.

Here is my XF86Config file:

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
option  xkbRules xfree86
Option  XkbModel pc105
Option  XkbLayout dvorak
Option  XkbOptions ctrl:swapcaps
EndSection


For example, i've checked the keycode of the right alt key with xev, and
bound it to Multi_key, but without any success. Or bounding a
'dead_grave dead_circumflex' to another key didn't work either.

That's weird, it's the first time i can't make these dead-keys working.
Could it be a laptop issue? (Toshiba Satellite 3000).

Thanks in advance,

Florian Ponroy.

-- 
 L'amour... Il y a ceux qui en parlent et ceux qui le font. 
 A partir de quoi il m'apparait urgent de me taire.
Pierre Desproges
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safely removing USB hard drive

2003-06-09 Thread Douglas G. Phillips
On Mon, 2003-06-09 at 01:36, Remington L. wrote:
 Can this be accomplished in FBSD 5.1? Or is unmounting and simply 
 removing it safe?


I use one here at work on a linux machine, and umounting it works just
fine with no problems.  Haven't tried it on my FBSD machine yet.
-- 
Douglas G. Phillips
ITS/Client Services
Eastern Illinois University
(217) 581-7631
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID, Vinum and different disksizes

2003-06-09 Thread freeBSD
I have three 120GB disks and one 170GB disk. The first three is forming
a raid-5 volume using Vinum and the last one is just fooling around
without any purpose.

Can I add this 170GB to the raid5 volume in any way at all? I do realise
that I will loose 50Gb, but that's better than not using it at all.

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


Handspring Visor and J-Pilot

2003-06-09 Thread Douglas G. Phillips
I've been trying to get my Handspring Visor and J-Pilot to work on my
FBSD 5.0-REL machine.  The syslog shows that the system is recognizing
the connection and disconnection of the visor, but J-Pilot can't seem to
talk to the PDA.  Any ideas?

I've tried using /dev/usb[0,1,2] in the settings, but no luck.

--- Relevant Portion of Syslog: ---

May 27 03:45:31 satyridae kernel: ugen0: Handspring Inc Handspring
Visor, rev 1.00/1.00, addr 3
May 27 03:45:35 satyridae kernel: pid 52691 (jpilot), uid 1002: exited
on signal 11 (core dumped)
May 27 03:45:37 satyridae kernel: ugen0: at uhub2 port 1 (addr 3)
disconnected
May 27 03:45:37 satyridae kernel: ugen0: detached
-- 
Douglas G. Phillips
ITS/Client Services
Eastern Illinois University
(217) 581-7631
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ramdisk howto???

2003-06-09 Thread romero3000



I want to to know how to create a ram file system for /var and /tmp so
that i can boot from flash memory and mount those two file systems on
ramfs. I've looked for howto's online but haven't found anything. any
suggestions


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


Dynamic DNS Updates

2003-06-09 Thread Tim Radigan
Hey peoples,

Have a quick question for anyone who is up for it.  Trying to use DHCP 
to issue Dynamic DNS Updates for my internal zone.  I keep getting the 
following error message on the console:

Jun  9 11:00:39 ns2 dhcpd: unable to add reverse map from 
243.1.168.192.in-addr.arpa. to td-webdesign.touchdynamic.com: timed out

I get that for each client on my internal network.  Below are my 
named.conf and dhcpd.conf files edited to remove actual IP's however the 
configuration should be the only thing that matters.

If anyone has any ideas, please let me know.

 named.conf 

options {
   directory /etc/namedb;

   query-source address * port 53;

   listen-on { address.to.external.interface; };

   forwarders { address.to.forwarders; };
};
logging {
   channel update_debug {
   file /var/log/update-debug.log;
   severity  debug 3;
   print-category yes;
   print-severity yes;
   print-time yes;
   };
   channel security_info{
   file /var/log/named-auth.info;
   severity  info;
   print-category yes;
   print-severity yes;
   print-time yes;
   };
   category update { update_debug; };
   category security { security_info; };
};
acl td-internal {
   127/8;
   192.168.1/24;
};
acl name-servers {
   address.to.nameserver.1;
   address.to.nameserver.2;
};
key td-dnsadmin {
   algorithm hmac-md5;
   secret secret key;
};
key ns1-ns2.touchdynamic.com. {
   algorithm hmac-md5;
   secret secret key;
};
  
controls {
   inet 127.0.0.1 port 953  
   allow { 127.0.0.1; } keys { td-dnsadmin; };
};
   
server address.to.nameserver.1 {   
   keys { ns1-ns2.touchdynamic.com.; };
};
 
server address.to.nameserver.2 {
   keys { ns1-ns2.touchdynamic.com.; };
};   
  
view internal {
   match-clients { td-internal; };
   recursion yes;
   notify yes;   
 
   zone touchdynamic.com {
   type master; 
   file internal/int.touchdynamic.com;
   allow-update { key ns1-ns2.touchdynamic.com.; };
   allow-transfer { name-servers; };
   };

   zone . {  
   type hint;
   file named.root;
   }; 

   zone 0.0.127.IN-ADDR.ARPA {
   type master;
   file localhost.rev;
   };
 
   zone 1.168.192.IN-ADDR.ARPA {
   type master;
   file internal/192.168.1.rev;
   allow-update { key ns1-ns2.touchdynamic.com.; };
   allow-transfer { name-servers; };
   };
};   
  
view external {
   match-clients { any; }; 
   recursion no; 
   notify no;
 
   zone touchdynamic.com {
   type slave;  
   file external/ext.touchdynamic.bak;
   masters { address.to.master; };
   };

   zone . {  
   type hint;
   file named.root;
   }; 

   zone xx.xx.xx.IN-ADDR.ARPA {
   type slave;
   file external/xx.xx.xx.bak;
   masters { address.to.master; };
   };

   zone xx.xx.xx.IN-ADDR.ARPA {
   type slave;
   file external/xx.xx.xx.bak;
   masters { address.to.master; };
   };
};
 named.conf 

 dhcpd.conf 

option domain-name touchdynamic.com;
option domain-name-servers  xx.xx.xx.xx, xx.xx.xx.xx;
option routers 192.168.1.1;

default-lease-time 43200;
max-lease-time 86400;
authoritative;

key ns1-ns2.touchdynamic.com. {
 algorithm hmac-md5;
 secret secret key;
};
zone touchdynamic.com. {
 primary 127.0.0.1;
 key ns1-ns2.touchdynamic.com.;
}
zone 1.168.192.in-addr.arpa. {
 primary 127.0.0.1;
 key ns1-ns2.touchdynamic.com.;
}
ddns-update-style interim;
ddns-domainname touchdynamic.com.;
ddns-rev-domainname in-addr.arpa.;
log-facility local7;

host td-termsrvr {
 hardware ethernet 00:E0:02:02:06:5A;
 fixed-address 192.168.1.3;
}
host home {
 hardware ethernet 00:50:fc:4b:ea:cb;
 fixed-address 192.168.1.2;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
 option broadcast-address 192.168.1.255;
 range 192.168.1.10 192.168.1.245;
}
 dhcpd.conf 

Re: Reliable USB NIC?

2003-06-09 Thread J. Seth Henry
I have had very good luck with the Linksys USB100TX adapters. I have four
of them supporting small X terminals, and they have turned out to be more
reliable than the terminals (they crash for reasons unrelated to their
network connections). They also have decent performance for a USB 1.x
device.

If your system has support for USB 2.0, Linksys does make a USB 2.0
version of the adapter, but I don't have any experience with them.

Regards,
Seth Henry

I know it sounds like an oxymoron, but I'm looking for a reliable USB NIC
that's supported by FreeBSD 4.8 or -STABLE.  It's going to be attached to
my cable modem (currently 512kbps down, 128kbps up, transferring a few
hundred MB daily) so speed is not really relevant.  What I do need is
something that will stay up for months -- essentially the time between
kernel upgrades -- without needing any attention from me.  Sadly it has
to be USB, since the machine it's going in only has room for 1 PCI card,
and that's occupied by the wireless adapter.

Hmm, I guess 'not too expensive' and 'available in the UK' should be on
that list too :-)

Does such a beast exist?

Cheers,

Scott

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


RE: /dev/tty keeps changing permissions..?

2003-06-09 Thread Thomas Park


 -Original Message-
 From: Matthew D. Fuller [mailto:[EMAIL PROTECTED] 
 
 On Sat, Jun 07, 2003 at 10:21:17PM -0700 I heard the voice of
 Thomas Park, and lo! it spake thus:
  I've been having an interesting problem with my FreeBSD 5.0 
 install -
  for whatever reason, the permissions and ownership on 
 /dev/tty keep on
  being automatically changed in such a way that it becomes 
 impossible for
  most users of the system to initiate outbound SSH sessions.
 
 If you're having a problem with ssh, /dev/tty permissions 
 have nothing to
 do with it.  It's something of a phantom device which always refers to
 YOUR tty.  YOUR tty will naturally be owned by you, and 
 either 620 or 600
 (depending on mesg(1)).  Vis:
 


Interesting.  I have access to several FreeBSD 4.6 STABLE boxes, and
/dev/tty on each of them looks thusly:

crw-rw-rw-  1 root  wheel1,   0 Jun  8 15:26 /dev/tty
crw-rw-rw-  1 root  wheel1,   0 May 31 23:06 /dev/tty

etc. - all owned by root:wheel and all mode 0666.

The only system that has user level ownership / permissions is the BSD
5.0 box.


 
 So, something else would be causing your ssh permissions.  
 We'd need more
 details to try and track that down.
 


I'm pretty sure the ssh problem is with /dev/tty - I've scoured quite a
few message boards and newsgroups looking for a solution to the SSH
problem.  The symptom:a user who doesn't currently own /dev/tty attempts
to open an outbound SSH session and gets a permission denied error with
an error message along the lines of Host key verification failed.  SCP
likewise doesn't work.

The fix suggested on the various newsgroups was to chmod 666 /dev/tty -
pretty much in line with the permissions that I have on the 4.6 boxen.

If you could suggest other culprit locations to try looking in, I would
very much appreciate it.

thanks!
thomas

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


2 filesystem problems: blst_radix_free and bad inode number

2003-06-09 Thread Michael A. Smith
I've got an AMD Duron-700 running FreeBSD 4.8-RC. It's got a Promise IDE 
RAID card and two identical 40GB Maxtor drives (less than six months 
old) -- mirrored. No floppy, no CD-ROM, no other IDE drives. The machine 
is a headless Samba fileserver in my office. A few days ago, it became 
unreachable by SSH (filesharing still worked).

I had to power-cycle it to get it down and plugged into a monitor and 
keyboard. It's having two problems when booting:

1) if I try to boot normally (multiuser), it panics when loading the 
root filesystem, then reboots (again and again...):

   panic: blst_radix_free: freeing free block

2) If I boot single-user, it mounts the root filesystem. When I try to 
fsck the various filesystems (/, /var, /tmp, /usr) I get this error when 
fscking /dev/ar0s1g (/usr):

   fsck: bad inode number 132352 to setinodebuf

All the other filesystems come up clean.

I don't know if the problems are related. I disassembled the array and 
booted from one of the mirrored drives alone -- same error -- then I 
reassambled the array.

Any ideas on how to solve one or both of these problems?

Thanks!

Michael A. Smith

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


RE: /dev/tty keeps changing permissions..?

2003-06-09 Thread John Straiton
 I'm pretty sure the ssh problem is with /dev/tty - I've 
 scoured quite a
 few message boards and newsgroups looking for a solution to the SSH
 problem.  The symptom:a user who doesn't currently own 
 /dev/tty attempts
 to open an outbound SSH session and gets a permission denied 
 error with
 an error message along the lines of Host key verification 
 failed.  SCP
 likewise doesn't work.

That error message is usually because you're ssh'ing to boxen whos
public key has changed. 

The quick and easy fix? (which will reset all keys and break any
possible passwordless-ssh stuff you have setup)

[EMAIL PROTECTED] find / -name known_hosts -exec rm {} \;


The correct fix?
Open up your known_hosts file for every user that has this problem and
remove the entry for the machine you're trying to ssh to, then save it.
This of course could be scripted.  By changing the permissions on the
/dev/tty device, you might be causing the ssh client to poll another
user's (perhaps root?) known_hosts which may have a correct entry in it
instead of an old public key.

One thing you can try to verify this might be to ssh to the machine's ip
if you're used to doing it to the name. If it's never been ssh'ed to
before (as the IP), it should ask you to confirm the new key and then
let you in.

John Straiton
[EMAIL PROTECTED]
Clickcom, Inc
704-365-9970x101 


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


RE: /dev/tty keeps changing permissions..?

2003-06-09 Thread Thomas Park
Hi John,


  I'm pretty sure the ssh problem is with /dev/tty - I've 
  scoured quite a
  few message boards and newsgroups looking for a solution to the SSH
  problem.  The symptom:a user who doesn't currently own 
  /dev/tty attempts
  to open an outbound SSH session and gets a permission denied 
  error with
  an error message along the lines of Host key verification 
  failed.  SCP
  likewise doesn't work.
 
 That error message is usually because you're ssh'ing to boxen whos
 public key has changed. 
 


I should have mentioned that the account I was using for ssh DOES have a
correct host key entry for the remote host - the error message is itself
erroneous.  Although I think we're getting on track here - it looks like
the problem is happening when I su into a different account and try to
ssh from the su'ed account (which also has the host key) - after su'ing,
the tty device remains owned by the base user with respect to my new
EUID, which appears to make ssh outbound break.

thomas

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


[no subject]

2003-06-09 Thread Schalk Erasmus


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


how to talk to the serial and parallel ports through a C program

2003-06-09 Thread Dan Malaby
I was wondering if there was a good place to go to get programing examples 
on how to
talk to the serial and parallel ports. I have looked in the developers 
handbook but have not
any luck finding what I want.

Any pointers would be appreciated

Thanks

Daniel Malaby   voice:(510) 531-6500
Peritek Corp.   fax:   (510) 530-8563
5550 Redwood Road   email: [EMAIL PROTECTED]
Oakland, CA 94619
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dynamic DNS Updates

2003-06-09 Thread David Varieur
On Mon, 09 Jun 2003 11:12:48 -0400
Tim Radigan [EMAIL PROTECTED] wrote:

 Hey peoples,
 
 Have a quick question for anyone who is up for it.  Trying to use DHCP 
 to issue Dynamic DNS Updates for my internal zone.  I keep getting the 
 following error message on the console:
 
 Jun  9 11:00:39 ns2 dhcpd: unable to add reverse map from 
 243.1.168.192.in-addr.arpa. to td-webdesign.touchdynamic.com: timed out
 
 I get that for each client on my internal network.  Below are my 
 named.conf and dhcpd.conf files edited to remove actual IP's however the 
 configuration should be the only thing that matters.
 
 If anyone has any ideas, please let me know.
 

This article mentions your error message.
http://ops.ietf.org/dns/dynupd/secure-ddns-howto.html


You could try setting

ignore client-updates

in dhcpd.conf

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


RE: /dev/tty keeps changing permissions..?

2003-06-09 Thread Thomas Park
...Wow - this is definitely what I'd call going above and beyond the
call of duty.  

Thanks so much for your insights; I'll try this patch and let you know
if it works!  ^_^

Best,
thomas



 -Original Message-
 From: Matthew D. Fuller [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 09, 2003 10:48
 To: Thomas Park
 Cc: [EMAIL PROTECTED]
 Subject: Re: /dev/tty keeps changing permissions..?
 
 
 On Mon, Jun 09, 2003 at 09:59:18AM -0700 I heard the voice of
 Thomas Park, and lo! it spake thus:
  
  By God, I see that you're right!
 
 This is what I've been telling you8-}
 
 
  I think the problem arises when I su into another account 
 and try to ssh
  outbound.  Which should arguably be possible without having 
 to do arcane
  manipulations to the tty device, IMHO..?
 
 Well, it should be, yah.
 
 
 Here's what's happening (after a quick foray into the source):
 
 In the routine (readpassphrase(), readpassphrase.c) where it 
 reads in a
 password, it tries to open() /dev/tty, and if THAT fails, then use
 stdin/stdout:
 
 
 if ((input = output = open(_PATH_TTY, O_RDWR)) == -1) {
 if (flags  RPP_REQUIRE_TTY) {
 errno = ENOTTY;
 return(NULL);
 }
 input = STDIN_FILENO;
 output = STDERR_FILENO;
 }
 
 
 So, if it can't open /dev/tty (which it can't), and the 
 RPP_REQUIRE_TTY
 flag is set, then it returns NULL here.  From what I can see, 
 that gets
 passed up, so it ends up sending nothing as the password, which is why
 you see it looping a few times there like:
 
  debug1: Next authentication method: password
  debug2: we sent a password packet, wait for reply
  debug1: Authentications that can continue:
  publickey,password,keyboard-interactive
  Permission denied, please try again.
 
 
 So, why is that flag set?  Let's look upward:
 
 readpassphrase() is called from read_passphrase() 
 (readpass.c), just to
 confuse you with naming.  That sets the RPP_REQUIRE_TTY flag, 
 unless IT
 is passed RP_ALLOW_STDIN.  read_passphrase() is called in 
 this case from
 userauth_passwd (sshconnect2.c), with the flags set to 0:
 
 password = read_passphrase(prompt, 0);
 
 
 So, according to my reading, if you change that '0' to 
 'RP_ALLOW_STDIN'
 there (line 458 in sshconnect2.c from the openssh-portable/ 
 port, after
 'make patch'), then make/make install it, you SHOULD be able 
 to use that
 ssh(1) binary, and get out just fine, I think.
 
 
 You can probably patch it in the base source tree too (it's in
 src/crypto/openssh/), then 'make clean objdir all install' in
 src/secure/usr.bin/ssh/ to install it.
 
 
 -- 
 Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
 Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
 
 The only reason I'm burning my candle at both ends, is because I
   haven't figured out how to light the middle yet
 

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


PCI modem configuration

2003-06-09 Thread Chris Staskewicz
I have a PnP PCI modem that I think the kernel recognizes (I added device
puc to a new kernel build).  dmesg added a new line (new in the sense
that the older dmesg on the older kernel didn't have it) with something
like,

pci0 Unknown Card irq=9 ...

I would email the exact text, however, I can't dial-up from home just yet!
My question is, that if this is the correct configuration, how do I know
or make the correct device nodes in /dev, so that I can use PPP or some
other program to dial-up to the ISP?  sh MAKEDEV pci0 doesn't work, and
browsing what's available in /etc/MAKEDEV doesn't really give me any
clues.

Thanks so much,

Chris.

 
 Chris Staskewicz
 http://www.math.utah.edu/~cjs
 

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


Re: RAID, Vinum and different disksizes

2003-06-09 Thread Mark Rowlands
On Monday 09 June 2003 5:10 pm, freeBSD wrote:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.

 Can I add this 170GB to the raid5 volume in any way at all? I do realise
 that I will loose 50Gb, but that's better than not using it at all.



from http://www.daemonnews.org/22/vinum.html

Like striped plexes, RAID-5 plexes must have equal-sized subdisks and cannot 
currently be extended

from http://www.vinumvm.org/vinum/Future-directions.html

Extending striped and RAID-5 plexes is a slow complicated operation, but it 
is feasible. 

I am prepared, and desperately hope to be corrected on this but as far as I am 
aware it is only possible by backing up, recreating a new vinum configuration 
and restoring.

As for losing 50gb I'll swap you a 120gb for the 170gb  ;-)






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


Re: RAID, Vinum and different disksizes

2003-06-09 Thread Joshua Oreman
On Mon, Jun 09, 2003 at 05:10:37PM +0200 or thereabouts, freeBSD seemed to write:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.
 
 Can I add this 170GB to the raid5 volume in any way at all? I do realise
 that I will loose 50Gb, but that's better than not using it at all.

Sorry, no.
On the other hand, if the first three were a concat plex, you *could* do it,
and you wouldn't even lose 50gb!
Your best bet is either:
a) mount the 170gb on /usr2 or something
b) backup the data on the raid5, restore to a concat

HTH,
-- Josh

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


Re: Mount command...again

2003-06-09 Thread Bruce Cran
On Thu, Jun 05, 2003 at 02:45:04PM -0800, [EMAIL PROTECTED] wrote:
 Ok, here is what I am trying to do. I am trying to mount a samba served
 directory on a remote system onto my local system. Both servers are
 running freebsd4.8. I want to mount the remote directory with the
 priveliges of the remote owner of the directory onto my local system.
 
 In Linux I can do it this way:
 mount -t smbfs -o username=loginname,password=passwdtoshare,
 uid=jonr,gid=jonr //sambaserver/share /path/to/mount/point
 
 This will send my username and password then mount the share with the
 remote users uid and gid.
 
 Is there a way to do this on FreeBSD? I have been reading the man pages
 for mount and mount_smbfs and can't find out how to do this.
 -- 
 Jon Reynolds [EMAIL PROTECTED]
 

Have you tried

mount_smbfs -u uid -g gid //loginname@sambaserver/share /mountpoint

where uid and gid is the user/group whom you want the files to be accessible
by.   This works on my -current system.

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


Re: Dead keys on Toshiba laptop - 4.8-STABLE - XFree 4.3

2003-06-09 Thread Florian Ponroy
On Mon, Jun 09, 2003 at 04:57:47PM +, Florian Ponroy wrote:
 Hello,
 
 I've recently installed FreeBSD on my laptop, fetched the kernel sources
 to upgrade from 4.8-RELEASE to 4.8-STABLE, and now i'm trying to make
 these dead-keys working under XFree :)
 
 Well, it doesn't work at all. 8 bits caracters are perfectly supported
 by the terminal (aterm), since i can see them if i switch to a french
 keyboard mapping. Usually i use a dvorak keyboard mapping.
 

Ok, i've found it. It's my Aterm which is sucky. Gotta recompile it! At
least, the 4.8 packaged version doesn't handle dead keys.

Sorry folks, i didn't search enough :)

Florian.

-- 
 L'amour... Il y a ceux qui en parlent et ceux qui le font. 
 A partir de quoi il m'apparait urgent de me taire.
Pierre Desproges
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How is it possible to pass options to if filter foomatic-rip withFreeBSD version of lpr/lpd?

2003-06-09 Thread ariel . burbaickij

Hello mailing list participants,

Does someone use foomatic-rip
as if filter on FreeBSD machine
and has found out how is it possible
to pass options to foomatic-rip on
lpr command line? 

Please be so kind as to CC answer
to my e-mail adress because I am
currently not subscribed to the list

Yours sincerely
Ariel Burbaickij
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Alternate websites

2003-06-09 Thread Ian Barnes
Hi,

I have an idea. I dont know if it is possible, but here goes.

First my server layout.

Server 1
---
* Primary DNS
* Mail
* Web Server

Server 2
---
* Secondary DNS


Right, what I would like is that if server one goes down, it will redirect
web trafic to Server 2, displaying a This site is temporarily offline
page.  Is this possible, and could someone help me to get it right. And
could Server 2 display an error page according to the specific website that
the user is visiting ?

Thanks for the help.

Ian Barnes

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


Re: /dev/tty keeps changing permissions..?

2003-06-09 Thread Matthew D. Fuller
On Sat, Jun 07, 2003 at 10:21:17PM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
 Hello,
 
 I've been having an interesting problem with my FreeBSD 5.0 install -
 for whatever reason, the permissions and ownership on /dev/tty keep on
 being automatically changed in such a way that it becomes impossible for
 most users of the system to initiate outbound SSH sessions.

If you're having a problem with ssh, /dev/tty permissions have nothing to
do with it.  It's something of a phantom device which always refers to
YOUR tty.  YOUR tty will naturally be owned by you, and either 620 or 600
(depending on mesg(1)).  Vis:

-
[18:10:13] mortis:~
(ttyp3):{672}% whoami
fullermd
[18:10:17] mortis:~
(ttyp3):{673}% ls -al /dev/tty
crw---  1 fullermd  tty5,   3 Jun  8 18:10 /dev/tty
[18:10:23] mortis:~
(ttyp3):{674}% ssh -t -lmatt localhost ls -al /dev/tty
Password:
crw--w  1 matt  tty5,  23 Jun  8 18:10 /dev/tty
Connection to localhost closed.
-

So, something else would be causing your ssh permissions.  We'd need more
details to try and track that down.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/tty keeps changing permissions..?

2003-06-09 Thread Matthew D. Fuller
On Mon, Jun 09, 2003 at 09:41:01AM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
 
 Interesting.  I have access to several FreeBSD 4.6 STABLE boxes, and
 /dev/tty on each of them looks thusly:

4.x doesn't have devfs, so /dev is static.  It's just internally (in the
kernel) that /dev/tty becomes 'dynamic' pointing to the current tty.  In
5.x with devfs, it shows through in /dev.


 I'm pretty sure the ssh problem is with /dev/tty - I've scoured quite a
 few message boards and newsgroups looking for a solution to the SSH
 problem.  The symptom:a user who doesn't currently own /dev/tty attempts
 to open an outbound SSH session and gets a permission denied error with
 an error message along the lines of Host key verification failed.  SCP
 likewise doesn't work.

Don't say, show:)

Try `ssh -vvv` to be really verbose about it.



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ADSL: Using mpd(8) for PPPoE

2003-06-09 Thread Matthew D. Fuller
On Sun, Jun 08, 2003 at 10:35:25PM -0700 I heard the voice of
Kris Kennaway, and lo! it spake thus:
 
 ppp(8) also uses netgraph for PPPoE.  Anyway, are you sure you need to
 worry about mpd?  My Pentium 120 router handles my 1.5MBit ADSL at
 full speed with ppp(8)'s pppoe.

Don't be silly8-}


My 486 DX2/66 router handles my 1.5mbit ADSL at full speed with ppp(8).



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/tty keeps changing permissions..?

2003-06-09 Thread Matthew D. Fuller
On Mon, Jun 09, 2003 at 09:59:18AM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
 
 By God, I see that you're right!

This is what I've been telling you8-}


 I think the problem arises when I su into another account and try to ssh
 outbound.  Which should arguably be possible without having to do arcane
 manipulations to the tty device, IMHO..?

Well, it should be, yah.


Here's what's happening (after a quick foray into the source):

In the routine (readpassphrase(), readpassphrase.c) where it reads in a
password, it tries to open() /dev/tty, and if THAT fails, then use
stdin/stdout:


if ((input = output = open(_PATH_TTY, O_RDWR)) == -1) {
if (flags  RPP_REQUIRE_TTY) {
errno = ENOTTY;
return(NULL);
}
input = STDIN_FILENO;
output = STDERR_FILENO;
}


So, if it can't open /dev/tty (which it can't), and the RPP_REQUIRE_TTY
flag is set, then it returns NULL here.  From what I can see, that gets
passed up, so it ends up sending nothing as the password, which is why
you see it looping a few times there like:

 debug1: Next authentication method: password
 debug2: we sent a password packet, wait for reply
 debug1: Authentications that can continue:
 publickey,password,keyboard-interactive
 Permission denied, please try again.


So, why is that flag set?  Let's look upward:

readpassphrase() is called from read_passphrase() (readpass.c), just to
confuse you with naming.  That sets the RPP_REQUIRE_TTY flag, unless IT
is passed RP_ALLOW_STDIN.  read_passphrase() is called in this case from
userauth_passwd (sshconnect2.c), with the flags set to 0:

password = read_passphrase(prompt, 0);


So, according to my reading, if you change that '0' to 'RP_ALLOW_STDIN'
there (line 458 in sshconnect2.c from the openssh-portable/ port, after
'make patch'), then make/make install it, you SHOULD be able to use that
ssh(1) binary, and get out just fine, I think.


You can probably patch it in the base source tree too (it's in
src/crypto/openssh/), then 'make clean objdir all install' in
src/secure/usr.bin/ssh/ to install it.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


newbie: webalizer V2.01-10 DNSChildren query

2003-06-09 Thread admin
OS: freeBSD 4.8 Stable

How can I stop webazolver and webalizer asking for the DNSChildren when the -N
switch is defined in the command line and the DNSChildren is defined in the
webalizer.conf file?

 snip 

webazolver -N 20 -D /usr/local/etc/webalizer/dns_cache.db $i

Webalizer V2.01-10 (FreeBSD 4.8-STABLE) English
Using logfile /usr/local/www/logs/sub60.sffreaks.org/access_log (clf)
DNS Lookup (20):

the -N switch is defined why is this query happening?

- snip -

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


Re: ramdisk howto???

2003-06-09 Thread Tobias Roth
On Mon, Jun 09, 2003 at 11:14:21AM -0400, [EMAIL PROTECTED] wrote:
 I want to to know how to create a ram file system for /var and /tmp so
 that i can boot from flash memory and mount those two file systems on
 ramfs. I've looked for howto's online but haven't found anything. any
 suggestions

have a look at http://neon1.net

the minibsd part is what you are looking for.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reliable USB NIC?

2003-06-09 Thread Scott Mitchell
On Mon, Jun 09, 2003 at 12:24:24PM -0400, J. Seth Henry wrote:
 I have had very good luck with the Linksys USB100TX adapters. I have four
 of them supporting small X terminals, and they have turned out to be more
 reliable than the terminals (they crash for reasons unrelated to their
 network connections). They also have decent performance for a USB 1.x
 device.

I'm glad you said this, since I just picked one of these up on ebay.  I'd
managed to borrow a Belkin unit that also uses the aue driver, so the
Linksys seemed like a reasonable bet, especially at under 10 pounds :-)

 If your system has support for USB 2.0, Linksys does make a USB 2.0
 version of the adapter, but I don't have any experience with them.

It will have USB 2.0 (VIA EPIA-M Mini-ITX board), but I don't think -STABLE
has any 2.0 support yet, so it will be running in USB 1.1 compatibility
mode for now.  Not that driving my 512kbps cable connection will be
particularly taxing for it in either mode...

Thanks for the info,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-questions Digest, Vol 12, Issue 2

2003-06-09 Thread J. Seth Henry
Actually, this should work, but it will require some twiddling with the
disks partition table in disklabel. I used to have an old drive array with
a bunch of HP labelled Seagate ST32550WD drives. For some unearthly
reason, some of the drives were formatted to have only 2 billion bytes
(2000MB), not 2GB (2047MB). I was able to get the array going by manually
altering the partition tables on the larger drives to match the smallest
drives. The rest of the space was left unformatted, and the array worked
just fine.

I later figured out how to load new firmware in the drives, and low-level
formatted them all to match - but for about a month I had the array going
with the mix-and-match.

In this case, you will only have to muck with the partition table on the
one disk, since it is bigger than the rest. First, create at least two
partitions on the disk, filling the entire space. Then, use disklabel to
get the paramaters for one of the 120's. Write all this down, and then use
diskabel to make the FIRST partition on your 170 match. You will need to
do some math to calculate the paramters for the second partition, but it
isn't too hard. As a bonus, you can even use this second partition while
the first partition is part of an array. Unfortunately, I don't believe
you can boot from this partition, but you could mount it as /usr or
something.

If you really don't mind losing the 50Gb, you can just make the disklabel
info EXACTLY the same - but 50Gb is quite a bit of space to toss.

Keep in mind, this was a while back - probably 4 years, but I definitely
remember doing this. All the drives were SCSI, but that shouldn't matter
in this case.

Seth Henry


On Mon, Jun 09, 2003 at 05:10:37PM +0200 or thereabouts, Josh seemed to
write:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.

 Can I add this 170GB to the raid5 volume in any way at all? I do realise
 that I will loose 50Gb, but that's better than not using it at all.

Sorry, no.
On the other hand, if the first three were a concat plex, you *could* do
it,
and you wouldn't even lose 50gb!
Your best bet is either:
a) mount the 170gb on /usr2 or something
b) backup the data on the raid5, restore to a concat

HTH,
-- Josh


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


Giant freakin' kernels?!?

2003-06-09 Thread Kirk Strauser

From http://www.freebsd.org/releases/5.1R/relnotes-i386.html:

   Due to code size limitations, the i386 boot loader can only load kernels
from root file systems that are 1.5TB or smaller in size.

I originally parsed that as:

   Due to code size limitations, the i386 boat loader can only load kernels
   smaller than 1.5TB from root file systems.

I was seriously impressed with the amount of big-iron testing on this
release until I re-read the sentence.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: Alternate websites

2003-06-09 Thread Moritz Fromwald


From:   Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date sent:  Mon, 9 Jun 2003 20:42:15 +0200
Subject:Alternate websites

 Hi,
 
 I have an idea. I dont know if it is possible, but here goes.
 
 First my server layout.
 
 Server 1
 ---
 * Primary DNS
 * Mail
 * Web Server
 
 Server 2
 ---
 * Secondary DNS
 
 
 Right, what I would like is that if server one goes down, it will
 redirect web trafic to Server 2, displaying a This site is
 temporarily offline page.  Is this possible, and could someone help
 me to get it right. And could Server 2 display an error page according
 to the specific website that the user is visiting ?
Sure it is, look at mod_backhand for apache 
(http://www.backhand.org/mod_backhand/)
pound (front webserver)
Pen (TCP Balancing) (http://siag.nu/pen/)

 
 Thanks for the help.
 
 Ian Barnes

Regards 
moritz fromwald

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


RE: Alternate websites

2003-06-09 Thread Ian Barnes


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Moritz Fromwald
 Sent: 09 June 2003 09:51 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Alternate websites




 From: Ian Barnes [EMAIL PROTECTED]
 To:   [EMAIL PROTECTED]
 Date sent:Mon, 9 Jun 2003 20:42:15 +0200
 Subject:  Alternate websites

  Hi,
 
  I have an idea. I dont know if it is possible, but here goes.
 
  First my server layout.
 
  Server 1
  ---
  * Primary DNS
  * Mail
  * Web Server
 
  Server 2
  ---
  * Secondary DNS
 
 
  Right, what I would like is that if server one goes down, it will
  redirect web trafic to Server 2, displaying a This site is
  temporarily offline page.  Is this possible, and could someone help
  me to get it right. And could Server 2 display an error page according
  to the specific website that the user is visiting ?
 Sure it is, look at mod_backhand for apache
 (http://www.backhand.org/mod_backhand/)
 pound (front webserver)
 Pen (TCP Balancing) (http://siag.nu/pen/)

 
  Thanks for the help.
 
  Ian Barnes

 Regards
 moritz fromwald

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



Hi,

thanks for the reply. I dont think i was clear enough in my previous
description, sorry bout that.

What i would like is not load balancing, but that when the main server goes
down (and only then), does it forward to an error page on the secondary
server, until the main server has come back up again.

Thanks for the help.

Ian

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


[no subject]

2003-06-09 Thread d . fiehn
Hi
Missing a howto boot from grub and maybe (if possible) how to mount 
reiser fs.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html
sorry if its written somewhere else, never used freebsd but thinking of 
giving it a try.
Greets
Kessel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing to a PS/2 keyboard after install

2003-06-09 Thread clayton rollins


On Sun, 8 Jun 2003 12:26:39 Gary Schenk [EMAIL PROTECTED] wrote:
I installed FreeBSD on this machine which came with a USB keyboard and
mouse. The keyboard has problems, and for various reasons, I'd like to
replace it with a PS/2 keyboard. Only problem is I can't figure out how
to do it.
Getting a PS/2 mouse running was easy through sysinstall.

Just plugging in the new keyboard did not work. After searching the web
and mailing lists, I  thought that recompiling the kernel with  the
following lines would work:
# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1  # flags 0x1
device  psm0at atkbdc? irq 12
I commented out the flag 0x1 and recompiled and rebooted. That did not
work either.
As of now the only way I can see to get the PS/2 keyboard working is to
reinstall. That seems like overkill. Does anyone have any ideas?
Thanks
Gary Schenk
I'm not sure if this is your problem, but there is a line in generic:
device		ukbd		# Keyboard
toward the end, under #USB Support. Have you already tried commenting that 
out?

As a side note, the above PS/2 keyboard config. (yours) matches what I have 
in my kernel. (with the flag.)

Good luck,
Clayton
PS. re-installing is overkill here; the answer must be simpler. Though it 
may be quicker in the long run.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


RE: Alternate websites

2003-06-09 Thread Moritz Fromwald


From:   Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Copies to:  [EMAIL PROTECTED]
Subject:RE: Alternate websites
Date sent:  Mon, 9 Jun 2003 21:58:05 +0200

  From:   Ian Barnes [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Date sent:  Mon, 9 Jun 2003 20:42:15 +0200
  Subject:Alternate websites
 
   Hi,
  
   I have an idea. I dont know if it is possible, but here goes.
  
   First my server layout.
  
   Server 1
   ---
   * Primary DNS
   * Mail
   * Web Server
  
   Server 2
   ---
   * Secondary DNS
  
  
   Right, what I would like is that if server one goes down, it will
   redirect web trafic to Server 2, displaying a This site is
   temporarily offline page.  Is this possible, and could someone
   help me to get it right. And could Server 2 display an error page
   according to the specific website that the user is visiting ?
  Sure it is, look at mod_backhand for apache
  (http://www.backhand.org/mod_backhand/)
  pound (front webserver)
  Pen (TCP Balancing) (http://siag.nu/pen/)
 
  
   Thanks for the help.
  
   Ian Barnes
 
  Regards
  moritz fromwald

 Hi,
 
 thanks for the reply. I dont think i was clear enough in my previous
 description, sorry bout that.
 
 What i would like is not load balancing, but that when the main server
 goes down (and only then), does it forward to an error page on the
 secondary server, until the main server has come back up again.
 
 Thanks for the help.
 
 Ian
 
Hi,
Well, at least pound is able to have a heartbeat function, have a 
closer look!
greez
moritz fromwald
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to talk to the serial and parallel ports through a Cprogram

2003-06-09 Thread Andreas Kohn
Am Mon, 2003-06-09 um 18.44 schrieb Dan Malaby:
 I was wondering if there was a good place to go to get programing examples 
 on how to
 talk to the serial and parallel ports. I have looked in the developers 
 handbook but have not
 any luck finding what I want.
 
 Any pointers would be appreciated

 Thanks

Hello, 

at least for parallel ports, ppi might help you. There is a short
example in the ppi(4) man page:

 To present the value 0x5a to the data port, drive STROBE low and
then
 high again, the following code fragment can be used:
 
 int fd;
 u_int8_tval;
 
 val = 0x5a;
 ioctl(fd, PPISDATA, val);
 ioctl(fd, PPIGCTRL, val);
 val |= STROBE;
 ioctl(fd, PPISCTRL, val);
 val = ~STROBE;
 ioctl(fd, PPISCTRL, val);

HTH, 
-- 
Andreas Kohn [EMAIL PROTECTED]


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Complete system restore software for FreeBSD?

2003-06-09 Thread [EMAIL PROTECTED]
I have used the Mondo Rescue backup and restore system before with my Linux machines 
with great success.  What Mondo allows one to do is a complete system backup and 
restore from a bootable CD, meaning a system can survive a harddrive failure without a 
whole lot of fiddling around in reconfiguring software and such.  What I'm wondering 
is, is there similar software available for FreeBSD (preferably free)?

For reference, more info on Mondo Rescue can be found here:

http://www.microwerks.net/~hugo/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IBM serveraid controllers????? FreeBSD Support?????

2003-06-09 Thread romero3000


We just got a couple of IBM X220 Eservers at my office from an old client
who did not want them anymore. Does anybody know if FreeBSD supports IBM
serveRaid Controllers?

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


Re: russian freetype fonts

2003-06-09 Thread S. Niunco
Hi,
 You can find a lot of info on that subject on http://www.opennet.ru and 
http://www.freebsd.org.ru
 The second site gives general info and help, on the first you can find
information regarding applications and their russification as well as links
to fonts. Hope this helps

Sergey.


On Fri, 6 Jun 2003 15:21:45 +0200
Igor Pokrovsky [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm interested where can I get russian freetype fonts
 to use for example with xterm? I tried google, but
 unsuccessfully. Maybe there is some kind of how-to
 on this subject?
 
 -- 
 Igor
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: IBM serveraid controllers????? FreeBSD Support?????

2003-06-09 Thread Matthew Emmerton
 We just got a couple of IBM X220 Eservers at my office from an old client
 who did not want them anymore. Does anybody know if FreeBSD supports IBM
 serveRaid Controllers?

They are supported by the ips driver in FreeBSD 5.1.

http://www.freebsd.org/releases/5.1R/relnotes-i386.html

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


Re: Giant freakin' kernels?!?

2003-06-09 Thread Nikolay Denev
From http://www.freebsd.org/releases/5.1R/relnotes-i386.html:

   Due to code size limitations, the i386 boot loader can only load
kernels
from root file systems that are 1.5TB or smaller in size.

I originally parsed that as:

   Due to code size limitations, the i386 boat loader can only load
kernels
   smaller than 1.5TB from root file systems.

I was seriously impressed with the amount of big-iron testing on this
release until I re-read the sentence.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

congrats, you have passed the reading comprehension test at your second
attempt!...

--
Cheers,
Niki

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


gcc me harder: -Wconversion bug?

2003-06-09 Thread Sean Chittenden
[ Please CC: me on replies, not on questions@ ]

Is this a GCC bug with the -Wconversion flag or am I doing something
wrong?  I know it's just a warning, but it's irritating me more than
that dumb Dan Quayle quote, if it weren't for that horse, I wouldn't
have spent an extra year in college...  -sc

% gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.2 [FreeBSD] 20030205 (release)
% uname -a
FreeBSD hostname.example.com 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Mon Jun  9 12:23:34 
PDT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/HOSTNAME  i386


% gcc -Wconversion test.c
test.c: In function `main':
test.c:5: warning: passing arg 1 of `f' with different width due to prototype

/* Begin test.h */
#ifndef __TEST_H__
#define __TEST_H__

#ifndef bool
typedef char bool;
#endif

#ifndef true
#define true((bool)1)
#endif

#ifndef false
#define false   ((bool)0)
#endif

void f(bool b);
#endif
/* End test.h */


/* Begin test.c */
#include test.h

int
main(void) {
  f(true);
  return(0);
}

void
f(bool b) { }
/* End test.c */

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


Re: RAID, Vinum and different disksizes

2003-06-09 Thread Greg 'groggy' Lehey
On Monday,  9 June 2003 at 17:10:37 +0200, freeBSD wrote:
 I have three 120GB disks and one 170GB disk. The first three is forming
 a raid-5 volume using Vinum and the last one is just fooling around
 without any purpose.

 Can I add this 170GB to the raid5 volume in any way at all? 

There's nothing (much) stopping you from adding another 120 MB subdisk
to your RAID-5 plex.  I think you'll have to do an attach -f.  You
*will* lose the contents of the plex (in fact, you'll have to
initialize all four subdisks).  You'll have to back up and restore
your data.

 I do realise that I will loose 50Gb, but that's better than not
 using it at all.

You can make another volume out of that.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Re: Changing to a PS/2 keyboard after install

2003-06-09 Thread Gary Schenk
On Monday 09 June 2003 01:08 pm, clayton rollins wrote:
 On Sun, 8 Jun 2003 12:26:39 Gary Schenk [EMAIL PROTECTED] wrote:
 I installed FreeBSD on this machine which came with a USB keyboard
  and mouse. The keyboard has problems, and for various reasons, I'd
  like to replace it with a PS/2 keyboard. Only problem is I can't
  figure out how to do it.
 
 Getting a PS/2 mouse running was easy through sysinstall.
 
 Just plugging in the new keyboard did not work. After searching the
  web and mailing lists, I  thought that recompiling the kernel with 
  the following lines would work:
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device   atkbdc0 at isa? port IO_KBD
 device   atkbd0  at atkbdc? irq 1  # flags 0x1
 device   psm0at atkbdc? irq 12
 
 I commented out the flag 0x1 and recompiled and rebooted. That did
  not work either.
 
 As of now the only way I can see to get the PS/2 keyboard working is
  to reinstall. That seems like overkill. Does anyone have any ideas?
 
 Thanks
 Gary Schenk

 I'm not sure if this is your problem, but there is a line in generic:
 deviceukbd# Keyboard
 toward the end, under #USB Support. Have you already tried commenting
 that out?

 As a side note, the above PS/2 keyboard config. (yours) matches what
 I have in my kernel. (with the flag.)

 Good luck,
 Clayton

 PS. re-installing is overkill here; the answer must be simpler.
 Though it may be quicker in the long run.

Thanks for the suggestion, but that did not work. After rebooting not 
only did I not have a PS/2 keyboard, I no longer could plug in the USB 
keyboard.

This is very perplexing. There must be a way to install a new keyboard. 
Reinstalling the OS is the Microsoft way, and I want to avoid that.

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


any IDE raid controllers with supported CLI in freeBSD ?

2003-06-09 Thread Josh Brooks

Hello,

I am looking for a IDE raid card to use with FreeBSD.  Presumably a few
are supported, but I am looking specifically for a card that also has a
command line interface that I can run in FreeBSD while the system is
running.

Sort of like aaccli for aacX scsi raid controllers in freeBSD.

Do any exist ?

Thanks.

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


vinum-booting is working?

2003-06-09 Thread Harald Schmalzbauer
Hi all,

just read the 5.1-release notes and I'm not sure what the line The root
file system can now be located on a  vinum(4)  volume. really means.

Is it now possible to boot from a degraded 5 plex or a mirror?

I'd greatly appreciate any link.

Best regards,

-Harry

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


Re: Changing to a PS/2 keyboard after install

2003-06-09 Thread Scott Mitchell
On Mon, Jun 09, 2003 at 05:06:36PM -0700, Gary Schenk wrote:
 Thanks for the suggestion, but that did not work. After rebooting not 
 only did I not have a PS/2 keyboard, I no longer could plug in the USB 
 keyboard.
 
 This is very perplexing. There must be a way to install a new keyboard. 
 Reinstalling the OS is the Microsoft way, and I want to avoid that.
 
 Gary

As you've guessed already, you shouldn't have needed to do anything special
to get a PS/2 keyboard working.  A few things to try:

- Is the keyboard  port hardware actually OK?  Make sure you can at least
  use it to get into the machine's BIOS setup screens.  Note that PS/2
  keyboards shouldn't be hot-plugged -- you can easily kill the port doing
  that.  Try another keyboard if possible.

- Boot a GENERIC kernel.  It's got everything you need for both PS/2 and
  USB keyboards.  There should be no harm in having them both enabled.

- Post your /etc/rc.conf, /var/run/dmesg.boot and anything that looks
  relevant from /var/log/messages.  There may be a clue in there as to why
  the keyboard isn't working.

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Converting Linux passwd to FreeBSD

2003-06-09 Thread Scott St. John
After spending a year converting my ISP to Linux I have had enough and am 
ready to come back home to FreeBSD.  The ips driver in 5.1 also helps 
since I am running IBM Netfinity's.

Is anyone familiar with a tool to convert my Linux passwd files to FreeBSD 
so I don't have to manually recreate the accounts?

Thank you,

-Scott

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


Re: vinum-booting is working?

2003-06-09 Thread Greg 'groggy' Lehey
On Tuesday, 10 June 2003 at  2:20:29 +0200, Harald Schmalzbauer wrote:
 Hi all,

 just read the 5.1-release notes and I'm not sure what the line The root
 file system can now be located on a  vinum(4)  volume. really means.

 Is it now possible to boot from a degraded 5 plex or a mirror?

Yes.  It was in 5.0 as well IIRC.

Unfortunately, it's still not in the man page.  Take a look at
http://www.vinumvm.org/cfbsd/vinum.pdf or
http://www.vinumvm.org/cfbsd/vinum.txt for details.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Re: Converting Linux passwd to FreeBSD

2003-06-09 Thread Henrik Hudson
Depending on the hash algorithm used you might not have to do anything except 
change some UIDs. Is 5.1 still using MD5 as default? and is your Linux using 
MD5 as default in the shadow file?

Henrik

On Monday 09 June 2003 19:37, Scott St. John wrote:
 After spending a year converting my ISP to Linux I have had enough and am
 ready to come back home to FreeBSD.  The ips driver in 5.1 also helps
 since I am running IBM Netfinity's.

 Is anyone familiar with a tool to convert my Linux passwd files to FreeBSD
 so I don't have to manually recreate the accounts?

 Thank you,

 -Scott

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

-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: VPN from one Win2k host to a FreeBSD network?

2003-06-09 Thread Brent Wiese
Use MPD (its in the ports) for PPTP support, which is built into w2k. On the
user side, its friendly to set up because it presents the user w/ a
modem-type setup where you dial a vpn box.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of David Kelly
 Sent: Friday, May 30, 2003 9:03 AM
 To: [EMAIL PROTECTED]
 Subject: VPN from one Win2k host to a FreeBSD network?
 
 
 This has been covered many times before, I'm sure, just I 
 just can't find it now I have need.
 
 A consultant with one Win2k system behind a home-office NAT 
 firewall needs to speak Microsoft protocols to an NT4 server 
 inside my FreeBSD NAT firewall. Also connect to the Oracle database.
 
 I currently have an IPsec VPN to yet another site with an 
 identical FreeBSD firewall as I have here. Microsoft 
 protocols flow over that link as well.
 
 The fact her remote Win2k system is already behind NAT 
 suggests to me using Win2k built-in IPsec isn't going to work 
 with racoon?
 
 She can ssh to my FreeBSD system. I have not disabled sshd 
 port forwarding. An attractive low threshold of pain might be 
 to use PuTTY on Win2k and port forward to here. Research 
 suggests she would have to disable filesharing, or possibly 
 remove that module, in order to free ports 137-139 so this 
 would work. Might work but isn't low threshold of pain.
 
 Simple ssh port forwarding should work fine for Oracle.
 
 Next thought would be to tunnel PPP thru SSH. Have found 
 plenty of examples of how to do this Unix to Unix but not 
 from inferior OS's.
 
 Yet another thought was to use PPPoE. Win2k should have a 
 PPPoE client. Is there a tool on FreeBSD to receive such 
 connections? Would it appear on the Win2k system as another 
 network interface or would it be her sole interface while it 
 is up? Encryption for PPPoE?
 
 -- 
 David Kelly N4HHE, [EMAIL PROTECTED] 
 =
 The human mind ordinarily operates at only ten percent of its 
 capacity -- the rest is overhead for the operating system. 
 ___
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd- questions
 
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 

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


Re: Converting Linux passwd to FreeBSD

2003-06-09 Thread Olivier Nicole
 Is anyone familiar with a tool to convert my Linux passwd files to FreeBSD
 so I don't have to manually recreate the accounts?

I'd say, as the passwords are cripted with a non reversible function,
either both systems use the same function and you don't have to
convert anything, else you're dead. There is no way to get the clear
text password knowing the crypted one, so there is no way to convert.

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


Re: VPN from one Win2k host to a FreeBSD network?

2003-06-09 Thread David Kelly
Thanks! I knew there had to be something out there but in the wealth of 
ports, I couldn't find it.

On Monday 09 June 2003 08:20 pm, Brent Wiese wrote:
 Use MPD (its in the ports) for PPTP support, which is built into w2k.
 On the user side, its friendly to set up because it presents the
 user w/ a modem-type setup where you dial a vpn box.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of David
  Kelly Sent: Friday, May 30, 2003 9:03 AM
  To: [EMAIL PROTECTED]
  Subject: VPN from one Win2k host to a FreeBSD network?
 
 
  This has been covered many times before, I'm sure, just I
  just can't find it now I have need.
 
  A consultant with one Win2k system behind a home-office NAT
  firewall needs to speak Microsoft protocols to an NT4 server
  inside my FreeBSD NAT firewall. Also connect to the Oracle
  database.
 
  I currently have an IPsec VPN to yet another site with an
  identical FreeBSD firewall as I have here. Microsoft
  protocols flow over that link as well.
 
  The fact her remote Win2k system is already behind NAT
  suggests to me using Win2k built-in IPsec isn't going to work
  with racoon?
 
  She can ssh to my FreeBSD system. I have not disabled sshd
  port forwarding. An attractive low threshold of pain might be
  to use PuTTY on Win2k and port forward to here. Research
  suggests she would have to disable filesharing, or possibly
  remove that module, in order to free ports 137-139 so this
  would work. Might work but isn't low threshold of pain.
 
  Simple ssh port forwarding should work fine for Oracle.
 
  Next thought would be to tunnel PPP thru SSH. Have found
  plenty of examples of how to do this Unix to Unix but not
  from inferior OS's.
 
  Yet another thought was to use PPPoE. Win2k should have a
  PPPoE client. Is there a tool on FreeBSD to receive such
  connections? Would it appear on the Win2k system as another
  network interface or would it be her sole interface while it
  is up? Encryption for PPPoE?
 
  --
  David Kelly N4HHE, [EMAIL PROTECTED]
  ===
 == The human mind ordinarily operates at only ten percent of its
  capacity -- the rest is overhead for the operating system.
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd- questions
 
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't delete files after mergemaster.

2003-06-09 Thread Supote Leelasupphakorn
Hello,

   I've already MERGEMASTERed due to updating from 
FREEBSD-4.7 to FREEBSD-4.7-p10. My question is why I 
could't delete /var/tmp/temproot. No matter what's 
about permission because I logged as root.

   What is deny root from delete file ?

Pote

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN from one Win2k host to a FreeBSD network?

2003-06-09 Thread Chris
On Monday 09 June 2003 08:43 pm, David Kelly wrote:


 Thanks! I knew there had to be something out there but in the wealth of
 ports, I couldn't find it.

Allow me to ask this once again also then. In my situation, I have my FreeBSD 
box here at home. Periodically I need to VPN into my work.

Here is the layout:

FreeBSD (home via DSL) --- (Inet) --- (Cisco PIX) --- (Work net)
IP via DSLOutside IP/Inside IP 

Under my old Windows2000, I used the VPN Client provided my Cisco.
I have looked at a few ports, and the Linux client by Cisco. And I can't come 
up with anything. 

The Linux client seems to depend on, and look for a Linux kernel, 2.2.4 I 
think. Does anyone have an easy way for me to obtain the same as I did with 
my W2K box. 

As it is right now, I hang on to W2K just for that purpose. To VPN in to the 
company. If only I can rid this beast once and for all so I could have a test 
box for 5.x (Evil Grin)

Thanks all

Chris 


 On Monday 09 June 2003 08:20 pm, Brent Wiese wrote:
  Use MPD (its in the ports) for PPTP support, which is built into w2k.
  On the user side, its friendly to set up because it presents the
  user w/ a modem-type setup where you dial a vpn box.
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of David
   Kelly Sent: Friday, May 30, 2003 9:03 AM
   To: [EMAIL PROTECTED]
   Subject: VPN from one Win2k host to a FreeBSD network?
  
  
   This has been covered many times before, I'm sure, just I
   just can't find it now I have need.
  
   A consultant with one Win2k system behind a home-office NAT
   firewall needs to speak Microsoft protocols to an NT4 server
   inside my FreeBSD NAT firewall. Also connect to the Oracle
   database.
  
   I currently have an IPsec VPN to yet another site with an
   identical FreeBSD firewall as I have here. Microsoft
   protocols flow over that link as well.
  
   The fact her remote Win2k system is already behind NAT
   suggests to me using Win2k built-in IPsec isn't going to work
   with racoon?
  
   She can ssh to my FreeBSD system. I have not disabled sshd
   port forwarding. An attractive low threshold of pain might be
   to use PuTTY on Win2k and port forward to here. Research
   suggests she would have to disable filesharing, or possibly
   remove that module, in order to free ports 137-139 so this
   would work. Might work but isn't low threshold of pain.
  
   Simple ssh port forwarding should work fine for Oracle.
  
   Next thought would be to tunnel PPP thru SSH. Have found
   plenty of examples of how to do this Unix to Unix but not
   from inferior OS's.
  
   Yet another thought was to use PPPoE. Win2k should have a
   PPPoE client. Is there a tool on FreeBSD to receive such
   connections? Would it appear on the Win2k system as another
   network interface or would it be her sole interface while it
   is up? Encryption for PPPoE?
  
   --
   David Kelly N4HHE, [EMAIL PROTECTED]
   ===
  == The human mind ordinarily operates at only ten percent of its
   capacity -- the rest is overhead for the operating system.
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd- questions
  
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]


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


Re: Can't delete files after mergemaster.

2003-06-09 Thread Chuck Swiger
Supote Leelasupphakorn wrote:
   I've already MERGEMASTERed due to updating from 
FREEBSD-4.7 to FREEBSD-4.7-p10. My question is why I 
could't delete /var/tmp/temproot. No matter what's 
about permission because I logged as root.

   What is deny root from delete file ?
The system immutable flag is probably set; see man chflags or try:

	chflags -R noschg /var/tmp/temproot ; rm -rf /var/tmp/temproot

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


ibm thinkpad x24 and 5.1-release

2003-06-09 Thread Andrew Thomson
i'm having problems running 5.1-release on my thinkpad.

just updated the bios to the lastest and greatest from ibm however 5.1
doesn't want to play nice with my laptop.

i have finally managed to get through a custom install however once I've
rebooted and using the machine, after a random period of time I get a
'fatal trap 18: integer divide fault', and the machine reboots!

if i boot up with acpi disabled, the laptop just seems to hang after the
following:

ata0:
ata1:
pci0:
pci0:

limited information I know..

Just restarted with more verbose logging to see if that turns anything
up..

I also get these acpi errors when I startup with acpi enabled.

Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.FDC_._INI] (Node 0xc3338b00), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__._INI] (Node 0xc3331920), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BGID] (Node 0xc3338c40), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BINI] (Node 0xc3338c60), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BSTA] (Node 0xc3338ca0), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.IDE0.SCND.MSTR._STA] (Node 0xc3338b60), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-0175: *** Error: Method execution failed
[\_SB_.PCI0.IDE0.SCND.MSTR._STA] (Node 0xc3338b60), AE_NOT_EXIST
Jun 10 12:33:17  kernel: acpi0: power button is handled as a fixed
feature programming model.
Jun 10 12:33:17  kernel: Timecounter ACPI-fast  frequency 3579545 Hz
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BGID] (Node 0xc3338c40), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BINI] (Node 0xc3338c60), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BSTA] (Node 0xc3338ca0), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.PCI0.IDE0.SCND.MSTR._STA] (Node 0xc3338b60), AE_NOT_EXIST
Jun 10 12:33:17  kernel: ACPI-0175: *** Error: Method execution failed
[\_SB_.PCI0.IDE0.SCND.MSTR._STA] (Node 0xc3338b60), AE_NOT_EXIST
Jun 10 12:33:17  kernel: acpi_timer0: 24-bit timer at 3.579545MHz port
0x1008-0x100b on acpi0
Jun 10 12:33:17  kernel: acpi_cpu0: CPU on acpi0
Jun 10 12:33:17  kernel: acpi_tz0: thermal zone on acpi0
Jun 10 12:33:17  kernel: acpi_lid0: Control Method Lid Switch on acpi0
Jun 10 12:33:17  kernel: ACPI-1287: *** Error: Method execution failed
[\_SB_.LID_._PSW] (Node 0xc11e14e0), AE_NOT_EXIST
Jun 10 12:33:17  kernel: acpi_button0: Sleep Button on acpi0

regards,

ajt.



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


Re: Converting Linux passwd to FreeBSD

2003-06-09 Thread Benjamin Mayer
On Tue, 10 Jun 2003 08:25:27 +0700 (ICT)
Olivier Nicole [EMAIL PROTECTED] wrote:

  Is anyone familiar with a tool to convert my Linux passwd files to FreeBSD
  so I don't have to manually recreate the accounts?
 
 I'd say, as the passwords are cripted with a non reversible function,
 either both systems use the same function and you don't have to
 convert anything, else you're dead. There is no way to get the clear
 text password knowing the crypted one, so there is no way to convert.

If they are not the same function you could always dictionary and brute force attack 
the passwords. In my experience this should get you most of the passwords. The ones 
you dont get you may have to have people assign a new password for themselves.

I know it is not pretty, but if worst comes to worst.

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


Networking problems

2003-06-09 Thread Eduardo Huertas
Hi Everybody,

I'm having conceptual problems, I think :-)

My objective is to install a firewall with OpenBSD
which will be the gateway of my LAN.

Right now I have a unique server with the following
services:
Gateway to Internet
mail: qmail and serialmail, fetchmail
DataBase: MySQL
SAMBA,
DNS, etc.

Well I thought I could install the OpenBSD(ip:X) box
with Packet Filter and be the LAN gateway.  It
connects via ISDN with PPP and runs NAT with Paquet
Filter.

I told the clients of the LAN that the DNS was still
my FreeBSD box(ip:Y) and the default router: X.  So
far so good, all my clients, including my FreeBSD box,
which granted Internet access by the NAT rule from the
OpenBSD box(ip:X) worked fine.

But then I realized there was a problem:
Because I'm using serialmail for sending outgoing mail
(not local) all the mails get stored in a directory
and each 5 minutes serialmail is called, but no mail
is sent, serialmail reports a network write problem. 
I tried eliminating the virtualdomains and the mail
queue serviced by smtp directly and tried with my smtp
server, from my ISP but the queue was not serviced
because of timeouts.

What am I doing wrong? I disabled PF from the OpenBSD
box and still can't send mail.  Do I have to install
my DNS and/or mail server on the OBSD box which is the
gateway?

Thank you very much for your help and precious time.

Sorry about my English :-)

Any aclarations please ask.

-edu-








_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nutball video question

2003-06-09 Thread J. Seth Henry
Ok, I'm not sure if this will work (or if it does, how well), but I'm
curious to see what happens.

I have one of the older Happauge WinTV boards (that is supported by
FreeBSD). Unfortunately, the only machine with an open PCI slot is my
headless server. I have a number of IBM netstations attached to this
server via a 100Mbps switched ethernet LAN. Currently, I am using KDE as
my desktop environment. I have no idea what the X server is, but I do know
KDE apps grumple a lot about the X server lacking features.

Is it possible to stream video to these X terminals, even if it's not
movie quality? I'm thinking something along the lines of a security
camera setup, where it is OK if the video is the size of a business card,
and isn't updated terribly fast. That being said, could the same stream
be sent to two or more terminals simultaneously?

The likely problems here are that the video transmission would be done in
X, which could result in bandwidth issues, and the little problem of my
monitor locking the video device.

Alternately, and perhaps even better, is there a way to capture still
images from this board, for use as a webcam?

FYR, this is strictly for experimentation purposes. :)

Thanks,
Seth Henry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nutball video question

2003-06-09 Thread Olivier Nicole
 I have one of the older Happauge WinTV boards (that is supported by
 FreeBSD). Unfortunately, the only machine with an open PCI slot is my
 headless server. I have a number of IBM netstations attached to this
 server via a 100Mbps switched ethernet LAN. Currently, I am using KDE as
 my desktop environment. I have no idea what the X server is, but I do know
 KDE apps grumple a lot about the X server lacking features.
 
 Is it possible to stream video to these X terminals, even if it's not
 movie quality? I'm thinking something along the lines of a security
 camera setup, where it is OK if the video is the size of a business card,
 and isn't updated terribly fast. That being said, could the same stream
 be sent to two or more terminals simultaneously?

Should be posible, if you use multicast, you have only one stream on
your LAN and any workstation can listen to it.

 
 The likely problems here are that the video transmission would be done in
 X, which could result in bandwidth issues, and the little problem of my
 monitor locking the video device.
 
 Alternately, and perhaps even better, is there a way to capture still
 images from this board, for use as a webcam?

The card is build around a brooktree 848 right? (I think I remember
that) If yes,  still images are EASY to grab.

There are samples in the brooktree driver man page.

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


Re: Mount additional hard drive (ufs)

2003-06-09 Thread Martin Schweizer
Hello Jack and others

Am Sun, Jun 08, 2003 at 10:48:05AM -0500 Jack L. Stone schrieb:
 At 05:48 PM 6.8.2003 +0200, Martin Schweizer wrote:
 I installed a second hard drive (ufs) and mount it (like described in the 
 handbook) but if I reboot it isn't anymore mounted? After a reboot I have to 
 re-mount the second hard drive again and all works fine. What do I forget?
 
 
 Put the mount point in /etc/fstab

This works great. Thank you.

-- 

Regards

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp0.pgp
Description: PGP signature


Re: nutball video question

2003-06-09 Thread yussef
If i understand what you want to do, i have something similar setup. i
stuck my tv card [device bktr] in my headless server. Installed X on
the server, along with xawtv and fxtv. i then ssh -X into the server
from a client running X, i then execute the command for one of the tv
viewing apps mentioned above, and it pops up on the client. It does
such up most of the bandwidth on my 100base lan, but if you're talking
small res and dont mind slightly low updates, its fine.
my goal for this system was actually to turn the system into a bit of
a pvr, having it record tv programs so i could watch at my own
convenience.
good luck

yussef

On Mon, 09 Jun 2003 23:59:11-0400(EDT)J. Seth
Henry[EMAIL PROTECTED] wrote:

 Ok, I'm not sure if this will work (or if it does, how well), but I'm
 curious to see what happens.
 
 I have one of the older Happauge WinTV boards (that is supported by
 FreeBSD). Unfortunately, the only machine with an open PCI slot is my
 headless server. I have a number of IBM netstations attached to this
 server via a 100Mbps switched ethernet LAN. Currently, I am using KDE
 as my desktop environment. I have no idea what the X server is, but I
 do know KDE apps grumple a lot about the X server lacking features.
 
 Is it possible to stream video to these X terminals, even if it's not
 movie quality? I'm thinking something along the lines of a security
 camera setup, where it is OK if the video is the size of a business
 card, and isn't updated terribly fast. That being said, could the same
 stream be sent to two or more terminals simultaneously?
 
 The likely problems here are that the video transmission would be done
 in X, which could result in bandwidth issues, and the little problem
 of my monitor locking the video device.
 
 Alternately, and perhaps even better, is there a way to capture still
 images from this board, for use as a webcam?
 
 FYR, this is strictly for experimentation purposes. :)
 
 Thanks,
 Seth Henry
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


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


Terminal utility for serial and ethernet link

2003-06-09 Thread Vinay Tiwari
Dear friends,
(B
(BI am working on an application that needs support from serail as well as
(Bethernet communication link. I am looking for such terminal utility that can
(Bwork with both the connection. minicom is available but is only works with
(Bserial link. any suggestion ?
(B
(Bbest regards,
(BVinay
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Changing to a PS/2 keyboard after install

2003-06-09 Thread Gary Schenk
On Monday 09 June 2003 05:30 pm, Scott Mitchell wrote:
 On Mon, Jun 09, 2003 at 05:06:36PM -0700, Gary Schenk wrote:
  Thanks for the suggestion, but that did not work. After rebooting
  not only did I not have a PS/2 keyboard, I no longer could plug in
  the USB keyboard.
 
  This is very perplexing. There must be a way to install a new
  keyboard. Reinstalling the OS is the Microsoft way, and I want to
  avoid that.
 
  Gary

 As you've guessed already, you shouldn't have needed to do anything
 special to get a PS/2 keyboard working.  A few things to try:

 - Is the keyboard  port hardware actually OK?  Make sure you can at
 least use it to get into the machine's BIOS setup screens.  Note that
 PS/2 keyboards shouldn't be hot-plugged -- you can easily kill the
 port doing that.  Try another keyboard if possible.

The keyboard works in the BIOS part of the boot. I can get into 
UserConfig with it, but after FreeBSD takes over the boot it no longer 
works. And after configuring the kernel with UserConfig it works fine. 
I am using it to type this message. It is only when I do not interrupt 
the boot process that the keyboard does not work.

 - Boot a GENERIC kernel.  It's got everything you need for both PS/2
 and USB keyboards.  There should be no harm in having them both
 enabled.

The kernel that I am booting now has both enabled (I think) thusly:

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12

and thus:

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  uscanner# Scanners
device  urio# Diamond Rio MP3 Player


 - Post your /etc/rc.conf, /var/run/dmesg.boot and anything that looks
   relevant from /var/log/messages.  There may be a clue in there as
 to why the keyboard isn't working.

The rc.conf file is a little messy, perhaps there is a conflict of some 
sort here? Changes have been made to this while playing around, but I 
have been uncertain about whether or not to comment out lines in this 
file.

# -- sysinstall generated deltas -- # Thu Feb 20 21:50:08 2003
# Created: Thu Feb 20 21:50:08 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#hostname=fuzz.socal.rr.com
#ifconfig_rl0=DHCP
kern_securelevel_enable=NO
linux_enable=YES
moused_enable=NO
moused_port=/dev/mse0
moused_type=auto
nfs_reserved_port_only=YES
#saver=rain
sendmail_enable=YES
sshd_enable=NO
usbd_enable=YES
lpd_enable=YES
inetd_enable=YES
# -- sysinstall generated deltas -- # Mon Apr 21 20:22:44 2003
#ifconfig_rl0=inet 192.168.1.101  netmask 255.255.255.0
#defaultrouter=192.168.1.1
#hostname=fuzz.socal.rr.com
# -- sysinstall generated deltas -- # Mon Apr 21 20:30:43 2003
#ifconfig_rl0=inet 192.168.1.101  netmask 255.255.255.0
#defaultrouter=192.168.1.1
#hostname=fuzz.socal.rr.com
# -- sysinstall generated deltas -- # Mon Apr 21 20:42:02 2003
ifconfig_rl0=inet 192.168.1.101  netmask 255.255.255.0
defaultrouter=192.168.1.1
hostname=fuzz.socal.rr.com
# -- sysinstall generated deltas -- # Mon Apr 28 22:18:46 2003
#saver=fire
# -- sysinstall generated deltas -- # Fri May  9 18:28:39 2003
ntpdate_flags=ntp.ucsd.edu
ntpdate_enable=YES
# -- sysinstall generated deltas -- # Tue May 13 16:11:36 2003
saver=blank
# -- sysinstall generated deltas -- # Sun Jun  8 11:09:18 2003
moused_port=/dev/psm0
moused_type=auto
moused_enable=YES

dmesg is here, but perhaps this will not do you any good? This is from 
the last boot, in which UserConfig was used to enable the PS/2 
keyboard. When I had booted the kernel without USB keyboard support, I 
was forced to switch the machine off, which is the reason / was not 
properly dismounted.

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #5: Mon Jun  9 16:33:35 PDT 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FUZZ
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (598.48-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x681  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 134205440 (131060K bytes)
FreeBSD Kernel Configuration Utility - Version 1.2
 Type help for help or visual to go 

R5.0 without keyboard

2003-06-09 Thread Kjell Midtseter
On 4.8 I recompiled the kernel with appropriate options and I could 
unplug and reconnect the keyboard at will and it worked. Not so on 5.0 
What is the apropriate kernel options for this to work on 5.x?

Help appreciated, Kjell

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


[no subject]

2003-06-09 Thread elias rivas galarza
  

-
Yahoo! Sorteos
Juega a la Lotería Primitiva sin salir de casa
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


newbie: webalizer V2.01-10 DNSChildren query

2003-06-09 Thread admin
OS: freeBSD 4.8 Stable

How can I stop webazolver and webalizer asking for the DNSChildren when the -N
switch is defined in the command line and the DNSChildren is defined in the
webalizer.conf file?

 snip 

webazolver -N 20 -D /usr/local/etc/webalizer/dns_cache.db $i

Webalizer V2.01-10 (FreeBSD 4.8-STABLE) English
Using logfile /usr/local/www/logs/sub60.sffreaks.org/access_log (clf)
DNS Lookup (20):

the -N switch is defined why is this query happening?

- snip -

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


Re: any IDE raid controllers with supported CLI in freeBSD ?

2003-06-09 Thread Matt Bettinger
On Mon, 9 Jun 2003 17:12:47 -0700 (PDT)
Josh Brooks [EMAIL PROTECTED] wrote:

 
 Hello,
 
 I am looking for a IDE raid card to use with FreeBSD.  Presumably a few
 are supported, but I am looking specifically for a card that also has a
 command line interface that I can run in FreeBSD while the system is
 running.
 
 Sort of like aaccli for aacX scsi raid controllers in freeBSD.
 
 Do any exist ?
 

Adaptec 2400A.  I have one on an bsd box.  

raidctl to control it.

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


Re: Ghost images?

2003-06-09 Thread Shantanu Mahajan
+-- Remington L. [freebsd] [08-06-03 23:14 -0700]:
| I am looking for software that has the capabilities of Norton Ghost for
| FreeBSD. I am having problems finding such an application. Does one exist?
| 
| 
Search for ghost for unix on google. Check out the 1st
link.

Regards,
Shantanu

-- 
If you are in the C shell and have just installed a new program, you won't
be able to run it unless you first type rehash.
-- Dru [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]