Hello,

2003-11-12 Thread Tomas
Hello,

I'm just wondering why I couldn't install FreeBSD 5.1 (I've tryed 4.9
also) on my Sony PCG-GRX550 notebook. When I insert boot disk, it tries to
load setup to install FBSD and freezes and I can do nothing but restart.
I've searched the internet for answers about solving this problem but still
I don't have any answer. Maybe you have any solution to my problem.
Thank you!

Sincerely,
Tomas Paplauskas
Lithuania


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


Re: Hello,

2003-11-12 Thread Mantas S.
[Eng]
Did u tried to boot from floppy?.. instalation from network

[Lit}
Na tu is flopiko kraut bandei? ant kurios vietos freezinasi?

Treiadienis 12 Lapkriio 2003 09:22, Tomas ra:
 Hello,

 I'm just wondering why I couldn't install FreeBSD 5.1 (I've tryed 4.9
 also) on my Sony PCG-GRX550 notebook. When I insert boot disk, it tries to
 load setup to install FBSD and freezes and I can do nothing but restart.
 I've searched the internet for answers about solving this problem but still
 I don't have any answer. Maybe you have any solution to my problem.
 Thank you!

 Sincerely,
 Tomas Paplauskas
 Lithuania


 ___
 [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]


ssh has a delay when typing

2003-11-12 Thread datafirm
List,

I have searched the list and have not found a solution. I have also 
upgraded to the latest in the ports tree. I am running FreeBSD 4.9 
Release.

I can connect to the machine fine, but after connected I get random 
pauses and delays while typing.

Any ideas?

--will

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


Re: Newbie: The C / C++ Issue

2003-11-12 Thread Matthew Seaman
On Tue, Nov 11, 2003 at 10:00:33PM -0500, Lucas Holt wrote:

   I'm also starting to learn objective C (the 
 competitor to C++) so that I can utilize my Macintosh as a development 
 platform.  The reason apple used objective C was because Mac OS X is 
 really Nextstep which was written in like 1988 or so.

It was always said that if you knew C, you could learn Obj-C in a few
hours.  And in a legalistic sense, that is true: Obj-C is a superset
of C, and once you've got the method call syntax down:

[anObject withAnArgument: foo andAnother: bar ];

and about 4 or 5 other things, you've got the whole language syntax
down.

All that remains then is to become familiar with the whole panoply of
the AppKit which will take you of the order of Months to do.  Plus
learning about effective OO design -- the whole semantic structure of
the language.  Obj-C is really nice in that regard: like chess, you
can learn the rules very quickly, and start playing effectively
immediately.  And because playing is easy, it frees you to learn the
subtleties.

Once you've mastered Obj-C and if you then start looking at Java,
you'll find things seem eerily familiar -- although the Java syntax is
superficially more like C++, Java was based pretty closely on the
semantics of Obj-C.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


converting real media audio

2003-11-12 Thread Joan Picanyol
[please honour Mail-Followup-To:, not subscribed]

Hi,

I've found two speeches in Real Audio format I'd like to burn on a CD.
I'm able to reproduce them fine with linux-reaplayer, but sox doesn't
understand the format. What's the one liner to dump what is sounding on
my speakers to a file sox can convert (which device shoud I cat?)? Is
there some utility to convert from .rm files to .wav?

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


Re: owner of dir/files

2003-11-12 Thread Jez Hancock
First of all please don't reply to an old thread when posting a new
topic - it messes the threading up and confuses things generally.

On Tue, Nov 11, 2003 at 09:58:20AM -0500, M.D. DeWar wrote:
 I just noticed that when I d/led a program and un-tarred it and set it up
 that the directory in the apache web root has
 as owner something like 501:www . I also noticed some others that were
 mysql:mysql or 500:100 for the user/group.
This happens when the owner:group on the source system don't exist on
the destination system.  Say the owner of the files was 'mark' on the
original server and his uid was 501, but no user existed on your system
with uid 501, then the owner would show up just as the UID, in this case
501.

 I am not sure what happens if left that way. Since there is no user/group
 for those does it mean the files won't run or be served ?
Depends on what the permissions of the 'other' bit are. For a file
that's owner:group is 501:www, permissions of 755 on the file
would mean the files would be read/write/executable (7) by the user with UID
501 - in your case noone has that UID so noone has rwx perms other than
root. Similarly the file would be read/executable (5) by the 'www' group
and read/executable (5) by the 'other' group.

So as it is the file would be served by the webserver since the 'www'
user has read/execute access.  However it's not a good idea to leave files
unowned on the system in case you eventually do add a user with UID 501
- in which case they would end up getting rwx perms on the file.

If only the webserver will be accessing the file then you can generally
just do 'chown www:www file' to change the owner:group to www:www.
There are security implications of leaving files rwx by the www user,
especially if the file is a config file and you have other users on the
server that can run cgi scripts - the file could be overwritten by a
malicious script in that case.  For config files it's best to set the
perms to

 In my web root should all directories and files be nobody:nobody  ?
that could work, but only if the perms for 'other' are sufficient to
allow reading of the files - since the web user is in the other group
and needs to be able to read the file to be able to serve it via the
httpd.

 what if some are root:wheel ?
The same holds again, although having files owned by root in a web
docroot isn't a great idea - if the file is a CGI script and a
vulnerability is found in the script and a misconfigured suexec system
is in place, commands could be executed with root permissions.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: portupgrade -arR

2003-11-12 Thread Jan Grant
On Tue, 11 Nov 2003, William O'Higgins wrote:

 Quite foolishly, I ran this command without thinking it through:

 portupgrade -arR

 It's been running for 15 hours or so now, and I'm wondering how much
 longer it is likely to take?  I realize that that depends grin /

Well, that depends; many ports can be upgraded quickly. However
compilation of C++ is markedly slower than compilation of C, so whenever
you see things like KDE or Qt meeding an upgrade, expect it to take a
while.

If you use portversion -v | grep -v = then you'll see the list of
ports which remain that need updating. (You need to run portsdb after a
cvsup for the output of this, and portupgrade's operation, to be
accurate.)

 Any suggestions?  Thanks.

If you've got packages installed that you don't want, portupgrade _can_
be safely interrupted and will pick up pretty much from where it left
off when you kick it off again.

It's often worthwhile checking the Makefiles for the ports you install
for tunable variables. Many ports offer interactive menus to select
features to build; Murphy's law would suggest that one of these might
well pop up just after you leave portupgrade to do its thing and go to
bed. You can normally select batch operation and choose the appropriate
options by putting them into /usr/local/etc/pkgtools.conf; the exact
mechanism used to indicate non-interactive mode isn't uniform across
all ports, however.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
printf 'cat\nhello world' | `sh -c 'read c; echo $c'`
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


md5/des ?

2003-11-12 Thread Oles Hnatkevych
Hello!

/usr/bin/passwd does my passwords MD5 encrypted (accordingly to /etc/login.conf)
But /usr/sbin/adduser creates users with DES encrypted passwords.
How do I make it use MD5 instead of DES? Seems like it's perls crypt()
problem, and the DES is the default...

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


Re: Windows XP

2003-11-12 Thread Jud
On Tue, 11 Nov 2003 15:44:50 -0600, Henrik Hudson [EMAIL PROTECTED]  
wrote:

On Tuesday 11 November 2003 15:34,
Eric Greene [EMAIL PROTECTED] sent a missive stating:
Hello.  I would like to learn to use FreeBSD.  I would also like to have
the ability to choose between either Win XP Pro and FreeBSD upon  
starting
up my system.  I do have 2 40GB hard drives, plus Partition Magic if I
need.  My plan at the moment is to simply have Win XP Pro on one hdd,  
and
FBSD on the other.

Ok what I would like to know is this:  should I install FreeBSD first?   
Or
Win XP first?  I am thinking I better not install FreeBSD first because  
I
doubt that WinXP's setup would recognize FreeBSD as a 2nd. O.S. on my
system when installing (thereby not providing the ability to choose an  
O.S.
on startup).

Any suggestions?  My hardware should all be compatible to use FreeBSD.
Yeah, install XP first and then stick BSD on there. The boot manager  
from BSD,
although not very elegant, will let you choose XP or BSD on startup. You  
can
setup XP's to boot another OS as well, but it's more difficult.

One OS per drive should work fine as well. Have fun.
One OS per drive is fine.  You can boot both OSs with FreeBSD's boot  
loader (if you do this, install the FreeBSD bootloader on *both* drives);  
you can boot both with XP's boot loader (it's one of the FAQs at FreeBSD's  
web site, though admittedly the language is not entirely clear to me  
regarding how to use XP's bootloader where FBSD and XP are on different  
drives); you can use Grub from the FreeBSD ports collection, a bit more  
involved but provides good learning experience about bootloaders; or you  
can go the easy, automagic route with the free GAG bootloader URL:  
http://gag.sourceforge.net/.

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


Re: ssh has a delay when typing

2003-11-12 Thread Kris Kennaway
On Wed, Nov 12, 2003 at 12:15:45AM -0800, [EMAIL PROTECTED] wrote:
 List,
 
 I have searched the list and have not found a solution. I have also 
 upgraded to the latest in the ports tree. I am running FreeBSD 4.9 
 Release.
 
 I can connect to the machine fine, but after connected I get random 
 pauses and delays while typing.
 
 Any ideas?

Please provide more details about your setup.  For example, if you're
SSH'ing to a remote machine on the internet, this would be expected
behaviour.

kris



pgp0.pgp
Description: PGP signature


5.1 current on intel 865 motherboard

2003-11-12 Thread Peter Risdon
Also posted to freebsd-current mailing list:

Hi,

Having lots of probs with a machine based on an Intel 865 motherboard. 
Any pointers? Please let me know if you need more info. It seems to run 
OK unless userland ppp is invoked, after which it falls over within 
about 30 minutes. External ISDN TA connected to cuaa0 stopped 
functioning after a couple of days' operation. New TA installed, sources 
updated, world and kernel built and installed.

At the very least, is there a way to stop the automatic reboot until I 
get the underlying problem solved?

Thanks in advance,

Peter Risdon.

server.mydomain.com kernel log messages:

a-0xb on isa0
Timecounter TSC frequency 2394011744 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc6b02370
GEOM: create disk ad2 dp=0xc6b02070
sa0 at ahc0 bus 0 target 3 lun 0
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/home was not properly dismounted
WARNING: /var was not properly dismounted
/var: superblock summary recomputed
lock order reversal
 1st 0xc70c8afc vm object (vm object) @ vm/swap_pager.c:1323
 2nd 0xc097fc80 swap_pager swhash (swap_pager swhash) @ 
vm/swap_pager.c:1838
 3rd 0xc1034378 vm object (vm object) @ vm/uma_core.c:876
Stack backtrace:
lock order reversal
 1st 0xc71d7090 rtentry (rtentry) @ net/rtsock.c:388
 2nd 0xc693b87c radix node head (radix node head) @ net/route.c:1114
Stack backtrace:
 1st 0xc0974ab4 route cache (route cache) @ netinet/ip_input.c:781
 2nd 0xc7d4ed90 rtentry (rtentry) @ netinet/ip_input.c:781
panic: mutex inp not owned at ../../../netinet/ip_output.c:210
syncing disks, buffers remaining... 6901 6901 6901 6901 6901 6901 
6901 6901 6901 6901 6901 6901 6901 6901 6901 6901 6901 6901 6901 6901 
giving up on 2420 buffers
Uptime: 6h55m14s
panic: sleeping thread (pid 27) owns a mutex
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep

Fatal double fault:
eip = 0xc07ec9f5
esp = 0xe1c4e000
ebp = 0xe1c4e008
panic: double fault
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
Uptime: 6h55m14s
panic: msleep
FreeBSD 5.1-CURRENT #0: Mon Nov 10 11:44:45 GMT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENplusSERIAL
Preloaded elf kernel /boot/kernel/kernel at 0xc0a7.
avail memory = 1016430592 (969 MB)
pcib1: slot 1 INTA is routed to irq 11
pcib1: slot 8 INTA is routed to irq 11
puc0: Dolphin Peripherals 4036 port 0xbc00-0xbc1f irq 11 at device 
1.0 on pci1
sio4: Dolphin Peripherals 4036 on puc0
sio4: type 16550A
sio4: unable to activate interrupt in fast mode - using normal mode
sio5: Dolphin Peripherals 4036 on puc0
sio5: type 16550A
sio5: unable to activate interrupt in fast mode - using normal mode
ahc0: Adaptec 2902/04/10/15/20C/30C SCSI adapter port 0xb800-0xb8ff 
mem 0xff8ff000-0xff8f irq 3 at device 2.0 on pci1
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
fxp0: Intel 82801BA (D865) Pro/100 VE Ethernet port 0xb400-0xb43f 
mem 0xff8fe000-0xff8fefff irq 11 at device 8.0 on pci1
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
Timecounter TSC frequency 2394013308 Hz quality 800
GEOM: create disk ad0 dp=0xc6b02370
GEOM: create disk ad2 dp=0xc6b02070
sa0 at ahc0 bus 0 target 3 lun 0
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/home was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1
/var: superblock summary recomputed
FreeBSD 5.1-CURRENT #0: Mon Nov 10 11:44:45 GMT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENplusSERIAL
Preloaded elf kernel /boot/kernel/kernel at 0xc0a7.
avail memory = 1016430592 (969 MB)
pcib1: slot 1 INTA is routed to irq 11
pcib1: slot 8 INTA is routed to irq 11
puc0: Dolphin Peripherals 4036 port 0xbc00-0xbc1f irq 11 at 

Re: DVD

