Re: freebsd Is this a hack or a system for root
On Wed, Oct 08, 2003 at 06:09:19AM +, DanB wrote: Is this a hack or a system for root? This is in password file. toor:*:0:0: :0 Bourne-again Superuser :/root toor is just another user with EUID 0 (effective user id) - ie another 'root' account. The account is disabled by default (hence the '*' in the password field) and won't be activated unless you change the password using chpass or vipw or another password changing util. The 'toor' account can be quite useful if you have more than one admin who needs UID 0 access on a server and you don't want to get the shell histories of the users mixed up. Not sure what the historic details are regarding the 'toor' account - all I know is it's been around since 4.4. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail with ssl
On Tuesday, October 7, 2003, at 10:48 PM, Tony Tung wrote: Hi, I'm trying to set up sendmail with ssl. I followed the directions on http://www.puresimplicity.net/~hemi/freebsd/sendmail.html, and everything appears to work for port 25. However, I want to make it accessible on port 465 as well. When I connect to the server on port 465, it does not work. If I disable SSL on my client, both ports 25 and 465 work. Does anyone have any suggestions? Thanks, Tony Hi, I forgot to mention that I did make one change to the .mc file: DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=MTA')dnl Thanks, Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cyclic symbolic link in /usr/local/share/nls/C
Hello, why is, regardless of freebsd version in /usr/local/share/nls/C the following symbolic link to itself C - C , why not .keep_me or something? It somtimes lets find operations fail (too much redirections). After deletion it reappears mysteriously. -- Mit freundlichen Grüßen Fritz Heinrichmeyer FernUniversitaet, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I try to change atapi_dma to 1 but it doesn't work (It was Re: ATI Radeon IGP340M)
On Wednesday 08 October 2003 06:25, jason wrote: Use hw.ata.atapi.dma=x for atapi devices(cdroms and dvdroms). Drop that atapi for hard drives. Here x = 0-6 at speeds of 16.7, 25, 33.3, 44.4, 66.7, 100, 133. Mode 6 only works on select drives, like mators, with a board that supports, like an nforce. Most cdroms should not be more than a mode 2. Thats for a 52x where 52x150kb/s=7800kb/s=7.6mb/s max transfer. My liteon supports 33.3mb/s tranfers, and I use that mode but it is no real avantage over mode 0 or 1. Dvds use 1250kb/s as their x value, so a 8x dvd would need 8x1250kb/s=1kb/s=9.8mb/s. So just cut and paste this in the loader.conf file. What's this ? I've already tried hw.ata.atapi.dma=1 are you telling me that I should try a higer value ? It doesn't bother me to reboot 6 times if necessary, but I'm not ond of it *wink* :) Cheers and thanks! Juan Rodriguez Hervella wrote: On Monday 06 October 2003 19:49, Mike Silbersack wrote: On Mon, 6 Oct 2003, Juan Rodriguez Hervella wrote: Thank you very much. It's working. I've tried to play a DVD using ogle, but it doesn't work very well, the movement isn't steadyI've got a friend with the same laptop using Linux and he tells me it works nice.so I guess it's a FreeBSD performance problem*sigh* Thank you anyway. -- JFRH FreeBSD doesn't enable DMA access to CD/DVD drives by default, that may be part of the problem; try enabling atapi_dma (see the ata manpage), that might help. Mike Silby Silbersack I've tried both atapi_dma=1 in loader.conf and atacontrol mode 1 udma100 XXX but when I attempt to access the device, it hangs up. I copy a dmesg if this can help. Look at the end there are some error messages related to ATA -- JFRH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd Is this a hack or a system for root
Is this a hack or a system for root? This is in password file. toor:*:0:0: :0 Bourne-again Superuser :/root Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The answer is in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/security.html#TOOR-ACCOUNT Regards, Rick Hoppe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cyclic symbolic link in /usr/local/share/nls/C
On Wed, Oct 08, 2003 at 08:51:48AM +0200, Fritz Heinrichmeyer wrote: Hello, why is, regardless of freebsd version in /usr/local/share/nls/C the following symbolic link to itself C - C , why not .keep_me or something? It somtimes lets find operations fail (too much redirections). After deletion it reappears mysteriously. That would appear to be a bug: the layout should be equivalent to /usr/share/nls/C Hmmm... This has already been reported. See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/57488 Until the fix gets committed, the self referring link will be recreated any time you install or update a port under /usr/local that causes mtree(8) to be run. Interestingly the same problem does not occur in /usr/X11R6/share/nls/C Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
dhcp overrides default route
Hi list Lets say you have this in rc.conf: ifconfig_dc0=inet 1.2.3.4 netmask 255.255.255.0 ifconfig_dc1=DHCP default_router=1.2.3.254 The network on dc1 is 192.168.0.0/24 with the default router on that subnet being 192.168.0.254. If I reboot the box, dhclient will set default router to 192.168.0.254, overriding the value I specified in rc.conf. Is there a way to prevent that? Right now, I have a shellscript that runs as soon as the box is finished booting that resets the default route to its correct value, but somehow it feels that this is not the right way to do it. -- R ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vi and wrap text
I want to know is there a way to wrap the text in vi? In emacs you can just hit Esc+q and it will wrap the text. How about vi? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re:ppp confusion
Hi, thanks for your reply,dmesg.boot,ppp.conf and ppp.log files are below.The man ppp seems to be saying that I connect with ppp -ddial myisp, is this correct?My modem is Simplecomputing netexpress 56K external modem.Hope that you can make things a little clearer for me and I appreciate the time you have spent helping me. nevle ###dmesg.boot Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc06d4000. Preloaded elf module /boot/kernel/acpi.ko at 0xc06d41f4. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 141953 Hz CPU: AMD Duron(tm) processor (1000.04-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x671 Stepping = 1 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow! real memory = 134152192 (127 MB) avail memory = 122933248 (117 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface acpi0: VIA694 AWRDACPI on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00fdd00 acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-fast frequency 3579545 Hz acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 acpi_cpu0: CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 82C8363 (Apollo KT133A) host to PCI bridge mem 0xd000-0xd3ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686B UDMA100 controller port 0xd000-0xd00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 9 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 9 at device 7.3 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: bridge, PCI-unknown at device 7.4 (no driver attached) pci0: multimedia, audio at device 11.0 (no driver attached) pci0: input device at device 11.1 (no driver attached) fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 orm0: Option ROM at iomem 0xc-0xca7ff on isa0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0% ad0: 38172MB MAXTOR 6L040J2 [77557/16/63] at ata0-master UDMA100 acd0: CD-RW LG CD-RW CED-8080B at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s3a ###ppp.conf # # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by [EMAIL PROTECTED] # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ # default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that device references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa0 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set timeout 180# 3 minute idle timer
Re: vi and wrap text
On Wed, Oct 08, 2003 at 06:22:45AM -0500, Bryan Cassidy wrote: I want to know is there a way to wrap the text in vi? In emacs you can just hit Esc+q and it will wrap the text. How about vi? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] end of the original message From vi(1) manpage : [...] wraplen, wl [0] Vi only. Break lines automatically, the specified number of columns from the left-hand margin. If both the wraplen and wrapmargin edit options are set, the wrapmargin value is used. wrapmargin, wm [0] Vi only. Break lines automatically, the specified number of columns from the right-hand margin. If both the wraplen and wrapmargin edit options are set, the wrapmargin value is used. wrapscan, ws [on] Set searches to wrap around the end or beginning of the file. [...] So, for example, the command ':set wl=72' will wrap lines at 72 characters. Francesco Casadei -- You can download my public key from http://digilander.libero.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B pgp0.pgp Description: PGP signature
Re: ppp confusion
On Wed, 8 Oct 2003 21:30:24 +1000 nevle [EMAIL PROTECTED] wrote: Hi, thanks for your reply,dmesg.boot,ppp.conf and ppp.log files are below.The man ppp seems to be saying that I connect with ppp -ddial myisp, is this correct?My modem is Simplecomputing netexpress 56K external modem.Hope that you can make things a little clearer for me and I appreciate the time you have spent helping me. nevle a) your phone number certainly looks wrong b) do you REALLY want to post your username/password on a global mailing list? -- Adam pgp0.pgp Description: PGP signature
vtophys information.
Is there a simple example which uses the function vtophys. Or a normal example which uses the vtophys function in a simple way. This would be for driver development for FreeBSD 4.x. TIA Riaan Kruger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw and divert and trying to do something clever (never mind)
never mind. ipfw fwd does exactly what I am after, I misunderstood the command line. Quoting Bruce Campbell [EMAIL PROTECTED]: I have some machines behind a freebsd firewall, and I'm using ipfw. Presently, I reset attempts to smtp past the firewall: reset tcp from [subnet] to any 25 but I'd like to divert them to my own smtp server, so it doesn't matter what the clients try to use. I thought this would be easy. Maybe it is. The fwd feature doesn't seem to do it, as it just forwards a specific ipaddr[,port] (no subnet/mask) divert looks like the way to do it, and after a few hours of fiddling with a program that opens a divert socket, I can watch all manner of traffic going back and forth, but each time I attempt to send it elsewhere, I get nowhere. I am duly setting both the ip and tcp checksum, before re-injection. Somebody else must have done this, and/or I must be doing it the wrong way. Any suggestions ? Please e-mail me directly also as I am not on this list. A code snippet using divert would be excellent. -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[RTFM pointer] Re: dhcp overrides default route
Roger 'Rocky' Vetterberg [EMAIL PROTECTED] writes: Lets say you have this in rc.conf: ifconfig_dc0=inet 1.2.3.4 netmask 255.255.255.0 ifconfig_dc1=DHCP default_router=1.2.3.254 The network on dc1 is 192.168.0.0/24 with the default router on that subnet being 192.168.0.254. If I reboot the box, dhclient will set default router to 192.168.0.254, overriding the value I specified in rc.conf. Is there a way to prevent that? Right now, I have a shellscript that runs as soon as the box is finished booting that resets the default route to its correct value, but somehow it feels that this is not the right way to do it. Right. What you want to do is simply tell dhclient(8) not to do that. The way you do that configuration is with dhclient.conf(5). I would recommend the following statement: prepend routers 192.168.0.254 My own dhclient.conf looks like the following, in which the only statement that actually does anything useful is the one pointing the main name server entry at myself. # $FreeBSD: src/etc/dhclient.conf,v 1.2.2.1 2001/12/14 11:44:31 rwatson Exp $ # # This file is required by the ISC DHCP client. # See ``man 5 dhclient.conf'' for details. # # In most cases an empty file is sufficient for most people as the # defaults are usually fine. # interface fxp0 { request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, host-name; send host-name lowellg.ne.client2.attbi.com; send dhcp-lease-time 5184000; prepend domain-name-servers 127.0.0.1; # require domain-name-servers; # default host-name lowellg; # default domain-name ne.mediaone.net; # supersede host-name lowellg.ne.mediaone.net; } ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing FreeBSD in M754LMR Motherboard.
Finally! I was able to install FreeBSD 4.7! Now, I'm going to upgrade to 5.0 but it must be with the source method because when I try to boot with the 5.0 installation CD it gives me the same error (the kernel has the AGP support on it) and it never can run sysinstall. So, as this is my first time with FreeBSD, for sure it's going to take me a little while to get it updated to 5.0 I just wanted to thank Lowell Gillbert and Bob Collins for their help. Many thanks! Guillermo - Original Message - From: Lowell Gilbert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 9:15 AM Subject: Re: Problem installing FreeBSD in M754LMR Motherboard. Guillermo Fuentes [EMAIL PROTECTED] writes: I did the minimal installation posible for 4.8 and when I reboot the kernel shows me the same error. Oh, well. I think you'll have to install an earlier version and update from there; just make sure to leave out the kernel AGP support when you build the new kernels. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Encrypted Password Portability Between releases
James Moser [EMAIL PROTECTED] writes: ... If I encrypt on a 4.7 box will it work on a 4.8 system, just not the other way around? what is the entry in the crypt_default two OSes /etc/auth.conf files? I suspect the FreeBSD 4.8 is defaulting to MD5 encyption and the FreeBSD 4.7 is knowledgable about DES encyption. MD5 passwords are obvious because they start with $1$ and they are longer than DES encrypted passwords. Sounds like you are re-implementing YP/NIS (see: man 8 yp). --Mark Tinguely ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fish in konqueror
Dear List, A while back I enquired about enabling sftp through konqueror in 5.1-R. I was told to use fish instead ... which works just fine when I attempt to connect from my 5.1-R box to a debian box. But ... it doesn't work from a 5.1-R box to another 5.1-R box. It just says connecting... and sits there forever. Any ideas? Advice would be greatly appreciated! Cheers, ...Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
src code
what is the newest version and where can i download it for use from? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Have some questions
Dear, May I inquire you for HP ProLiant ML370 G3, Xeon2.8GHz, 2.5GB Memory, 4x36.4GB HDD, Smart Array 5302/128 (2 Channels) that can support FreeBSD? Regards, ~~~ Sorrawit Pornamnueysub Business Development Executive NetONE Network Solution Co.,Ltd. 52 Thaniya Plaza Building, 29th and 18th Floor, Silom Road, Suriyawongse, Bangrak, Bangkok 10500 Tel : 0-2231-2020-8 ext 1226 Fax : 0-2231-2030 Mobile : 0-1645-8483 E-mail : [EMAIL PROTECTED] www.net1.co.th ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD won't work on Toshiba Satellite 3000
I solved the problem... thanks for a response... - Original Message - From: Lowell Gilbert [EMAIL PROTECTED] To: ATM [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 3:21 PM Subject: Re: FreeBSD won't work on Toshiba Satellite 3000 ATM [EMAIL PROTECTED] writes: I can't install FreeBSD 5.1 on my laptop (toshiba satellite 3000). The boot/installation CD stops during initiation. I am very willing to work on FreeBSD. What can I do about it?? Describe where it stops, for one thing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
On-board Promise controller
Dear All, I'm having trouble getting my on-board Promise controller to work. I can use atacontrol to build an array, but sysinstall won't detect the disk pack. Could this be a problem with the fact that I use 2x80GB disk? Please see the attached typescript for details. Sysinstall only displays ad0 and ad2 as installation targets. Please keep me CC-d as I am not subscribed to this list. Thank you in advance, Yours, Kees Jan --- Kees Jan Koster e-mail: kjkoster at kjkoster.org www: http://www.kjkoster.org/ --- Life is uncertain; eat dessert first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with pam_ldap - ssh and file attributes
Since nobody responded I will do it myself :-). Further investigation shown that the problem with connecting via ssh was only with the Putty client. Normal command line ssh from another unix host worked fine. The Google search found one message targeting this problem. The solution is to use ssh2 protocol instead of ssh1. I have experienced crashes of Putty v. 0.52 when using ssh2 but after upgrading to version 0.53b everything works fine. Nevertheless the problem with file attributes persists. Mira Original message follows Hi, I just suceeded to install and configure pam_ldap authentication on my 5.1Release box. Everything seems to work fine (ftp, telnet, samba, ...) except for ssh. Any attempt to login (as user whose account is defined in the LDAP directory) from a remote host using ssh end up with the error message: Access denied. For users registered in /etc/passwd the ssh works fine. There is no problem when login via telnet, ftp works fine as well but the ssh doesn't. The /etc/pam.d/sshd looks like: # auth authrequiredpam_nologin.so no_warn authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local authsufficient pam_ldap.so debug try_first_pass authrequiredpam_unix.so no_warn try_first_pass # account account requiredpam_login_access.so account sufficient pam_ldap.so debug account requiredpam_unix.so # session session requiredpam_permit.so # password passwordsufficient pam_ldap.so debug passwordrequiredpam_unix.so no_warn try_first_pass -- Another problem is that commands like ls displays uid and gid as numbers for files owned by LDAP users. On the other hand ftp displays them correctly. Any ideas how to fix that (especially in case of ssh) would be really helpfull. Thanks Mira ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ppp confusion
You have problem with your ppp.conf. The ppp.log shows that you have an error tun0: Command: default: papchap: tun0: Warning: papchap:: Invalid command tun0: Warning: papchap:: Failed 1 But the most enlightening info from the log is Oct 8 15:34:19 nevsbsd ppp[527]: tun0: Chat: deflink: Dial attempt 1 of 1 Oct 8 15:34:19 nevsbsd ppp[527]: tun0: Chat: Send: AT^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Expect(5): OK Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: AT^M^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: OK^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Send: ATE1Q0^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Expect(5): OK Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: ATE1Q0^M^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: OK^M Oct 8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Send: ATDT^M Oct 8 15:34:22 nevsbsd ppp[527]: tun0: Chat: Expect(40): CONNECT Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Chat: Received: ATDT^M^M Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Chat: Received: BUSY^M Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Warning: Chat script failed Oct 8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: dial - hangup This shown the modem being connected to FBSD but no phone number is being dialed. Change you ppp.conf to look like this default: set log Phase Chat LCP IPCP CCP tun command #ident user-ppp VERSION (built COMPILATIONDATE)this is useless statement so remove # Ensure that device references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa0 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # this section header has to start in pos number 1. just like default: does # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # #ansonic: #remove this statement set phone 123456 # be sure this is the dialin phone number for your ISP # set login remove this statement set authname barney set authkey bambam set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR# Add a (sticky) default route Use this console command to start user ppp ppp -auto papchap check your ppp.log to see if things work. If not post your updated ppp.conf and ppp.log just containing last test. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of nevle Sent: Wednesday, October 08, 2003 7:30 AM To: [EMAIL PROTECTED] Subject: re:ppp confusion Hi, thanks for your reply,dmesg.boot,ppp.conf and ppp.log files are below.The man ppp seems to be saying that I connect with ppp -ddial myisp, is this correct?My modem is Simplecomputing netexpress 56K external modem.Hope that you can make things a little clearer for me and I appreciate the time you have spent helping me. nevle ###dmesg.boot Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc06d4000. Preloaded elf module /boot/kernel/acpi.ko at 0xc06d41f4. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 141953 Hz CPU: AMD Duron(tm) processor (1000.04-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x671 Stepping = 1 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,M CA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow! real memory = 134152192 (127 MB) avail memory = 122933248 (117 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface acpi0: VIA694 AWRDACPI on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00fdd00 acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-fast frequency 3579545 Hz acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 acpi_cpu0: CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 82C8363 (Apollo KT133A) host to PCI bridge mem 0xd000-0xd3ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686B UDMA100 controller port 0xd000-0xd00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at
CVS pserver and pam_ldap
Hi, I have problem to make cvs server (version 1.11.5 - the one which gets installed as a part of 5.1 R) to authenticate users via pam_ldap. Is there anybody who successfully runs this combination or at least knows whether the cvs supports PAM authentication? Any help would be really appreciated ! Mira ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I
Crossposting in the hopes of moving this to -chat... Ceri Davies wrote: On Tue, Oct 07, 2003 at 04:26:59PM -0400, Stephanie wrote: uninstall free bsd from a server? I would really just like the dos prompt back...? export PS1=C:\ You know, I think you're onto something here. I'm updating my .cshrc to reflect my Windoze roots: alias copy cp alias renmv alias dir ls -l alias delrm -i alias a: mount_msdosfs /dev/fd0 /mnt alias explorer.exe /bin/kill 1 alias navapw.exerm -rf /* ...now my system operates more like I'm 'used to'.. |8P ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
On Wed, 8 Oct 2003 06:22:45 -0500 Bryan Cassidy [EMAIL PROTECTED] wrote: I want to know is there a way to wrap the text in vi? In emacs you can just hit Esc+q and it will wrap the text. How about vi? I dont use emacs, but isn't Esc+q the command to rewrap text? I'm not aware of any such command in vi but instead you can invoke the external command fmt. To rewrap the whole text to 60 columns: :%!fmt 60 To rewrap the text between lines 50 to 100: :50,100!fmt 60 You can of course also set markers, say a and b, and then :'a,'b!fmt 60 Check man fmt! It is capable of doing other things you might find useful, like centering a piece of text. (Hint: other useful external commands that can be used to extend vi in this way includes expand, unexpand and awk, especially awk is very powerful for advanced text processing. You can also write your own shellscripts and programs, the possibilites are almost unlimited.) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install
Since BSD is residing in the 3rd partition, I typed F3 and nothing happens(blank), I'll have to reboot my system. Lowell Gilbert wrote: skisen [EMAIL PROTECTED] writes: I have FreeBSD 4.5 Feb 2002. I had 4GB quantum harddisk. I had Installed the above version of FreeBSD along with Windows2000 and Linux. I had no problems and all the three OS were running fine. Now I upgraded my system with 60GB seagate harddisk. I created 4 partitions of 20GB, 20GB,10GB,10GB. I installed windows2000 followed by Linux and FreeBSD. After Installation at each stage i Found Windows running fine, Linux also. Finally I found BSD installation was succesful. But migrating to BSD was not possible. Is there any way I can overcome this problem? Probably. But we can't tell unless you tell us what the problem actually is. What happens when you try to boot FreeBSD? -- Sanjay Kisen Litespan® [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intellimouse Wheel in X
On Sat, Oct 04, 2003 at 07:59:15AM -0400, [EMAIL PROTECTED] wrote: I'd be interested in seeing your X config file for using the wheel mouse. The file i need to edit is /etc/X11/XF86config correct? For the way i've setup my confirutaion it needed that you also have configured /etc/rc.conf. Relevant /etc/rc.conf: moused_flags=-a .4 moused_enable=YES moused_port=/dev/psm0 moused_type=auto The mouse section of the /etc/X11/XF86Config file: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection P.S. Please don't top-post (!) and cut non relevant text. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPsec with racoon
Rick, Thanks for the suggestion, but it is a publicly routable address. It actually appears to be getting all of phase 1 complete and most of phase 2 but just never passes any traffic across the VPN tunnel itself, so I am past the basic connectivity issues. Anyone else have any thoughts? Thanks, Adam At 03:06 PM 10/7/2003, [EMAIL PROTECTED] wrote: Is the external IP address of your VPN device an internet routable IP address? I know that if you are on an ADSL without static IP (like Qwest or MSN adsl) the IP address that is automatically assigned via DHCP by the DSL modem is private IP space, and therefore your VPN will not work. I resorted to getting an Alcatel Speedtouch USB modem and plugging it into a FreeBSD box for my Qwest MSN and set my VPN to go between the 2 FreeBSD boxes. This gave my firewall/gateway a real IP address. Granted, it is dynamic and I have to change my vpn every time my IP address get's re-negotiated, but at least it works. I am trying to figure out a way to dynamicly change the VPN config on both ends when ppp comes up so I don't have to do it manually. Sincerely, Rick Duvall --- Adam Bayless [EMAIL PROTECTED] wrote: I've followed a couple of the tutorials available on the web, including the one in the FreeBSD manual, for setting up an IPsec tunnel between two FreeBSD machines, but I am trying to connect to a netgear VPN device. I'm getting past phase 1 and getting an SA but the traffic will not flow. Without quoting every piece of config, does anybody have any pointers on what might differ between the tutorials on FreeBSD - FreeBSD and talking to a VPN device? Thanks, Adam Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
Hi Bryan, On Wednesday, October 8, 2003, 6:22:45 AM, you wrote: B I want to know is there a way to wrap the text in vi? In emacs you can B just hit Esc+q and it will wrap the text. How about vi? I don't know any in VI, but if you install the VIM package, to wrap text, you can just hit esc gqip and it is done.. -- Gary Life is what happens to you when you're making other plans. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
change environment variable
Hi all, when I do echo $COLUMNS, I see the value 131. Now this variable is not exported at all from my shell and I need to change it to 72. Does anyone have clues on 1. How to change it 2. Any gotchas that I may face. Thanks -Wash -- Odhiambo Washington [EMAIL PROTECTED] The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD. GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) You're never too old to become younger. -- Mae West smime.p7s Description: S/MIME cryptographic signature
Re: IPsec with racoon
You don't have any firewall rules blocking it somewhere in the middle between the two endpoints, do you? Some ISP's will block all traffic except for certain types, but they don't tell you about it. We have a wireless internet provider in town that blocks ports to keep people from using certain types of internet services to save bandwidth. They are an http/email only provider in this sense. VPN will not work across this ISP, regardless of the fact that you have a real IP address with them. I disagree with ISP's doing this if people are paying full price for internet service. However, they charge a very low rate, so people get what they pay for in the end. Sincerely, Rick Duvall --- Adam Bayless [EMAIL PROTECTED] wrote: Rick, Thanks for the suggestion, but it is a publicly routable address. It actually appears to be getting all of phase 1 complete and most of phase 2 but just never passes any traffic across the VPN tunnel itself, so I am past the basic connectivity issues. Anyone else have any thoughts? Thanks, Adam At 03:06 PM 10/7/2003, [EMAIL PROTECTED] wrote: Is the external IP address of your VPN device an internet routable IP address? I know that if you are on an ADSL without static IP (like Qwest or MSN adsl) the IP address that is automatically assigned via DHCP by the DSL modem is private IP space, and therefore your VPN will not work. I resorted to getting an Alcatel Speedtouch USB modem and plugging it into a FreeBSD box for my Qwest MSN and set my VPN to go between the 2 FreeBSD boxes. This gave my firewall/gateway a real IP address. Granted, it is dynamic and I have to change my vpn every time my IP address get's re-negotiated, but at least it works. I am trying to figure out a way to dynamicly change the VPN config on both ends when ppp comes up so I don't have to do it manually. Sincerely, Rick Duvall --- Adam Bayless [EMAIL PROTECTED] wrote: I've followed a couple of the tutorials available on the web, including the one in the FreeBSD manual, for setting up an IPsec tunnel between two FreeBSD machines, but I am trying to connect to a netgear VPN device. I'm getting past phase 1 and getting an SA but the traffic will not flow. Without quoting every piece of config, does anybody have any pointers on what might differ between the tutorials on FreeBSD - FreeBSD and talking to a VPN device? Thanks, Adam Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
Thanks for all the replies. I'm gonna read up on some of the things everyone told me but in the mean time I think I'm gonna take garys advise and try vim. On Wed, 8 Oct 2003 10:19:14 -0500 Gary gv-list-freebsdquestions@mygirlfriday.info wrote: Hi Bryan, On Wednesday, October 8, 2003, 6:22:45 AM, you wrote: B I want to know is there a way to wrap the text in vi? In emacs you can B just hit Esc+q and it will wrap the text. How about vi?I don't know any in VI, but if you install the VIM package, to wrap text, you can just hit esc gqip and it is done..-- Gary Life is what happens to you when you're making other plans. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
Hi Bryan, On Wednesday, October 8, 2003, 10:30:50 AM, you wrote: B Thanks for all the replies. I'm gonna read up on some of the B things everyone told me but in the mean time I think I'm gonna B take garys advise and try vim. It works great, and you can alias it in your shell .rc file, so vi=vim B On Wed, 8 Oct 2003 10:19:14 -0500 Gary B gv-list-freebsdquestions@mygirlfriday.info wrote: Hi Bryan, On Wednesday, October 8, 2003, 6:22:45 AM, you wrote: B I want to know is there a way to wrap the text B in vi? In emacs you can B just hit Esc+q and it will wrap B the text. How about vi?I don't know any in VI, but if B you install the VIM package, to wrap text, you can just hit B esc gqip and it is done..-- Gary Life is what B happens to you when you're making other plans. BTW, if you use vim as your email text editor, it will eliminate the above problem and automatically reformat the for you.. g -- Gary Try to relax and enjoy the crisis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPsec with racoon
Well, I am the ISP, so I can be sure there are no ports blocked... thanks, Adam At 09:27 AM 10/8/2003, [EMAIL PROTECTED] wrote: You don't have any firewall rules blocking it somewhere in the middle between the two endpoints, do you? Some ISP's will block all traffic except for certain types, but they don't tell you about it. We have a wireless internet provider in town that blocks ports to keep people from using certain types of internet services to save bandwidth. They are an http/email only provider in this sense. VPN will not work across this ISP, regardless of the fact that you have a real IP address with them. I disagree with ISP's doing this if people are paying full price for internet service. However, they charge a very low rate, so people get what they pay for in the end. Sincerely, Rick Duvall --- Adam Bayless [EMAIL PROTECTED] wrote: Rick, Thanks for the suggestion, but it is a publicly routable address. It actually appears to be getting all of phase 1 complete and most of phase 2 but just never passes any traffic across the VPN tunnel itself, so I am past the basic connectivity issues. Anyone else have any thoughts? Thanks, Adam At 03:06 PM 10/7/2003, [EMAIL PROTECTED] wrote: Is the external IP address of your VPN device an internet routable IP address? I know that if you are on an ADSL without static IP (like Qwest or MSN adsl) the IP address that is automatically assigned via DHCP by the DSL modem is private IP space, and therefore your VPN will not work. I resorted to getting an Alcatel Speedtouch USB modem and plugging it into a FreeBSD box for my Qwest MSN and set my VPN to go between the 2 FreeBSD boxes. This gave my firewall/gateway a real IP address. Granted, it is dynamic and I have to change my vpn every time my IP address get's re-negotiated, but at least it works. I am trying to figure out a way to dynamicly change the VPN config on both ends when ppp comes up so I don't have to do it manually. Sincerely, Rick Duvall --- Adam Bayless [EMAIL PROTECTED] wrote: I've followed a couple of the tutorials available on the web, including the one in the FreeBSD manual, for setting up an IPsec tunnel between two FreeBSD machines, but I am trying to connect to a netgear VPN device. I'm getting past phase 1 and getting an SA but the traffic will not flow. Without quoting every piece of config, does anybody have any pointers on what might differ between the tutorials on FreeBSD - FreeBSD and talking to a VPN device? Thanks, Adam Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting the sticky bit on /var/mail...
On Tue, Oct 07, 2003 at 09:13:36PM -0700, Mike Maltese wrote: Absolutely you are correct, and the crowd goes wild with applause...thank you. Glad it helped. =) I suppose it would be nice to know what set all of the following on /var/mail: opaque nodump uappnd uchg uunlnk because it sure wasn't me. Removing them allowed me to set the appropriate bit. Thanks again. That strikes me as really strange. Any chance another user did this or that the box was compromised? It seems to be no small coincidence that all the flags you listed are the ones that don't require root privileges. I never give accounts on my personal machines to people; it is possible, I suppose, that the box was compromised; but the compromiser would have to have worked his way in through a LinkSys NAT box that doesnt' forward anything to that box; additionally, no services are listening on it: no sshd, no MTA, no inetd, nothing. I dont' even log in over my LAN...to get to the console or use X, I use a KVM. The only other account in /var/mail was gdm...it was set to user:group 92. Shrug; I don't knowuntil last night and your email, I had mentally glossed over the entry in the chflags and ls man pages referencing ls -lo...so I don't see any way I could have set those flags. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
On Wed, Oct 08, 2003, Gary gv-list-freebsdquestions@mygirlfriday.info wrote: Hi Bryan, On Wednesday, October 8, 2003, 6:22:45 AM, you wrote: B I want to know is there a way to wrap the text in vi? In emacs you can B just hit Esc+q and it will wrap the text. How about vi? I don't know any in VI, but if you install the VIM package, to wrap text, you can just hit esc gqip and it is done.. Adding ``set wm=15'' to your ~/.exrc or ~.vimrc file will cause vi or vim to automatically wrap margins 15 characters to the left of the right margin. ``set wm=0'' turns off automatic wrapping. Another one I use a lot in my ~.vimrc file is ``map F5 {!}fmt'' which rewraps the current paragraph the cursor is in when I press the F5 key. This maps the key sequence ``{!}fmt'' to the F5 key ``{'' top of paragraph, ``!'' execute command ``}'' to bottom of paragraph, ``fmt'' the command to execute. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Are we at last brought to such a humiliating and debasing degradation, that we cannot be trusted with arms for our own defense? Where is the difference between having our arms in our own possession and under our own direction, and having them under the management of Congress? If our defense be the real object of having those arms, in whose hands can they be trusted with more propriety, or equal safety to us, as in our own hands?'' -- Patrick Henry June 9, 1788, in the Virginia Convention on the ratification of the Constitution. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba 3.0.0 printing without cups
Hi, Does anyone have samba printing working with 3.0.0 and is not using cups? If so could you please post a copy of your smb.conf file? Thanks in advance, Micheas -- Micheas Herman [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba 3.0 breakage
I had no problems with 3.0.0 the port samba-dev gets a beta from about July. (not even one of the pre-releases!) I modified the Makefile in the ports directory and changed the md5 in distinfo. I posted my diffs to this list earlier. Micheas On Sun, 2003-10-05 at 14:43, Matt Edwards wrote: I am trying to compile the FreeBSD 5.1-RELEASE port of samba 3. Everytime I make to begin building the binaries make errors out after attempting to compile dynconfig.c. The screen fills with numerous redifinition of 'xxx' and previously declared here errors. At the end it stops with /usr/include/gssapi.h:707: previous declaration of 'gss_canonicalize_name' ***Error code 1 Stop in /usr/ports/net/samba-devel/work/samba-3.0.0beta3/source ***Error code 1 Anyone have any ideas? I have just updated my source tree with cvsup before attempting to make. Thanks in Advance, Matt I had noticed that Tim Kellers had also posted the same problem back in July. This is happening to me in Oct. 2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Micheas Herman [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change environment variable
On Wednesday 08 October 2003 08:19 am, Odhiambo Washington wrote: Hi all, when I do echo $COLUMNS, I see the value 131. Now this variable is not exported at all from my shell and I need to change it to 72. Does anyone have clues on 1. How to change it This depends on your shell. Csh uses setenv variable value. 2. Any gotchas that I may face. No idea here. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Change Password from Windows using ctrl-alt-delete
There doesn't seem to be anyone out there with a solution. I guess the moral of the story is don't run Samba 2.x on FreeBSD if you want your users to be able to change their own passwords. I've written a web interface for them to do so, but it doesn't sell the 'free' solution to management if you have to use non-standard administration tools and spend a lot of time creating them, at that. On Oct 7, 2003, at 3:16 PM, Markie wrote: Just like to say that I have this same problem too :o) Posted it to the Samba list and here quite a while ago but.. no answer! 4.8 and Samba 2.2.8a here too, I am going to try 3.0 soon. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Canon printer, USB, setup? HOW?
Hi people. I am no a newbie but I had to setup parallel port connecting printers. Now I need to setup USB printer, Canon s200 model. How? mab y links. - Best regards, Alex Zivenko [EMAIL PROTECTED] www.netgen.com.ua ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LITE-ON cd-rw and 5.1-p10
I've just cobbled together a new machine and purchased a LITE-ON LTR-52327S CD-RW for it. FreeBSD, however, seems unable to detect the drive. On boot, there is no acd device shown at all, however I do get an ACPI error. (dmesg will follow) I can boot from the 5.1-R install CD with no problem, however when I select cd/dvd as the install media, it claims that there is no dvd/cd drive found!?!?!. I also get a 'drive full error usually when i boot from CD and install from FTP as soon as the data starts writing to the hard drive. The fdisk and newfs stages seem to complete normally prior to this. I ended up installing from floppy. The seagate is the master and the lite-on is the slave on the primary bus. I'm using a new ata 66/100/133 cable. I plan to get a second ata cable this afternoon and try to put them on seperate busses, however i'm not sure that's the problem. Any suggestions on what I should look for or what might be wrong? Anything goes. Thank you. -Stephen Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE-p10 #0: Wed Oct 8 02:08:53 CDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc06d4000. Preloaded elf module /boot/kernel/acpi.ko at 0xc06d41f4. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 731470027 Hz CPU: Intel Pentium III (731.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x387f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE real memory = 134152192 (127 MB) avail memory = 122933248 (117 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface acpi0: VIA694 AWRDACPI on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00fdcd0 acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-fast frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.FDC0._CRS] (Node 0xc18bdca0), AE_AML_UNINITIALIZED_LOCAL ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.FDC0._CRS] (Node 0xc18bdca0), AE_AML_UNINITIALIZED_LOCAL can't fetch resources for \\_SB_.PCI0.FDC0 - AE_AML_UNINITIALIZED_LOCAL acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 acpi_cpu0: CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 82C691 (Apollo Pro) host to PCI bridge mem 0xd800-0xdbff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C596B UDMA66 controller port 0xe000-0xe00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: VIA 83C572 USB controller port 0xe400-0xe41f irq 5 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: bridge, HOST-PCI at device 7.3 (no driver attached) xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xe800-0xe87f mem 0xdf00-0xdf7f irq 11 at device 11.0 on pci0 xl0: Ethernet address: 00:50:04:c3:a1:ec miibus0: MII bus on xl0 xlphy0: 3Com internal media interface on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: cannot reserve I/O port range (1 ports) sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: cannot reserve I/O port range (1 ports) orm0: Option ROMs at iomem 0xc8000-0xcbfff,0xc-0xc7fff on isa0 pmtimer0 on isa0 fdc0: cannot reserve I/O port range (6 ports) sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0% ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: 76319MB ST380011A [155061/16/63] at ata0-master UDMA33 Mounting root from ufs:/dev/ad0s1a ___ [EMAIL PROTECTED] mailing list
Re: Samba Change Password from Windows using ctrl-alt-delete
I too have the same problem, I too searched google and I too found no solution. Does anyone know if 3.0 is ok? I haven't tried yet. I'm a cautious upgrader. Nice, I had thought to do that as well, but still found no time. Do you plan to make your code public? I'd be embarrassed to show this hack to the public. You could write your own in the time it would take to adapt mine for another enivironment. I basically used Expect to call smbpasswd for the user. I also have unix password sync on to change the unix password at the same time. You can use SWAT, and there are other public interfaces available, trust me, you don't need mine. I'll be glad to help out in any way if you want to work on your own. It's only about 50 lines of code. ;) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup and portupgrade
I'm still trying to muddle through the loads of different ways to keep FreeBSD 'current' -- meaning, safely patched, aka RELENG_5_1 (for me) As I conceptualize the operations there are two levels of 'patching', 1) the kernel and base system 2) then all the ports that I may have installed I've read the cvsup docs and can see how to update both the kernel source and ports. But the problem I see is the ports. After the ports collection has cvsupdated, I would still need to do a make install for each port I have previous installed, correct? (or, more appropriately, make deinstall, the cvsup the ports, then make install) Is this making things more difficult? Seems there really should be a cleaner way to keep things updated. I've heard reference to a portupgrade package, but can't find any details on how and what it really does-- and how well it plays with cvsupdate. The other rotten thing here is that cvsupdate requires modula-3 -- and portupgrade requires ruby... It would really be nice if all this were done in the most perfect language, python;-) looking for some advice.. thx. -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 Beware the IP portfolio, everyone will be suspect of trespassing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
On Wed, 08 Oct 2003 11:33:25 -0700, David Bear wrote: Seems there really should be a cleaner way to keep things updated. There is. I've heard reference to a portupgrade package, but can't find any details on how and what it really does-- and how well it plays with cvsupdate. portupgrade (sysutils/portupgrade) is exactly what you want. Install it and read the docs. portupgrade will build the new version, remove the old version (preserving any shared libs for compatability), update dependency references, and install the new version. It would really be nice if all this were done in the most perfect language, python;-) I think you have python confused with ruby. ;) But you don't have to build cvsup, just grab the package. It's not something you'll really have any need to track updates on. If you do, use ezm3. -- Aaron Malone [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Encrypted Password Portability Between releases
Hey Mark, Thanks for your reply but I found the problem. It was in the programming and not the encryption... Mark Tinguely wrote: James Moser [EMAIL PROTECTED] writes: ... If I encrypt on a 4.7 box will it work on a 4.8 system, just not the other way around? what is the entry in the crypt_default two OSes /etc/auth.conf files? I suspect the FreeBSD 4.8 is defaulting to MD5 encyption and the FreeBSD 4.7 is knowledgable about DES encyption. MD5 passwords are obvious because they start with $1$ and they are longer than DES encrypted passwords. Sounds like you are re-implementing YP/NIS (see: man 8 yp). --Mark Tinguely ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broken /usr/lib on FreeBSD 4.7
Hello, I inadvertently broke the /usr/lib on my FreeBSD 4.7 box. Here's how this happened. * In an xterm as root, I issued the command ldconfig -r as root, and attempted to copy the ldconfig output using the mouse. I selected the first 20 lines of this output with the mouse, and was about to paste it into an editor, when I inadvertently pressed the middle button while the cursor was still in the xterm. * The system immediately froze. I rebooted the system in single user mode, fsck'ed the filesystems, then mounted them. I then issued ctrl d to allow the boot sequence to continue, which it did. * The built-in ldconfig issued many errors, all of them stating that /usr/lib components had an invalid file formats. I rebooted the system back to single user, and issued an ldconfig -r which listed the ld-elf so.hints search directories, together with all the actual load libraries for elf . * I assumed that the first 20 library files were corrupted, and sought to replace these with files from a /usr/lib library that I found on the web. * Working in single user mode I now find that when I attempted any command that sends formatted output to the screen (e.g. ls -la), I get the following message: /usr/libexec/ld-elf.so.1: /usr/lib/libncurses.so.5: Shared object has no run-time symbol table * It seems to me that the approximately first 20 /usr/lib files have been corrupted. * However the system continues to boot the kernel OK. How can I fix this? Any tips or advice will be greatly appreciated Oliver Wilson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
On Wednesday 08 October 2003 01:33 pm, David Bear wrote: I'm still trying to muddle through the loads of different ways to keep FreeBSD 'current' -- meaning, safely patched, aka RELENG_5_1 (for me) As I conceptualize the operations there are two levels of 'patching', 1) the kernel and base system 2) then all the ports that I may have installed I've read the cvsup docs and can see how to update both the kernel source and ports. But the problem I see is the ports. After the ports collection has cvsupdated, I would still need to do a make install for each port I have previous installed, correct? (or, more appropriately, make deinstall, the cvsup the ports, then make install) Is this making things more difficult? Seems there really should be a cleaner way to keep things updated. I've heard reference to a portupgrade package, but can't find any details on how and what it really does-- and how well it plays with cvsupdate. The other rotten thing here is that cvsupdate requires modula-3 -- and portupgrade requires ruby... It would really be nice if all this were done in the most perfect language, python;-) looking for some advice.. thx. Allbeit I am doing 4.9, here is what I do for the ports part of it. I too have had issues and found a perect solution (for me) To upgrade ports only rebuild database: - type /usr/local/bin/cvsup -g -L2 /root/ports-supfile type /usr/local/sbin/portsdb -uU run /usr/local/sbin/portupgrade -arR The above line updates all ports and dependencies. -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
David Bear wrote: I'm still trying to muddle through the loads of different ways to keep FreeBSD 'current' -- meaning, safely patched, aka RELENG_5_1 (for me) As I conceptualize the operations there are two levels of 'patching', 1) the kernel and base system 2) then all the ports that I may have installed I've read the cvsup docs and can see how to update both the kernel source and ports. But the problem I see is the ports. After the ports collection has cvsupdated, I would still need to do a make install for each port I have previous installed, correct? (or, more appropriately, make deinstall, the cvsup the ports, then make install) Is this making things more difficult? Seems there really should be a cleaner way to keep things updated. I've heard reference to a portupgrade package, but can't find any details on how and what it really does-- and how well it plays with cvsupdate. The other rotten thing here is that cvsupdate requires modula-3 -- and portupgrade requires ruby... It would really be nice if all this were done in the most perfect language, python;-) looking for some advice.. thx. cvsup and portupgrade do different things. Cvsup will keep your copy of a particular source trees (/usr/src, /usr/port, etc.) up-to-date with the current sources in the CVS repository. Actually, cvsup can track the sources along any CVS branch point or by date. There is usually a pre-built binary package for cvsup, so you don't generally need to build it from source (or build the modula3 package). Just get it from the FreeBSD ftp site and use pkg_add to add the binary package. But once you've got the updated sources, you need to update your machine. For /usr/src, you have to follow the procedures to build the world Check the handbook for this. For /usr/port, you can update manually (pkg_delete the old version and make install the new version) or use portupgrade. To get started with portupgrade, just do: cd /usr/ports/sysutils/portupgrade make install clean rehash # if you are using csh or tcsh pkgdb -F portsdb -Uu If you want to see the ports that are available for updating, use the command portversion. You will need to re-run portsdb -Uu every time you update the ports source tree using cvsup. Richard Coleman [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone using Linux-PAM on 5.x?
Hello, all; I would like to take a moment of your time. I was having some heavy frustrations on preparing a FreeBSD 5.1 server for handling centrally located accounts using OpenPAM, particularly due to my inability to locate good documentation on it. I found that the problems : Oct 5 13:04:15 sharktooth login: in openpam_load_module(): no pam_mysql.so found Oct 5 13:04:15 sharktooth login: pam_start(): failed to load module Were NOT due to the misplacement of the module. Proper permissions were in place. The concerns I had were resolved when the following individuals (many, many, many thanks to these guru's) : Kris Kennaway Mikko Työläjärvi Nick Rogness Gave me pointers, advice, and properly illustrated what the problem was. For the archives sake, I am posting the results of that hassle here. The first of the problems were based on the fact that I was trying to port pam_mysql. This was failing because the mysqlclient library wasn't being located when the pam libraries were loaded. There had to be an -R/usr/local/lib/mysql added to the compilation/linker commands. Then I ran into the errors : Oct 6 19:22:09 sharktooth login: in openpam_dispatch(): pam_mysql.c: no pam_sm_authenticate() Oct 6 19:22:09 sharktooth login: in openpam_dispatch(): pam_mysql.c: no pam_sm_setcred() The functions were defined properly, and I used a number of different methods. That's when I was pointed to the Makefile as the problem. The end result switched from using ld as the linker to libtool. There are still bugs to work out, but the module is beginning to function. Again, I offer a sincere thanks to those individuals listed above for their responses. Joe Lewis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
On Wednesday 08 October 2003 11:33 am, David Bear wrote: I'm still trying to muddle through the loads of different ways to keep FreeBSD 'current' -- meaning, safely patched, aka RELENG_5_1 (for me) As I conceptualize the operations there are two levels of 'patching', 1) the kernel and base system 2) then all the ports that I may have installed I've read the cvsup docs and can see how to update both the kernel source and ports. But the problem I see is the ports. After the ports collection has cvsupdated, I would still need to do a make install for each port I have previous installed, correct? (or, more appropriately, make deinstall, the cvsup the ports, then make install) Is this making things more difficult? Seems there really should be a cleaner way to keep things updated. I've heard reference to a portupgrade package, but can't find any details on how and what it really does-- and how well it plays with cvsupdate. Nothing updates your ports for you automaticaly. Nothing updates INDEX-5 and INDEX.db everytime you cvsup ports-all. INDEX-5 is currently 7 weeks old and if you cvsup ports-all and use the INDEX that it provides, you have a truly ancient INDEX-5. The frequency of upgrade isn't going to change and so you are expected to rebuild INDEX-5 and INDEX.db everytime you cvsup the ports. I prefer to cd /usr/ports make index portsdb -u The other rotten thing here is that cvsupdate requires modula-3 -- and portupgrade requires ruby... It would really be nice if all this were done in the most perfect language, python;-) The philosophy is probably some thing like If you don't like what some one else has done, write your own. If you don't want to do that, then learn to live with what someone else has done :). Kent looking for some advice.. thx. -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
Kent Stewart [EMAIL PROTECTED] writes: make index portsdb -u The docs for portsdb mention portsdb -uU (or was it -Uu?). Is there a difference between portsdb -U and make index? What's that difference? Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Change Password from Windows using ctrl-alt-delete
Clay wrote: There doesn't seem to be anyone out there with a solution. I guess the moral of the story is don't run Samba 2.x on FreeBSD if you want your Sorry, I've just entered this mailing list and haven't read the other mails in this thread, but it should not be a problem at all to get this password sync to work. We use LDAP, so our config wouldn't help you, but a quick google-search leads to this example: FreeBSD 4 passwd chat for smb.conf: passwd chat = *New*password* %n\n *Retype*new**password* %n\n *password*has*been*changed* This has to be a single line of course. Put it into the [global] section of your smb.conf, together with a unix password sync = yes. Please read the smb.conf man page, it's all there. And please, don't let me see statements like don't run Samba 2.x on FreeBSD again, because I've been doing this for many years. Thank you... ;) cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with pam_ldap - ssh and file attributes
[EMAIL PROTECTED] wrote: Nevertheless the problem with file attributes persists. I have the same problem here. I guess that 'ls' doesn't care about nsswitch?! cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
On Wednesday 08 October 2003 02:01 pm, Kai Grossjohann wrote: Kent Stewart [EMAIL PROTECTED] writes: make index portsdb -u The docs for portsdb mention portsdb -uU (or was it -Uu?). Is there a difference between portsdb -U and make index? What's that difference? Kris has a script that checks make index. There isn't anything that checks portsdb -U. I also find that make index produces an INDEX.db with typically 1 port or more than portsdb -U does. I log the production of make index and I like to see a log like ruby# m make-index-20031008-1033.log Generating INDEX - please wait.. Done. Portsdb -U usually produces a lot more messages. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone using Linux-PAM on 5.x?
Joe Lewis wrote: Hello, all; I would like to take a moment of your time. I was having some heavy frustrations on preparing a FreeBSD 5.1 server for handling centrally located accounts using OpenPAM, particularly due to my inability to locate good documentation on it. I found that the problems : Oct 5 13:04:15 sharktooth login: in openpam_load_module(): no pam_mysql.so found Oct 5 13:04:15 sharktooth login: pam_start(): failed to load module Were NOT due to the misplacement of the module. Proper permissions were in place. The concerns I had were resolved when the following individuals (many, many, many thanks to these guru's) : Kris Kennaway Mikko Työläjärvi Nick Rogness Gave me pointers, advice, and properly illustrated what the problem was. For the archives sake, I am posting the results of that hassle here. The first of the problems were based on the fact that I was trying to port pam_mysql. This was failing because the mysqlclient library wasn't being located when the pam libraries were loaded. There had to be an -R/usr/local/lib/mysql added to the compilation/linker commands. Then I ran into the errors : Oct 6 19:22:09 sharktooth login: in openpam_dispatch(): pam_mysql.c: no pam_sm_authenticate() Oct 6 19:22:09 sharktooth login: in openpam_dispatch(): pam_mysql.c: no pam_sm_setcred() The functions were defined properly, and I used a number of different methods. That's when I was pointed to the Makefile as the problem. The end result switched from using ld as the linker to libtool. There are still bugs to work out, but the module is beginning to function. Again, I offer a sincere thanks to those individuals listed above for their responses. Joe Lewis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] god i cant get off this no matter how much i trypls someone help me lol ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Change Password from Windows using ctrl-alt-delete
On Wednesday 08 October 2003 23:15, Uwe Laverenz wrote: passwd chat = *New*password* %n\n *Retype*new**password* %n\n *password*has*been*changed* And please, don't let me see statements like don't run Samba 2.x on FreeBSD again, because I've been doing this for many years. Thank you... Just to add my 2 cents... this does NOT work, this is why the original poster asked for help. Password sync is broken under FreeBSD with samba-2.x, and this is not a configuration issue. I ran into the same issue a month ago and add to use samba-3. Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
the question
Hi FreeBSD team! I trying to install version 5.1 on my machine, wich is MSI mother of 2002, GeForce-4, AMD AthlonXP, HDD IBM Deskstar-60Gb, RAM 256 DDR, CDROM Samsung, CDRW Yamaha F1 and after when system starts to copying files on a hard drive,-every time the same trouble, in 70% system says: kernel panic: the buffer is allready inserted giving up after .. you can reboot your system.. I tried install the system from CDROM, Network, floppy-the same result. I tried to install that on different hard drive,-but did not succeed: the same message appear after 70% of files have been copying on the HD. Will appriciate any help, thx an advance,-Dmitry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with pam_ldap - ssh and file attributes
In the last episode (Oct 08), Uwe Laverenz said: [EMAIL PROTECTED] wrote: Nevertheless the problem with file attributes persists. I have the same problem here. I guess that 'ls' doesn't care about nsswitch?! /bin/ls is linked statically, which means it only knows about compat, files, nis, and dns; you can build a dynamic one, or step up and write an nscd daemon that static binaries can connect to for nss lookups :) -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
difficulties replacing bad libssl.so.3 with newly build libssl.so.3
Hello, all. I've got a machine running FreeBSD 4.8-RELEASE, and I need to upgrade it to fix the SSL, procfs issues that have come up lately. The machine's root partition lacks the space to accomodate world source and object files, so I have two symlinks for /usr/src and /usr/obj: /usr/src -- /usr/local/world_src /usr/obj -- /usr/local/world_obj I cvsupped RELENG_4_8 and it was all placed under /usr/local/world_src as I'd expected, and cd'ing into '/usr/src' I can see the same stuff as if I'd cd'd into /usr/local/world_src. No surprises there. (In the supfile, I have *default prefix=/usr. Dunno if that applies to this discussion.) I cd'd to /usr/src and issued the buildworld command. The build ran for a while and then finished. I took a look at the contents of '/usr/obj' (aka /usr/local/world_obj) and saw a directory hierarchy that matched my '/usr/local/world_src' path: [vmail:/usr/local/etc]$ ls -lR /usr/obj/|head -n 14 total 4 drwxr-xr-x 3 root wheel 512 Oct 8 13:38 usr/ /usr/obj/usr: total 4 drwxr-xr-x 3 root wheel 512 Oct 8 13:38 local/ /usr/obj/usr/local: total 4 drwxr-xr-x 16 root wheel 512 Oct 8 13:42 world_src/ /usr/obj/usr/local/world_src: total 64 drwxr-xr-x 32 root wheel 512 Oct 8 13:41 bin/ This struck me as wierd, but I figure it's the way it ought to be, so I moved on. One of my aims was to replace libssl.so.3 with a fixed version, so (after making a backup copy of the current /usr/lib/libssl.so.3) I placed /usr/obj/usr/local/world_src/secure/lib/libssl/libssl.so.3 into /usr/lib and then attempted an https connection to the server. (Apache's mod_ssl was dynamically linked against libssl.so.3). I found that my connection did not really work properly, creating errors such as these in the httpd error log: [Wed Oct 8 16:01:04 2003] [error] [client W.X.Y.Z] Invalid method in request \x80C\x01\x03 [Wed Oct 8 16:02:48 2003] [error] [client W.X.Y.Z] Invalid method in request \x16\x03 [Wed Oct 8 16:02:48 2003] [error] [client W.X.Y.Z] Invalid method in request \x16\x03 Clearly, I did something wrong, for when I replaced the prior libssl.so.3, my errors went away. I'm trying to understand now if the root problem is: 1) My '/usr/src' and '/usr/obj' symlinks. I can't see them being the problem, but I want leave no stone unturned. 2) Incorrect technique used to replace the libssl.so.3 library. (I am leery of running 'installworld' on this machine, as it is a production system, and I've never built the world on a production machine.) 3) Something else entirely. Any clues or pointers as to the cause of the problem would be greatly appreciated. With thanks, John -- +---+ | John Fox [EMAIL PROTECTED] |System Administrator | InfoStructure | +---+ |Gideon: I thought you said don't hold a grudge.| | Galen: I don't. I have no surviving enemies...at all. | | -- Crusdade, _Racing the Night_ | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD won't work on Toshiba Satellite 3000
What output does it produce? Do the bootfloppies work? Peschmä Am Mon, 06 Oct 2003 20:25:15 +0200 schrieb ATM: Dear Sir or Madame, I can't install FreeBSD 5.1 on my laptop (toshiba satellite 3000). The boot/installation CD stops during initiation. I am very willing to work on FreeBSD. What can I do about it?? Do you suppose it is a PNP (Plug N Play) problem? I have heard you need to turn that off in the BIOS. I have never encountered this so can't speak from experience though. jerry ATM __ Andrew T. Matuszczyk ICQ#: 11223504 Current ICQ status: + More ways to contact me ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
in message [EMAIL PROTECTED], wrote Bill Campbell thusly... Another one I use a lot in my ~.vimrc file is ``map F5 {!}fmt'' So you add other arguments to pass to fmt (for carriage-return character is missing).(?) which rewraps the current paragraph the cursor is in when I press the F5 key. Do you find vim's internal wrapping functions to be inadequate? Just curious. In my case, gq* commands work just fine except when it comes to putting each line, of a text block, in center. Then i use... center block with in 68 columns nmap EscE !}/usr/bin/fmt -c -68 This maps the key sequence ``{!}fmt'' to the F5 key ``{'' top of paragraph, ``!'' execute command ``}'' to bottom of paragraph, ``fmt'' the command to execute. For anybody else who is still reading, 'EscE' works as described above except the formatting point is the line containing the current position of the cursor. - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi and wrap text
On Wed, Oct 08, 2003, parv wrote: in message [EMAIL PROTECTED], wrote Bill Campbell thusly... Another one I use a lot in my ~.vimrc file is ``map F5 {!}fmt'' So you add other arguments to pass to fmt (for carriage-return character is missing).(?) I press ENTER manually just in case I change my mind. I also have a locally written version of fmt that will take a ``-q'' option to handle e- mail quoted text that removes the quotes, reformats, then puts a single level of quotes back on (nothing nearly as neat as Damian Conway's perl modules for formatting, but I've never gotten my head around them :-). which rewraps the current paragraph the cursor is in when I press the F5 key. Do you find vim's internal wrapping functions to be inadequate? Just curious. No, but often I hack the text enough so that it's got the jaggies, and this is a quick way to clean it up. In my case, gq* commands work just fine except when it comes to putting each line, of a text block, in center. Then i use... center block with in 68 columns nmap EscE !}/usr/bin/fmt -c -68 This maps the key sequence ``{!}fmt'' to the F5 key ``{'' top of paragraph, ``!'' execute command ``}'' to bottom of paragraph, ``fmt'' the command to execute. For anybody else who is still reading, 'EscE' works as described above except the formatting point is the line containing the current position of the cursor. The formatting commands of vi/vim are truly amazing, and I frequently learn new tricks after 20+ years of vi use. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Anyone who thinks Microsoft never does anything truly innovative isn't paying attention to the part of the company that pushes the state of its art: Microsoft's legal department.'' --Ed Foster, InfoWorld Gripe Line columnist ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup and portupgrade
On Wed, Oct 08, 2003 at 11:33:25AM -0700, David Bear wrote: I'm still trying to muddle through the loads of different ways to keep In addition to the other good advice given in this thread - when you get used to portupgrade remember to edit /usr/local/etc/pkgtools.conf. This file allows you to specify how portupgrade behaves when upgrading ports matching a pattern, say like 'www/mod_php4'. For example if you use mod_php4 and opt to run portupgrade on that port once a week, generally you will be told that the port is 'out of date', since the mod_php4 is updated generally once every few days. However if you allow portupgrade to just upgrade mod_php4 as it sees fit, it will not by default rebuild the port with all the options you chose originally. To get around this you can include options in /usr/local/etc/pkgtools.conf to specify which features you want mod_php4 to be built with when modified using portupgrade or portinstall, saving the hassle of having to 'make clean deinstall' and then 'make install' again, selecting all the options you want manually. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GAIM and Yahoo.
Although GAIM's website (http://gaim.sourceforge.net) doesn't mention that their client still doesn't work for Yahoo, I'm still unable to connect with the error that my username is invalid. Does anyone else still have this problem? -- Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 pgp0.pgp Description: signature
Re: GAIM and Yahoo.
On Wed, 8 Oct 2003, Eric F Crist wrote: Although GAIM's website (http://gaim.sourceforge.net) doesn't mention that their client still doesn't work for Yahoo, I'm still unable to connect with the error that my username is invalid. Does anyone else still have this problem? I'm runnin 0.70 here without any issues ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAIM and Yahoo.
On Wednesday 08 October 2003 07:50 pm, Marc G. Fournier wrote: On Wed, 8 Oct 2003, Eric F Crist wrote: Although GAIM's website (http://gaim.sourceforge.net) doesn't mention that their client still doesn't work for Yahoo, I'm still unable to connect with the error that my username is invalid. Does anyone else still have this problem? I'm runnin 0.70 here without any issues ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Are you doing anything special, such as building from source rather than ports or changing your username to userid@yahoo.com? -- Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 pgp0.pgp Description: signature
Re: GAIM and Yahoo.
On Wed, 8 Oct 2003, Eric F Crist wrote: On Wednesday 08 October 2003 07:50 pm, Marc G. Fournier wrote: On Wed, 8 Oct 2003, Eric F Crist wrote: Although GAIM's website (http://gaim.sourceforge.net) doesn't mention that their client still doesn't work for Yahoo, I'm still unable to connect with the error that my username is invalid. Does anyone else still have this problem? I'm runnin 0.70 here without any issues ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Are you doing anything special, such as building from source rather than ports or changing your username to userid@yahoo.com? built from ports, and nope ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAIM and Yahoo.
On Wednesday 08 October 2003 07:48 pm, Jon Reynolds wrote: ||snip|| This may be a stupid question but did you add the yahoo module in GAIM? Jon Actually, yeah. I seemed to remember somewhere, but forgot where and still can't find the comment, something about deleting the home/.gaim directory. I did this and everything works now! (YIM is still buggy, it dies with a read error if you copy/paste too much text at once) -- Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 pgp0.pgp Description: signature
Re: vi and wrap text
in message [EMAIL PROTECTED], wrote Bill Campbell thusly... I also have a locally written version of fmt that will take a ``-q'' option to handle e- mail quoted text that removes the quotes, reformats, then puts a single level of quotes back on I hear par(1) can out do both fmt(1) vim's wrapping functions. After installing it once, had not the time to pour over its (massive) documentation. So i personally have not used it, but i think it will/should fit you. (nothing nearly as neat as Damian Conway's perl modules for formatting, but I've never gotten my head around them :-). Quite a while ago, i had tried Text::Autoformat for a brief period, right inside a procmail recipe (to wrap the e-mail message bodies of those who do not), but it mangled the quoted text very badly of just about every message. (IIRC, in this context i became aware of par by the way.) Text::Autoformat does work quite good on regular text (non e-mail like text). - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAIM and Yahoo.
Content-Type: text/plain; charset=us-ascii Content-Description: signed data Content-Disposition: inline Although GAIM's website (http://gaim.sourceforge.net) doesn't mention that their client still doesn't work for Yahoo, I'm still unable to connect with the error that my username is invalid. Does anyone else still have this problem? Try deleting your yahoo account in Gaim and adding it again. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.1 installation panics with highpoint RAID
FreeBSD 5.1 installation panics with HighPoint drivers for the RocketRaid 133 host adapter with the following error message: hpt37x20: HPT372A UDMA/ATA133 RAID Controller port 0x8800-0x88ff,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 irq 3 at device 9.0 on pci0 Fatal trap 12: page fault while in kernel mode fault virtual address= 0x4c2425ff fault code = supervisor read, page not present instruction pointer = 0x8:0x4c2425ff stack pointer= 0x10:0xc0829b94 frame pointer= 0x10:0xc0829bb0 code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault Uptime: 1s Is there something I should do differently, or are there updated drivers available? I sent this message to highpoint where I got the drivers, but I haven't heard back yet. Thanks __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon printer, USB, setup? HOW?
On Wed, 8 Oct 2003 21:27:39 +0300, Alex Zivenko [EMAIL PROTECTED] wrote: Hi people. I am no a newbie but I had to setup parallel port connecting printers. Now I need to setup USB printer, Canon s200 model. How? mab y links. - The device will be ulptx rather than lptx. Cups and apsfilter from the ports both worked with my Canon i950 USB printer; apsfilter seemed to do a bit better with web pages. The fact that I know very little about Unix/FreeBSD is good news/not-so-bad news. Good: if I can do it, it can't be difficult. Not-so-bad: if you get stuck, someone else will have to help. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.9 RC2/swap file
hello all While attempting to perform a standard install, when commiting to write to the Hard drive I get unable to create swap file-press enter or space to continue but of course I tried to continue , completed the install but on initial boot 4.9 halted with bad super block magic number wrong I have only discovered this error in 4.9 is this a known bug? regards/ Semper Fi Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I dont have the sources in /usr/src ..how do i get the sources from Net .
___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LITE-ON cd-rw and 5.1-p10
What about the master slave pins on the drives, are they set right? Also the cable is in correctly right? What are the bios settings? Jason Stephen Cravey wrote: I've just cobbled together a new machine and purchased a LITE-ON LTR-52327S CD-RW for it. FreeBSD, however, seems unable to detect the drive. On boot, there is no acd device shown at all, however I do get an ACPI error. (dmesg will follow) I can boot from the 5.1-R install CD with no problem, however when I select cd/dvd as the install media, it claims that there is no dvd/cd drive found!?!?!. I also get a 'drive full error usually when i boot from CD and install from FTP as soon as the data starts writing to the hard drive. The fdisk and newfs stages seem to complete normally prior to this. I ended up installing from floppy. The seagate is the master and the lite-on is the slave on the primary bus. I'm using a new ata 66/100/133 cable. I plan to get a second ata cable this afternoon and try to put them on seperate busses, however i'm not sure that's the problem. Any suggestions on what I should look for or what might be wrong? Anything goes. Thank you. -Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell script--batch rename files
mvb (MV-Batch shell script) To the several people who wrote to me about my batch-rename shell script, and anyone else who may be interested, I have worked a lot on it the past few days and the latest version (1.5.5) and a screenshot and README is at: http://www.xscd.com/pub/mvb/ I'll try to keep subsequent versions, if any, in the same location. Because I am learning shell scripting, I appreciate any criticisms, comments or suggestions from more proficient programmers and users. The script works well for me, especially for quickly renaming image files that have been downloaded from my digital camera or from the Internet and sorted into directories by theme. Best wishes, Steve Doonan Portales, NM US -- A smooth sea has never made a good sailor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I dont have the sources in /usr/src ..how do i get the sources from Net .
On Thu, 9 Oct 2003 02:45 pm, Shrikant wrote nothing either install the source through /stand/sysinstall or use the cvsup program available as a port or a package. Regards, Jacob ___ JacobRhoden -- http://rhoden.id.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dial ppp problem
I'm a newbie I would like to for support to freebsd experts around the world, about my ppp problem I've got 2 computers: 1. Installed with freebsd 5.1 plus 1 external modem dynalink (33.6) , IP address 192.168.0.1 2. Installed with windows XP, IP address 192.168.0.2 the network with this 2 computers doesn't have any problem since I can ping both machines. everytime I execute the ppp command from the freebsd the modem will dial my ISP number however after dialling sequence and authentication, I still can't get to the net (ping, traceroute or whatever), I've been doing a lot of reseach in the net (google.com/bsd ; freebsd.org ; defcon1.org ; freebsddiarries ; etc) about my problem but probably I miss some important URLs if you guys can enlighten me I would be grateful. here's the log from the freebsd box Log modem --- Working in interactive mode Using interface: tun0 ppp ON jester term deflink: Entering terminal mode on /dev/cuaa0 Type `~?' for help atdt92238000 CARRIER 31200 PROTOCOL: LAP-M COMPRESSION: V.42BIS CONNECT 38400 User Access Verification login: Password: Entering PPP mode. Async interface address is unnumbered (FastEthernet0) Your IP address is 202.74.163.135. MTU is 1500 bytes Header compression is on. ppp ON jester PPp ON jester Warning: ff02:4::/32: Change route failed: errno: Network is unreachable PPP ON jester This morning I've tried to dial again i've got this error message from ppp PPP ON jester Oct 9 10:39:26 jester routed[229]: IP_ADD_MEMBERSHIP ALLHOSTS: Can't assign requested address Oct 9 10:39:26 jester routed[229]: setsopckopt(IP_ADD_MEMBERSHIP RIP): Can't assign requested address Oct 9 10:39:26 jester routed[229]: ignore RTM_CHANGE without mask ppp ON jester Oct 9 10:43:51 jester routed[229]: ignore RTM_CHANGE without mask ppp ON jester Oct 9 10:43:51 jester routed[229]: interface tun0 to 202.74.164.5 turned off ppp.log - Oct 8 17:11:53 jester ppp[577]: tun0: Command: /dev/ttyp0: term Oct 8 17:11:53 jester ppp[577]: tun0: Phase: bundle: Establish Oct 8 17:11:53 jester ppp[577]: tun0: Phase: deflink: closed - opening Oct 8 17:11:53 jester ppp[577]: tun0: Phase: deflink: Connected! Oct 8 17:11:53 jester ppp[577]: tun0: Phase: deflink: opening - carrier Oct 8 17:11:54 jester ppp[577]: tun0: Phase: deflink: /dev/cuaa0 doesn't support CD Oct 8 17:11:54 jester ppp[577]: tun0: Phase: deflink: carrier - ready Oct 8 17:12:36 jester ppp[577]: tun0: Phase: deflink: PPP packet detected, coming up Oct 8 17:12:36 jester ppp[577]: tun0: Phase: deflink: ready - carrier Oct 8 17:12:36 jester ppp[577]: tun0: Phase: deflink: carrier - lcp Oct 8 17:12:36 jester ppp[577]: tun0: LCP: FSM: Using deflink as a transport Oct 8 17:12:36 jester ppp[577]: tun0: LCP: deflink: State change Initial -- Closed Oct 8 17:12:36 jester ppp[577]: tun0: LCP: deflink: State change Closed -- Stopped Oct 8 17:12:37 jester ppp[577]: tun0: LCP: deflink: LayerStart Oct 8 17:12:37 jester ppp[577]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Oct 8 17:12:37 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:37 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:37 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x Oct 8 17:12:37 jester ppp[577]: tun0: LCP: MRU[4] 1500 Oct 8 17:12:37 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xbf3a62ae Oct 8 17:12:37 jester ppp[577]: tun0: LCP: deflink: State change Stopped -- Req-Sent Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: RecvConfigAck(1) state = Req-Sent Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MRU[4] 1500 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xbf3a62ae Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: State change Req-Sent -- Ack-Rcvd Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: RecvConfigReq(118) state = Ack-Rcvd Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x000a Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xc81b4317 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: SendConfigAck(118) state = Ack-Rcvd Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x000a Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xc81b4317 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: State change Ack-Rcvd -- Opened Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: LayerUp Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: SendIdent(0) state = Opened Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM bf3a62ae Oct 8 17:12:38 jester ppp[577]: tun0: LCP: TEXT user-ppp 3.1 (built Jun 5 2003) Oct 8
Re: I dont have the sources in /usr/src ..how do i get the sources from Net .
In the last episode (Oct 09), Shrikant said: cvsup is the easiest way. http://www.freebsd.org/doc/handbook/cvsup.html has instructions. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I dont have the sources in /usr/src ..how do i get the sources from Net .
On Thu, 9 Oct 2003, JacobRhoden wrote: On Thu, 9 Oct 2003 02:45 pm, Shrikant wrote nothing either install the source through /stand/sysinstall or use the cvsup program available as a port or a package. Regards, Jacob i use anonymous CVS to update src directory. And it is working ... :) --- Dwi Suharto System and Network Tech. Support| Software Developer STMIK AKAKOM Yogyakarta | GISA Dept. Reg. Yogyakarta Phone: 62-274-488237 ext. 192 | (PT Bakrie Brothers) Mobile: +62-8562836982 | Phone: 62-274-550426 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]