Re: Changing font size of tty
On Mon, Oct 21, 2002 at 12:37:35PM -0700, Gary W. Swearingen wrote: Matthew Seaman [EMAIL PROTECTED] writes: On Mon, Oct 21, 2002 at 10:47:46AM +0200, Pascal Giannakakis wrote: how do i change the font size of the tty0? vidcontrol(1) You might be able to do it more permanently with /etc/rc.conf; I changed all my ttys with: font8x16=/usr/share/syscons/fonts/iso15-thin-8x16.fnt font8x8=/usr/share/syscons/fonts/cp437-thin-8x8.fnt allscreens_flags=132x43 Plus, to support the 132, I kludged /etc/rc.syscons to do: kldload vesa Why not just add vesa_load=YES in /boot/loader.conf ? Far nicer than hacking a startup file :) -- Simon Dick [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Samba / Firewall / PopTop (VPN)
Hello The following situation: 1 FreeBSD 4.6 Server. There is running IPFW, Samba and PopTop (for VPN, MS CHAPv2). In the lan behind there is running a M$ fileserver. I can access from the Internet to the above FreeBSD server with encryption and also to the file server with Win9x and Win NT clients. For this I had to open the ports 137-139 (UDP and IP). All works great. Are these steps correct? Can somebody connect my samba server and compromise it? If yes what I'm doing wrong? -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Scripts
I always liked this one : http://www.shelldorado.com/ - Moti www.flncs.com - be careful what you wish for ... - - Original Message - From: Mike Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 20, 2002 9:04 AM Subject: Scripts I was wondering if there is a resource for pre made scripts. I am still very new to the whole of Unix style OSs and being able to see scripts from other users would help me out a lot. A couple more sites are: http://www.scriptarchive.com/ (Matts Script Archive) http://www.hotscripts.com/ (Hotscripts page) Not necessarily better, just some more. jerry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: uucp user and NOUUCP=true in make.conf
On Mon, Oct 21, 2002 at 10:45:24AM -0700, [EMAIL PROTECTED] wrote: either. Should I have my custom BSD.root.dist file, or is there a way to modify the build process to check the /etc/make.conf file and eliminate certain users from the /usr/src/etc/mtree/BSD.root.dist file? There's no way to currently do that. Kris msg05775/pgp0.pgp Description: PGP signature
Re: fmt(1) inside vi
* Giorgos Keramidas [EMAIL PROTECTED] [10-20-2002 21:06]: On 2002-10-20 19:49, Jon Nathan [EMAIL PROTECTED] wrote: I'm trying to create a macro to justify a paragraph in vi. Something similar to ctrl-j in pico. I found fmt(1). In its manpage, it says [..] stty: stdin isn't a terminal in the file. This is usually an indication of a common abuse of the shell startup files. You have used biff(1) or mesg(1) in a startup file that is run Thanks Giorgos, I have localized the probelem. I have this: if ($?prompt) then # An interactive shell -- set some stuff up set filec set history = 100 set savehist = 100 set mail = (/var/mail/$USER) stty erase ^? if ( $?tcsh ) then bindkey ^W backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward endif endif Note the stty statement appended in the middle of the stock (skel) .cshrc. I added it at one point to fix backspace/delete problems for some terminal emulator. When I comment it out, the vi/fmt macro works nicely. Why is it problematic here though? Should this be done in, say, .login instead? Also, sort of related, how can I map ctrl-j to the fmt macro? I can't seem to send a literal ctrl-j to vi (to put it into .exrc). Typing ctrl-v ctrl-j gives me a carriage return. I can do this in .vimrc, which vim likes: :map Char-0x0A !}fmt -jon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
HDD Crashing?
My main email server has just started crashing periodically with the following messages: Oct 21 16:06:12 myserver /kernel: dev = #ad/0x20014, block = 18648, fs = /usr3 Oct 21 16:06:12 myserver /kernel: panic: ffs_blkfree: freeing free block Can anyone give me an idea of what is happening? Is this a disk controller or a hard disk problem? FreeBSD 4.4-STABLE ad2: 19092MB WDC WD200BB-00CXA0 [38792/16/63] at ata1-master UDMA33 /dev/ad2s1e 18949334 2413806 1501958214%/usr3 Thanks. -- Jim Flowers[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: samba PDC for WIN2K clients?
On Mon, Oct 21, 2002 at 06:07:44AM +0100, Stacey Roberts wrote: Subject: Re: samba PDC for WIN2K clients? From: Stacey Roberts [EMAIL PROTECTED] To: Andrew Boothman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], FreeBSD Questions [EMAIL PROTECTED] Date: 21 Oct 2002 06:07:44 +0100 Hi Andrew, Thanks for getting back to me. I tried getting the machine account added to smbpasswd file, but this fails: # smbpasswd -m -n -a winbox LDAPS option set...! fetch_ldap_pw: no ldap secret retrieved! ldap_connect_system: Failed to retrieve password for from secrets.tdb LDAPS option set...! fetch_ldap_pw: no ldap secret retrieved! ldap_connect_system: Failed to retrieve password for from secrets.tdb Failed to add entry for user winbox$. Failed to modify password entry for user winbox$ # Is the syntax for adding the account correct here? Thanks again, hope to hear from you again soon. Stacey On Mon, 2002-10-21 at 02:32, Andrew Boothman wrote: Stacey Roberts wrote: Hello, I've got 2 WIN2K Pro workstations on my home lan that I'd like to enable network logon for. I've been banging my head against a wall for the last four hours trying to get this sorted, but to no avail. I keep getting the same error when trying to enter the Domain name into the WORKGROUP field in Win2K network properties: The following error occured validating the name my_domainname, This condition may be caused by a DNS lookup problem. For more information about troubleshooting common DNS lookup problems see the following Microsoft blah., blah.., blah.., Do you enable NBT on adapter? It seems that win2k box attempt to use dns not wins for resolving names. The standard way to add machine account is to use join to domain function from windows box because if you manual add this account windows box doesn't know what is the password for account. The specified domain either does not exist or could not be contacted. Have you added machine accounts to the FreeBSD box for the client boxes? You need machine accounts that look like clientname$ (dollar sign at end) added both as local accounts and then again with smbpasswd passing whatever the appropriate switch is to create a machine account. I have a FreeBSD box here acting as a PDC so we should be able to find the problem. Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com -- Regards, D. Penev To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Monitoring program: email and sms warnings
Any good program or set of scripts that can monitor whether a site is up, and whether someone has changed something in a file or directory, which upon detecting any changes can send out an email and/or sms? thanks, Jay __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Changing font size of tty
Matthew Seaman [EMAIL PROTECTED] writes: On Mon, Oct 21, 2002 at 10:47:46AM +0200, Pascal Giannakakis wrote: how do i change the font size of the tty0? vidcontrol(1) You might be able to do it more permanently with /etc/rc.conf; I changed all my ttys with: font8x16=/usr/share/syscons/fonts/iso15-thin-8x16.fnt font8x8=/usr/share/syscons/fonts/cp437-thin-8x8.fnt allscreens_flags=132x43 Plus, to support the 132, I kludged /etc/rc.syscons to do: kldload vesa There's also some font stuff in LINT, but it's probably no use. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
After compiliing the kernel....
Hello, On FreeBSD 4.7 I recompiled the kernel. Basicly all I did was to remove devices and options that were regarding hardware I do not have (i.e. SCSI controllers, tape drives, USB controllers etc.). Now everything works fine, except some error messages i get when booting. As I have figured it out, the errors are simply there because the kernel does not support them anymore. How can I do it to stop the system from looking for those devices? Here is a sample of dmesg after booting: config di pcic0 No such device: pcic0 Invalid command or syntax. Type '?' for help config di sn0 config di lnc0 ... ... config di bt0 No such device bt0 Invalid command or syntax. Type '?' for help config di aic0 No such device bt0 Invalid command or syntax. Type '?' for help ...and so on... :) Regards, Razvan __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DUMP
At 11:27 AM 10.21.2002 -0400, Grant Peel wrote: Hi All, Can anyone explain how the DUMP levels work? I understand that 0 is a full FS dumo, but what does 1, 2, 3, 4 etc etc etc stand for? Is it possible to use dump to clone a filesystem from one PC to another? -Grant That info can be found with a big search effort, but even then the explanation is rather cryptic. However, I assumed this method for my backups (and tested with restores): Sunday dump 0 Full Monday dump 1 incremental Tuesday dump 2 incremental Wednesday dump 3incremental Thursday dump 4 incremental Friday dump 5 incremental Saturday dump 6 incremental If the above is incorrect, I will appreciate being corrected Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: uucp user and NOUUCP=true in make.conf
[EMAIL PROTECTED] writes: I deleted the uucp user from the /etc/passwd file and now make world complains even though I have NOUUCP=true set in the /etc/make.conf file. The line that fails is: mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p / This makes me wounder about the BSD.root.dist file... I don't use ppp either. Should I have my custom BSD.root.dist file, or is there a way to modify the build process to check the /etc/make.conf file and eliminate certain users from the /usr/src/etc/mtree/BSD.root.dist file? The mtree files should be getting updated via mergemaster, so you shouldn't have any trouble with making a local modification and keeping it through system updates. It's probably more safer to keep the users there, though. Their default login information doesn't give them any system access capabilities, so their presence isn't a risk. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
DUMP
Hi All, Can anyone explain how the DUMP levels work? I understand that 0 is a full FS dumo, but what does 1, 2, 3, 4 etc etc etc stand for? Is it possible to use dump to clone a filesystem from one PC to another? -Grant To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Scripts
- Original Message - From: Mike Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 20, 2002 9:04 AM Subject: Scripts I was wondering if there is a resource for pre made scripts. I am still very new to the whole of Unix style OSs and being able to see scripts from other users would help me out a lot. you can always look in /usr/local/etc/rc.d for examples. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Tiger MPX and mbmon
Hello all, I'm using mbmon 2.00 (not available in the ports yet) and I'm getting mixed results partnering it with a Tyan Tiger MPX 2466-4M with 2 Athlon MP 1800+. The kernel does not support neither one of the Winbond chips (W83627HF W83782D) used on this board hence the use of mbmon. mbmon specifies that the W83627HF uses the ISA I/O ports while the other one uses the SMBus direct access. My setup detected fine only the W83627HF but not at all the W83782D. However it detects the first one using the SMBus not the ISA I/o as per the README says. As a result, I can't get accurate readings of my temperature, the results are all mixed up, some of the temps supposedly applicable to the latter chip turned out in the reading. There's only one displayed; the one with the W83627HF chip, the other chip's reading went missing, presumably because it wasn't detected in the first place. Has someone encounter this strange occurence yet? Here's the spec from the README --- [Note] From the present version the special treatment of Tyan's dual CPU motherboard, TigerMP/MPX is supported. This motherboard has two sensor chips, and one has to enable the second one. In order to attach and enable the second sensor, one has to use a Tyan specific option(-Y for mbmon, -TyanTigerMP for xmbmon). Then the first sensor is accessed through SMBus and the second one through ISA IO. Here the values are the followings: 1st sensor (SMBus, W83782D) temp0 VRM2 temperature temp1 CPU1 temperature temp2 CPU2 temperature Vcore0 CPU1 Vcore Vcore1 CPU2 Vcore Volt 0 AGP voltage Volt 1 system 5V Volt 2 DDR voltage Volt 3 - Volt 4 standby 3.3V 2nd sensor (ISA IO, W83627HF) temp0 VRM1 temperature temp1 AGP temperature temp2 DDR temperature Vcore0 CPU1 Vcore Vcore1 CPU2 Vcore Volt 0 system 3.3V Volt 1 system 5V Volt 2 system 12V Volt 3 system -12V Volt 4 - --- Here's my mbmon -d output. Using SMBus access method[AMD756/766/768/NVidia nForce]!! * Winbond Chip, W83627HF found. mbmon -rY (Y option special for Tiger MPX config) TEMP0 : 57.0 TEMP1 : 8.5 TEMP2 : 16.0 FAN0 :0 FAN1 : 4560 FAN2 :0 VC0 : +1.73 VC1 : +1.74 V33 : +3.33 V50P : +4.95 V12P : +9.61 V12N : -12.28 V50N : +0.08 __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
made a mistake with bash path... now i can't login
i was changing the login shell from sh to bash... but i entered the wrong location. now, i cannot login to the system using that account, which is the only accout that i can su to root from. does anyone know how i can resolve this issue w/o taking the system out of the garage, booting into single user mode and manually changing the path? __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DUMP
Hi again all, Thanks for all the insight! I take it we could DUMP each filesystem individually, then simply RESTORE it to a new machine, as long as the filesystem exists and is big enough. Yup. That is it. Make up the file systems on the new machine and restore in to each of them. Note, that when you do the restores, you must cd in to the filesystem where you want the restore to go. Don't just do it from root. The mount point (eg '/' for root, '/home' for the /home file system if you have that, etc) is removed from the path by dump. Can we DUMP all filesystems from one machine in one file then restore it? Not really. DUMP goes by file system. You could put them all on one tape if you are using tape - just sequentially one file after the other. jerry -Grant To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ppp: Chat script failed
Hello everybody! I can't connect to my ISP using ppp. Here it is my /etc/ppp/ppp.conf default: set device /dev/cuaa1 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT set timeout 180 enable dns interactive: set phone 501057 set authname name set authkey password set openmode active accept chap When I type 'dial' in the ppp I see warning message: Chat script failed Modem's indicators blink and I hear 'long toot' but modem doesn't want to dial. Excuse me for a lame question Anton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DUMP
Jack, Can anyone explain how the DUMP levels work? I understand that 0 is a full FS dumo, but what does 1, 2, 3, 4 etc etc etc stand for? Level 0 - full dump Level 1 - dumps only the files that have changed since the last level 0 dump Level 2 - dumps only the files that have changed since the last level 1 dump Level 3 - dumps only the files that have changes since the last level 2 dump (and so forth) Depending on the complexity of your backups you may want to have a look at http://www.amanda.org/ (I don't know whether it's in ports, currently on my Linux box). DSL -- The Linux C Programming Lists: * http://lists.linux.org.au/listinfo/linuxcprogramming/ The Linux C++ Programming Lists: * http://lists.linux.org.au/listinfo/tuxcpprogramming/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
XFree86 fonts
Can I install both Type1 and TrueType fonts? Can I install multiple packages for each (Type1 and TrueType)? I have XFree86 4.2.1 from new install of FreeBSD 4.7-RELEASE. When describing installing TrueType fonts, the handbook is confusing, it says: XFree86 4.X has built in support for rendering TrueType fonts. There are two different modules that can enable this functionality. The freetype module is used in this example because it is more consistent with the other font rendering back-ends. To enable the freetype module just add the following line to the Module section of the /etc/X11/XF86Config file. Load freetype *** is that all for XFree86 4.x? The handbook then goes on to add: For XFree86 3.3.X, a separate TrueType font server is needed. Xfstt is commonly used for this purpose. To install Xfstt, simply install the port x11-servers/Xfstt. *** well, that doesn't apply to me, but the handbood goes on! and *** therein lies my question: do these folowing paragraphs (which I *** have included below) apply to 3.3.x or to BOTH 3.3.x *and* 4.x? Now make a directory for the TrueType fonts (for example, /usr/X11R6/lib/X11/fonts/TrueType) and copy all of the TrueType fonts into this directory. Keep in mind that TrueType fonts cannot be directly taken from a Macintosh; they must be in Unix/DOS/Windows format for use by XFree86. Once the files have been copied into this directory, use ttmkfdir to create a fonts.dir file, so that the X font renderer knows that these new files have been installed. ttmkfdir is available from the FreeBSD Ports Collection as x11-fonts/ttmkfdir. # cd /usr/X11R6/lib/X11/fonts/TrueType # ttmkfdir fonts.dir Now add the TrueType directory to the font path. This is just the same as described above for Type1 fonts, that is, use % xset fp+ /usr/X11R6/lib/X11/fonts/TrueType % xset fp rehash or add a FontPath line to the XF86Config file. Thanks, John (c) Copyright 2002 John Daniels. All rights reserved. _ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache prob
From: master [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 2:09 PM Subject: apache prob i get this error [error] [client oneip] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): then my httpd start running 100 process and no site are available, is there a way to fix this ? Sounds a bit funny. If a browser does an HTTP 1.1 GET request and there is no host header sent, the server is supposed to send a 400 (bad request)... ...the problem, I guess, is figuring out what in the world is giving you the request. I'm not sure what you mean by no site is available. Is there no content in the Document Root? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: having trouble setting up X on Fbsd 4.7 w/ ATI Mach6
I had the same problem. 'ati' is not listed, so I used the default/vga. When I finished the install, startx failed. I did some rearch at www.XFree86.org and found that I needed to enter 'ati' for that parameter (I think on that screen, the driver defaulted to 'ati' and it was asking for a chipset??) so both driver and chipset needs to be 'ati' -- if you enter 'mach64', you loose some functionality. Note: as you mention, nether 'ati' or 'mach64' are options. Because I didn't do it during install, I can't tell you 100% that you should enter 'ati' during the install, but you can get more info at www.XFree86.org, or edit the XFConfig86 file after the install like I did. Using 'ati' might also help with modeline, I'm not sure. Modeline worked ok for me. John (c) Copyright 2002 John Daniels. All rights reserved. _ Get a speedy connection with MSN Broadband. Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
Do you have a passwd for toor? KDK - Original Message - From: Robin Schilham [EMAIL PROTECTED] To: Bsd Neophyte [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 4:45 PM Subject: Re: made a mistake with bash path... now i can't login Bsd Neophyte wrote: i was changing the login shell from sh to bash... but i entered the wrong location. now, i cannot login to the system using that account, which is the only accout that i can su to root from. If you have any other non-root account which you can use to login, perhaps you can try to login using one of those accounts and then use su to login to the bash account with the -m option. See su manual. Robin does anyone know how i can resolve this issue w/o taking the system out of the garage, booting into single user mode and manually changing the path? __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ScanJet 4100C not working
Is there someone out there with a ScanJet 4100C that works on your system? I have a 4100C that will work under Win... but will not work on three different FreeBSD machines, each with different motherboards (GA-BX2000, GA-6BXC, and some ASUS). Would this be something that I would submit a bug report on? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
Bsd Neophyte ([EMAIL PROTECTED]) wrote: i was changing the login shell from sh to bash... but i entered the wrong location. now, i cannot login to the system using that account, which is the only accout that i can su to root from. does anyone know how i can resolve this issue w/o taking the system out of the garage, booting into single user mode and manually changing the path? Do you have local access to the machine? if so cant you just log in as root? Or have I misunderstood this question completely? It has been ages since I have used su (I use sudo) but as I recall you have to have the root password so login in locally as root shouldnt be a problem? I hope this helps. -- DetEr.dk - Rules are made to control the fun. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ScanJet 4100C not working
I guess I should provide more detail. When the device is plugged into either usb port, I get: uhub0: device problem, disabling port 1 Why would this scanner, which is suppose to work under FreeBSD, work on the same machine under win and not FreeBSD? On 2002.10.21 16:15 James wrote: Is there someone out there with a ScanJet 4100C that works on your system? I have a 4100C that will work under Win... but will not work on three different FreeBSD machines, each with different motherboards (GA-BX2000, GA-6BXC, and some ASUS). Would this be something that I would submit a bug report on? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
--- DaleCo, S.P.---'the solutions people' [EMAIL PROTECTED] wrote: Do you have a passwd for toor? KDK no... i don't... as for the -m option... i tried it but it doesn't work. -m Leave the environment unmodified. The invoked shell is your login shell, and no directory changes are made. As a security precaution, if the target user's shell is a non-standard shell (as defined by getusershell(3)) and the caller's real uid is non- zero, su will fail. can someone explain what this means? starting from the As a security... until the end. __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: So, tell us what happened!
I've found that installing and running fvcool(8) -- ports/sysutils/fvcool --- has made the greatest difference to power consumption: since the heat output of the CPU is now significantly lower, the power usage must be lower too. Hi, Could not find fvcool in the ports. Has it been discontinued? Or has it been temporarily taken off the ports list? Thanks. Wayne __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
--- Morten Grunnet Buhl [EMAIL PROTECTED] wrote: Do you have local access to the machine? if so cant you just log in as root? Or have I misunderstood this question completely? no you have it right... this is an option, although i'd like to keep it a last option... disconnecing the machine and moving it would be a huge inconveniance. i was wondering if there was a way to tell the su command to use the /bin/sh shell... instead of what i mistakingly input (/usr/bin/bash). __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
Lowell Gilbert wrote: Bsd Neophyte [EMAIL PROTECTED] writes: --- DaleCo, S.P.---'the solutions people' [EMAIL PROTECTED] wrote: Do you have a passwd for toor? KDK no... i don't... as for the -m option... i tried it but it doesn't work. -m Leave the environment unmodified. The invoked shell is your login shell, and no directory changes are made. As a security precaution, if the target user's shell is a non-standard shell (as defined by getusershell(3)) and the caller's real uid is non- zero, su will fail. can someone explain what this means? starting from the As a security... until the end. if the target user's shell is a non-standard shell: the target user is root, and non-standard is defined in getusershell(3) (which basically says that it has to be in /etc/shells, which /usr/bin/bash isn't) and the caller's real uid is non-zero: this means that if you're already root, the target user's shell doesn't have to be standard So you're out of luck. All you have to do is boot to single user and un-fubar your system. It asks what shell and you mount your system and provide root with a good shell. You are seeing one of the reasons that many of us leave root as its default cshell. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Die unbestrittene Nummer 1 seit Jahren!
Nur AVK 11Professional arbeitet mit der DoubleScan-Technologie, so wurde AVK ganz schnell zum fuehrenden Test-Sieger der Virentester. Intern sorgen zwei unabhaengige Virenscanner fuer optimale Virenerkennung und damit hoechste Sicherheit, das gibt es nur bei AVK 11 Professional! Kampf den Viren, mit der aktuellsten Software sicher am PC! *1* AVK 11 Professional - der vielfache Testsieger in aktuellen Fachzeitschriften! - bei uns für nur EUR19.45 = 67% Rabatt http://www.websupermarket.biz/antivirenzentrale-eu/ *2* Internet Security Kit 2002 - das megastarke Abwehr-Bundel - komplette Sicherheit fuer Ihr System! - bei uns für nur EUR64.95 = 53% Rabatt http://www.websupermarket.biz/antivirenzentrale-eu/ *3* Norman SicherheitsPaket - gut und guenstig! - bei uns für nur EUR14.95 = 49% Rabatt http://www.websupermarket.biz/antivirenzentrale-eu/ - 1 AVK 11 Professional - das AntiViren Wunder! Nur AVK 11 Professional arbeitet mit der DoubleScan-Technologie, so wurde AVK ganz schnell zum fuehrenden Test-Sieger der Virentester. Intern sorgen zwei unabhaengige Virenscanner fuer optimale Virenerkennung und damit hoechste Sicherheit, das gibt es nur bei AVK 11 Professional! AVK 11 Professional wurde der unbestrittene Sieger bei den fuehrenden Computer-Zeitschriften (PC-Welt, PC go, PC-Professional, com!Online, ..). - bei uns zu 60% Rabatt http://www.websupermarket.biz/antivirenzentrale-eu/ 2 Internet Security Kit 2002 - Der Paukenschlag gegen Viren und Hacker! Das Komplett-Paket mit dem weltbekannten AVK 11 Professional und G-Data Firewall. Da koennen Sie sicher sein! Wir setzen noch was oben drauf! Bei jedem Kauf eines Sicherheitspaketes erhalten Sie zusaetzlich das beliebte G-DATA OCR Paket mit LOGOX Sprachausgabe! Nicht genug, zusaetzlich erhalten Sie von uns noch eine Profi Scroll-Maus mit deutschem Handbuch! - bei uns zu 53% Rabatt http://www.websupermarket.biz/antivirenzentrale-eu/ 3 Norman SicherheitsPaket - die guenstige Loesung die es in sich hat! Die kostenguenstige ALL-IN-ONE Loesung, mit Viren Scanner und Personal Firewall. Das Beste was man fuer sowenig Geld erhalten kann. - bei uns zu 49% Rabatt http://www.websupermarket.biz/antivirenzentrale-eu/ * F A X - B e s t e l l u n g Senden Sie einfach das ausgefuellte Mail an: +41 1 274 21 81 B E S T E L L U N G Menge AVK 11 Professional: [__] Menge Internet Security Kit 2002: [__] Menge Norman SicherheitsPaket: [__] Besteller-Name: Besteller-Vorname: Adresse: Land: PLZ: Ort: Telefon: Lieferadresse: Liefer-Land: Liefer-PLZ: Liefer-Ort: * Wenn Sie zukuenftig nicht mehr ueber sensationelle Produkte, zu sensationellen Preisen informiert werden wollen, so verwenden sie folgende Seite: http://www.websupermarket.biz/antivirenzentrale-eu/remove.htm To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
need help with ipfw rules
hi all my apologies, this could get long as i'm including the text of various config files: i've been trying to learn ipfw. i've recompiled a kernel with the following options options ICMP_BANDLIM options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT options TCP_DROP_SYNFIN options IPFIREWALL_FORWARD options IPSTEALTH options DUMMYNET my rc.conf: # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=1.1.1.1 gateway_enable=YES hostname=hostname.com ifconfig_xl0=inet 1.1.1.1 netmask 255.255.255.0 inetd_enable=YES firewall_enable=YES firewall_script=/etc/ipfw.rules firewall_type=open firewall_quiet=NO tcp_drop_synfin=NO firewall_logging_enable=YES icmp_drop_redirect=YES log_in_vain=YES sendmail_flags=-bd kern_securelevel_enable=NO linux_enable=YES moused_enable=YES moused_port=/dev/psm0 moused_type=auto nfs_reserved_port_only=YES saver=logo sendmail_enable=YES sshd_enable=YES usbd_enable=YES portmap_enable=YES nfs_server_enable=YES mountd_flags=-r i haven't edited rc.firewall this machine is a combinationi desktop/web/ftp/nfs server. my /etc/ipfw.rules looks like ipfw add allow ip from any to any ipfw add allow ip from 127.0.0.1 to 127.0.0.1 vua lo0 ipfw add allow udp from any to any 53 ipfw add check-state ipfw add allow tcp from any to any 80 setup keep-state ipfw add allow tcp from any to any 53 setup keep-state ipfw add allow tcp from any to any 21 setup keep-state ipfw add allow tcp from any to any 22 setup keep-state ipfw add allow tcp from any to any 25 setup keep-state ipfw add allow tcp from any to any 110 setup keep-state ipfw add allow tcp from any to any 587 setup keep-state ipfw add allow tcp from any to any 3306 setup keep-state ipfw add allow tcp from any to any 1 setup keep-state ipfw add reject tcp from any to any ipfw add allow udp from any to any 53 ipfw add allow icmp from any to any icmptype 0,3,4,8,11 ipfw add deny log logamount 5000 ip from any to any (i was following phoenix's and kirk's ipfw advice in another thread) i've also added !ipfw *.* /var/log/firewall.log to /etc/syslog.conf, touch /var/log/firewall.log, and restarted syslogd. upon reboot, the machine hangs in 3 different places during the bootup process. my bootup messages look like: [snip] additional network daemons:mountd oct 21 15:27:47 hostname mountd[96]: get hostname failed for www3 oct 21 15:27:47 hostname mountd[96]: bad host www3, skipping oct 21 15:27:47 hostname mountd[96]: bad exports list line /mnt/drive2/dailybackup www3 nfs on reserved port only=YES nfsd rpc.statd [snip] here it hangs on mountd for a minute or two, then proceeds [snip] starting standard daemons: inetd cron sshd usbd sendmail sendmail-clientmqueue [snip] here it hangs on sendmail and sendmail-clientmqueue, then proceeds it then hangs for hours at 'recovering vi sessions:'. it eventually boots all the way through after a few hours. this is not workable for me. i've switched my /etc/ipfw.rules to ipfw add allow ip from any to any ipfw add allow udp from any to any 53 temporarily, so that i can use the machine, but would like to have a set of basic ipfw rules in place. can anyone tell me where i'm going wrong? i think it's hanging on the bootup process because my ipfw.rules are messed up. thanks redmond Redmond Militante Northwestern University, Evanston, IL. USA [EMAIL PROTECTED] 847-467-7617 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: HDD Crashing?
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Jim Flowers Sent: Monday, October 21, 2002 4:40 PM To: [EMAIL PROTECTED] Subject: HDD Crashing? My main email server has just started crashing periodically with the following messages: Oct 21 16:06:12 myserver /kernel: dev = #ad/0x20014, block = 18648, fs = /usr3 Oct 21 16:06:12 myserver /kernel: panic: ffs_blkfree: freeing free block Can anyone give me an idea of what is happening? Is this a disk controller or a hard disk problem? FreeBSD 4.4-STABLE ad2: 19092MB WDC WD200BB-00CXA0 [38792/16/63] at ata1-master UDMA33 /dev/ad2s1e 18949334 2413806 1501958214%/usr3 On Mon, Oct 21, 2002 at 04:46:14PM -0400, JoeB wrote: Replace the power supply in the PC Joe is right that an under performing power supply can lead to these sort of problems. If you've recently made any hardware modifications to the box, especially adding extra new bits, then that's a distinct possibility. However, much more likely is that your hard drive is developing a fault. Moving parts wear out, and hard drives can be quite fragile, especially if they have been used heavily or are running at high temperature. (If you've maxed out an ordinary tower case with hard drives, then you really should think about adding extra fans to improve the air flow. Server class or rack mount kit is usually designed to cope with the extra drives already.) First of all, make sure you have good backups. That disk could give up the ghost at any moment. Make sure the machine is adequately ventilated, that all the fans are working and that any vents are not clogged with dust. If that doesn't make things any better, it's time to get out the screwdrivers and start swapping out the suspect components. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
3ware 7850 kernel trap/NMI problem
Hi All, I have an issue with a 3ware 7850 8 port IDE Raid card on a dual Xeon FreeBSD 4.7 system. Here's the deal: *the system* Dual Xeon 2.4GHz, 2048MB ram, SuperMicro ServerWorks GC-LE chipset PCI-X MB, BIOS 1.1, hyperthreading disabled 3Ware 7850 8 port IDE Raid card, firmware 7.5.2 x8 IBM Deskstar 120GB disk drives, configured as Raid 0 Syskonnect SK-9821 copper gigabit card FreeBSD 4.7, kernel recompiled for single processor only *the problem* - As the machine sits 100% idle, every 60 seconds or so I get the following error message: /kernel: NMI ISA 2c, EISA ff kernel trap 19 with interrupts disabled /kernel: NMI ISA 3c, EISA ff If I do anything with the disk, like recompile a kernel or create a file with dd, the above lines repeat over and over very rapidly until the disk is done being busy. Anyone have any ideas about what the issue might be? TIA, Eff Norwood To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD Install question
I have an older laptop that doesn't have a bootable CD-ROM. The bay either holds a CD Module or a Floppy module so I can't boot off the floppies and install from the CD-ROM. I have installed a small DOS partition and can access my FreeBSD CD-ROM, is there any way to invoke the install from within DOS. (RedHat has a batch file on the CD-ROM that allows the installer to launch, is there anything I can use to do this for FreeBSD?) Is it possible to boot off the floppies, switch out the Floppy module for the CD module and then use the CD? Any help or ideas would be appreciated. Thanks Rich B To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
Or perhaps the immutible flag set on /etc/passwd by default and have vipw and adduser (un)set this automagically when used. - Mike -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.21.2002 @ 1514 PST): Bsd Neophyte said, in 0.8K: --- DaleCo, S.P.---'the solutions people' [EMAIL PROTECTED] wrote: Do you have a passwd for toor? no... i don't... end of Re: made a mistake with bash path... now i can't login from Bsd N eophyte if you're going to edit your passwd file and change shells or whatnot, use the vipw command. if you specify an invalid shell, vipw will tell you. perhaps it'd be useful to have don't edit this directly - use vipw(8) at the top of /etc/passwd... - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9tILMo8KM2ULHQ/0RAhKPAJ9H7At4KqTygsjZjKi01lXRRucLjACbBAGX H53fjFExlu+UHXkKJQW2/dc= =cvM+ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
On Mon, Oct 21, 2002 at 03:42:20PM -0700, Adam Weinberger wrote: (10.21.2002 @ 1514 PST): Bsd Neophyte said, in 0.8K: --- DaleCo, S.P.---'the solutions people' [EMAIL PROTECTED] wrote: Do you have a passwd for toor? no... i don't... end of Re: made a mistake with bash path... now i can't login from Bsd Neophyte if you're going to edit your passwd file and change shells or whatnot, use the vipw command. if you specify an invalid shell, vipw will tell you. I tried it with a test account and vipw not told me about the wrong path of the shell... but chsh does. (tested on 4.6.1-RELEASE-p10 but I think it did not chance since then) bye, -Juergen- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD Install question
I haven't done FreeBSD installs on a laptop before, but you may be able to use kern.flp and mfsroot.flp to boot the installer and do a network install if you have a supported NIC card. Good luck, - Mike I have an older laptop that doesn't have a bootable CD-ROM. The bay either holds a CD Module or a Floppy module so I can't boot off the floppies and install from the CD-ROM. I have installed a small DOS partition and can access my FreeBSD CD-ROM, is there any way to invoke the install from within DOS. (RedHat has a batch file on the CD-ROM that allows the installer to launch, is there anything I can use to do this for FreeBSD?) Is it possible to boot off the floppies, switch out the Floppy module for the CD module and then use the CD? Any help or ideas would be appreciated. Thanks Rich B To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
On Mon, Oct 21, 2002 at 03:55:00PM -0700, Mike Hogsett wrote: Or perhaps the immutible flag set on /etc/passwd by default and have vipw and adduser (un)set this automagically when used. not a good idea... it would be a pain to run such a system in security-level 0. bye, -Juergen- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
perl crashing - how to debug??
Hello all, I've got a system on which Amavis is suddenly (as of 3 days ago) causing perl to coredump. How can I get perl built with debugging symbols so I can dig into this? I'm a little confused by the build process. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Aviation Research
Dear Sir, The London Morning Paper is planning a new publication. During some research for information I came across your email address in an aviation related website. My question, do you have a website with aviation related material? May I be allowed to extract headlines from this site and guide readers back to you? If this is the case would you be so kind and provide me with the URL and any other pertinent information you feel fit. As the publication will be based on the present format of The London Morning Paper, I suggest you have a look at www.london-morning-paper.co.uk the paper is email based and unique among news sources. It is read by insiders around the world. Like the planned publication it is free to all readers. You are welcome to subscribe if you wish. Finally, I thank you for you time, any comments are also welcome. James van Etten Executive Editor The London Morning Paper London United Kingdom Execcutive Editor, James Beam van Etten The London Morning Paper London - England To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
firebird-1.0.3 has been released.
Hi! For those interested/using firebird, just released firebird 1.0.3. The new version has the remote IP address in the subject of the messages being send. I also ported the code to Win32+Apache and currently have a test running on W2K with Apache. Will release the final sources and binaries are soon as the test show that FireBird for Win32 is reliable. Check: http://www.digitaldaemon.com/FreeBSD/firebird/ for more information. Thanks! Jan PS: In case anyone wants any C/C++ coding done... a couple of days ago I heard that I should search for other sources of income. Any projects I can do remote or with little travel in the NJ (PA/DE) area are welcome. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
scsi external tape
I am running 4.7 and using an adaptec 2940 PCI card. I have a HP external scsi tape drive. While this all works, I noticed the following: Unless the tape drive is connected to the scsi bus and TURNED on, when I boot the machine it will not allow me to later use any tape commands. It returns device not configured. Is this normal? I thought that I would be able to simply connect up the tape drive and power it up whenever I wanted and leave it off and disconnected when not in use. What am i missing? -- J.D. Bronson Aurora Health Care // Information Systems // Milwaukee, WI USA Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vinum - A Way to Create Without Losing Data?
On Monday, 21 October 2002 at 10:07:46 -0400, Jerry McAllister wrote: [Missing attribution to Kirk Strauser] At 2002-10-21T01:15:48Z, Greg 'groggy' Lehey [EMAIL PROTECTED] writes: I have one 80G archive drive and have filled it. I added another and would like to have both drives seen by the system as one 160G drive. You can't do that. UFS won't let you coalesce two file systems. Neither will any other file system that I can think of. It sounded like he was asking about growfs(8). I haven't used it, but wouldn't that work? It sounds to me like he is talking about software raid. Take a look at the 'vinum' stuff. That's what he's talking about. But, I don't think you can do it to your root filesystem. That's not what he's talking about. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Changing font size of tty
Simon Dick [EMAIL PROTECTED] writes: Why not just add vesa_load=YES in /boot/loader.conf ? Far nicer than hacking a startup file :) Good point. I forget that someone told me about that later. I don't quite agree with your last crack, though, because I think my hack, which was submitted as a PR patch, should have avoided the need for this sub-thread and the need for other people to run into this dependency the hard way and the need to learn the vesa_load thing and the (sort of) need to remove it again after they stop using 132 fonts. But my PR has apparently been shelved because someone is hoping that some C programmer will eventually change vidcontrol instead. Seems like a poor use of programmer resources, assuming it will ever happen, but it's not my call. Any volunteers? It's PR 43500. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Monitoring program: email and sms warnings
On Mon, Oct 21, 2002 at 07:29:24AM -0700, Jason End wrote: Any good program or set of scripts that can monitor whether a site is up, and whether someone has changed something in a file or directory, which upon detecting any changes can send out an email and/or sms? www.penemo.org - Nick Jennings To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
DUMP: bad sblock magic number
Hello, I'm trying the following on FreeBSD 4.2: dump -0 -h 0 -u -a -f /dev/nsa0 /home/foo And the dump is dying with the message: DUMP: Dumping /home/shared to /dev/nsa0 DUMP: bad sblock magic number DUMP: The ENTIRE dump is aborted. /home/foo is not a mount point, but I seem to remember FreeBSD's dump being able to dump subdirectories. I can dump /home (which is a mount point) without any errors, so its not a problem with /dev/nsa0. What does bad sblock magic number mean? Please CC: me on any replies, as I'm not subscribed -- and thanks in advance. Cheers, Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: upgrade issue
FreeBSD 4.6 was at the bottom of 'man cat' because thats when that man was updated. ie September 15th, 2001 = FreeBSD 4.6 -- GnuPG Key - http://probsd.org/michael.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrade issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.21.2002 @ 1840 PST): Michael Sharp said, in 0.3K: FreeBSD 4.6 was at the bottom of 'man cat' because thats when that man was updated. ie September 15th, 2001 = FreeBSD 4.6 end of RE: upgrade issue from Michael Sharp dunno about that one: monkey@smacky:~% man hier|tail -1 FreeBSD 4.6 June 5, 1993 FreeBSD 4.6 - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9tKxVo8KM2ULHQ/0RAudwAKCiFtyj8WV8INzok4TQchA8bBeOdgCeMVWg lAv3KeD0M9wux4C5XYYcGLI= =5Aqi -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
nl_langinfo undefined with gnome apps
I recently installed gnumeric and gimp and all their dependents from packages (since they wouldn't compile in their port directories) and when I try to run these, I get the following: gimp /usr/libexec/ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol nl_langinfo gnumeric /usr/libexec/ld-elf.so.1: gnumeric: Undefined symbol nl_langinfo Any ideas would be greatly appreciated. -Todd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: fmt(1) inside vi
On 2002-10-21 11:17, Jon Nathan [EMAIL PROTECTED] wrote: * Giorgos Keramidas [EMAIL PROTECTED] [10-20-2002 21:06]: On 2002-10-20 19:49, Jon Nathan [EMAIL PROTECTED] wrote: I'm trying to create a macro to justify a paragraph in vi. Something similar to ctrl-j in pico. I found fmt(1). In its manpage, it says [..] stty: stdin isn't a terminal in the file. This is usually an indication of a common abuse of the shell startup files. You have used biff(1) or mesg(1) in a startup file that is run if ($?prompt) then stty erase ^? endif Note the stty statement appended in the middle of the stock (skel) .cshrc. I added it at one point to fix backspace/delete problems for some terminal emulator. When I comment it out, the vi/fmt macro works nicely. Why is it problematic here though? Should this be done in, say, .login instead? It causes problems because .cshrc is also read by non-login csh shells. Add it to .login instead. Explicitly setting erase to ^? is not a good idea, since you are not doing this for just the problematic terminal emulator but for all types of terminals, but that's another story. Also, sort of related, how can I map ctrl-j to the fmt macro? I'm not sure. I rarely use /usr/bin/vi anymore. Giorgos. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrade issue
oh ok... then yes, man cat shows your your current version of fbsd * eye roll * Adam Weinberger wrote: (10.21.2002 @ 1840 PST): Michael Sharp said, in 0.3K: FreeBSD 4.6 was at the bottom of 'man cat' because thats when that man was updated. ie September 15th, 2001 = FreeBSD 4.6 end of RE: upgrade issue from Michael Sharp dunno about that one: monkey@smacky:~% man hier|tail -1 FreeBSD 4.6 June 5, 1993 FreeBSD 4.6 - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -- GnuPG Key - http://probsd.org/michael.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: perl crashing - how to debug??
in message [EMAIL PROTECTED], wrote Bill Moran thusly... How can I get perl built with debugging symbols so I can dig into this? I'm a little confused by the build process. this is for perl port... supply -DDEBUGGING option to make when building/installing, along w/ -g to the compiler. one way to do that is to edit /etc/make.conf such that CFLAGS has -g assigned to it... # in /etc/make.conf CFLAGS= -O -pipe -g ...you can also edit the perl port Makefile if you like to include both options. mind you that perl5.6 port w/ -DDEBUGGING option alone didn't build w/ the debugging support the last time i tried. -g option was necessary in addition. - parv -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: need help with ipfw rules
Check out this site, once you get a handle on the setup read this HOWTO. I've looked at lot's of resources but this is the best as far as I'm concerned. http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO If someone has one better, I would love to see it. Grant Cooper - Original Message - From: Dan Pelleg [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Redmond Militante [EMAIL PROTECTED] Sent: Monday, October 21, 2002 6:16 PM Subject: RE: need help with ipfw rules hi all my apologies, this could get long as i'm including the text of various config files: i've been trying to learn ipfw. i've recompiled a kernel with the following options ipfw add allow ip from any to any Do you really want to allow everything in, or is this just a typo? If this rule is really in effect, the rest of the rules are not doing anything. ipfw add allow ip from 127.0.0.1 to 127.0.0.1 vua lo0 I'm assuming vua is a typo - should be via. ipfw add allow udp from any to any 53 ipfw add check-state You're not letting DNS replies to come back. You are allowing the queries to go *out*, but when the remote server's reply packets hit the firewall they have port 53 on the *source* address, not on the destination. So they don't match that rule anymore and are discarded. What you probably want instead is: ipfw add allow udp from any to any 53 keep-state Another point: you're not using the divert rule for natd, and I see you have NAT enabled in your rc.conf. This is likely to be a problem later (well, you'll just not have NAT). A very good resource for this is /etc/rc.firewall. Just try to follow what the CLIENT, SIMPLE and OPEN targets do, or even let them run, then output the generated ruleset and use it as the skeleton of your own ruleset. Another useful debugging tool is ipfw show - typed repeatedly to watch which counters increased and so to know which rules were hit. Once you get into stateful filtering, you'll want ipfw -d show. Having said that, good ol' tcpdump is always handy to have around. Just fire up tcpdump -ni XXX with XXX for your external interface and see what's going out and what's coming in. Once you start firewalling for a network, a tcpdump -ni III with III being the internal interface becomes useful as well, either in itself or in addition to the external-watching tcpdump. -- Dan Pelleg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: need help with ipfw rules
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi thanks for responding On Mon, Oct 21, 2002 at 09:16:36PM -0400, Dan Pelleg expatiated with great perspicuity: hi all my apologies, this could get long as i'm including the text of various config files: i've been trying to learn ipfw. i've recompiled a kernel with the following options ipfw add allow ip from any to any typo Do you really want to allow everything in, or is this just a typo? If this rule is really in effect, the rest of the rules are not doing anything. ipfw add allow ip from 127.0.0.1 to 127.0.0.1 vua lo0 I'm assuming vua is a typo - should be via. typo again ipfw add allow udp from any to any 53 ipfw add check-state You're not letting DNS replies to come back. You are allowing the queries to go *out*, but when the remote server's reply packets hit the firewall they have port 53 on the *source* address, not on the destination. So they don't match that rule anymore and are discarded. What you probably want instead is: ipfw add allow udp from any to any 53 keep-state i changed this line. boots up fine. webserver, ssh, nfs, mail, etc. work. there's only one problem i noticed right off the bat - it looks like ftp users can authenticate fine, but when their ftp client tries to bring up a list of files in their ftp directories, it hangs at 'getting file list...' any ideas on how to fix? thanks redmond Another point: you're not using the divert rule for natd, and I see you have NAT enabled in your rc.conf. This is likely to be a problem later (well, you'll just not have NAT). A very good resource for this is /etc/rc.firewall. Just try to follow what the CLIENT, SIMPLE and OPEN targets do, or even let them run, then output the generated ruleset and use it as the skeleton of your own ruleset. Another useful debugging tool is ipfw show - typed repeatedly to watch which counters increased and so to know which rules were hit. Once you get into stateful filtering, you'll want ipfw -d show. Having said that, good ol' tcpdump is always handy to have around. Just fire up tcpdump -ni XXX with XXX for your external interface and see what's going out and what's coming in. Once you start firewalling for a network, a tcpdump -ni III with III being the internal interface becomes useful as well, either in itself or in addition to the external-watching tcpdump. -- Dan Pelleg -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9tK3rFNjun16SvHYRAnSNAJ9RPPcFelXQwS3R7ELFN+A8UdEWDwCgsJWS 3TUBFhcGrtRa9eCIrhrnv0w= =07L+ -END PGP SIGNATURE- msg05849/pgp0.pgp Description: PGP signature
Java on FreeBSD 4.5
Hi I am trying to set up Java on FreeBSD 4.5. I read through: http://www.freebsd.org/java/install.html But this didnt work for me. I found this: http://www.onlamp.com/pub/a/bsd/2002/09/05/FreeBSD_Basics.html?page=3 from the FreeBSD pages. But this doesnt work either. I get compilation errors as follows. Whats wrong? What did I do? I installed www/mozilla-headers also since that seemed to have npapi.h but that npapi.h was installed into /usr/X11R6/include/mozilla/plugin/ and so was never discovered. Any help is appreciated. Could you please CC me as I am not subscribed to this list (yet). , | gcc -Wall -c -I/usr/local/include -O -D_GNU_SOURCE -DXP_UNIX | -DVERSION=\1.3. 1-p7-aswini-021003-20:52\ -DDATE=\Oct-03-2002\ | -DARCH=\i386\ -DRAPTOR_ API -DNEW_STREAMING_API | -I../../oji-plugin/include/solaris/navig4/nspr -I../../o | ji-plugin/include/solaris/navig4/xpcom | -I../../oji-plugin/include/solaris/navig4 /caps | -I../../oji-plugin/include/solaris/navig4/js | -I../../oji-plugin/include/so laris/navig4/raptor | -I../../tmp/bsd/i386/CClassHeaders | -I../../oji-plugin/include/solaris/navig4/oji | -I../../oji-plugin/include/solaris/navig4/plugin | -I../../oji-plugin/src/motif/common | -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/inclu de | -I../../oji-plugin/src/motif/badapter | -I../../../../src/share/javavm/export | -I../../../../src/solaris/javavm/export -I/usr/X11R6/include | -I../../oji-plugin/ src/share -o ../../tmp/bsd/i386/stubs.o | ../../oji-plugin/src/motif/common/stubs. c | | In file included from ../../oji-plugin/src/motif/common/stubs.c:29: | /usr/X11R6/include/npapi.h:1: #error | /tmp/qt-3.0-reggie-21297/qt/extensions/nsp lugin/src/npapi.h must be | provided by Netscape /usr/X11R6/include/npapi.h:2: #error This file | is just a placeholder. Please see the documentation | /usr/X11R6/include/npapi.h:3: #error to learn how to obtain the real | file | | In file included from ../../oji-plugin/src/motif/common/stubs.c:30: | /usr/X11R6/include/npupp.h:1: #error | /tmp/qt-3.0-reggie-21297/qt/extensions/nsp lugin/src/npupp.h must be | provided by Netscape /usr/X11R6/include/npupp.h:2: #error This file | is just a placeholder. Please se e the documentation | /usr/X11R6/include/npupp.h:3: #error to learn how to obtain the real | file gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]: | Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/bu | ild/solaris' gmake: *** [plugin-all] Error 1 | *** Error code 2 | | Stop in /usr/ports/java/jdk13. | User: 1181.281u Kernel: 270.461u Time: 31:25.82 CPU: 76.9% (2911k/27674k) 8409+1 | 315io | Exit 1 | | /usr/X11R6/include/npupp.h:2: #error This file is just a placeholder. | Please see the documentation /usr/X11R6/include/npupp.h:3: #error | to learn how to obtain the real file gmake[1]: *** | [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]: Leaving directory | `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/bu ild/solaris' | gmake: *** [plugin-all] Error 1 | *** Error code 2 | | Stop in /usr/ports/java/jdk13. | User: 1181.281u Kernel: 270.461u Time: 31:25.82 CPU: 76.9% (2911k/27674k) 8409+1 | 315io | Exit 1 ` Kaarthik To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DUMP: bad sblock magic number
Brent Kearney [EMAIL PROTECTED] writes: Hello, I'm trying the following on FreeBSD 4.2: dump -0 -h 0 -u -a -f /dev/nsa0 /home/foo And the dump is dying with the message: DUMP: Dumping /home/shared to /dev/nsa0 DUMP: bad sblock magic number DUMP: The ENTIRE dump is aborted. /home/foo is not a mount point, but I seem to remember FreeBSD's dump being able to dump subdirectories. The man page seems to say otherwise, so you're on your own there. Luckily, you have the source. I can dump /home (which is a mount point) without any errors, so its not a problem with /dev/nsa0. What does bad sblock magic number mean? It means, more or less, that it can't find a valid filesystem for the parameters given it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Command line RM player??
Hi all. Just wondering if anyone knew if there was a command line player that played Real Media streaming files? I'm wanting to listen to some streaming media online via one of my machines, but I don't have enough horsepower on it to run Xwindows. So I need to setup a cheap sound card in it and some kind of command line media player that will play real media files. Anyone know of a way to do this? Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Resolving hostname takes too long
I am not certain why resolving external names from that machine go slow, but the reason ssh and ftp connections to that machine may be taking a while to establish is that it does a reverse dns lookup (address resolution) on the clients connecting to it. You can speed this up by allowing dynamic DNS updates on your internal DNS server and setting up your DHCP server to perform the updates as it hands out IP addresses. man dhcpd man named man named.conf man dhcpd.conf Marco Radzinschi E-Mail: [EMAIL PROTECTED] AOL IM: CrackedBoy Whoever fights monsters should see to it that in the process he does not become a monster. And when you look long into an abyss, the abyss also looks into you. -- Friedrich Nietzsche (Beyond Good and Evil) On Mon, 21 Oct 2002, Ihsan Junaidi Ibrahim wrote: Hello all, I have quite a niggling problem with my box. It takes too long to resolve hostname; ranges between 15 to 30 secs. My box serves as a gateway and ipfw machine. Other machines on this network that connects to this machine don't exhibit this particular problem, resolving hostname is pretty quick. I've tried many things; amongst them putting an open firewall just to see if ipfw has anything to do with it; resolving still takes too much time. This machine also serves as a private name server but I doubt that would get in the way as I've disabled the private name server in resolv.conf; only pointing to my ISP name servers. I have another problem which I think is related. Establishing SSH and FTP sessions (the only traffics I tested) from another machine to this machine slow down to a crawl. Only after the establishments did everything ie: transferring files is running smooth. Before this everything is fast, connecting to my private FTP is blazingly fast, I did't even have the time to read the displayed log. Now when I'm doing it I can read and speak out loudly every single word while they are displaying. Even connecting to my ISP FTP server is quicker. Connecting is just too slow for convenience sake. Ditto SSH. I implement DHCP in addition to the name server which use UDP traffic *which* I think, after reading the pertinent man pages, *may* have something to do with UDP timeout or something like that. To change this default attribute, I'd have to edit a kernel variable through sysctl. How do I know the right variable? I'm really at a loss over this. This box serve as my main desktop machine, no longer using Windows and hope to become a convert. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: having trouble setting up X on Fbsd 4.7 w/ ATI Mach64 PCI card
Galella, Anthony [EMAIL PROTECTED] writes: I'm probably doing something wrong with the new version of X, I never had a problem before with this hardware and the older version included with the older fbsd(4.2 or 4.5) Any suggestions? If the older version of X worked well enough for you, and the new one is giving you any trouble at all, stick with the old one. It's still in the ports system. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Command line RM player??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.21.2002 @ 1925 PST): Lord Raiden said, in 0.5K: Hi all. Just wondering if anyone knew if there was a command line player that played Real Media streaming files? I'm wanting to listen to some streaming media online via one of my machines, but I don't have enough horsepower on it to run Xwindows. So I need to setup a cheap sound card in it and some kind of command line media player that will play real media files. Anyone know of a way to do this? Thanks. end of Command line RM player?? from Lord Raiden Check out graphics/mplayer. It plays realmedia files. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9tLjBo8KM2ULHQ/0RAlmVAJ9RU9/7t0j+1kRZp/hRzQA066czPQCeMplP jYtPn+IgNvVsyJjvP18thOk= =dx5n -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: made a mistake with bash path... now i can't login
Hi - On Mon, 21 Oct 2002, Bsd Neophyte wrote: i was changing the login shell from sh to bash... but i entered the wrong location. now, i cannot login to the system using that account, which is the only accout that i can su to root from. I followed the thread a while and it may be a solved issue now, but ... does anyone know how i can resolve this issue w/o taking the system out of the garage, booting into single user mode and manually changing the path? Depending on the permissions of the directories, could you do something like: 1) login as another ordinary user 2) copy the real shell under the directory and name you had incorrectly set 3) login under that account, using the 'classical' shell in its new, 'phony' location 4) become 'su' and fix things up Just a thought. - John Mills To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Didn't think it was possible
last -5 | tail -r | grep crash root ttyv0 Mon Oct 21 18:30 - crash (01:19) I was running XFree86, supposedly with sawfish and Gnome 2 (in a half-done kind of way), had run screen and mp3blaster from a command line then detached... I had just edited a JPG using GIMP, did a save as to the new image and clicked [X] to close the GIMP, it asked Really close The GIMP? I clicked Close and... Clicking anywhere would do nothing. Pressing ctrl-s ctrl-q ctrl-. ctrl-\ ctrl-c ctrl-alt-F1 ctrl-alt-BS ctrl-alt-DEL you name it, I tried it. The music (mp3blaster) kept playing but The GIMP managed to force me to press the hard reset button and my box was not pleased. Oh my question: How was FreeBSD 4.6.2 able to log crash to wtmp? And how do you remember whether it is utmp or wtmp? What do they stand for? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
printing problems 4.7-stable
I cannot print in 4.7-stable...I do not think the problem is the driver but with how the kernel deals the parallel port. Which is odd, since it recognizes and configures it properly. Why I say this, is because I cannot even send # lptest /dev/lpt0 to the printer, as nothing happens. The printer is a winprinter boat anchor, which works well in linux using the same drivers (and on the same box). It is a HP820Cse using the pnm2ppa filter package setup via apsfilter. When I attempt to print I get an error message back pnm2ppa[405]: parm_iversion(): Unknown Printer version I've written the authors of the package and they made sure I had the right printer selected which I do. I've re-set the parallel port mode in the bios to spp...epp...ecp+eppnothing works so far. Here's what dmesg says about it ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: HEWLETT-PACKARD DESKJET 820C SCP,VLINK lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 There has been some traffic on the past on this, but no resolution... I'm sure it will_work just dont know what is going on at this point. --karl To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache prob
no but no site is available i mean my httpd is fuck and no website work when i have error like these (100 httpd running process forking etc) - Original Message - From: DaleCo, S.P.---'the solutions people' [EMAIL PROTECTED] To: master [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 11:36 PM Subject: Re: apache prob From: master [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 2:09 PM Subject: apache prob i get this error [error] [client oneip] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): then my httpd start running 100 process and no site are available, is there a way to fix this ? Sounds a bit funny. If a browser does an HTTP 1.1 GET request and there is no host header sent, the server is supposed to send a 400 (bad request)... ...the problem, I guess, is figuring out what in the world is giving you the request. I'm not sure what you mean by no site is available. Is there no content in the Document Root? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: floppy device busy
Not sure, I used a script to create the floppy. Is there a way to tell? Can I just unmount rfd0 (floppy drive) ? Or is that going to leave a file open still? Well, if you have a file open or are CDed into a directory on the floppy, it won't let you umount it. It will tell you it is busy. jerry - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: Terry Cooper [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 7:58 AM Subject: Re: floppy device busy I was trying to create a bootable floppy from using a script I found from http://www.svbug.com/developer/documentation/handbook/handbook139.html and well it failed. Big newbie surprize. grr. Well now I get this error after I modified the script. fdformat: /dev/fd0: Device busy Bad floppy, please use a newone Were you CDed to something on the floppy or did you have some file there open? jerry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD bootable floppy Script NOT WORKING
On Mon, 21 Oct 2002, Terry Cooper wrote: Date: Mon, 21 Oct 2002 14:22:31 -0700 From: Terry Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: FreeBSD bootable floppy Script NOT WORKING Ok, I'm frustrated out. Do people actually use this script because the only one I find is the the one referenced from freebsd.org. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html #AEN14848 I cut and paste this script into a file in windows and then did a fetch from my server. When my script run's into the EOM command I get problems. I am running sh shell I think. cat EOM I'm using FreeBSD 4.62 and EOM is just putting everything into one file. I retyped everything and getting the same problem. So I don't know if it's hidden characters or not. Is there a place to fetch this file! Because I'm going crazy. Also is this bootable floppy suppose to let me see something because so far all I get is a no /boot/loader. Quick question - is there anything special about this script? I mean, wouldn't it just be easier to 'dd' a bootable floppy from one of the images on the install CDs? Sorry, I haven't used a floppy drive in years, but this seems like a lot to go through when 'dd' can do it for you. Unless, of course, there's something special about the disk this script creates. Good luck - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FW: FTP Problems?
Wiesendanger, Stefan (Zurich) wrote: Hi I can't seem to install FreeBSD by FTP anymore - no matter which release, it always complains that it can't find a file in the snapshots directory. I've had a look, and actually, in the regional mirrors this directory (the i386 subdirectory) is emtpy, and on the main FTP server (ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ) I'm getting some strange garbled text back. Are you sure that you're not behind a firewall that block the ftp-data port? Is this a known problem? Cheers Stefan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD bootable floppy Script NOT WORKING
On Mon, 21 Oct 2002, Terry Cooper wrote: Date: Mon, 21 Oct 2002 14:22:31 -0700 From: Terry Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: FreeBSD bootable floppy Script NOT WORKING Ok, I'm frustrated out. Do people actually use this script because the only one I find is the the one referenced from freebsd.org. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html #AEN14848 I cut and paste this script into a file in windows and then did a fetch from my server. When my script run's into the EOM command I get problems. I am running sh shell I think. cat EOM I'm using FreeBSD 4.62 and EOM is just putting everything into one file. I retyped everything and getting the same problem. So I don't know if it's hidden characters or not. Is there a place to fetch this file! Because I'm going crazy. Also is this bootable floppy suppose to let me see something because so far all I get is a no /boot/loader. * EOM is not a command, it's an end-of-text marker, similar to the one used in Perl. * There are text-file incompatibilities between Unix and DOS. If you're copying/pasting the file from the website in Windows, ftp'ing it to a Unix box and then trying to run it, all those extra linefeeds may cause extremely bizzare errors. I hate to say it, but if you can only get the Internet on your winbox, you should probably fire up vi (or whatever editor you like) and enter it manally. Or run a dos2unix utility on the script on your Unix box to set it up and clear out those linefeeds. That or use 'dd' as in my previous post :) Good luck! JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FW: FTP Problems?
Hi I can't seem to install FreeBSD by FTP anymore - no matter which release, it always complains that it can't find a file in the snapshots directory. I've had a look, and actually, in the regional mirrors this directory (the i386 subdirectory) is emtpy, and on the main FTP server (ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ) I'm getting some strange garbled text back. Is this a known problem? Cheers Stefan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Stray IRQ 7 problem.
that is what is causing your stray irq 7 the kernel is detecting irq 7 activity from your lpt but doesn't have a device attached to the irq 7 try turning the lpt stuff back on in your kernel: # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer Daemon wrote: It's commented out in the kernel config. # Parallel port #device ppc0 at isa? irq 7 #device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da as well as, #device ulpt # Printer What should I check for in the bios? Thanks, Mark On Mon, 21 Oct 2002 00:42:04 -0400 wolf [EMAIL PROTECTED] wrote: Erm, check you lpt0 config in your kernel AND bios. -- Michael Joyner FreeBSD System Administrator http://manhattan.hq.dyns.cx/ -- Michael Joyner FreeBSD System Administrator http://manhattan.hq.dyns.cx/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sound Blaster Live...
On Mon, 21 Oct 2002 11:17:19 -0300 [EMAIL PROTECTED] wrote: Hi All, I've got a SB Live card that has been working great under FreeBSD 4.7 since it was released, however I've got 4 speakers and a sub, but only two speakers and the sub are engaged a the moment. How can I get the two rear speakers to be engaged with the sound card, also I've found that I can not adjust the volumn of the card saving using the volumn control on the speakers themselves, here's my basic config: FreeBSD morpheus.dreadnet.org 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Oct 20 12:26:38 ADT 2002 morpheus# dmesg | grep pcm pcm0: Creative EMU10K1 port 0xe400-0xe41f irq 10 at device 11.0 on pci0 morpheus# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Creative EMU10K1 at io 0xe400 irq 10 (4p/2r/0v channels duplex) morpheus# /usr/sbin/mixer Mixer vol is currently set to 12:12 Mixer pcm is currently set to 25:25 Mixer speaker is currently set to 12:12 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Mixer rec is currently set to 0:0 Mixer line1is currently set to 0:0 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 Mixer videois currently set to 0:0 Can anyone help me out? Have you tried mixer vol 100? Type mixer vol 100 and it should make it louder. I have a Sound Blaster Live myself and it works fine without ANY problems. I'm using FreeBSD 4.6.2 at the moment. Well, I dont use anything else so :-) hth To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: floppy device busy
At 09:19 AM 10.21.2002 -0700, Terry Cooper wrote: Not sure, I used a script to create the floppy. Is there a way to tell? Can I just unmount rfd0 (floppy drive) ? Or is that going to leave a file open still? - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: Terry Cooper [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 7:58 AM Subject: Re: floppy device busy I was trying to create a bootable floppy from using a script I found from http://www.svbug.com/developer/documentation/handbook/handbook139.html and well it failed. Big newbie surprize. grr. Well now I get this error after I modified the script. fdformat: /dev/fd0: Device busy Bad floppy, please use a newone Were you CDed to something on the floppy or did you have some file there open? jerry I rebooted my computer to fix it but there must be a simple command to fix this. Try cding to / and running #df to see if a floppy is mounted. If so, #umount the floppy using the floppy device shown in above df info... That will free up the device so you can rerun your script Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sound Blaster Live...
Hi All, I've got a SB Live card that has been working great under FreeBSD 4.7 since it was released, however I've got 4 speakers and a sub, but only two speakers and the sub are engaged a the moment. How can I get the two rear speakers to be engaged with the sound card, also I've found that I can not adjust the volumn of the card saving using the volumn control on the speakers themselves, here's my basic config: FreeBSD morpheus.dreadnet.org 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Oct 20 12:26:38 ADT 2002 morpheus# dmesg | grep pcm pcm0: Creative EMU10K1 port 0xe400-0xe41f irq 10 at device 11.0 on pci0 morpheus# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Creative EMU10K1 at io 0xe400 irq 10 (4p/2r/0v channels duplex) morpheus# /usr/sbin/mixer Mixer vol is currently set to 12:12 Mixer pcm is currently set to 25:25 Mixer speaker is currently set to 12:12 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Mixer rec is currently set to 0:0 Mixer line1is currently set to 0:0 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 Mixer videois currently set to 0:0 Can anyone help me out? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Perl?
in message [EMAIL PROTECTED], wrote Alex Drummond thusly... ...if you install the perl5.8 port, the executable is called perl5.8.0 so as not to overwrite the perl which comes with FreeBSD). by default, the port perl is installed in /usr/local/bin (unless you change it) system perl in /usr/bin. so it's misleading to say that perl5.8.0 is named such not to overwrite existing version. perl5.8.0 would be a symlink to perl in /usr/local/bin. the port may additionally run (or advice one to run) use.perl program to create symbolic links from/to /usr/local/bin to/from /usr/bin for some of the perl related software. - parv -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vinum - A Way to Create Without Losing Data?
[Format recovered--see http://www.lemis.com/email/email-format.html] Mutilated quotations. On Monday, 21 October 2002 at 7:39:01 -0700, Drew Tomlinson wrote: On Sunday, October 20, 2002 5:52 PM, Drew Tomlinson wrote: From what I've read, it appears that if I create a concatenated volume using vinum or ccd, I will destroy whatever data I already have on the disks. Is this correct? Is there anyway to do it without destroying the data? I have one 80G archive drive and have filled it. I added another and would like to have both drives seen by the system as one 160G drive. Thanks for all of your responses. The (almost) full 80G archive drive does not contain any system files (just mp3s, video clips, etc.) and my additional 80G drive is new with no data. Thus, I've concluded that creating a vinum volume on the empty disk, copying the contents of the old to the new, and then adding the old disk to the vinum volume is the best way to go. Yes, that would work. Under these circumstances you could also use the trick I mentioned and then use growfs. But your method is probably preferable. This will be the first time I've ever attempted anything like this. Are there any common gotchas I should be careful to avoid? I *really* want to do this right the first time so I don't have to try and restore from the hundred or so CDs that contain backups. I can't think of anything in particular. You should certainly make sure that your Vinum volume is in good shape before adding the second disk. One of these days I'll get a tape drive... :) I sometimes wonder if that's worth the trouble. Cheap IDE disks are much faster and very much more reliable. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
nat + ipfw + adsl
I'm out of my house and into a flat now.. so I don't have access to cable anymore.. bit of a dud.. I'm onto the next best thing being adsl. I read one doco about what I want to do but thought I'd just throw it out here as well.. Basically I've already got a nice little firewall running the cable modem, with a nice tight little rule set. I've got PPPoE running fine under BSD now with my new ADSL provider however am curious if I can just plug in my current firewall and s/fxp0/tun0/g in appropriate places.. namely for nat and the ipfw rules.. I've grown quite accustomed to using ipfw and natd and would prefer to use it over ppp -nat and it's filtering rules.. No worries? Cheers, ajt. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Qt2 and Qt3
I'm trying to install a game that gives this error message: checking for Qt... configure: error: Qt (snapshot = Qt 2.1 beta2) (libraries) not found. Please check your installation! Running pkg_info says I'm running: qt-3.0.3_5 A C++ X GUI toolkit When I try to install Qt 2.3 (or whatever is in /usr/ports/x11-toolkits/ qt23) I get an error message saying it's incompatible with Qt 3.0. Any ideas on what I could do? Thanks, Adam P.S. If anyone know of any good hearts or euchre games besides the ones on SourceForge, let me know please. :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
upgrading problem
I have upgraded my box from 4.6-stable to 4.7-stable today. Everything seemed OK. When I ran the command uname -a,the system reported ...4.7-stable But when I ran the command man cat, at the end of the manual, the system reported FreeBSD 4.6. Why? BTW, the option my cvsup file used was src-all. __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
hp 825c usb printer
hello, I attempted to configure a HP825c usb printer using apsfilter SETUP. It gets stuck with the following errors: ---snip unable to set key=MediaType, value=0 unable to set key=PenSet, value=2 unable to set key=Quality, value=0 unable to set key=ColorMode, value=2 unable to set key=MediaType, value=0 unable to set key=PenSet, value=2 ---end this goes on and on and it appears as if it locks up the app. thanks Stan Benoit[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrading problem
Hongbo Li [EMAIL PROTECTED] writes: I have upgraded my box from 4.6-stable to 4.7-stable today. Everything seemed OK. When I ran the command uname -a,the system reported ...4.7-stable But when I ran the command man cat, at the end of the manual, the system reported FreeBSD 4.6. Why? BTW, the option my cvsup file used was src-all. That man page hasn't been changed since FreeBSD 4.6, so the version listed in it hasn't changed either. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
perl system vs. perl port, help please
Hi, I'm attempting to run an non-ported perl app that requires perl 5.6. (4.6-STABLE). I've installed perl 5.8 from ports, tested it, and issued the use.perl port command. My problem is when I'm attempting to build the p5-Gtk-0.7008 port. The make is failing. The following is the last couple of lines from the failed build. Any suggestions? -- Regards, Doug cc -c -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I. -I./build -O -pipe -DVERSION=\0.7008\ -DXS_VERSION=\0.7008\ -DPIC -fPIC -I/usr/local/lib/perl5/5.8.0/mach/CORE -DLAZY_LOAD -DPERL_POLLUTE -DGTK_HVER=0x01020a build/GtkDefs.c Running Mkbootstrap for Gtk () chmod 644 Gtk.bs rm -f ../blib/arch/auto/Gtk/Gtk.so LD_RUN_PATH=/usr/X11R6/lib:/usr/local/lib:/usr/lib cc -shared -L/usr/local/lib xs/GtkMenuBar.o xs/GtkCheckMenuItem.o xs/Gtk-1.2.o xs/GtkMenuItem.o xs/GtkCombo.o xs/GtkToggleButton.o xs/GtkCTree.o xs/GtkRange.o xs/GtkAlignment.o xs/GtkRadioButton.o xs/GtkLabel.o xs/GtkPreview.o xs/GtkMenuShell.o xs/GtkAspectFrame.o xs/GtkObject.o xs/GtkVScrollbar.o xs/GtkFileSelection.o xs/GtkHRuler.o xs/GtkArrow.o xs/GtkSocket.o xs/GtkViewport.o xs/GtkBox.o xs/GtkEntry.o xs/GtkTree.o xs/GtkList.o xs/GtkBin.o xs/GtkVRuler.o xs/GtkScrollbar.o xs/GtkFontSelection.o xs/GtkSelection.o xs/GtkItem.o xs/GtkItemFactory.o xs/GtkOptionMenu.o xs/GtkDrawingArea.o xs/GtkAccelGroup.o xs/GtkWindow.o xs/GtkTooltips.o xs/GtkStatusbar.o xs/GtkEventBox.o xs/GtkTreeItem.o xs/GtkCalendar.o xs/GtkImage.o xs/GtkPaned.o xs/GtkFrame.o xs/GtkPlug.o xs/GtkHScale.o xs/GtkVPaned.o xs/GtkSeparator.o xs/GtkScale.o xs/GtkAccelLabel.o xs/GtkProgressBar-1.1.o xs/GtkToolbar-1.1.6.o xs/GtkCList-1.2.o xs/GtkContainer.o xs/GtkMenu.o xs/GtkNotebook.o xs/GtkHBox.o xs/GtkToolbar.o xs/GtkCList.o xs/GtkTipsQuery.o xs/GtkCurve.o xs/GtkHScrollbar.o xs/GtkVButtonBox.o xs/Gtk-1.1.o xs/GtkCheckButton.o xs/GtkHPaned.o xs/Gtk.o xs/GtkVScale.o xs/GtkTable.o xs/GtkProgressBar.o xs/GtkDialog.o xs/GtkData.o xs/GtkPacker.o xs/GtkVBox.o xs/GtkText.o xs/GtkHandleBox.o xs/GtkHButtonBox.o xs/GtkInputDialog.o xs/GtkRuler.o xs/GtkColorSelectionDialog.o xs/GtkFixed.o xs/GtkTearoffMenuItem.o xs/GtkFontSelectionDialog.o xs/GtkLayout.o xs/GtkAdjustment.o xs/GtkPixmap.o xs/GtkColorSelection.o xs/GtkButtonBox.o xs/GtkVSeparator.o xs/GtkScrolledWindow.o xs/GtkGammaCurve.o xs/GtkProgress.o xs/GtkListItem.o xs/GtkButton.o xs/GtkMisc.o xs/GtkSpinButton.o xs/GtkHSeparator.o xs/GtkRadioMenuItem.o xs/GtkEditable.o xs/GtkInvisible.o xs/GtkWidget.o GdkTypes.o build/PerlGtkExt.o MiscTypes.o Derived.o GtkTypes.o build/GtkDefs.o -o ../blib/arch/auto/Gtk/Gtk.so -L/usr/local/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm cc: xs/GtkMenuBar.o: No such file or directory cc: xs/GtkCheckMenuItem.o: No such file or directory cc: xs/Gtk-1.2.o: No such file or directory and on, and on To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
linksys np100
I've got a Linksys NP100 10/100 pcmcia card. It's not on the supported list, but I believe it is ne2000 compatible, know if anyone's gotten this card working in the past? Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Writers wanted, readers needed
Students, teachers, readers, and writers alike, gather your paper, uncap your pens, and dust off your reading glasses because Poetrylist is back and bigger than ever. If your a talented ambitious writer looking for a way to share your art or simply someone who loves poetry in general read on because Poetrylist will fit your needs. Poetrylist is an online newsletter that tackles many aspects of the art. Writers are able submit works and read and rate others. Readers are able to enjoy the art form that they love so much. Email Zach back for me info. Please mention ID# 121 _ Spam Watch: If you feel this email has come to you by error or is spam please contact Bobby Whetzel with the ID# containted in the email. [EMAIL PROTECTED] Thank you Bobby Whetzel Chief Editor of Poetrylist online newsletter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
random reboots
We are experiencing random reboots on 4.7. Have seen other postings in here regarding this issue so it does not appear to be hardware related but have not seen a definitive answer to what is going on. No core dumps, etc. Please respond if you are having same problem. We are doing 4.7 on a test server running AMD 400 CPU and would like to goto 4.7 on production servers but with random reboots this is not feasible. As I said this has come up on questions before but still has not been fully addressed. Running newest Apache, MySQL, PHP, Perl, just can't up to 4.7 yet (was rebooting before any of the previous were upped,Apache, etc.) 4.6 was totally stable . Rebooting probs started after upping to 4.7 FBSD and are totally random. Thanks for any input. Richard H To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrading problem
On Mon, Oct 21, 2002 at 10:07:50PM -0400, Lowell Gilbert wrote: Hongbo Li [EMAIL PROTECTED] writes: I have upgraded my box from 4.6-stable to 4.7-stable today. Everything seemed OK. When I ran the command uname -a,the system reported ...4.7-stable But when I ran the command man cat, at the end of the manual, the system reported FreeBSD 4.6. Why? BTW, the option my cvsup file used was src-all. That man page hasn't been changed since FreeBSD 4.6, so the version listed in it hasn't changed either. Uh, no. That's not how it works. And the manpage hasn't changed since before 4.5-RELEASE. More likely, the original poster has old cat pages lying around that aren't getting updated for some reason. Look in /usr/share/man/cat1. Or perhaps you didn't actually get everything installed correctly? What do the dates in /usr/share/tmac look like? -- Crist J. Clark | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://people.freebsd.org/~cjc/| [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrading problem
The problem appears to be that the default result of .Os is still FreeBSD 4.6 according to man 7 mdoc, on my RELENG4 system cvsupped 10/18. mdoc.local 1.2.2.15 appears to define it that way. It appears that RELENG_4 should be using 1.2.2.15.2.1 instead, or another tag that will get 4.7 as the default. Ok, ok, I'll send the PR. :) On Mon, Oct 21, 2002 at 10:40:14PM -0700, Crist J. Clark wrote: More likely, the original poster has old cat pages lying around that aren't getting updated for some reason. Look in /usr/share/man/cat1. Or perhaps you didn't actually get everything installed correctly? What do the dates in /usr/share/tmac look like? -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message