2003-11-12 Thread Dirk Meyer
Hallo Bryan Cassidy,

 mplayer -brightness 9 -autosync 30 -dvd 1 /dev/dvd
 
 I can play the DVD without ANY problems what so ever. The problem is
 this. Say I just booted into FreeBSD, did a startx, loged into root and
 ran mplayer with those options. It will play fine and no sound problem.
 After a couple hours or so (using those same commands usually) I can
 still play the DVD but no sound. If I reboot *AFTER* the sound problem
 then I get the sound back. There are no other applications running at
 the same time to block the audio so I don't know what it could be. Other
 than this small problem, DVD is working pretty good so far for me under
 FreeBSD.

it might be a problem in your sound driver.
does -ao sdl help?

mplayer -ao sdl -brightness 9 -autosync 30 -dvd 1 /dev/dvd

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Undocumented kernel panic during installation

2003-11-12 Thread Mariano Tortoriello
I've tried to install FreeBSD-4.8, 4.9 and during the boot time from cd-rom kernel 
panics with those mesg:

...
pci_cfgintr_virgin: using routalbe interrupt 3

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xeb902
falut code = supervisor read, page not present
instruction pointer = 0x8:0xc00eb807
stack pointer = 0x10:0xc084db6c
frame pointer = 0x10:0xc084db6c
code segment = base 0x0, limit 0xf, tyep 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
interrupt mask = net tty bio cam
trap number = 12
panic: page fault

I've found this problem on a notebook completly based on Sis 630 controller, with Sis 
900 network adapter etc.
If I try to boot the kernel with manual cofiguration even if no conflit are signaled, 
and even if I try to change some option, the kernel still panics.
I've tried FreeBSD 5.1, and it also crashs if I don't use acpi.
Now I'm developing modules under a vmware machine, but I'd like to use my full machine 
capability.
I'm waiting for a your suggestion, if you want some other explanation of the problem 
you ca't mail me...
bye
Mariano Tortoriello
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Routing problems

2003-11-12 Thread Vince Hoffman
Hi Dimitris,

snip lots of relevaent info

 
 The 10.X.X.X subnet will never need to use any of the
 services of the 193.X.X.X subnet or the 193.R.R.R
 router. It will always access internet via its own
 10.R.R.R router, which only routes packets towards the
 internet and never towards the 193.X.X.X subnet. Thus,
 what's the need to do any of the above? 
 
Well a packet originating on the 193.x.x.x network will have a return
address on the 193.x.x.x network even after its been routed via the freebsd
box, (unless you nat, which if your adsl router is a rubbish as mine was you
may have to as i couldnt add static routes to mine, but thats another
issue.) and so the 10.R.R.R router wont know where to forward to if it has
no route to 10.x.x.x (or at least the sending host on that network.)

 Please note that I am rather inexperienced in routing
 and please forgive me if I make terrible mistakes. :-)

and excuse me if i do too :) I've plenty of experience, but no formal
training.
 
 Thanks for the responce
 Jim Xochellis
 
 
 
 Do You Yahoo!?
 ?p??t?ste t? d??e?? @yahoo.gr d?es? sa? st? http://www.otenet.gr
 ___
 [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]


Programmatic control of screen-saver

2003-11-12 Thread Malcolm Kay
I have a machine controlling a tester. Tester control and display is via a 
virtual console terminal. (X is not installed on the machine)

I need to blank the screen (screen saver style) when there is no terminal
activity for some time -- much the same as as normal screen-saver 
operation except that screen output as well as keyboard input should
inhibit the screen-saver taking over or cause the normal terminal display
to be restored if the saver is already in effect.

I would hope that there might be some ioctl call to the terminal which 
could be used from within the tester control software to wake up the 
terminal or prevent the screen saver taking over until a further timeout
has elapsed. I've not been able to find such an ioctl call parameter.


Does anyone have any ideas or a solution please?

(FreeBSD 4.8-Release)

Malcolm Kay

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


Re: KCron error - SOLVED

2003-11-12 Thread Charles Howse
On Tuesday 11 November 2003 02:26 pm, Charles Howse wrote:
 Hi,
 FBSD 4.8-RELEASE-p13, KDE 3.1.

 When I click menu/system/KCron, I get an error:
 The following error occurred when initializing KCron,
 No password entry for user '#'
 KCron will now exit.

 I've searched using Google and searched the list archives with no joy.
 There is, of course, no local documentation for KCron.
 Can someone point me to the place to find out how to fix this?

I found a bug report concerning this by searching the KDE list archives.
KCron reads /etc/passwd on startup, and cannot deal with comments (lines 
preceeded by '#'.)
Removing the comment lines resolved this issue.

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


Re: Mailing binary files

2003-11-12 Thread Viktor Lazlo


On Wed, 15 Oct 2003, Carlos A. Carnero Delgado wrote:

 Hello,

  Uuencoding works fine...

 yup, that's what I thought. And it works fine indeed. However, I was
 thinking into more of a MIME or multi-part message, much like a regular
 attachment. That's not really essential, however. This just works.

If you prefer Mime over uuenconding mutt can be used from the command line
as well.

Cheers,

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


Adding packages to the 4.7-RELEASE

2003-11-12 Thread Steve Blair
Hello:

   I'm having difficulty locating a download site
where I can get a python interpreter. I am running
4.7-RELEASE and both /stand/sysinstall and browing
mirror sites using a web browser turn up nothing.
Can you either mail me the python package or point
me to a site where I get retrieve it? I've tried
setting my release to any but that has not
fixed or changed the problem.
Thanks,Steve

--

ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104
voice: 215-573-8396
fax: 215-898-9348
sip:[EMAIL PROTECTED]

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


Re: serial ports from additional old IDE ISA card

2003-11-12 Thread Bernd Walter
On Tue, Nov 11, 2003 at 10:41:29AM +0200, Rolandas Naujikas wrote:
 I'm tried to poke into ISA slot additional old IDE card (from old 486
 computer) with serials and paralell ports. With jumpers on it I'm
 disabled IDE, floppy and parallel port. I'm tried to use only serial
 ports, configured at I/O location of COM3 and COM4 ports and IRQ 5 and
 IRQ 9.
 
 When tried to boot FreeBSD 4.8-RELEASE with GENERIC kernel and enabled
 sio2 devices, I see
 
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 sio2: configured irq 5 not in bitmap of probed irqs 0
 
 sio0 and sio1 are from mainbord. sio2 could be from my additional card.
 Can I make possible to work this card as additional serials ports ?

It's obvious that your card isn't configured to irq 5.
In fact it seems to be configured to no irq at all.

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

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


I need Help Please.

2003-11-12 Thread darkstarmaster21
Hello My name is Ron. I'm a newbie to FreeBSD. I downloaded a copy to my
machine and created a iso. Burned it and installed the system with not much
trouble. The problem is I have a old Gateway  G6-266m with 128mb ram , a
CDrom,  burner and 2 Drives One has XP Pro on it and is switchable by the
bios on which can boot up first.   I installed version 5.1 FreeBSD which
took 3 cd's to be burned, what I cant understand is it never asks for more
than one cd. I never even looked at the other two. cause I can't get my
display to work. I tried xf86Config and other I found in the /usr/X11R6/bin
folder but nothing works right. 

I have a RIVA 128 card in here with 4 mb ram and it always crashes and never
starts. I switched to a generic vga card and it started but it was 640 x 
280 way too big to use and see. I'm stuck. I cant remember the commands and
I'm unable to use midnight commander for which I'm used to when looking thru
directory.I truly want to master this system and become a help to others
when I'm better, but I'm afraid I don't know enough.  I looked for a listing
of commands and all i see is stuff I don't quite understand. I'm trying to
get away from windows completely so I can be a champion for linux/ unix but
I cant even demonstrate what I can do with it with the limited knowledge I
have. I tried the commands I know in linux but this is pure unix which is a
lot better and more secure and a lot harder.   Please help me and I will be
glad to bring other to the fold and teach them someday.

I can be reached at home at 215-324-1605 or by e-mail.   I know you guy's
can get me up to speed but I plan to give back someday. So teach me well and
I can help carry the burden someday.

I have DSL as well and I wanted to connect my FreeBSD to my  other PC thru a
crossover cable to my second NIC ( win2000 machine- has DSL on 1st Nic card)
 can you tell me what I need to do to connect and will this be networked
finally. I have been trying for 2 weeks and I'm at the point I want to give
up cause I'm not able to  ping the w2k box from my bsd box at all. I think
this is enough for now. I'm confident that I'm in the right place for help
now.   




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


Help

2003-11-12 Thread Pablo Guareno
Hi i have already installed Freebsd i my computer i have a x86, but i have 
been trying to run de graphic mode, i think i somenthing called XFree86 or X 
server, but i can't do it
it says taht X server is already active for display 0; that's waht appear 
when i try to run startkde
and it also says that can not find the xserver
coul you help me with thta step please
note:
i have already installed the kde and gnome and also configured in  Xserver 
the mouse  videocard and the monitor
well thanks i hope you can help me

_
MSN. Más Útil Cada Día  http://www.msn.es/intmap/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie: Correct directory for file server

2003-11-12 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On Wednesday 12 November 2003 04:10, Tom Munro Glass wrote:
 Thanks Chris. Please take a look at my reply to Scott because the two of
 you seem to be suggesting contradicting ideas, and I'm keen to learn why!

Have done. It's just my preference because I find it easier: the FreeBSD 
installer as you've noticed, by default, puts the home directories under /
usr/home, and creates /home as a symlink.

Therefore I found it easier just to tell the installer that /usr/home would be 
its own partition. Ultimately it's just what you find easiest, there's no 
right way, though some things are probably frowned upon. Installation is 
only something you need to do once, after that you cvsup :)

The file system on my laptop looks something like this:

Filesystem   Size   Used  Avail Capacity  Mounted on
/dev/ad0s3a  126M90M26M77%/
/dev/ad0s3h  5.8G   2.2G   3.1G41%/usr
/dev/ad0s3d  8.8G   7.6G   509M94%/usr/home
/dev/ad0s3g  5.8G   3.0G   2.3G56%/usr/home/devel
/dev/ad0s3e  197M15M   166M 8%/tmp
/dev/ad0s3f  197M88M93M49%/var
procfs   4.0K   4.0K 0B   100%/proc
linprocfs4.0K   4.0K 0B   100%/usr/compat/linux/proc
sauron:/space/test75G64G   3.6G95%/mnt/test

/usr/home/devel is a separate partition from /usr/home because I use /usr/
home/devel to compile KDE CVS reguarly, and compiling thousands of source 
files, even on efficient file systems, is a good way to cause fragmentation, 
therefore I like to keep it separate from the rest of the system.

My server looks like this:
Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a 252M   155M77M67%/
/dev/ad0s1f 252M   9.0M   223M 4%/tmp
/dev/ad0s1g 7.3G   4.1G   2.6G61%/usr
/dev/ad0s1e 756M   220M   476M32%/var
procfs  4.0K   4.0K 0B   100%/proc
/dev/ad4s1e  75G64G   3.6G95%/space
/dev/vinum/vinum1   144G63G69G48%/vinum1

My home directories here are under /space (though will be under /vinum1 soon 
when I finish migrating data from /space, an 80GB disk to /vinum1, 2 x160GB 
in RAID 1 with vinum).

/etc/exports on the server looks like this:

/space/test /space/persbackup /space/photos -maproot=0 -network 192.168.1.0 
- -mask 255.255.255.0

Hope this helps.

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/sjY3F8Iu1zN5WiwRAkoNAJ4gOm9PLfdg0ntSS4f4nAwWlRtrQgCfZxF5
d+1OYiJzqYEVSgCT++bnRyw=
=KNgm
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cdbakeoven doesn't see atapi burner

2003-11-12 Thread Charles Howse
Hi,
I have an atapi cd burner that cdbakeoven doesn't see when starting.

(output from dmesg)
acd0: CD-RW AOPEN CD-RW CRW5224 1.06 20030110 at ata0-slave UDMA33

I know I can use burncd, although I haven't tried it.
I want to get cdbakeoven working.
I assume I have to load ATAPI/CAM in the kernel, and let cdbakeoven see my 
burner as a SCSI device...?

I've searched the list archives, searched the kde website (I bet they would 
hire a technical documentation writer with no questions asked, since there is 
so little documentation for kde ;-) ) and Googled for cdbakeoven with no joy.

Could anyone point me to some documentation for cdbakeoven, or help me get 
started?
-- 


Thanks,
Charles

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


Re: pkgdb / portupgrade segfault

2003-11-12 Thread Chris
On Tuesday 11 November 2003 01:08 pm, Will Yardley wrote:
 I have portupgrade version 20030723, installed from ports. I'm having
 some problems with it.

 Running pkgdb -Fv gives a segfault.

 aura# pkgdb -Fv

Try this:  pkgdb -fuF



-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


HighPoint RocketRAID 454

2003-11-12 Thread Lutz Rabing
Hi All,

is anyone using the HighPoint RocketRAID 454 controller
in RAID level 5 under FBSD 4.9 or 5.1 ?

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


Re: Any way to lock down disk errors?

2003-11-12 Thread Lowell Gilbert
Jim Hatfield [EMAIL PROTECTED] writes:

 Strictly speaking OT but the machine is running FreeBSD.
 
 While copying a file I got I/O errors. The console shows:
 
 ad0: hard error cmd=read fsbn 31891359 of 31891359-31891486 status=59 error=40
 ad0: hard error cmd=read fsbn 31891231 of 31891231-31891486 status=59 error=40
 
 Given that the disk is just under three months old, is it worth doing
 anything other than getting it replaced? I have no other disk big
 enough to old the data on it so unless the supplier sends me a
 replacement ahead of me returning the faulty one it will be a pain.
 
 I have enough space to empty the partition with the error in, but I
 couldn't find anything in newfs or fsck which would let me map out
 selected blocks or to do a full write test of each block and map out
 bad ones. Is there such a beast?

Unfortunately, this doesn't really do any good any more.  Disks will
do this internally before even reporting errors back to you, so if
you're getting a lot of problems, then it's possible (but rare) that a
manufacturer's maintenance tool will straighten out the trouble, but
even then you'd need to backup everything off of it first...

If you want to try badsect(8), you can, but it isn't for the
faint-hearted.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: converting real media audio

2003-11-12 Thread Dan Pelleg
Joan Picanyol [EMAIL PROTECTED] writes:

 [please honour Mail-Followup-To:, not subscribed]

 Hi,

 I've found two speeches in Real Audio format I'd like to burn on a CD.
 I'm able to reproduce them fine with linux-reaplayer, but sox doesn't
 understand the format. What's the one liner to dump what is sounding on
 my speakers to a file sox can convert (which device shoud I cat?)? Is
 there some utility to convert from .rm files to .wav?

 tks
 -- 
 pica

Run realplayer under linux-vsound (in the ports).

-- 

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


Re: cdbakeoven doesn't see atapi burner

2003-11-12 Thread Bjarne Wichmann Petersen
On Wednesday 12 November 2003 14:38, Charles Howse wrote:
 Hi,
 I have an atapi cd burner that cdbakeoven doesn't see when starting.

 (output from dmesg)
 acd0: CD-RW AOPEN CD-RW CRW5224 1.06 20030110 at ata0-slave UDMA33

 I know I can use burncd, although I haven't tried it.
 I want to get cdbakeoven working.
 I assume I have to load ATAPI/CAM in the kernel, and let cdbakeoven see my
 burner as a SCSI device...?

Try reading 'man atapicam'. It tells you what needs to be done.

 Could anyone point me to some documentation for cdbakeoven, or help me get
 started?

I've gotten as far as making camcontrol devlist show my drives, eg:

ASUS DVD-ROM E612 l.2B   at scbus1 target 0 lun 0 (pass0,cd0)
LITE-ON LTR-24103S XB03  at scbus1 target 1 lun 0 (pass1,cd1)

But cdbakeoven doesn't see those drives... so if you get further... please let 
me know! ;)

Bjarne

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


Re: md5/des ?

2003-11-12 Thread Matthew Seaman
On Wed, Nov 12, 2003 at 01:23:35PM +0200, Oles Hnatkevych wrote:

 /usr/bin/passwd does my passwords MD5 encrypted (accordingly to /etc/login.conf)
 But /usr/sbin/adduser creates users with DES encrypted passwords.
 How do I make it use MD5 instead of DES? Seems like it's perls crypt()
 problem, and the DES is the default...

It's not the perl crypt() function, as that just mirrors the behaviour
of the underlying libc crypt(3) function.  Try these commands and
you'll see how things work:

Traditional DES:

% perl -le 'print crypt(password, xx)'

Extended DES:

% perl -le 'print crypt(password, _xx)'

Modular ($1$ = MD5)

% perl -le 'print crypt(password, \$1\$xx)'

ie. The format of the salt supplied to crypt controls the algorithm used.

You're right however that the adduser(8) command will always generate
a DES encrypted password hash.  Unfortunately it's programmed so that
it can't do anything else -- plus it uses srand() on a combination of
the PID, the date and some other data to seed the RNG, which used to
be a reasonable idea, but now that we have /dev/random is much less
so.

Use 'pw useradd' command instead.  See pw(8) -- this is a much more
capable program for manipulating user and group accounts, and it
doesn't suffer from the drawbacks you've noted.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: How to find our what version of ports your running?

2003-11-12 Thread Paul Hamilton
Thanks, Horio and Kris for the CVS solution.

Is there a way to find out the ports version, from a CD upgrade?  i.e..
initial install was 4.2 then a 4.6 upgrade, then a 4.7 and then a 4.8
upgrade.  Hmm, was the ports tree upgraded along with main upgrades or not?

Cheers,

Paul Hamilton

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of horio shoichi
Sent: Wednesday, 12 November 2003 10:47 AM
To: Paul Hamilton
Cc: Freebsd-Questions
Subject: Re: How to find our what version of ports your running?


On Tue, 11 Nov 2003 21:14:23 +0800
Paul Hamilton [EMAIL PROTECTED] wrote:
 Hi,

 Is it possible to print out the base version of when you last installed
the
 ports base, or cvs'ed it?

 cheers,

 Paul Hamilton


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


If $PORTSDIR/CVS/Tag exists

cat $PORTSDIR/CVS/Tag

will give you the idea.

If it doesn't exist you have current.


horio shoichi

___
[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: recover from failed make build

2003-11-12 Thread Alex de Kruijff
On Tue, Nov 11, 2003 at 12:30:31PM -0800, Kent Stewart wrote:
 On Tuesday 11 November 2003 12:18 pm, Marty Landman wrote:
  I just tried doing a make build for Apache2 from the FBSD 4.8 mini port.
  Here's what I got
 
   fetch: httpd-2.0.44.tar.gz appears to be truncated:
  4108288/5505246 bytes
   
   *** Error code 1
 
  Any advice on how to recover from this? Also I apologize if this in the
  docs, but I didn't see this problem addressed. :(

You could remove the file manualy and start over. It in
/usr/port/distfiles/. If you like you could also fetch the remaining
manualy. You should read man fetch on how to do this.

 That may be because the current version is apache-2.0.48_1. It looks
 like your. 
 port setup is fairly old.

Its more likly that the download was aborted.

Marty if you still like to update here are two links you should read:

Updating FreeBSD Sources for the OS and the ports:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Compiling FreeBSD sources to update the OS:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

Updating ports you have now could be best done with portsupgrade. To
install this do:
cd /usr/ports/sysutils/portsupgrade
make install  make clean

The update all your ports do:
portupgrade -fa (this can take as much as days)

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Programmatic control of screen-saver

2003-11-12 Thread Matthew Seaman
On Wed, Nov 12, 2003 at 11:33:07PM +1030, Malcolm Kay wrote:
 I have a machine controlling a tester. Tester control and display is via a 
 virtual console terminal. (X is not installed on the machine)
 
 I need to blank the screen (screen saver style) when there is no terminal
 activity for some time -- much the same as as normal screen-saver 
 operation except that screen output as well as keyboard input should
 inhibit the screen-saver taking over or cause the normal terminal display
 to be restored if the saver is already in effect.
 
 I would hope that there might be some ioctl call to the terminal which 
 could be used from within the tester control software to wake up the 
 terminal or prevent the screen saver taking over until a further timeout
 has elapsed. I've not been able to find such an ioctl call parameter.
 
 
 Does anyone have any ideas or a solution please?

See vidcontrol(1):

# vidcontrol -t 30

sets the console screensaver timeout to 30s, and

# vidcontrol -t off

turns off the console screensaver.  This does indeed operate using the
CONS_BLANKTIME ioctl -- see the code in the set_screensaver_timeout()
function in /usr/src/usr.sbin/vidcontrol/vidcontrol.c and the
sys/consio.h header file.

I think that ioctl should do what you want, although I'm not sure that
setting the blanking time to zero would actually cancel a running
screen saver.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: I need Help Please.

2003-11-12 Thread Harald Schmalzbauer
On Tuesday 11 November 2003 08:15, darkstarmaster21 wrote:
 Hello My name is Ron. I'm a newbie to FreeBSD. I downloaded a copy to my
 machine and created a iso. Burned it and installed the system with not much

Hmm, you can download iso. There's no need to do them yourself.

 trouble. The problem is I have a old Gateway  G6-266m with 128mb ram , a
 CDrom,  burner and 2 Drives One has XP Pro on it and is switchable by the
 bios on which can boot up first.   I installed version 5.1 FreeBSD which

This is a bit intricate. You can use a bootloader for that job. FreeBSD has 
one very basic included but I suggest you have a look at
http://gag.sourceforge.net/

 took 3 cd's to be burned, what I cant understand is it never asks for more
 than one cd. I never even looked at the other two. cause I can't get my

That's correct. You can have a complete BSD OS without X on a 250MB CD iso

 display to work. I tried xf86Config and other I found in the /usr/X11R6/bin
 folder but nothing works right.

 I have a RIVA 128 card in here with 4 mb ram and it always crashes and
 never starts. I switched to a generic vga card and it started but it was
 640 x 280 way too big to use and see. I'm stuck. I cant remember the
 commands and I'm unable to use midnight commander for which I'm used to
 when looking thru directory.I truly want to master this system and become a
 help to others when I'm better, but I'm afraid I don't know enough.  I

Try the nvidia drivers. Just cd into /usr/ports/x11/nvidia-driver and type 
make install. You need to have the ports tree installed. For more info see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

For tuning your resolution the relevant lines from XF86Config are:
Section Screen
Identifier YourScreen
Device Your nvidia card
MonitorYourMonitor
DefaultDepth 24
SubSection Display
Depth 16
EndSubSection
SubSection Display
Depth 24
Modes1280x1024 1024x768 800x600
EndSubSection
EndSection

The order of the resolutions listed is determinig the resolution which X 
starts with. See http://www.xfree86.org/4.3.0/ for details

 looked for a listing of commands and all i see is stuff I don't quite
 understand. I'm trying to get away from windows completely so I can be a
 champion for linux/ unix but I cant even demonstrate what I can do with it
 with the limited knowledge I have. I tried the commands I know in linux but
 this is pure unix which is a lot better and more secure and a lot harder.  

It isn't harder. It's a complete operating system, not just a kernel with 
assorted ingredients arround.

 Please help me and I will be glad to bring other to the fold and teach them
 someday.

 I can be reached at home at 215-324-1605 or by e-mail.   I know you guy's
 can get me up to speed but I plan to give back someday. So teach me well
 and I can help carry the burden someday.

 I have DSL as well and I wanted to connect my FreeBSD to my  other PC thru
 a crossover cable to my second NIC ( win2000 machine- has DSL on 1st Nic
 card) can you tell me what I need to do to connect and will this be
 networked finally. I have been trying for 2 weeks and I'm at the point I
 want to give up cause I'm not able to  ping the w2k box from my bsd box at
 all. I think this is enough for now. I'm confident that I'm in the right
 place for help now.

Well, thats not enough info to help you. Basically you need two interfaces on 
the FreeBSD box, depending on your DSL hardware you need either mpd (or any 
other way you like to handle ppp (pppoE or pptp, depending on your DSL-line)) 
and on the second card a private IP with a correct subnetmask, lets say 
192.168.0.1/24. The /24 means 24bits of the address are network bits and 
the rest 8 bits are host bits wich is a network mask of 255.255.255.0!
Now you have to assign your XP box a address from the same subnet named 
192.168.0.0/24. The .1 is occupied by your FreeBSD box, .255 is for 
broadcasts reserved so you can choose between 2 and 254. Lets take 2.
Sou you assign you XP bos the address 192.168.0.2 and the netmask 
255.255.255.0.
If you connected your network cards correctly (x-cable or hub or switch) you 
can now ping the 192.168.0.1 from the XP box and the 192.168.0.2 from the 
FreeBSD box.
You can edit your file /etc/hosts and enter a name for 192.168.0.2 (e.g. 
xpbox) so you can ping xpbox.
For details see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
advanced-networking.html


-Harry




 [EMAIL PROTECTED]

 Ron Fowler


pgp0.pgp
Description: signature


Re: How to find our what version of ports your running?

2003-11-12 Thread Lowell Gilbert
Paul Hamilton [EMAIL PROTECTED] writes:

 Is there a way to find out the ports version, from a CD upgrade?  i.e..
 initial install was 4.2 then a 4.6 upgrade, then a 4.7 and then a 4.8
 upgrade.  Hmm, was the ports tree upgraded along with main upgrades or not?

Ports are not updated along with the base system.  You can do that
separately, but usually don't need to.  You can determine the versions
of the ports installed on your system with the pkg_version(1) command.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding packages to the 4.7-RELEASE

2003-11-12 Thread Lowell Gilbert
Steve Blair [EMAIL PROTECTED] writes:

 I'm having difficulty locating a download site
 where I can get a python interpreter. I am running
 4.7-RELEASE and both /stand/sysinstall and browing
 mirror sites using a web browser turn up nothing.
 Can you either mail me the python package or point
 me to a site where I get retrieve it? I've tried
 setting my release to any but that has not
 fixed or changed the problem.

4.7 isn't being kept around on the mirrors any more (for space
reasons), so finding the original packages will be kind of tricky, as
you have been finding.  It's possible that newer packages would work
for you, but by no means guaranteed.  

Your best bet is probably to go through the ports system, which I
believe is still maintaining compatibility with 4.7.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: converting real media audio

2003-11-12 Thread Joan Picanyol i Puig
[please honour, Mail-Followup-To:, not subscribed]

* Dan Pelleg [EMAIL PROTECTED] [20031112 15:12]:
 Joan Picanyol [EMAIL PROTECTED] writes:
  [please honour Mail-Followup-To:, not subscribed]
  I've found two speeches in Real Audio format I'd like to burn on a CD.
  I'm able to reproduce them fine with linux-reaplayer, but sox doesn't
  understand the format. What's the one liner to dump what is sounding on
  my speakers to a file sox can convert (which device shoud I cat?)? Is
  there some utility to convert from .rm files to .wav?
 Run realplayer under linux-vsound (in the ports).
Thanks for the tip, however it doesn't quite work:

(16:24:25 ~) 0 $ vsound -f appel.wav
/usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm 
Missing file ./vsound61809.au.
This means that the libvsound wrapper did not work correctlty. A 
possible reason is that the program you are trying to run is 
setuid. In this case you will need to run vsound as root.
(16:24:51 ~) 0 $ sudo vsound -f appel.wav
/usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm 
Missing file ./vsound62032.au.
This means that the libvsound wrapper did not work correctlty. A 
possible reason is that the program you are trying to run is 
setuid. In this case you will need to run vsound as root.
(16:27:22 ~) 0 $ ls -l /usr/local/lib/RealPlayer8/realplay
-r-xr-xr-x  1 root  wheel  1247004 Nov  5 17:16
/usr/local/lib/RealPlayer8/realplay

What am I doing wrong?

tks
-- 
pica

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


backup drive scheme

2003-11-12 Thread Noah

FreeBSD 4.8 -STABLE

I currently have two 120GB SCSI drives in a machine.  one drive is the main
disk and the other drive is a complete exact copy of the first drive.

I am using rsync every 24 hours to backup drive 1 to drive 2.  can somebody
recommend another backup solution here?  Things are working fine right now. 
just trying to figure out other solutions?

- Noah

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


FYI: {CD,DVD}-ROM ATA mode, 5.1R

2003-11-12 Thread toposoph-space
Hi,

Just for information, may be it is already well known:
I found that by default all ATA CD- and DVD-ROMS have PIO4 mode (at
least on my machines, 5.1R). Changing mode to at least UDMA33
(atacontrol) improves performance dramatically - not just transfer
speed increased, but (and this is more important) interrupt time
reduced (according to systat -vmstat: from 40% to 0.8%).

Regards,
Sergey.

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


backup drive bootabel

2003-11-12 Thread Noah
FreeBSD 4.8-stable


I have about three different sources for making a drive bootable.  well I have
a  machine with two drives and the second drive is an exact backup of the
first.  but I need to make the 2nd drive bootable as well since this drive
will be plopped in if the first drive goes bad.  any recommendations on how to
do this?

Please send me to a good web tutorial if need be.

- Noah

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


Re: backup drive scheme

2003-11-12 Thread Jason Stewart
Noah wrote:
FreeBSD 4.8 -STABLE

I currently have two 120GB SCSI drives in a machine.  one drive is the main
disk and the other drive is a complete exact copy of the first drive.
I am using rsync every 24 hours to backup drive 1 to drive 2.  can somebody
recommend another backup solution here?  Things are working fine right now. 
just trying to figure out other solutions?

- Noah

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
How about RAID 1 with vinum? Alternatively you could go out and buy a 
hardware based RAID controller for a few bucks if you're serious about 
performance.

Jason

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


Re: backup drive bootabel

2003-11-12 Thread Jason Stewart
Noah wrote:
FreeBSD 4.8-stable

I have about three different sources for making a drive bootable.  well I have
a  machine with two drives and the second drive is an exact backup of the
first.  but I need to make the 2nd drive bootable as well since this drive
will be plopped in if the first drive goes bad.  any recommendations on how to
do this?
Please send me to a good web tutorial if need be.

- Noah

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Seems like a good candidate for RAID 1 mirroring to me. See my reply to 
your backup drive scheme message.

Jason

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


Re: cdbakeoven doesn't see atapi burner

2003-11-12 Thread Charles Howse
On Wednesday 12 November 2003 08:22 am, Bjarne Wichmann Petersen wrote:

 Try reading 'man atapicam'. It tells you what needs to be done.

Actually, I read the Handbook section on CD's, added device atapicam to my 
kernel config file, rebuilt the kernel.
Now my burner is detected in scanbus.
Still having lots of issues to sort out.

I have created a new data cd successfully by reading an iso image on another 
drive that I created in Windows with Easy CD Creator, but I can't mount that 
cd on FBSD or Windows.

camcontrol devlist shows my burner, but mount -t cd9660 /dev/cd0c /cdrom fails 
with cd9660: /dev/cd0c: Invalid argument
mount /cdrom also fails with cd9660: /dev/acd0c: Input/output error

I have just tried my old, original, 100% legal copy of Windows 95.
It mounts like a charm with either mount /cdrom or mount -t cd9660 /dev/cd0c /
cdrom.  The latter is much faster, though.

So I guess that means the cd's I'm making are somehow bad, or unuseable, or 
the .iso files I'm reading are incompatible with FBSD or cdbakeoven.

The cd's are Maxell CD-RW 650MB, which, of course, I erased with cdbakeoven 
before burning.

I'm copying my Windows 95 cd now, funny, my burner is 52x, but it's only 
burning at 4x, even though I've got the slider all the way to maximum.  I 
guess I can live with that.

OK, I successfully copied the Win95 cd, and can mount it.
That eliminates the cd's, and probably says the .iso images I created with 
Easy CD Creator are *no good* for FBSD or cdbakeoven.
I guess it *could* also be my settings in cdbakeoven, need to research that 
further.

I'm also unable to read/play any commercial audio cd's.  It's like they are 
blank.  This is a *big* issue for me.  I *have* to get this resolved.


  Could anyone point me to some documentation for cdbakeoven, or help me
  get started?

I did find *some* documentation.
In cdbakeoven, Help, About, click the link, browse the FAQ (very minimal) and 
documentation.

Hope this helps!

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


Re: converting real media audio

2003-11-12 Thread Dan Pelleg
Joan Picanyol i Puig [EMAIL PROTECTED] writes:

 [please honour, Mail-Followup-To:, not subscribed]

 * Dan Pelleg [EMAIL PROTECTED] [20031112 15:12]:
 Joan Picanyol [EMAIL PROTECTED] writes:
  [please honour Mail-Followup-To:, not subscribed]
  I've found two speeches in Real Audio format I'd like to burn on a CD.
  I'm able to reproduce them fine with linux-reaplayer, but sox doesn't
  understand the format. What's the one liner to dump what is sounding on
  my speakers to a file sox can convert (which device shoud I cat?)? Is
  there some utility to convert from .rm files to .wav?
 Run realplayer under linux-vsound (in the ports).
 Thanks for the tip, however it doesn't quite work:

 (16:24:25 ~) 0 $ vsound -f appel.wav
 /usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm 
 Missing file ./vsound61809.au.
 This means that the libvsound wrapper did not work correctlty. A 
 possible reason is that the program you are trying to run is 
 setuid. In this case you will need to run vsound as root.
 (16:24:51 ~) 0 $ sudo vsound -f appel.wav
 /usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm 
 Missing file ./vsound62032.au.
 This means that the libvsound wrapper did not work correctlty. A 
 possible reason is that the program you are trying to run is 
 setuid. In this case you will need to run vsound as root.
 (16:27:22 ~) 0 $ ls -l /usr/local/lib/RealPlayer8/realplay
 -r-xr-xr-x  1 root  wheel  1247004 Nov  5 17:16
 /usr/local/lib/RealPlayer8/realplay

 What am I doing wrong?


My notes (for streaming media) have the -d and -s switches. My guess is
what you actually need is just the -d.


-- 

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


lnc0 problems on vmware

2003-11-12 Thread RJ45

I Am using FreeBSD 4.9  and it works very nice with vmware.
my guest host is windowsXP and I Am running FreeBSD from vmware
inside windows XP.

I have these errors in the logs

lnc0: Missed Packet -- no receive buffer lnc0

what does it mean ?
I Tried to search on the archives but no useful threads for my problem.
This happens when the system is on high CPU load.
thank you

Rick


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


Re: cdbakeoven doesn't see atapi burner

2003-11-12 Thread Bjarne Wichmann Petersen
On Wednesday 12 November 2003 17:13, Charles Howse wrote:

  Try reading 'man atapicam'. It tells you what needs to be done.
 Actually, I read the Handbook section on CD's, added device atapicam to my
 kernel config file, rebuilt the kernel.
 Now my burner is detected in scanbus.

Hmm... interesting. I've done everything described in man/handbook. The drives 
shows up (correctly) in dmesg and with camcontrol. So *why* will cdbakeoven 
not detect the drives?

   Could anyone point me to some documentation for cdbakeoven, or help me
   get started?
 I did find *some* documentation.
 In cdbakeoven, Help, About, click the link, browse the FAQ (very minimal)
 and documentation.
 Hope this helps!

Only as much as I now know it *ought* to work... I just don't know why it 
doesn't... 

Bjarne

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


Re: portupgrade -arR

2003-11-12 Thread Drew Tomlinson
- Original Message - 
From: Jan Grant [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:37 AM


 On Tue, 11 Nov 2003, William O'Higgins wrote:

  Quite foolishly, I ran this command without thinking it through:
 
  portupgrade -arR
 
  It's been running for 15 hours or so now, and I'm wondering how much
  longer it is likely to take?  I realize that that depends grin /

 Well, that depends; many ports can be upgraded quickly. However
 compilation of C++ is markedly slower than compilation of C, so
whenever
 you see things like KDE or Qt meeding an upgrade, expect it to take a
 while.

 If you use portversion -v | grep -v = then you'll see the list of
 ports which remain that need updating. (You need to run portsdb after
a
 cvsup for the output of this, and portupgrade's operation, to be
 accurate.)

Or you can use the (IMHO) simpler 'portversion -vL=' to get the same
information.

Cheers,

Drew

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


Re: Another Newbie Question: C or C++

2003-11-12 Thread yo _
I would recommend not trying to learn C or C++ by yourself from a book.
The fastest (and best way) to learn the right stuff is to take coursework 
from a university or community college.
Not that I like disagreeing for no good reason, but I wholeheartedly 
disagree with that statement.

If the courses are any good, you'll get feedback, and you'll be paced
and challenged with projects designed to help you learn.
Going it alone in an unguided environment will only familiarize you
the lesser aspects of a language, if you last that long. The difficult
and most important aspects of the language (like pointers, virtual 
functions, references) will become almost insurmountable trial-and-error 
obstacles if you try to teach yourself.
If you want to get a lower paying and boring job programming in C/C++ for 
whatever reason and have a piece of paper that says you can have that job, I 
recommend wasting 4-6 months taking a course in your spare time to learn 
C/C++. If you want to be top of your game and learn C/C++ without wasting 
time on topics that take you a minute to understand, get a good book, 
practice the topics you have learned at your own pace, get numorous code 
examples for things you may want to do (sockets, GUI, OpenGL, ncurses, 
threading, kernel interfacing) from the glorious and infinite internet and 
emulate good programming style (using const qualifiers in C++, using 
#defines in C, etc.). Also be prepared to teach yourself because you may not 
always be prepared for a job you may find yourself with; learn how to easily 
learn and use external libraries.

The best programmers will teach themselves. A statement that may be on the 
borderline of opinion to fact by constant example. After all the first 
programmer, in fact, taught herself.
-Rian Hunter

_
MSN Messenger with backgrounds, emoticons and more. 
http://www.msnmessenger-download.com/tracking/cdp_customize

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


RE: Routing problems

2003-11-12 Thread Dimitris Xochellis
Hi Vince, Hi list,

 --- Vince Hoffman [EMAIL PROTECTED]
wrote:

  
  The 10.X.X.X subnet will never need to use any of
 the
  services of the 193.X.X.X subnet or the 193.R.R.R
  router. It will always access internet via its own
  10.R.R.R router, which only routes packets towards
 the
  internet and never towards the 193.X.X.X subnet.
 Thus,
  what's the need to do any of the above? 
  
 Well a packet originating on the 193.x.x.x network
 will have a return
 address on the 193.x.x.x network even after its been
 routed via the freebsd
 box, (unless you nat, which if your adsl router is a
 rubbish as mine was you
 may have to as i couldnt add static routes to mine,
 but thats another
 issue.) and so the 10.R.R.R router wont know where
 to forward to if it has
 no route to 10.x.x.x (or at least the sending host
 on that network.)
 

Currently, I have solved all my problems, (it seems
so) without adding any routes to the 10.R.R.R router.
I have just added the 193.x.x.x interface to it and I
gave it an address in that interface. This seems to be
sufficient enough!

What I have learned from this problems is that a
router  can only route packets that are coming from
interfaces that it knows. Thus it either has to be a
member of the  source subnet or we have to
appropriately translate the addresses via NAT. Am I
right?

Although I have not followed your advice I am very
grateful to you, because you helped me think towards
the right direction. I will also keep in mind what you
have said in case I face problems in the future...

Thanks a lot
Jim Xochellis



Do You Yahoo!?
   @yahoo.grhttp://www.otenet.gr
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: backup drive bootabel

2003-11-12 Thread Noah
On Wed, 12 Nov 2003 11:00:38 -0500, Jason Stewart wrote
 Noah wrote:
  FreeBSD 4.8-stable
  
  
  I have about three different sources for making a drive bootable.  well I have
  a  machine with two drives and the second drive is an exact backup of the
  first.  but I need to make the 2nd drive bootable as well since this drive
  will be plopped in if the first drive goes bad.  any recommendations on how to
  do this?

Thanks Jason,

I will consider it.  in the mean time can somebody explain to me how to make
the 2nd drive bootable.  I have seen many different ways to do this.  can you
direct me to the most optimal.  I want to place a boot section that has no
menu and no options.  just load teh kernel and go.

- Noah




  
  Please send me to a good web tutorial if need be.
  
  - Noah
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 Seems like a good candidate for RAID 1 mirroring to me. See my reply 
 to your backup drive scheme message.
 
 Jason


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


Re: Another Newbie Question: C or C++

2003-11-12 Thread Louis LeBlanc
On 11/12/03 12:09 PM, yo _ sat at the `puter and typed:
 I would recommend not trying to learn C or C++ by yourself from a book.
 The fastest (and best way) to learn the right stuff is to take coursework 
 from a university or community college.
 
 Not that I like disagreeing for no good reason, but I wholeheartedly 
 disagree with that statement.
 
 If the courses are any good, you'll get feedback, and you'll be paced
 and challenged with projects designed to help you learn.
 
 Going it alone in an unguided environment will only familiarize you
 the lesser aspects of a language, if you last that long. The difficult
 and most important aspects of the language (like pointers, virtual 
 functions, references) will become almost insurmountable trial-and-error 
 obstacles if you try to teach yourself.
 
 If you want to get a lower paying and boring job programming in C/C++ for 
 whatever reason and have a piece of paper that says you can have that job, I 
 recommend wasting 4-6 months taking a course in your spare time to learn 
 C/C++. If you want to be top of your game and learn C/C++ without wasting 
 time on topics that take you a minute to understand, get a good book, 
 practice the topics you have learned at your own pace, get numorous code 
 examples for things you may want to do (sockets, GUI, OpenGL, ncurses, 
 threading, kernel interfacing) from the glorious and infinite internet and 
 emulate good programming style (using const qualifiers in C++, using 
 #defines in C, etc.). Also be prepared to teach yourself because you may not 
 always be prepared for a job you may find yourself with; learn how to easily 
 learn and use external libraries.
 
 The best programmers will teach themselves. A statement that may be on the 
 borderline of opinion to fact by constant example. After all the first 
 programmer, in fact, taught herself.
 -Rian Hunter

I seem to remember another common saying: A person who is self taught
has a fool for a teacher

Not that I entirely disagree with your statement, but the first
programmer if I understand your meaning, never presented her first
attempt for approval to the current codeset - at least I didn't get
the memo.  All I have is the secondhand publishing of several
different, and mostly conflicted sets of operating instructions, most
of which are even self conflicting.  So self taught isn't necessarily
right the first time - unless the docs are all forged :)  Then again,
I could be entirely mistaken about your meaning, so feel free to
ignore my babble before flaming (in fact, please do :).

Besides, every person is different.  Some people need some degree of
structure to focus them.  Others do better on a 'spur of the moment'
schedule, where they spend time learning when it will be productive.
I go for a walk down the middle of these perfectly valid, if
fundamentalist, approaches.  A person who only learns in school never
learns outside of school.  OTOH, a person who avoids structured
learning environments will have a hard time in other structured
environments.

Most of my C++ knowledge was gained in school.  My much more extensive
C knowledge was entirely self taught.  Yes, I do have the occasional
pointer mishap, but I doubt there are many people who don't.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Old Japanese proverb:
  There are two kinds of fools -- those who never climb Mt. Fuji,
  and those who climb it twice.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another Newbie Question: C or C++

2003-11-12 Thread Jerry McAllister
 
 I would recommend not trying to learn C or C++ by yourself from a book.
 The fastest (and best way) to learn the right stuff is to take coursework 
 from a university or community college.
 
 If the courses are any good, you'll get feedback, and you'll be paced
 and challenged with projects designed to help you learn.
 
 Going it alone in an unguided environment will only familiarize you
 the lesser aspects of a language, if you last that long. The difficult
 and most important aspects of the language (like pointers, virtual 
 functions, references) will become almost insurmountable trial-and-error 
 obstacles if you try to teach yourself.

This is a good point.  The person who takes a class should (prividing the 
class is well done) be guided through the whole range of the language.
Whereas someone learning on their own just picks up the pieces they
need at the moment and then fixates on those parts and doesn't go on
to learn the whole range of the language.

 If you want to get a lower paying and boring job programming in C/C++ for 
 whatever reason and have a piece of paper that says you can have that job, I 
 recommend wasting 4-6 months taking a course in your spare time to learn 
 C/C++. If you want to be top of your game and learn C/C++ without wasting 
 time on topics that take you a minute to understand, get a good book, 
 practice the topics you have learned at your own pace, get numorous code 
 examples for things you may want to do (sockets, GUI, OpenGL, ncurses, 
 threading, kernel interfacing) from the glorious and infinite internet and 
 emulate good programming style (using const qualifiers in C++, using 
 #defines in C, etc.). Also be prepared to teach yourself because you may not 
 always be prepared for a job you may find yourself with; learn how to easily 
 learn and use external libraries.

The only really valuable thing from this flame is the implication that
you must go on and keep using the new learning and add to it from
man sources.   It is not a waste of time to learn it right from the start.

 The best programmers will teach themselves. A statement that may be on the 
 borderline of opinion to fact by constant example. After all the first 
 programmer, in fact, taught herself.

And it was a lifelong mistake-filled iterative process.   If the material 
was already there in the beginning as it is for C, C++, Fortran, Assembly,
etc, then that lifelong process could have started at a higher level of
understanding and moved on from their instead of having to spend so
many years of rummaging around at the primative levels.

Mostly, I am just responding to the making of a sweeping generalization
that may apply to a very few, but for the most is meaningless.  It seems
to take a narrow viewpoint to make up a flame.

jerry

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


ip-up script of pppd no triggered

2003-11-12 Thread Jim Xochellis
Hi list,

I need persuade pppd to call its ip-up script in order to add a 
non-default route when the link is up and running. Unfortunately it 
seems that my ip-up script is not being called. The mode of the file is 
rwxr-xr-x and the owner root:wheel. I am calling the pppd from inside a 
/usr/local/etc/rc.d/ppp.sh script by using the following command:
/usr/sbin/pppd /dev/cuaa0 115200 A.A.A.A:B.B.B.B noauth persist 
netmask 255.255.255.252

Am I doing something wrong?

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


Newbie: Touchy Travan tape drive rewind problem

2003-11-12 Thread Christophe
I've installed FreeBSD 4.9-RELEASE on a Dell 400SC with an ATA Travan 
tape drive, accessing it through /dev/ast0.  On linear writing 
operations, it works great... but there appears to be some kind of 
timeout problem on rewind:

# mt -f /dev/nast0 rewind
mt: /dev/nast0: rewind: Input/output error
From console:

Nov 12 11:28:02 bs4 /kernel: ast0: REZERO command timeout - resetting
Nov 12 11:28:02 bs4 /kernel: ata1: resetting devices .. done
This error does not appear if the tape is already rewound.  Any thoughts?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: backup drive scheme

2003-11-12 Thread Matthew Seaman
On Wed, Nov 12, 2003 at 07:46:39AM -0800, Noah wrote:
 
 FreeBSD 4.8 -STABLE
 
 I currently have two 120GB SCSI drives in a machine.  one drive is the main
 disk and the other drive is a complete exact copy of the first drive.
 
 I am using rsync every 24 hours to backup drive 1 to drive 2.  can somebody
 recommend another backup solution here?  Things are working fine right now. 
 just trying to figure out other solutions?

That's not a bad system per se -- would you care to elaborate what
about that scheme is unsatisfactory?  What sort of characteristics are
you looking for in your backup scheme: for instance how long do you
want to retain backups for?  How much stuff do you want to backup?
What about keeping off-site copies? Is it more important to be able to
recover a system quickly or is it more important to cram as many
copies of the data as possible onto the available media?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: converting real media audio

2003-11-12 Thread Joan Picanyol i Puig
* Dan Pelleg [EMAIL PROTECTED] [20031112 17:23]:
 Joan Picanyol i Puig [EMAIL PROTECTED] writes:
  * Dan Pelleg [EMAIL PROTECTED] [20031112 15:12]:
  Joan Picanyol [EMAIL PROTECTED] writes:
   I've found two speeches in Real Audio format I'd like to burn on
   a CD.  I'm able to reproduce them fine with linux-reaplayer, but
   sox doesn't understand the format. What's the one liner to dump
   what is sounding on my speakers to a file sox can convert (which
   device shoud I cat?)? Is there some utility to convert from .rm
   files to .wav?
  Run realplayer under linux-vsound (in the ports).
  Thanks for the tip, however it doesn't quite work:
 
  (16:24:25 ~) 0 $ vsound -f appel.wav
  /usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm
  Missing file ./vsound61809.au.  This means that the libvsound
  wrapper did not work correctlty. A possible reason is that the
  program you are trying to run is setuid. In this case you will need
  to run vsound as root.  (16:24:51 ~) 0 $ sudo vsound -f appel.wav
  /usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm
  Missing file ./vsound62032.au.  This means that the libvsound
  wrapper did not work correctlty. A possible reason is that the
  program you are trying to run is setuid. In this case you will need
  to run vsound as root.  (16:27:22 ~) 0 $ ls -l
  /usr/local/lib/RealPlayer8/realplay -r-xr-xr-x  1 root  wheel
  1247004 Nov  5 17:16 /usr/local/lib/RealPlayer8/realplay
 
  What am I doing wrong?
 My notes (for streaming media) have the -d and -s switches. My guess
 is what you actually need is just the -d.
Thanks, that did the trick. At least with linux-reaplayer you need -d -s
and redirect to a file.

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


Multiple IPs in Jail

2003-11-12 Thread FB

Hey all  -

We patched mijail5 (http://garage.freebsd.pl/mijail.README) against
RELENG_5_1. Most of the patch was successful with a little fuzz, except  for
a couple lines in jls which didn't patch due to cosmetic changes (easily
fixed). 

Before the patch was applied, the jail environment had no problem with dns.
After the patch was applied  however (and userland rebuilt both on host and
jail), dns breaks in the jail environment. Basically, gethostbyname  fails
and h_errno is set to 2 - Host name lookup failure. the system is configured
properly, since the only changes  are to the kernel and the modified jail
mechanism. Also interesting is that the failure is immediate, there is no
timeout. 
  
However, inbound/outbound TCP traffic is not effected. - we are able to ssh
in/out of the jailed environment. 
I was testing outbound UDP traffic however - simple matter of binding a
socket to send a packet to a remote host. 
  
Outside the jail, it worked fine. inside the jail, sendto failed with a
EINVAL error. 
  
Any help on this topic would be much appreciated. 


-Mike 


PS: I apologize for the cross-post to the freebsd-hackers and
freebsd-questions lists... Need to get this box up ASAP and this is a major
setback.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003
 

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


Re: backup drive bootabel

2003-11-12 Thread Matthew Seaman
On Wed, Nov 12, 2003 at 09:20:14AM -0800, Noah wrote:

 I will consider it.  in the mean time can somebody explain to me how to make
 the 2nd drive bootable.  I have seen many different ways to do this.  can you
 direct me to the most optimal.  I want to place a boot section that has no
 menu and no options.  just load teh kernel and go.

These are SCSI drives? So one disk is da0 and the other is da1.  

There's two ways to work this:

i) Make the 2nd disk an identical copy to the 1st one.  In this case
should the 1st drive go AWOL, you would have to open the case and
either remove the first drive or modify the jumpering on the disks to
swap their order on the bus.  You will need to mark the FreeBSD slice
bootable in the disk partition label by running:

# boot0cfg -B -b /boot/mbr -s 1 da1

So long as the slice tables and disklabels on da0 and da1 are pretty
much the same, either disk should boot up smoothly.

ii) Set up the system so that you can boot from either disk at will,
without having to fiddle around with the hardware at all. This means
that the settings on the two drives cannot be exactly the same:
specifically the /etc/fstab file on each disk should reference the
filesystems on the same disk: da0 on da0 or da1 on da1.

Now, you can boot from either disk by interrupting the boot process by
hitting a key while the spinning cursor is showing (| / - \ ...)
[That's before the system loads the kernel and prints the message
about the 10s countdown] -- it can be tricky to catch the system at
this stage especially if booting from a fast device.

At the boot: prompt, type:

0:da(0,a)/kernel

to boot from da0, or

1:da(0,a)/kernel

to boot from da1.

If you take this route, you may find it more convenient to set up the
machine for dual-boot with the slightly unusual configuration of two
copies of the same OS.
 
In this case you'll need to install the FreeBSD boot block, which will
mean that you get a prompt at boot time where you can choose which
disk to boot from, but unless you start hitting the function keys,
after a short delay the system will carry on an boot up from the same
disk as the previous boot:

# boot0cfg -B -b /boot/boot0 da0
# boot0cfg -B -b /boot/boot0 da1

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ssh has a delay when typing

2003-11-12 Thread datafirm
List,

Yes, I am connecting to the machine remotely via the internet.. The lag 
is not acceptable, and this same lag and delay happened when I had 
another FreeBSD machine on our local network. Any more ideas? I have 
never experienced this behavior on any other unix machines.

TIA

will



On Nov 12, 2003, at 3:31 AM, Kris Kennaway wrote:

On Wed, Nov 12, 2003 at 12:15:45AM -0800, [EMAIL PROTECTED] wrote:
List,

I have searched the list and have not found a solution. I have also
upgraded to the latest in the ports tree. I am running FreeBSD 4.9
Release.
I can connect to the machine fine, but after connected I get random
pauses and delays while typing.
Any ideas?
Please provide more details about your setup.  For example, if you're
SSH'ing to a remote machine on the internet, this would be expected
behaviour.
kris


--will

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


Re: converting real media audio ... ENCODING working?

2003-11-12 Thread BSD baby
While we're on the subject, has anyone gotten the Linux version of the Real Audio 
Producer (encoder) to work?

It's a commercial app from RealNetworks that I downloaded and did a core dump when 
trying to run.
(Sorry I forget details now.)

Just wondering if anyone's ever successfully done RealAudio ENCODING on FreeBSD?


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


RE: internet setup

2003-11-12 Thread Aaron Burke
 B F wrote:
 
 Can someone just tell me step by step how to get my internet 
 running starting from a FreeBSD clean install?  I have spent days 
 trying different things I've read on websites and books, but have 
 yet to get it working.  Thanks.
 
 I'm new to BSD, but if it was Windows I'd just tell you to enable DHCP 
 on the FreeBSD box to get your network settings from your cable modem, 
 and be happy.  If that's not your style, then give your BSD box the 
 network settings manually (probably 192.168.x.y for the IP address, with 
 255.255.255.0 as a subnet mask.  Just pick something with a different 
 final number than either of your other machines.  ;) )
If you get the address via DHCP, run the following (my interface is ed0).
alpha# dhclient ed0

And if you want it to get the address on boot, add the following to
/etc/rc.conf
ifconfig_ed0=DHCP  #internet connection

If you want it to be a router as well, add the following to rc.conf
gateway_enable=YES



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


Re: Newbie: Touchy Travan tape drive rewind problem

2003-11-12 Thread Bill Campbell
On Wed, Nov 12, 2003, Christophe wrote:
I've installed FreeBSD 4.9-RELEASE on a Dell 400SC with an ATA Travan 
tape drive, accessing it through /dev/ast0.  On linear writing 
operations, it works great... but there appears to be some kind of 
timeout problem on rewind:

A good general rule about using the Travan tape drives is -- don't.

We used them for about a year until they started giving all kinds of wierd
problems that appeared to be hardware related, timeouts, not able to read
tapes after they were written, etc.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.
-- Doctor Who, Face of Evil
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mysterious manpage *roff problems solved (SOLUTION)

2003-11-12 Thread Forrest Aldrich
I had posted recently regarding a mysterious problem I had with my manpage 
subsystem not working properly.  This has been a problem for quite some time.

After analyzing ktrace/kdump outputs, removing any conflicting *roff files 
in /usr/local/bin and /usr/local/share, we still couldn't get it 
working.   Interestingly, there are no indications of *roff in /var/db/pkg, 
so I have no idea how it ended up under /usr/local to begin with.

The solution, thanks to Larry Rosenman [EMAIL PROTECTED], was to backup my 
/usr/src/sys/i386/conf file and rm -rf the entire /usr/src and /usr/obj 
trees, then re-CVSup (putting back my kernel config) and rebuild/reinstall 
the system.

It was a pickle - as the problem just didn't seem obvious.  So, somewhere 
along the line something got munged up in the /usr/src directory.

I hope this solution helps someone out there that may get bitten by 
this.   And again thanks to Larry.



Forrest

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


FreeBSD Essay.

2003-11-12 Thread Lewis Thompson
Hey guys,

I'm a first year CS student at Manchester and I've been given the task
of writing a 1,000 word essay on something computer-related.  It can be
pretty much anything I want (I think).  I've decided FreeBSD is
interesting, the OS I advocate and that I shall write about this.

  I am planning to write a brief history of the four BSDs, going way
back in time (probably a few words on Ritchie, etc.) but then
concentrate on FreeBSD.

  I'm really asking if anybody can suggest any particularly interesting
topics that I can go away and research and then include in my essay.  I
guess since it's only a short essay I can't have /too/ much detail and I
didn't particularly want to try and explain something /very/ complicated
(although please suggest just the same ;).

  Somebody already suggested ``man hier'' but I'm not sure that's really
technical enough, and problably not particularly specific to FreeBSD.

  Thanks very much -- any and all suggestions are very welcome :)

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


invalid argument

2003-11-12 Thread Gregory Stearns
I have used mount -t cd9660 /dev/acd0c /cdrom
and mount_cd9660 /cdrom
It tells me that it is an invalid argument. I have a toshiba satelite laptop and I am 
running ver 4.7. My cdrom is a cdrw. What should I try next?
Thank you
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Search Smarter - get the new eXact Search Bar for free!
http://www.exactsearchbar.com/

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


Re: pkgdb / portupgrade segfault

2003-11-12 Thread Will Yardley
Chris wrote:
 On Tuesday 11 November 2003 01:08 pm, Will Yardley wrote:

  I have portupgrade version 20030723, installed from ports. I'm having
  some problems with it.
 
  Running pkgdb -Fv gives a segfault.
 
  aura# pkgdb -Fv
 
 Try this:  pkgdb -fuF

That seems to work - thanks. Presumably a corrupt pkgdb or something?

Would be nice if portupgrade gave nicer errors, though.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie: Correct directory for file server

2003-11-12 Thread Tom Munro Glass
Thanks Chris and Scott for your input on this subject - I've found it most 
helpful.

The freedom to tweak the system to your own way of working is great, and I now 
feel I am better informed on how to do this without doing anything radical 
that I will regret in years to come.

Thanks again to you both.

Tom

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


Re: statvfs.h

2003-11-12 Thread SWIT
find brings back nothing on my system.
mark
- Original Message - 
From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]
To: M.D. DeWar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 5:17 PM
Subject: Re: statvfs.h


 M.D. DeWar wrote:

 were do yo u get header files ?
 or can't you ?
 
 I am trying to load a webmin module and it needs some perl modules and
one
 filesys::statvfs needs the header file
 statsvfs.h and I donthave it.
 
 thanks
 mark
 
 
 
 #find / -name statvfs.h -print
 /usr/include/sys/statvfs.h
 /usr/src/sys/sys/statvfs.h

 HTH,

 Kevin Kinsey
 DaleCo, S.P.





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


symlink confusion

2003-11-12 Thread Steve Bertrand
Could someone please briefly describe the reactions to the following
actions? Sometimes I delete the original directories by deleting links,
and hopefully someone can give me some insight.

# ln -s /home/steve/directory /tmp/directory
# rm /tmp/directory

In testing, the original directory (/home/steve/directory) did not get
removed, but in reality, I am dealing with my X11R6 directory which had to
be moved temporarily to make room for a port install.

# ln -s /usr/X11R6 /home/steve/X11R6

Which put a new link from the original to the new location.

If I # rm /home/steve/X11R6, will I be safe as to not delete the original
directory?

If this is true, what could I have done in the past that would of seen an
entire directory structure deleted by deleting the link?

Tks for your input.

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


Re: invalid argument

2003-11-12 Thread Jason
Gregory Stearns wrote:

I have used mount -t cd9660 /dev/acd0c /cdrom
and mount_cd9660 /cdrom
It tells me that it is an invalid argument. I have a toshiba satelite laptop and I am running ver 4.7. My cdrom is a cdrw. What should I try next?
Thank you
 

You syntax looks good, but do you have acd0c in your /dev/ file?  Do $ls 
/dev and look for acd entries.  My computers has acd0, and thats it.  So 
I use $ mount_cd9660 /dev/acd0 /cdrom.

Jason

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


Re: FreeBSD Essay.

2003-11-12 Thread paul beard
Lewis Thompson wrote:
Hey guys,

I'm a first year CS student at Manchester and I've been given the task
of writing a 1,000 word essay on something computer-related.  It can be
pretty much anything I want (I think).  I've decided FreeBSD is
interesting, the OS I advocate and that I shall write about this.
  I am planning to write a brief history of the four BSDs, going way
back in time (probably a few words on Ritchie, etc.) but then
concentrate on FreeBSD.
I think showing the pedigree is a good idea. I would extend it to 
discuss and demonstrate how FreeBSD is a system with solid design 
principles and a resourceful community around it. It's benefits 
are more than technical, as anyone on this list can attest.

Given the short length, I think an overview of how FreeBSD came to 
be, it's strengths, and whatever seems appropriate in the 
projected evolution would be worth reading.

  I'm really asking if anybody can suggest any particularly interesting
topics that I can go away and research and then include in my essay.  I
guess since it's only a short essay I can't have /too/ much detail and I
didn't particularly want to try and explain something /very/ complicated
(although please suggest just the same ;).


--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Who messed with my anti-paranoia shot?

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


Re: md5/des ?

2003-11-12 Thread Shantanoo Mahajan
+++ Oles Hnatkevych [freebsd] [12-11-03 13:23 +0200]:
| Hello!
| 
| /usr/bin/passwd does my passwords MD5 encrypted (accordingly to /etc/login.conf)
| But /usr/sbin/adduser creates users with DES encrypted passwords.
| How do I make it use MD5 instead of DES? Seems like it's perls crypt()
| problem, and the DES is the default...
| 
| 
| --

man login.conf | grep passwd_format -A 5

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


newbie dns mess w/ nic

2003-11-12 Thread Marty Landman
I had everything working as evidenced by installing a port or two - 
including the Lynx browser which worked; then rebooted last night and now 
can't get dns working again.

My LAN has a windoz xp box with dial up and ICS enabled. It is 192.168.0.1 
on the network. My FBSD box will ping to localhost, 192.168.0.7 (itself), 
and other boxes on LAN by either name or IP. But when I try to ping google 
etc.. I get No route to host.

$ cat /etc/rc.conf

# -- sysinstall generated deltas -- # Sat Nov  8 18:24:40 2003
# Created: Sat Nov  8 18:24:40 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file no longer contains just the overrides from /etc/defaults/rc.conf.
hostname=fbsd.my.domain
kern_securelevel_enable=NO
linux_enable=YES
moused_enable=YES
nfs_reserved_port_only=YES
sendmail_enable=YES
sshd_enable=YES
ifconfig_ep0=inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP
firewall_enable=no
$ cat /usr/local/etc/rc.d/landns.root.sh
#!/bin/sh
natd -dynamic -interface ep0
dhclient ep0
ifconfig ep0 inet 192.168.0.7 255.255.255.0
echo Everone Feeling Better Now? 8^}
$ netstat -rn
Routing tables
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
127.0.0.1  127.0.0.1  UH  26lo0
192.168.0  link#1 UC  30ep0
192.168.0.100:08:74:c0:5e:69  UHLW2  200ep0   1065
192.168.0.700:20:af:4d:24:b7  UHLW04lo0
192.168.0.150  00:a0:cc:40:55:cf  UHLW02ep0735
192.168.0.222  127.0.0.1  UGHS02lo0
Internet6:
Destination   Gateway   Flags 
Netif Expire
::1   ::1   UH  lo0
fe80::%ep0/64 link#1UC  ep0
fe80::220:afff:fe4d:24b7%ep0  00:20:af:4d:24:b7 UHL lo0
fe80::%lo0/64 fe80::1%lo0   Uc  lo0
fe80::1%lo0   link#4UHL lo0
ff01::/32 ::1   U   lo0
ff02::%ep0/32 link#1UC  ep0
ff02::%lo0/32 ::1   UC  lo0



$ ifconfig -a
ep0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
inet 192.168.0.7 netmask 0xff00 broadcast 255.255.255.0
ether 00:20:af:4d:24:b7
media: Ethernet 10baseT/UTP
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
$
Hey, at least I've got local connectivity stable now so I can copy and 
paste this stuff... oops maybe I shouldn't have even said anything to jinx 
this. pondering how bad things will get before some knowledge pervades my 
being

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


french accent + keyboard

2003-11-12 Thread HYVERNAT Philippe
hello,

i have a freebsd 4.8 release and i have an azerty keyboard, but accents 
doesn't functions. I have the line : keymap=fr.iso.acc in the rc.conf 
file but nothing

could you help me please

Thank you

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


Re: pkgdb / portupgrade segfault

2003-11-12 Thread Chris
On Wednesday 12 November 2003 01:38 pm, Will Yardley wrote:
 Chris wrote:
  On Tuesday 11 November 2003 01:08 pm, Will Yardley wrote:
   I have portupgrade version 20030723, installed from ports. I'm having
   some problems with it.
  
   Running pkgdb -Fv gives a segfault.
  
   aura# pkgdb -Fv
 
  Try this:  pkgdb -fuF

 That seems to work - thanks. Presumably a corrupt pkgdb or something?

 Would be nice if portupgrade gave nicer errors, though.

That would be a correct assumtion. Sometimes things happen. Most of the time 
though, the DB will get corrupt when the user break the portupgrade. 

That's been my experiance anyways. So, as a rule of thumb, only break 
portupgrade when it's absolutly, 100 percent, needed.  

I don't care what anyone says - to me, you just DON'T break access to any 
database. 

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


Re: I need Help Please.

2003-11-12 Thread Vulpes Velox
On Tue, 11 Nov 2003 02:15:28 -0500 (Eastern Standard Time)
darkstarmaster21 [EMAIL PROTECTED] wrote:

 Hello My name is Ron. I'm a newbie to FreeBSD. I downloaded a copy to my
 machine and created a iso. Burned it and installed the system with not much
 trouble. The problem is I have a old Gateway  G6-266m with 128mb ram , a
 CDrom,  burner and 2 Drives One has XP Pro on it and is switchable by the
 bios on which can boot up first.   I installed version 5.1 FreeBSD which
 took 3 cd's to be burned, what I cant understand is it never asks for more
 than one cd. I never even looked at the other two. cause I can't get my
 display to work. I tried xf86Config and other I found in the /usr/X11R6/bin
 folder but nothing works right. 

To get a working XF86Config use XFree86 -configure. Then move that file to
/etc/X11/XF86Config  Then to config the file use xf86cfg -textmode to configure
it.

Note: on some systems you may  have to go in and comment out the dri line on
some gfx cards.
 
 I have a RIVA 128 card in here with 4 mb ram and it always crashes and never
 starts. I switched to a generic vga card and it started but it was 640 x 
 280 way too big to use and see. I'm stuck. I cant remember the commands and
 I'm unable to use midnight commander for which I'm used to when looking thru
 directory.I truly want to master this system and become a help to others
 when I'm better, but I'm afraid I don't know enough.  I looked for a listing
 of commands and all i see is stuff I don't quite understand. I'm trying to
 get away from windows completely so I can be a champion for linux/ unix but
 I cant even demonstrate what I can do with it with the limited knowledge I
 have. I tried the commands I know in linux but this is pure unix which is a
 lot better and more secure and a lot harder.   Please help me and I will be
 glad to bring other to the fold and teach them someday.

Uhm, having a error message to go by would be really useful. Hmm, if this is
your first time trying stuff like this, don't worry about it, some of the finer
parts of unix take awhile to learn.

Here are some good starting places...
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
http://www.freebsd.org/projects/newbies.html
http://wks.uts.ohio-state.edu/unix_course/unix.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html
http://www.freebsd.org/cgi/man.cgi


Generally the best way to get help on a specific command is to use man... do a
mam man to find more out about the man program.

 I can be reached at home at 215-324-1605 or by e-mail.   I know you guy's
 can get me up to speed but I plan to give back someday. So teach me well and
 I can help carry the burden someday.

 I have DSL as well and I wanted to connect my FreeBSD to my  other PC thru a
 crossover cable to my second NIC ( win2000 machine- has DSL on 1st Nic card)
  can you tell me what I need to do to connect and will this be networked
 finally. I have been trying for 2 weeks and I'm at the point I want to give
 up cause I'm not able to  ping the w2k box from my bsd box at all. I think
 this is enough for now. I'm confident that I'm in the right place for help
 now.   

Lets make this part simple... use the freebsd box for nat and not the win2k
machine. Check out the nat page in the
handbook(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd
.html and if you have not done so, read the rest of the handbook. Just put on of
the nics in the bsd box on dhcp for the dsl adapter and the other to something
like 192.168.0.1. Now plug your win2k machine into the second one and give it
something like 192.168.0.2 and tell it to use 192.168.0.1 as the gateway.

Hope this has been of help. If you have any other questions feel free to ask :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newbie dns mess w/ nic

2003-11-12 Thread Steve Bertrand
 I had everything working as evidenced by installing a port or two -
 including the Lynx browser which worked; then rebooted last night and now
 can't get dns working again.

 My LAN has a windoz xp box with dial up and ICS enabled. It is 192.168.0.1
 on the network. My FBSD box will ping to localhost, 192.168.0.7 (itself),
 and other boxes on LAN by either name or IP. But when I try to ping google
 etc.. I get No route to host.


Add the following to your /etc/rc.conf file:

default_router=192.168.0.1

and then perform the following command to get it online without a reboot:

# route add default 192.168.0.1

Hope this helps.

Steve


 $ cat /etc/rc.conf

 # -- sysinstall generated deltas -- # Sat Nov  8 18:24:40 2003
 # Created: Sat Nov  8 18:24:40 2003
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file no longer contains just the overrides from /etc/defaults/rc.conf.
 hostname=fbsd.my.domain
 kern_securelevel_enable=NO
 linux_enable=YES
 moused_enable=YES
 nfs_reserved_port_only=YES
 sendmail_enable=YES
 sshd_enable=YES
 ifconfig_ep0=inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP
 firewall_enable=no


 $ cat /usr/local/etc/rc.d/landns.root.sh
 #!/bin/sh
 natd -dynamic -interface ep0
 dhclient ep0
 ifconfig ep0 inet 192.168.0.7 255.255.255.0
 echo Everone Feeling Better Now? 8^}


 $ netstat -rn
 Routing tables

 Internet:
 DestinationGatewayFlagsRefs  Use  Netif Expire
 127.0.0.1  127.0.0.1  UH  26lo0
 192.168.0  link#1 UC  30ep0
 192.168.0.100:08:74:c0:5e:69  UHLW2  200ep0   1065
 192.168.0.700:20:af:4d:24:b7  UHLW04lo0
 192.168.0.150  00:a0:cc:40:55:cf  UHLW02ep0735
 192.168.0.222  127.0.0.1  UGHS02lo0

 Internet6:
 Destination   Gateway   Flags
 Netif Expire
 ::1   ::1   UH  lo0
 fe80::%ep0/64 link#1UC  ep0
 fe80::220:afff:fe4d:24b7%ep0  00:20:af:4d:24:b7 UHL lo0
 fe80::%lo0/64 fe80::1%lo0   Uc  lo0
 fe80::1%lo0   link#4UHL lo0
 ff01::/32 ::1   U   lo0
 ff02::%ep0/32 link#1UC  ep0
 ff02::%lo0/32 ::1   UC  lo0



 $ ifconfig -a
 ep0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
  inet 192.168.0.7 netmask 0xff00 broadcast 255.255.255.0
  ether 00:20:af:4d:24:b7
  media: Ethernet 10baseT/UTP
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 faith0: flags=8002BROADCAST,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
  inet6 ::1 prefixlen 128
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
  inet 127.0.0.1 netmask 0xff00
 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
 $


 Hey, at least I've got local connectivity stable now so I can copy and
 paste this stuff... oops maybe I shouldn't have even said anything to jinx
 this. pondering how bad things will get before some knowledge pervades my
 being


 Marty Landman   Face 2 Interface Inc 845-679-9387
 Sign On Required: Web membership software for your site
 Make a Website: http://face2interface.com/Home/Demo.shtml

 ___
 [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]


symlink confusion

2003-11-12 Thread Marty Landman
At 03:00 PM 11/12/2003, you wrote:

# ln -s /home/steve/directory /tmp/directory
# rm /tmp/directory
In testing, the original directory (/home/steve/directory) did not get removed
I'm a newbie Steve so maybe will be asking more than answering here. But 
isn't it the case that with a soft link as you created in the first line in 
the second line you'd only be deleting the link itself and not the actual 
directory? But if you used a hard link

# ln /home/steve/directory /tmp/directory
# rm /tmp/directory
then the real directory would be deleted?

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Essay.

2003-11-12 Thread Alex de Kruijff
On Wed, Nov 12, 2003 at 07:01:36PM +, Lewis Thompson wrote:
 Hey guys,
 
 I'm a first year CS student at Manchester and I've been given the task
 of writing a 1,000 word essay on something computer-related.  It can be
 pretty much anything I want (I think).  I've decided FreeBSD is
 interesting, the OS I advocate and that I shall write about this.
 
   I am planning to write a brief history of the four BSDs, going way
 back in time (probably a few words on Ritchie, etc.) but then
 concentrate on FreeBSD.

My advise would be to pick one subject and stick with that. Don't go
into the history in general if you for something detailed about FreeBSD
and if you go for the hirstory don't write about something detailed.
You'll proberbly find that you have lots to write about.

I have two subjects you may like:
1. The history starting from 1978 until now. Perhaps something about the
feutere of BSD (dead), BSDi (could be dead), FreeBSD, NetBSD and OpenBSD.
2. FreeBSD 5 (History of FreeBSD 5, feutes, compersent betwain 4 and 5
and 5 and linux. If you have space over one detailed subject.)

The history in it self should be larg enove and intersating on its own.
You could start with the outcomming of Unix and go on to the univeristy
of Berkley. Then go to the outcomming of FreeBSD, NetBSD and BSDi.
Followed by the lawsute betain Unix and BSDi  BSD. Then OpenBSD came
out in 1995. Recently Apple followed with Darwin (based on NetBSD and
FreeBSD). As altenative there are two CD versions (NetBox and FreeBIE)
and a small version (PicoBSD) wich are based on FreeBSD. Ending with a
compersent betwain all versions.

   I'm really asking if anybody can suggest any particularly interesting
 topics that I can go away and research and then include in my essay.  I
 guess since it's only a short essay I can't have /too/ much detail and I
 didn't particularly want to try and explain something /very/ complicated
 (although please suggest just the same ;).

Another subject would be the outcomming of FreeBSD 5. If you go this way
skip the general history!! Only go for the relevent history for this
version. Then coninue on the new and cool feutures of FreeBSD 5. Maybe
talk about one or two in more detail. And a compersent betwain FreeBSD 4
and 5.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Downloading OOo, other ports outside of the system?

2003-11-12 Thread Preston Crawford
I have what may seem like an odd question. I have a new FreeBSD 4.9 system that I want 
to install OpenOffice and some other stuff on. Most of the stuff left to install is 
pretty big and thus will be hard to download via ports over my dial-up connection 
(yes, I use dial-up). I know it's possible to download tarballs and drop them into the 
ports tree somewhere so you don't have to do the download. I'm wondering how easy this 
is, though. By that I mean, if I wanted to say install Tomcat, Java, OpenOffice, etc. 
in this manner how would I know which package to download? And from where? I'd like to 
download these at work, burn them on a CD and take them home. However, since I'm not 
in front of my machine I don't know where ports will be looking for these files. 
Anyone know?

Preston

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


Which version of Java to use?

2003-11-12 Thread Preston Crawford
I want to install Java to use Ant/Tomcat/Struts stuff like that. Which JDK is the 
right one to install to get these to work properly? Can anyone tell me?

Preston

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


Re: symlink confusion

2003-11-12 Thread Daniela
On Wednesday 12 November 2003 20:38, Marty Landman wrote:
 At 03:00 PM 11/12/2003, you wrote:
 # ln -s /home/steve/directory /tmp/directory
 # rm /tmp/directory
 
 In testing, the original directory (/home/steve/directory) did not get
  removed

 I'm a newbie Steve so maybe will be asking more than answering here. But
 isn't it the case that with a soft link as you created in the first line in
 the second line you'd only be deleting the link itself and not the actual
 directory? But if you used a hard link

You can't make hard links to directories.
See ln(1) for more info.

 # ln /home/steve/directory /tmp/directory
 # rm /tmp/directory

 then the real directory would be deleted?


 Marty Landman   Face 2 Interface Inc 845-679-9387
 Sign On Required: Web membership software for your site
 Make a Website: http://face2interface.com/Home/Demo.shtml

 ___
 [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: symlink confusion

2003-11-12 Thread Daniela
On Wednesday 12 November 2003 19:48, Steve Bertrand wrote:
 Could someone please briefly describe the reactions to the following
 actions? Sometimes I delete the original directories by deleting links,
 and hopefully someone can give me some insight.

 # ln -s /home/steve/directory /tmp/directory
 # rm /tmp/directory

 In testing, the original directory (/home/steve/directory) did not get
 removed, but in reality, I am dealing with my X11R6 directory which had to
 be moved temporarily to make room for a port install.

 # ln -s /usr/X11R6 /home/steve/X11R6

 Which put a new link from the original to the new location.

 If I # rm /home/steve/X11R6, will I be safe as to not delete the original
 directory?

What does:
# ls -l /usr/X11R6 /home/steve/X11R6
tell you?
I'm currently a bit confused.



 If this is true, what could I have done in the past that would of seen an
 entire directory structure deleted by deleting the link?

 Tks for your input.

 Steve
 ___
 [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]


crontab

2003-11-12 Thread Darryl Hoar
Greetings,
I am running 4.7 and want to use cron to run a command.
when I look in /var/cron/tabs, there is not a file for root.
If I do a crontab -e its blank.

I thought there was a template already, with example
commented out.  Do I have to create this file from
scratch ?

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


Re: Downloading OOo, other ports outside of the system?

2003-11-12 Thread Daniela
On Wednesday 12 November 2003 20:48, Preston Crawford wrote:
 I have what may seem like an odd question. I have a new FreeBSD 4.9 system
 that I want to install OpenOffice and some other stuff on. Most of the
 stuff left to install is pretty big and thus will be hard to download via
 ports over my dial-up connection (yes, I use dial-up). I know it's possible
 to download tarballs and drop them into the ports tree somewhere so you
 don't have to do the download. I'm wondering how easy this is, though. By
 that I mean, if I wanted to say install Tomcat, Java, OpenOffice, etc. in
 this manner how would I know which package to download? And from where? I'd
 like to download these at work, burn them on a CD and take them home.
 However, since I'm not in front of my machine I don't know where ports will
 be looking for these files. Anyone know?

Look into the makefile for the port.
There's a line starting with MASTER_SITES, you can download from any of these.
The variable DISTFILES contains the name of the file.

Daniela


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


Re: symlink confusion

2003-11-12 Thread Steve Bertrand
  # ln -s /usr/X11R6 /home/steve/X11R6
 
  Which put a new link from the original to the new location.
 
  If I # rm /home/steve/X11R6, will I be safe as to not delete the original
  directory?

I'm sorry, the above line should have read:

# rm /usr/X11R6

not the other way around. In essence, if I delete the link, the directory
should remain right? Then I can just move the directory back to it's
original location?

Steve


 What does:
 # ls -l /usr/X11R6 /home/steve/X11R6
 tell you?
 I'm currently a bit confused.



  If this is true, what could I have done in the past that would of seen an
  entire directory structure deleted by deleting the link?
 
  Tks for your input.
 
  Steve
  ___
  [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]

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


Re: Downloading OOo, other ports outside of the system?

2003-11-12 Thread R.T.G. TAN


On Wed, Nov 12, 2003 at 01:48:20PM -0700, Preston Crawford wrote:
 I have what may seem like an odd question. I have a new FreeBSD 4.9 system that I 
 want to install OpenOffice and some other stuff on. Most of the stuff left to 
 install is pretty big and thus will be hard to download via ports over my dial-up 
 connection (yes, I use dial-up). I know it's possible to download tarballs and drop 
 them into the ports tree somewhere so you don't have to do the download. I'm 
 wondering how easy this is, though. By that I mean, if I wanted to say install 
 Tomcat, Java, OpenOffice, etc. in this manner how would I know which package to 
 download? And from where? I'd like to download these at work, burn them on a CD and 
 take them home. However, since I'm not in front of my machine I don't know where 
 ports will be looking for these files. Anyone know?
 
 Preston
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 

cd to, e.g. /usr/ports/editors/openoffice, look at the distinfo file.

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


Re: crontab

2003-11-12 Thread Luke Kearney


On Wed, 12 Nov 2003 15:13:34 -0600
Darryl Hoar [EMAIL PROTECTED] granted us these pearls of wisdom:

 Greetings,
 I am running 4.7 and want to use cron to run a command.
 when I look in /var/cron/tabs, there is not a file for root.
 If I do a crontab -e its blank.
 
 I thought there was a template already, with example
 commented out.  Do I have to create this file from
 scratch ?
 
 thanks,
 -D


from scratch,  all users start with blank crontabs.

enjoy

LK

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


ER schema design

2003-11-12 Thread R.T.G. TAN
Hi,

Anyone know of a good program to create an ER diagram?

Tnx,

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


Re: newbie dns mess w/ nic

2003-11-12 Thread Marty Landman
At 03:32 PM 11/12/2003, Steve Bertrand wrote:

Add the following to your /etc/rc.conf file:

default_router=192.168.0.1

and then perform the following command to get it online without a reboot:

# route add default 192.168.0.1
Steve, I decided to add the line to rc.conf and then shutdown... have done 
so many anyhow and didn't want to get stuck whenever I did reboot/shutting 
down again not knowing what to do.

Anyway it didn't work on restart, but then when I issued the route add 
default cmd dns is working. So I added the line to my /usr/local/etc/rc.d 
and on restart everything's copasthetic. Why it didn't do the trick from 
rc.conf though...

Thanks,

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab

2003-11-12 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On Wednesday 12 November 2003 21:13, Darryl Hoar wrote:
 commented out.  Do I have to create this file from
 scratch ?

Yes. 'man 5 crontab' for examples.

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/sqU9F8Iu1zN5WiwRApnDAJ9r3O90cSRmkk3ov8jhpvMQBu92NgCfSy8L
7V35rSiXRrtOTED/mHY/Srk=
=VJBa
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Mount SMB share on bootup

2003-11-12 Thread Chirhart, Brian
Ed - that worked great... Thanks!!

I am not sure what I did, but it worked.  

What language is that script in?  It isn't perl - is it C?

-Original Message-
From: Edward Epstein [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 5:43 PM
To: Chirhart, Brian; [EMAIL PROTECTED]
Subject: Re: Mount SMB share on bootup


Lines prefixed with  are what Chirhart, Brian wrote.

 point is password protected (on the XP side) so I am prompted for a
 password.  How can I automate that?  Or should I create the share
without

a

 password?  I am not too worried about internal security so the share

could

 have no password and that would be fine.

Create a script called whatever.sh, chmod +x 755 whatever.sh and put that
script in a /usr/local/etc/rc.d.

Put the following lines in that script

#!/bin/sh
smbmount username=user password=pass and the rest of the parametars that

you

are normaly using when mounting smb partition.

Mind that if your startup script for samba is samba.sh your mounting
script
must start with a letter after the letter s otherwise you would mounting a
samba share without smb daemon started.



When I try the smbmount I get a command not Found

I checked the man pages on mount and found mount_smbfs, but I can not find
any options that would allow me to specify a username and password.

I am not using Samba (at least I didn't load it... may be there by
default???) - To map the drive I have a line in my /etc/fstab file that
reads:

# Device   #Mountpoint FSType  OPtion
//[EMAIL PROTECTED]/share  /ftprootsmbfs   rw.nosuto   0   0

Once the server boots, I type mount /ftproot and then it asks me for the
password for User.  After the password is entered, /ftproot contains the
contents of the share on my XP system.  It was one of the things that I
fell
in love with about BSD - the ability to see XP shares with no special
magic.

So anyway - I think there are several different approaches to this.  Can I
modify my fstab file so that auto would work by somehow specifing a
password?  Or is there a password option that I am missing in the mount or
mount_smbfs commands?  OR...  is there a reason I don't have the smbmount
command?

You are on the right track; it took me a while to figure this one out too. 

You've got your /etc/fstab file set up correctly. This is how the line for
me 
looks, it's just like yours.

//[EMAIL PROTECTED]/SHARE   /mnt/chaos  smbfs   rw,noauto   0   0

To specify your username and password for the mount, you should create
/etc/nsmb.conf  the syntax for this file is shown in 
/usr/share/examples/smbfs/dot.nsmbrc

Here is an example from my machine:

#nsmb.conf
[CHAOS]
addr=10.0.3.3

[CHAOS:EDWARD]
password=X


Finally, to mount on bootup, create a file in /usr/local/etc/rc.d with the 
following contents (or something similar; you probably didn't name your
share 
CHAOS):

[EMAIL PROTECTED] more /usr/local/etc/rc.d/010.chaos.sh
#! /bin/sh


case $1 in

start)
echo   Mounting CHAOS...
mount /mnt/CHAOS 2
;;

stop)
echo   Unmounting CHAOS...
umount /mnt/CHAOS 2
;;

esac


Also, I make sure my /etc/nsmb.conf file is owned by root and chmod'ed 600 
because it contains a password in plaintext.

Don't forget to make sure that your file in /usr/local/etc/rc.d is chmodded
at 
least 700 so that it's executable by, at the very least, the owner (should
be 
root).

I hope this is clear enough to make some sense to you.

Regards,
Ed

Thank you for all your help!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

-- 

There are people who cheat on their spouse but not at cards, and vice
versa, 
and both and neither. Reputation is not necessarily portable from one 
situation to another, and it's not easily expressed.
--Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html)

It has been said that man is a rational animal.  All my life I have
been searching for evidence which could support this.
--Bertrand Russell.

The American empire is ideological, not territorial. We are the most 
ideological people in the world, and we are so united in our view that we 
don't understand there can be other views.
--Lt. Gen. William Odom, ret. (Former Director of NSA).

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


Re: FreeBSD Essay.

2003-11-12 Thread Jud

On Wed, 12 Nov 2003 21:41:40 +0100, Alex de Kruijff
[EMAIL PROTECTED] said:
 On Wed, Nov 12, 2003 at 07:01:36PM +, Lewis Thompson wrote:
  Hey guys,
  
  I'm a first year CS student at Manchester and I've been given the task
  of writing a 1,000 word essay on something computer-related.  It can be
  pretty much anything I want (I think).  I've decided FreeBSD is
  interesting, the OS I advocate and that I shall write about this.
  
I am planning to write a brief history of the four BSDs, going way
  back in time (probably a few words on Ritchie, etc.) but then
  concentrate on FreeBSD.
 
 My advise would be to pick one subject and stick with that. Don't go
 into the history in general if you for something detailed about FreeBSD
 and if you go for the hirstory don't write about something detailed.
 You'll proberbly find that you have lots to write about.
 
 I have two subjects you may like:
 1. The history starting from 1978 until now. Perhaps something about the
 feutere of BSD (dead), BSDi (could be dead), FreeBSD, NetBSD and OpenBSD.
 2. FreeBSD 5 (History of FreeBSD 5, feutes, compersent betwain 4 and 5
 and 5 and linux. If you have space over one detailed subject.)
 
 The history in it self should be larg enove and intersating on its own.
 You could start with the outcomming of Unix and go on to the univeristy
 of Berkley. Then go to the outcomming of FreeBSD, NetBSD and BSDi.
 Followed by the lawsute betain Unix and BSDi  BSD. Then OpenBSD came
 out in 1995. Recently Apple followed with Darwin (based on NetBSD and
 FreeBSD). As altenative there are two CD versions (NetBox and FreeBIE)
 and a small version (PicoBSD) wich are based on FreeBSD. Ending with a
 compersent betwain all versions.
 
I'm really asking if anybody can suggest any particularly interesting
  topics that I can go away and research and then include in my essay.  I
  guess since it's only a short essay I can't have /too/ much detail and I
  didn't particularly want to try and explain something /very/ complicated
  (although please suggest just the same ;).
 
 Another subject would be the outcomming of FreeBSD 5. If you go this way
 skip the general history!! Only go for the relevent history for this
 version. Then coninue on the new and cool feutures of FreeBSD 5. Maybe
 talk about one or two in more detail. And a compersent betwain FreeBSD 4
 and 5.

For something sufficiently technical as well as a bit controversial, what
about comparing/contrasting the two roads from version 4 of FreeBSD -
version 5 vs. DragonflyBSD?

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


Re: Re: Downloading OOo, other ports outside of the system?

2003-11-12 Thread Preston Crawford
 Look into the makefile for the port.
 There's a line starting with MASTER_SITES, you can download from any of these.
 The variable DISTFILES contains the name of the file.

Thanks! I'll take a look when I get home and maybe download them tomorrow. Will it 
list dependencies as well?

Preston

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


file sizes

2003-11-12 Thread Bryan Cassidy
Trying to figure out how to find out the size of a file. 

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


Re: cdbakeoven doesn't see atapi burner

2003-11-12 Thread Lee Harr
Hmm... interesting. I've done everything described in man/handbook. The 
drives
shows up (correctly) in dmesg and with camcontrol. So *why* will cdbakeoven
not detect the drives?

  Could anyone point me to some documentation for cdbakeoven, or help 
me
  get started?
I did find *some* documentation.
In cdbakeoven, Help, About, click the link, browse the FAQ (very minimal)
and documentation.
Hope this helps!
Only as much as I now know it *ought* to work... I just don't know why it
doesn't...


I have never been able to get anything but burncd working either.
None of the graphical cd burning programs work for me.
You may want to look at kburncd:
http://sourceforge.net/projects/kburncd
http://kburncd.sourceforge.net/
which came very close to working, but looks like it has not been
active since that first release. You may be able to tweak it
a bit and get it to go.
For my needs, burncd works just fine, but try telling that to someone
who has never used a commandline before...
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


Re: file sizes

2003-11-12 Thread Jakob Breivik Grimstveit
On Thu, 2003-11-13 at 00:01, Bryan Cassidy wrote:

 Trying to figure out how to find out the size of a file. 

Try...

ls -l filename
ls -lh filename
du -h directory

-- 
Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 


signature.asc
Description: This is a digitally signed message part


HP JetDirect EX printer problems ...

2003-11-12 Thread David Bein
Hello ...

  I have an older J2383 Jet Direct box which I am trying to setup
for a FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
but still I get nothing reasonable. I know the box is working because
if I telnet to port 9100 on the Jet Direct and type in some lines
and then quit out of telnet, it prints them. So my problem is not
the hardware or network connectivity.

  I am confused about whether this should be lp=port@host
with appropriate filters or some variant of rm=host rp=TEXT.
None of the software examples I have seen appear to reference port 9100
and so I am confused as to how it knows what to connect to except
in the port@host configuration. Neither of these approaches worked.

  I am wanting to use this with an old LaserJet 4L PCL class printer.
Directly connecting it to a parallel port works just fine [using
apsfilter
and all the other Postscript conversion software]. I just want to have
it work from whichever machine using the network both for reasons of
speed
and not wanting to have a single box up just to print from some other
machine.

  There was software from HP for this box for Solaris and HP-UX, but
I am running FreeBSD and occasionally Solaris/x86, so I have none
of the software from HP to work with.

  Any help would be most appreciated. Thanks very much.

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


Re: file sizes

2003-11-12 Thread Dan Nelson
In the last episode (Nov 12), Bryan Cassidy said:
 Trying to figure out how to find out the size of a file. 

ls -l myfile

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


Re: HP JetDirect EX printer problems ...

2003-11-12 Thread Larry Rosenman


--On Wednesday, November 12, 2003 17:13:06 -0500 David Bein 
[EMAIL PROTECTED] wrote:

Hello ...

  I have an older J2383 Jet Direct box which I am trying to setup
for a FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
but still I get nothing reasonable. I know the box is working because
if I telnet to port 9100 on the Jet Direct and type in some lines
and then quit out of telnet, it prints them. So my problem is not
the hardware or network connectivity.
  I am confused about whether this should be lp=port@host
with appropriate filters or some variant of rm=host rp=TEXT.
None of the software examples I have seen appear to reference port 9100
and so I am confused as to how it knows what to connect to except
in the port@host configuration. Neither of these approaches worked.
  I am wanting to use this with an old LaserJet 4L PCL class printer.
Directly connecting it to a parallel port works just fine [using
apsfilter
and all the other Postscript conversion software]. I just want to have
it work from whichever machine using the network both for reasons of
speed
and not wanting to have a single box up just to print from some other
machine.
This is a printcap entry I use for a PostScript enabled LaserJet 5:
lj5|lphome: \
   :lf=/var/log/lj5.err:\
   :lp=:\
   :rm=lj5.lerctr.org:\
   :mx#0:\
   :rp=raw:\
   :sd=/var/spool/lpd/lj5:
Maybe it will help you.

LER

  There was software from HP for this box for Solaris and HP-UX, but
I am running FreeBSD and occasionally Solaris/x86, so I have none
of the software from HP to work with.
  Any help would be most appreciated. Thanks very much.

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


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: HP JetDirect EX printer problems ...

2003-11-12 Thread Dan Nelson
In the last episode (Nov 12), David Bein said:
 I have an older J2383 Jet Direct box which I am trying to setup for a
 FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
 but still I get nothing reasonable. I know the box is working because
 if I telnet to port 9100 on the Jet Direct and type in some lines and
 then quit out of telnet, it prints them. So my problem is not the
 hardware or network connectivity.
 
 I am confused about whether this should be lp=port@host with
 appropriate filters or some variant of rm=host rp=TEXT.

Either should work.  I prefer the rm style since that works a bit
better when you have multiple systems printing to the same printer. 
Make sure to telnet to the jetdirect and disable banners, though.

 None of the software examples I have seen appear to reference port
 9100 and so I am confused as to how it knows what to connect to
 except in the port@host configuration. Neither of these
 approaches worked.

What happens?

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


  1   2   >