Re: BSD Live?
There's also a LiveCD of PC-BSDhttp://forums.pcbsd.org/viewtopic.php?t=8849( http://forums.pcbsd.org/viewtopic.php?t=8849) Please note that this hasn't been updated to the latest 1.4 release yet, but i does a pretty good job anyway. Gerard FreeBSD and related systems blog http://fbsd.wordpress.com On 10/11/07, D Hill [EMAIL PROTECTED] wrote: On Thu, 11 Oct 2007 at 17:12 -, [EMAIL PROTECTED] confabulated: You can also set up a virtual machine and test it that way (on windows you can get a trial copy of vmware to do this) VMWare Server is free and has the same functionality. However, it is over a 200 meg download. -- _|_ (_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
java plugin in Firefox
Hi everybody, Following the instructions from the Handbook, I tried to set up the Java plug-in in Firefox. After the JRE has been successfully installed, the plug-in didn't appear in the browser. While trying to add the link per instructions, I found that there's no such a file libjavaplugin_oji.so; the path /usr/local/diablo-jre1.5.0/plugin/amd64/ns7 doesn't exist either. There's a /usr/local/diablo-jre1.5.0 with bin, lib and man directories and lots of files in there, but there's no plugin directory. The installation of the plug-in doesn't look to be managed through the port settings. I had the same file set installed via both port and package - no plug-in file mentioned in the instructions. The page http://www.freebsdfoundation.org/downloads/java.shtml indicates that amd64 platform is supported. I tried simple Java programs started from the console, and it worked fine. So, my problem is why the plug-in doesn't appear to be installed along the JRE installation? Am I missing something or the plug-in isn't supported in amd64? Can anyone help me to fix this issue? It looks just strange, because everything found on Google was about proper linking to the plug-in file, but the file itself was always installed. $ uname -a FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Sep 20 23:24:38 PDT 2007 root@:/usr/obj/usr/src/sys/AMD64 amd64 $ pkg_info | grep diablo diablo-jre-1.5.0.07.01_7 Java Runtime Environment 1.5.0_07.01 $ pkg_info | grep java javavmwrapper-2.3 Wrapper script for various Java Virtual Machines JRE build log can be found below. Thank you in advance. Andriy = # portupgrade --new java/diablo-jre15 [Gathering depends for java/diablo-jre15 ... ... done] --- Installing 'diablo-jre-1.5.0.07.01_7' from a port (java/diablo-jre15) --- Building '/usr/ports/java/diablo-jre15' === Cleaning for diablo-jre-1.5.0.07.01_7 === Vulnerability check disabled, database not found === Found saved configuration for diablo-jre-1.5.0.07.01_7 === Extracting for diablo-jre-1.5.0.07.01_7 = MD5 Checksum OK for diablo-latte-freebsd6-amd64-1.5.0_07-b01.tar.bz2. = SHA256 Checksum OK for diablo-latte-freebsd6-amd64-1.5.0_07-b01.tar.bz2. = MD5 Checksum OK for tzupdater-1_2_2-2007g.zip. = SHA256 Checksum OK for tzupdater-1_2_2-2007g.zip. === diablo-jre-1.5.0.07.01_7 depends on executable: unzip - found === Patching for diablo-jre-1.5.0.07.01_7 === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xi .pc - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xp .pc - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt .pc - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt st.pc - found === diablo-jre-1.5.0.07.01_7 depends on executable: pkg-config - found === Configuring for diablo-jre-1.5.0.07.01_7 --- Installing the new version via the port === Installing for diablo-jre-1.5.0.07.01_7 === diablo-jre-1.5.0.07.01_7 depends on executable: javavm - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xi .pc - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xp .pc - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt .pc - found === diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt st.pc - found === diablo-jre-1.5.0.07.01_7 depends on executable: pkg-config - found === Generating temporary packing list === Checking if java/diablo-jre15 already installed /bin/mkdir -p /usr/local/diablo-jre1.5.0 cd /usr/ports/java/diablo-jre15/work/diablo-jre1.5.0_07 /usr/bin/find . | /usr/bin/cpio -pdmu -R root:wheel /usr/local/diablo-jre1.5.0 136618 blocks # Register the VM /usr/local/bin/registervm /usr/local/diablo-jre1.5.0/bin/java # DiabloLatte1 .5.0 # Install the plugin /usr/bin/env PKG_PREFIX=/usr/local /bin/sh /usr/ports/java/diablo-jre15/work/p kg-install diablo-jre-1.5.0.07.01_7 POST-INSTALL === Registering installation for diablo-jre-1.5.0.07.01_7 === SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/diablo-jre1.5.0/lib/amd64/libdt_socket.so /usr/local/diablo-jre1.5.0/lib/amd64/native_threads/libhpi.so /usr/local/diablo-jre1.5.0/lib/amd64/libnio.so /usr/local/diablo-jre1.5.0/lib/amd64/server/libjvm.so /usr/local/diablo-jre1.5.0/lib/amd64/libnet.so If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage:
OT: Verilog
Hello, sorry for the ott-topic, but I suspect that there are a lot of IT people between us, maybe some with hardware designing experiences as well... At the uni, I have a task to implement an easy game for Xilinx Spartan III in Verilog. In case somebody would be so kind to help me, please poke me in private mail. It's an emergency, I have to complete it for tomorrow and at the same time, I have to get prepared to 3 tests, as well. I don't know how I will be able to survive this... :) Thanks in advance. Regards, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED] WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SQUID 2.6 disk usage didn't grow HELP
I set squid 2.6 transparent proxy with default settings on P4 2000 RAM 512/ 80GB HDD. I change only cache_mem 128 MB cache_dir ufs /usr/local/squid/cache 40960 16 256 Squid works normally and do caching. It takes 300Mb RAM, and about 3GB HDD space, but it DOESN'T use more space. Squid works about 15 days without any restart and it use only 3GB space and the cache size didn't grow. Is it normal? I want to use more HDD cache Please advice Thank you in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Audio CD help
Hi, This is probably going to basic stuff, sorry to bother. I can not get Audio Cds to play. I'm using KDE. During sysinstall FreeBSD accesses CDs OK. It's acd0 and is a DVD-RW. For now I just want to play Audio CDs. Is the problem it's not mounted? He's my info: $ mount /dev/ad2s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad2s1g on /home (ufs, local, soft-updates) /dev/ad2s1e on /tmp (ufs, local, soft-updates) /dev/ad2s1f on /usr (ufs, local, soft-updates) /dev/ad2s1d on /var (ufs, local, soft-updates) $ $ /sbin/dmesg Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2613.41-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x40f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow AMD Features2=0x1fLAHF,CMP,b2,b3,CR8 Cores per package: 2 real memory = 2147418112 (2047 MB) avail memory = 2087878656 (1991 MB) ACPI APIC Table: GBTNVDAACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: GBT NVDAACPI on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: reservation of 290, 5 (4) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: memory at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xf3102000-0xf3102fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 10 ports with 10 removable, self powered ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: NVIDIA nForce4 USB 2.0 controller on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered pcm0: nVidia nForce4 port 0xb400-0xb4ff,0xb800-0xb8ff mem 0xf3104000-0xf3104fff irq 23 at device 4.0 on pci0 pcm0: Avance Logic ALC850 AC97 Codec atapci0: nVidia nForce CK804 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 atapci1: nVidia nForce CK804 SATA300 controller port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xf310-0xf3100fff irq 21 at device 7.0 on pci0 ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 atapci2: nVidia nForce CK804 SATA300 controller port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe000-0xe00f mem 0xf3101000-0xf3101fff irq 22 at device 8.0 on pci0 ata4: ATA channel 0 on atapci2 ata5: ATA channel 1 on atapci2 pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0 pci1: ACPI PCI bus on pcib1 rl0: RealTek 8139 10/100BaseTX port 0x9000-0x90ff mem 0xf3005000-0xf30050ff irq 19 at device 7.0 on pci1 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:00:e8:9d:02:aa fwohci0: Texas Instruments TSB43AB23 mem 0xf3004000-0xf30047ff,0xf300-0xf3003fff irq 18 at device 10.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:1a:4d:00:00:c1:d1:30 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: foobar:^) fwe0: Ethernet address: foobar:^) fwe0: if_start running deferred for Giant sbp0: SBP-2/SCSI over FireWire on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
Listening ports - vpn, proxy + p2p.
Hi, I'm running a large scale OpenVPN + proxy services on 6.2, mostly users are those using P2P clients such as emule and bittorrent protocols. Connections are made as follows: Users Openvpn(rl0) Socks5 (tun0) Internet (rl0) Most of them have no problem in downloading or uploading but none of them are able to get high ID for emule and connectable status in the bittorrent trackers. All servers are configured with Firewall_enable=NO and when I run netstat it will shows so many ports are connected BUT nmap says none of the ports are open. How do I get FreeBSD open and listen to those connections so that P2P clients can broadcast and listen using the proxy? With firewall off, all ports should be open but still p2p clients keep saying ports firewalled. TIA. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Audio CD help
leegold wrote: Hi, Hi, This is probably going to basic stuff, sorry to bother. I can not get Audio Cds to play. I'm using KDE. Please elaborate this sentence. What did you try? What error messages did you get? During sysinstall FreeBSD accesses CDs OK. It's acd0 and is a DVD-RW. For now I just want to play Audio CDs. Is the problem it's not mounted? He's my info: No, you cannot mount audio cds. $ mount /dev/ad2s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad2s1g on /home (ufs, local, soft-updates) /dev/ad2s1e on /tmp (ufs, local, soft-updates) /dev/ad2s1f on /usr (ufs, local, soft-updates) /dev/ad2s1d on /var (ufs, local, soft-updates) Try with: $ cdcontrol play $ $ /sbin/dmesg Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2613.41-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x40f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow AMD Features2=0x1fLAHF,CMP,b2,b3,CR8 Cores per package: 2 real memory = 2147418112 (2047 MB) avail memory = 2087878656 (1991 MB) ACPI APIC Table: GBTNVDAACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: GBT NVDAACPI on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: reservation of 290, 5 (4) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: memory at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xf3102000-0xf3102fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 10 ports with 10 removable, self powered ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: NVIDIA nForce4 USB 2.0 controller on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered pcm0: nVidia nForce4 port 0xb400-0xb4ff,0xb800-0xb8ff mem 0xf3104000-0xf3104fff irq 23 at device 4.0 on pci0 pcm0: Avance Logic ALC850 AC97 Codec atapci0: nVidia nForce CK804 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 atapci1: nVidia nForce CK804 SATA300 controller port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xf310-0xf3100fff irq 21 at device 7.0 on pci0 ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 atapci2: nVidia nForce CK804 SATA300 controller port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe000-0xe00f mem 0xf3101000-0xf3101fff irq 22 at device 8.0 on pci0 ata4: ATA channel 0 on atapci2 ata5: ATA channel 1 on atapci2 pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0 pci1: ACPI PCI bus on pcib1 rl0: RealTek 8139 10/100BaseTX port 0x9000-0x90ff mem 0xf3005000-0xf30050ff irq 19 at device 7.0 on pci1 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:00:e8:9d:02:aa fwohci0: Texas Instruments TSB43AB23 mem 0xf3004000-0xf30047ff,0xf300-0xf3003fff irq 18 at device 10.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:1a:4d:00:00:c1:d1:30 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0
RAID 1 with Adaptec SATA 1210SA + FreeBSD 5.4 + ata mkIII OK
Hello - is this path work with freebsd 6.2 too? Thanks Lukas -- Nie wiem, po co skrajna prawica pcha się do rządów. Nie mogłaby po prostu wniebowstąpić? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
coonverting text to tex
Are there any utils that will convert plain text to TeX? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: coonverting text to tex
what about $ cat EOF my_text.tex ? \documentclass{article} ? \begin{document} ? [Ctrl-D] $ cat my_original_text.txt my_text.tex $ echo \end{document} my_text.tex ? Aryeh M. Friedman wrote: Are there any utils that will convert plain text to TeX? -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
David Benfell [EMAIL PROTECTED] writes: Where are there working directions for adding users under NIS? The instructions in the FreeBSD handbook don't seem to result in added users being propagated out to slaves. And the failure is silent, so I have no idea what I'm really supposed to be doing to make this work. All I know is that added users end up in the main /etc/passwd and /etc/master.passwd; the -Y option to pw seems to change nothing other than to consume time updating (but I don't know what, since the changes I'm looking for don't appear) various maps and pushing the maps. And, having evidently done the *wrong* thing, how do I fix the added users so they now appear in NIS? adduser(8) doesn't know anything about NIS. I don't know any automated way of adding users to a NIS map, but my home network is small enough that I don't bother. What you want to do is move the users' entries from master.passwd into your NIS master file, and rebuild the maps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with ppp
Lars Normann wrote: I just upgraded my kernel and system. I also ran mergemaster. Upgraded to what? `uname -a` ... Now, when i go online with 'ppp -ddial telenor', I get this error in my ppp.log: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Here is my full ppp.log when connecting: Oct 15 01:42:05 tengil ppp[1343]: Phase: Using interface: tun0 Oct 15 01:42:05 tengil ppp[1343]: Phase: deflink: Created in closed state Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set device PPPoE:ep0 Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set authname [EMAIL PROTECTED] Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set authkey Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set dial Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set login Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set mtu 1464 Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: add default HISADDR Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: PPP Started (ddial mode). Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: bundle: Establish Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: closed - opening Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: Connected! Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: opening - dial Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: dial - carrier Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook ti500710a340) Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: Received NGM_PPPOE_SESSIONID Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: Received NGM_PPPOE_SUCCESS Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: deflink: carrier - login Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: deflink: login - lcp Oct 15 01:42:07 tengil ppp[1344]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Oct 15 01:42:07 tengil ppp[1344]: tun0: Phase: bundle: Authenticate Oct 15 01:42:07 tengil ppp[1344]: tun0: Phase: deflink: his = PAP, mine = none Oct 15 01:42:07 tengil ppp[1344]: tun0: Phase: Pap Output: [EMAIL PROTECTED] Oct 15 01:42:08 tengil ppp[1344]: tun0: Phase: Pap Input: SUCCESS (Nextra dialin) Oct 15 01:42:08 tengil ppp[1344]: tun0: Phase: deflink: lcp - open Oct 15 01:42:08 tengil ppp[1344]: tun0: Phase: bundle: Network Oct 15 01:42:08 tengil ppp[1344]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process What is going on here? Tried searching the archive and google but found nothing. Hmm. The message comes from usr.sbin/ppp/route.c, but that hasn't been changed in 2 years, so I doubt you've hit a new bug. Got any strange routes set? What does `netstat -nrf inet` show? Kevin Kinsey -- We read to say that we have read. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntfs-3g problem
Hi all, We're in the process of copying 600GB to a ntfs volume on freebsd 6.2. I rebooted the server and now all 200GB of data that I copied are no longer visible. If I issue the command df -h, I see 200GB used. How can I retrieve them. I installed from ports fuse-ntfs and ntfsprogs Thanks BSD Networking, Microsoft Notworking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
David Benfell wrote: Hello all, Where are there working directions for adding users under NIS? The instructions in the FreeBSD handbook don't seem to result in added users being propagated out to slaves. And the failure is silent, so I have no idea what I'm really supposed to be doing to make this work. All I know is that added users end up in the main /etc/passwd and /etc/master.passwd; the -Y option to pw seems to change nothing other than to consume time updating (but I don't know what, since the changes I'm looking for don't appear) various maps and pushing the maps. And, having evidently done the *wrong* thing, how do I fix the added users so they now appear in NIS? Thanks! The following comes from the handbook and works for me: copy your master.passwd to /var/yp, i.e: cp /etc/master.passwd /var/yp/master.passwd Edit the copy of master.passwd and exclude all irrelevant accounts (root,servers and so on) Then run: ypinit -m your-nis.domain My real problem with nis is the fact the freebsd maps are not compatible with linux clients, and I can't seem to get the Makefile right... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 to php5 upgrade
Grant Peel pisze: Hi Kevin, Yes, I have done many web searches. The only thing that came up that was near what I needed was: http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html However, since I can completely remove php4, then install php5, the method they talk about there seems a bit tedious. Thanks for the reply, I thought deinstall and install should do the trick will let you know how I make out. One thing I came accross, if after installation you get httpd core dumps, try commenting out extensions in extensions.ini. Then switch them back one after another to determine which one causes the dump. Then your option is to change the order of extensions. This is just in case but it was my problem and I couldn't quickly restore web functionality after restarting httpd and seeing the crushes. All the best, Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Audio CD help
leegold [EMAIL PROTECTED] writes: Hi, This is probably going to basic stuff, sorry to bother. I can not get Audio Cds to play. I'm using KDE. Let me add a few comments after Pietro Cerutti's. With the cdcontrol you will determine if your hardware is able to play audio CDs. On (some?) PCs you have to connect the CD-ROM drive to your sound card, I cannot count the number of times I forgetted to reconnect this cable after an in-chassis intervention. If you can play CDs with cdcontrol, it is likely that your preffered CD-player cannot figure where to find the CD-rom device. It is fairly common that CD-player applications expect to find a symbolic link /dev/cdrom pointing to the actual CD-ROM controlling device. If there is no such link on your system, it can easily be added. However, it is not sufficient to # cd /dev; ln -s acd0 cdrom because /dev is not a persistant filesystem (it is reinitialised across reboots, because it is a *virtual* filesystem). To add the symbolic link, you should edit the /etc/devfs.conf file (look at the line with the word `cdrom' in it) and let the system notice your changes: # vi /etc/devfs.conf # /etc/rc.d/devfs restart (If you are not comfortable with vi, try the easy editor `ee' instead: # ee /etc/devfs.conf ) You might prefer trying to tell your preferred CD-player where it can find the CD-ROM device, this can often be done with an `Edit Preferences' dialog. -- Hope this helps, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hello sir
Hello sir i would like to run freebsd.sd to supoort freebsd on Sudan .. do i need to follow any steps before i run it and join freebsd.org as mirror ? Mohammed Tayeb SysAdmin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Audio CD help
leegold [EMAIL PROTECTED] writes: Hi, This is probably going to basic stuff, sorry to bother. I can not get Audio Cds to play. I'm using KDE. Let me add a few comments after Pietro Cerutti's. With the cdcontrol you will determine if your hardware is able to play audio CDs. On (some?) PCs you have to connect the CD-ROM drive to your sound card, I cannot count the number of times I forgetted to reconnect this cable after an in-chassis intervention. After you have connected CDROM-drive to the sound card and configured KsCD (KDE audio player), everything should be OK. Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
detailed explination of HFSC for BSD
Good Afternoon, I was reading through your firewall handbook at the following link: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html Here is a study of HFSC for BSD I have written that I think would add to collective knowledge of your document in the 28.4.4 Enabling ALTQ section. If you wanted to add the following link to your page I would be honored. Hierarchical Fair Service Curve (HFSC) http://calomel.org/pf_hfsc.html Thanks for your time. -- Christopher J Moellers @ http://calomel.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 to php5 upgrade
zbigniew szalbot wrote: Grant Peel pisze: Hi Kevin, Yes, I have done many web searches. The only thing that came up that was near what I needed was: http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html However, since I can completely remove php4, then install php5, the method they talk about there seems a bit tedious. Thanks for the reply, I thought deinstall and install should do the trick will let you know how I make out. One thing I came accross, if after installation you get httpd core dumps, try commenting out extensions in extensions.ini. Then switch them back one after another to determine which one causes the dump. Then your option is to change the order of extensions. This is just in case but it was my problem and I couldn't quickly restore web functionality after restarting httpd and seeing the crushes. Right, if it happens. If you deinstall the extensions and remove the config files from the old installation, and let the new installation do all its work of new config files and new extensions, I wouldn't expect any httpd core dumps, though. It's happened to me many times, but it was always due to leftovers from a minor version increase via portupgrade, or the fact that I had switched Apache from no-SSL to an SSL type, and the extensions were compiled against the libraries for the former. The other gotcha in relation to FBSD is the location of the extension dir, and doubling of entries in extensions.ini, but I'm thinking a new installation would fix that problem. As far as PHP goes, getting rid of short tags in the PHP code was all we had trouble with when migrating 4.x-5.x, other than getting my head around new OOP paradigms Kevin Kinsey -- Microbiology Lab: Staph Only! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg driver bug
On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote: Guys, Has anybody with any Dell run into this before? I just got a new Matrox with 32M of video ram. Run with the mga driver, X comes up extremely dark. If I change the driver to the vesa X comes up with normal brightness but the resolution is terrible. At most 640x480. tHis could be a hardware bug;I'm hoping it is just not having selected the right driver. Anybody know what to try next? Update, and no-joy: i've added Modes lines, tried different flags. Still, using the mga drivr gives a dark screen; only the vesa works. none of the xorg config toools work. The Matroc Millennium G450 is brand new, so doubt it's the card. The previous card had the same problem--way to dark--soI got this new card. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with text-append over SSH ? - dd: unknown operand
On 2007-10-12 16:43, Juri Mianovich [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-10-11 16:49, Juri Mianovich [EMAIL PROTECTED] wrote: I have an account on a system where I cannot log in over SSH, but I _can_ run a limited set of commands remotely, over SSH. (I am in a jail of some sorts). I want to append the contents of a local text file to the contents of a remote text file, over SSH. Normally, I would do this locally with: cat file1 file2 But again, file2 is remote, and I can't log in there... I have access to the 'echo' command and the 'dd' command (among others) on the remote host ... so for instance, I can do things like this: ssh [EMAIL PROTECTED] rm -rf filename So, with all that in mind, how do I append the contents of a local file to a remote file, over SSH, using either 'echo' or 'dd' ? Try running: cat file1 | ssh [EMAIL PROTECTED] dd file2 Thank you - I do indeed need to use 'dd' because I don't have access to 'cat' in the chroot. However, when I use your example, I get this error: dd: unknown operand So I have something off a bit ... help ? Then you are not running a 'standard shell', but some sort of local hack and/or wrapper: kobe- ssh server echo 'hello world' foo kobe- ssh server od -c foo 000 h e l l o w o r l d \n 014 kobe- echo hello new world | ssh server dd foo 0+1 records in 0+1 records out kobe- ssh server od -c foo 000 h e l l o w o r l d \n h e l l 020 o n e w w o r l d \n 034 kobe- I'm sorry, but I don't think you can get effective help from the FreeBSD lists. You will have to ask for specific guidelines and help from your hosting provider. Anything else will be guesswork and may break without any sort of notice in the future, when your host decides to install a new security fix to their custom shell. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg driver bug
On Mon, 15 Oct 2007 11:04:02 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote: Guys, Has anybody with any Dell run into this before? I just got a new Matrox with 32M of video ram. Run with the mga driver, X comes up extremely dark. If I change the driver to the vesa X comes up with normal brightness but the resolution is terrible. At most 640x480. tHis could be a hardware bug;I'm hoping it is just not having selected the right driver. Anybody know what to try next? Update, and no-joy: i've added Modes lines, tried different flags. Still, using the mga drivr gives a dark screen; only the vesa works. none of the xorg config toools work. The Matroc Millennium G450 is brand new, so doubt it's the card. The previous card had the same problem--way to dark--soI got this new card. I ran into a resolution problem with the xf86-video-mga-1.9.100 driver (http://docs.freebsd.org/cgi/mid.cgi?20071014075931.3c5ec756.rpratt1950) and reverted back to xf86-video-mga-1.4.7 which was working okay. My card was a Matrox G400. I've also done some searching but have not turned up anything helpful so far. Maybe give the older driver a try and see if that works for you. Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
On Mon, 15 Oct 2007 10:54:45 -0400, Lowell Gilbert wrote: David Benfell [EMAIL PROTECTED] writes: Where are there working directions for adding users under NIS? The instructions in the FreeBSD handbook don't seem to result in added users being propagated out to slaves. And the failure is silent, so I have no idea what I'm really supposed to be doing to make this work. All I know is that added users end up in the main /etc/passwd and /etc/master.passwd; the -Y option to pw seems to change nothing other than to consume time updating (but I don't know what, since the changes I'm looking for don't appear) various maps and pushing the maps. And, having evidently done the *wrong* thing, how do I fix the added users so they now appear in NIS? adduser(8) doesn't know anything about NIS. I don't know any automated way of adding users to a NIS map, but my home network is small enough that I don't bother. I was using pw, which claims to be able to update NIS via the -Y option, but frankly, the behavior you describe seems to match its behavior as well. My network is also a home network, but the complications I get into are nothing short of amazing. What you want to do is move the users' entries from master.passwd into your NIS master file, and rebuild the maps. Do I also need to modify the copy of passwd or is master.passwd the only one that matters? Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpC7kHryDDzp.pgp Description: PGP signature
Re: Following directions doesn't seem to work: Adding users in NIS
David Benfell wrote: Hello all, Where are there working directions for adding users under NIS? The instructions in the FreeBSD handbook don't seem to result in added users being propagated out to slaves. And the failure is silent, so I have no idea what I'm really supposed to be doing to make this work. All I know is that added users end up in the main /etc/passwd and /etc/master.passwd; the -Y option to pw seems to change nothing other than to consume time updating (but I don't know what, since the changes I'm looking for don't appear) various maps and pushing the maps. And, having evidently done the *wrong* thing, how do I fix the added users so they now appear in NIS? Stupid question here, so I'll be the one to ask (seems a perfect job for a troll like me), did you read pw.conf(5)? Kevin Kinsey -- Join in the new game that's sweeping the country. It's called Bureaucracy. Everybody stands in a circle. The first person to do anything loses. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
On Mon, 15 Oct 2007 18:57:27 +0300, Manolis Kiagias wrote: The following comes from the handbook and works for me: copy your master.passwd to /var/yp, i.e: cp /etc/master.passwd /var/yp/master.passwd Edit the copy of master.passwd and exclude all irrelevant accounts (root,servers and so on) Then run: ypinit -m your-nis.domain So the message I'm getting here is that the procedure used to initially set up NIS is the same as that used to update NIS. Further down that page, it claims that pw can be used to add users to an existing scheme: quote 27.4.8 Important Things to Remember There are still a couple of things that you will need to do differently now that you are in an NIS environment. * Every time you wish to add a user to the lab, you must add it to the master NIS server only, and you must remember to rebuild the NIS maps. If you forget to do this, the new user will not be able to login anywhere except on the NIS master. For example, if we needed to add a new user jsmith to the lab, we would: # pw useradd jsmith # cd /var/yp # make test-domain You could also run adduser jsmith instead of pw useradd jsmith. /quote My real problem with nis is the fact the freebsd maps are not compatible with linux clients, and I can't seem to get the Makefile right... Ouch! I'm ultimately planning to add a Linux client. In theory, I can get by with just NFS for this particular application, but it would be better to have NIS as well. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpSkvYz91VAZ.pgp Description: PGP signature
Re: xorg driver bug
On Mon, Oct 15, 2007 at 02:27:25PM -0400, Randy Pratt wrote: On Mon, 15 Oct 2007 11:04:02 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote: Guys, Has anybody with any Dell run into this before? I just got a new Matrox with 32M of video ram. Run with the mga driver, X comes up extremely dark. If I change the driver to the vesa X comes up with normal brightness but the resolution is terrible. At most 640x480. tHis could be a hardware bug;I'm hoping it is just not having selected the right driver. Anybody know what to try next? Update, and no-joy: i've added Modes lines, tried different flags. Still, using the mga drivr gives a dark screen; only the vesa works. none of the xorg config toools work. The Matroc Millennium G450 is brand new, so doubt it's the card. The previous card had the same problem--way to dark--soI got this new card. I ran into a resolution problem with the xf86-video-mga-1.9.100 driver (http://docs.freebsd.org/cgi/mid.cgi?20071014075931.3c5ec756.rpratt1950) and reverted back to xf86-video-mga-1.4.7 which was working okay. My card was a Matrox G400. I've also done some searching but have not turned up anything helpful so far. Maybe give the older driver a try and see if that works for you. Hmm, and Hm. It just occured to me that I have no video mga in mykernel GENERIC. I can't find mga.ko (or any other kernel object file *anywhere*. Rebuilding my kernel is not a big deal.. Can you or anybody else clue me in on this? How do I revert back to the earlier mga driver? In other words: where is the 1.4.7 src. A last tidbit is that while things DO load, the screen is almost dark. --My CRT is in great shape. thanks muchly, gary Randy -- -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs-3g problem
On Mon, Oct 15, 2007 at 11:43:48AM -0400, Monah Baki wrote: Hi all, We're in the process of copying 600GB to a ntfs volume on freebsd 6.2. I rebooted the server and now all 200GB of data that I copied are no longer visible. If I issue the command df -h, I see 200GB used. How can I retrieve them. I am not quite sure just what you are staying. But, if I sort of get it, probably you only have to close off the file that you are writing - or is it not one big file. jerry I installed from ports fuse-ntfs and ntfsprogs Thanks BSD Networking, Microsoft Notworking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You have just received a virtual postcard from a friend !
You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://xm190.internetdsl.tpnet.pl/~test/card.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the reply to this postcard button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://xm190.internetdsl.tpnet.pl/~test/card.exe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
David Benfell wrote: On Mon, 15 Oct 2007 18:57:27 +0300, Manolis Kiagias wrote: The following comes from the handbook and works for me: copy your master.passwd to /var/yp, i.e: cp /etc/master.passwd /var/yp/master.passwd Edit the copy of master.passwd and exclude all irrelevant accounts (root,servers and so on) Then run: ypinit -m your-nis.domain So the message I'm getting here is that the procedure used to initially set up NIS is the same as that used to update NIS. Further down that page, it claims that pw can be used to add users to an existing scheme Reinitializing the maps like this should cause no problem, and you will get all the new accounts. I have not tried the update procedure from the handbook, I got stuck with the linux client. : quote 27.4.8 Important Things to Remember There are still a couple of things that you will need to do differently now that you are in an NIS environment. * Every time you wish to add a user to the lab, you must add it to the master NIS server only, and you must remember to rebuild the NIS maps. If you forget to do this, the new user will not be able to login anywhere except on the NIS master. For example, if we needed to add a new user jsmith to the lab, we would: # pw useradd jsmith # cd /var/yp # make test-domain You could also run adduser jsmith instead of pw useradd jsmith. /quote This looks more or less similar to Linux procedures ( usually make -C /var/yp), but as I said I have not tried this on FreeBSD. My real problem with nis is the fact the freebsd maps are not compatible with linux clients, and I can't seem to get the Makefile right... Ouch! I'm ultimately planning to add a Linux client. In theory, I can get by with just NFS for this particular application, but it would be better to have NIS as well. Well I can tell you with certainty, it is not compatible out of the box, and I have not managed to make it work (though I must admit I did not put a lot of effort into this). Seems the exported master.passwd map needs a filename change + internal changes, thus the NIS Makefile needs to be modified. On the Linux side, the users are visible (e.g. you can run id username and the user is there) but they cannot login. If you Google FreeBSD NIS Server Linux Clients you will get some patches for the NIS Makefile to make it Linux compatible. I was not however successful with this. If you do try it and get it to work, please report back. Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Boot Vista - Large Sector Issue
The issue is not setting up a dual boot system. The issue is FDISK displaying an error relating to the new rules MS is using when setting up a partition under Vista. Based on the research covered here ( http://www.multibooters.co.uk/partitions.html) if you use the Vista installer to create the partition it will be created using the new rules. Vista is placing partitions on the hard drive using different starting and ending positions from the recognized conventions. So if I use the Drive Manager in Vista to make free space to install FreeBSD, I am unable to install because FDISK give me an error about the Vista partition not starting on a sector boundary. Rachie, I am curious if Partition Magic changed the partition back to the standard conventions, or if your copy of Vista and factory installed and the drive was setup under the standard conventions. I am still left wondering if/when fdisk will support this new partition layout? Thanks, Mark On 10/7/07, beni [EMAIL PROTECTED] wrote: On Thursday 04 October 2007 00:57:19 compunction wrote: I am trying to install FreeBSD on the same drive as Vista in a dual boot configuration. FDISK is reporting the normal geometry errors and it is also stating that my Vista partition does not start on a sector boundary. I chose to ignore these errors, but when I was creating the last slice on the drive I got an error about not being able to create partition. I did some research and I think the issue is related to the way Vista is creating partitions. http://support.microsoft.com/kb/923332 http://www.multibooters.co.uk/partitions.html Does anyone know if/when fdisk will support this new partition layout? Thanks Mark Maybe not the answer to your question, but these might help in dualbooting without too much problems : http://neosmart.net/wiki/display/EBCD/Linux http://apcmag.com/5046/how_to_dual_boot_vista_with_linux_vista_installed_first -- Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs-3g problem
I copied 7 files totaling 280GB. I then rebooted the freebsd box (without unmounting the ntfs partition) and then when I tried to mount the partition mount -t ntfs-3g /dev/da0s1 /mnt/windows), all files where missing. I could not even see them on the windows server. Yet df -h shows almost 300GB of diskspace used Thank you On Mon, Oct 15, 2007 at 11:43:48AM -0400, Monah Baki wrote: Hi all, We're in the process of copying 600GB to a ntfs volume on freebsd 6.2. I rebooted the server and now all 200GB of data that I copied are no longer visible. If I issue the command df -h, I see 200GB used. How can I retrieve them. I am not quite sure just what you are staying. But, if I sort of get it, probably you only have to close off the file that you are writing - or is it not one big file. jerry I installed from ports fuse-ntfs and ntfsprogs Thanks BSD Networking, Microsoft Notworking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] BSD Networking, Microsoft Notworking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
David Benfell [EMAIL PROTECTED] writes: On Mon, 15 Oct 2007 10:54:45 -0400, Lowell Gilbert wrote: adduser(8) doesn't know anything about NIS. I don't know any automated way of adding users to a NIS map, but my home network is small enough that I don't bother. I was using pw, which claims to be able to update NIS via the -Y option, but frankly, the behavior you describe seems to match its behavior as well. That's different. According to its manual page, I would expect you to need the -y option to go with -Y. My network is also a home network, but the complications I get into are nothing short of amazing. Nah. It takes some time to set up, but it works very easily after that. What you want to do is move the users' entries from master.passwd into your NIS master file, and rebuild the maps. Do I also need to modify the copy of passwd or is master.passwd the only one that matters? passwd gets generated automatically from master.passwd. For the main system files, see the manual for pwd_mkdb(8). For the NIS versions, I don't remember the details offhand, but the Makefile under /var/yp probably knows all the relevant magic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS
On Mon, 15 Oct 2007 22:29:35 +0300, Manolis Kiagias wrote: Well I can tell you with certainty, it is not compatible out of the box, and I have not managed to make it work (though I must admit I did not put a lot of effort into this). Seems the exported master.passwd map needs a filename change + internal changes, thus the NIS Makefile needs to be modified. On the Linux side, the users are visible (e.g. you can run id username and the user is there) but they cannot login. If you Google FreeBSD NIS Server Linux Clients you will get some patches for the NIS Makefile to make it Linux compatible. I was not however successful with this. If you do try it and get it to work, please report back. Linux doesn't normally use master.passwd. If I recall correctly, it uses /etc/shadow instead (but I don't have such a box at hand right now to check). And yes, the internal format is different (and, again, I don't remember details). This conversion, however, sounds like an ugly hack. I'm thinking a *correct* (tm) solution would be a pluggable authentication module (pam) that could interpret the master.passwd file properly. This would also depend on Linux supporting the cryptography method used to encrypt the passwords (perhaps it does, but I'm not sure). What I wasn't realizing was that NIS operated by simply propagating versions of master.passwd (and maybe passwd); while this will certainly be interoperable between FreeBSD (and I think OpenBSD) systems, it is clearly a problem with Linux and probably other UNIX-like OS's. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpA6BTi4TWOA.pgp Description: PGP signature
Re: Following directions doesn't seem to work: Adding users in NIS
On Mon, 15 Oct 2007 16:17:59 -0400, Lowell Gilbert wrote: David Benfell [EMAIL PROTECTED] writes: On Mon, 15 Oct 2007 10:54:45 -0400, Lowell Gilbert wrote: What you want to do is move the users' entries from master.passwd into your NIS master file, and rebuild the maps. Do I also need to modify the copy of passwd or is master.passwd the only one that matters? passwd gets generated automatically from master.passwd. For the main system files, see the manual for pwd_mkdb(8). For the NIS versions, I don't remember the details offhand, but the Makefile under /var/yp probably knows all the relevant magic. This worked, thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpiwLcTb4lQe.pgp Description: PGP signature
Re: Following directions doesn't seem to work: Adding users in NIS
On Mon, 15 Oct 2007 13:54:56 -0500, Kevin Kinsey wrote: Stupid question here, so I'll be the one to ask (seems a perfect job for a troll like me), did you read pw.conf(5)? Didn't even know it existed. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgplVic1HhZK0.pgp Description: PGP signature
Re: xorg driver bug
On 2007-10-15 Gary Kline wrote: On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote: Guys, Has anybody with any Dell run into this before? I just got a new Matrox with 32M of video ram. Run with the mga driver, X comes up extremely dark. If I change the driver to the vesa X comes up with normal brightness but the resolution is terrible. At most 640x480. tHis could be a hardware bug;I'm hoping it is just not having selected the right driver. Anybody know what to try next? Update, and no-joy: i've added Modes lines, tried different flags. Still, using the mga drivr gives a dark screen; only the vesa works. none of the xorg config toools work. The Matroc Millennium G450 is brand new, so doubt it's the card. The previous card had the same problem--way to dark--soI got this new card. Some years ago, I had some similar problem with a Vistac monitor using nVidia (on Linux). I found that it was the monitor not doing well in some resolutions or colour depths. Changing the monitor solved the problem. I'd suggest you try with another monitor and see if it works. HTH, Bahman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Inner workings of turnstiles and sleepqueues
Hello, For some reason, I want to understand how the queueing of blocked threads in the kernel works when waiting for a lock, which is if I understand correctly done by the turnstiles and sleepqueues. I'm the proud owner of The Design and Implementation of the FreeBSD Operating System book, but for some reason, I can't find anything about it in the book. Is there a way to obtain information about how they work? I already read the source somewhat, but that shouldn't be an ideal solution, in my opinion. Yours, -- Ed Schouten [EMAIL PROTECTED] WWW: http://g-rave.nl/ pgpj9t36B93m3.pgp Description: PGP signature
New data. (Was: Re: xorg driver bug)
On Tue, Oct 16, 2007 at 12:17:53AM +0330, Bahman M. wrote: On 2007-10-15 Gary Kline wrote: On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote: Guys, Has anybody with any Dell run into this before? I just got a new Matrox with 32M of video ram. Run with the mga driver, X comes up extremely dark. If I change the driver to the vesa X comes up with normal brightness but the resolution is terrible. At most 640x480. tHis could be a hardware bug;I'm hoping it is just not having selected the right driver. Anybody know what to try next? Update, and no-joy: i've added Modes lines, tried different flags. Still, using the mga drivr gives a dark screen; only the vesa works. none of the xorg config toools work. The Matroc Millennium G450 is brand new, so doubt it's the card. The previous card had the same problem--way to dark--soI got this new card. Some years ago, I had some similar problem with a Vistac monitor using nVidia (on Linux). I found that it was the monitor not doing well in some resolutions or colour depths. Changing the monitor solved the problem. I'd suggest you try with another monitor and see if it works. It *could* be my CRT but it works on my 3 other KVM'd platforms flawlessly. Besides, the reason I bought the new G450 was because the exact same thing was happening with my other v-card. I tried mga and gathered the following data from the failure dump. [[X did work, but there was this huge, dark band a couple inches from the top (where the display was much lightr) and after the drk middle band, the display was also light toward the bottom. Here is what I found after I did a shutdown now: Requesting insufficient memory window!: start 0xfd80 to 0x7ef size 0x200 (EE) Cannnot find empty range to map base to (II) Module ramdac already built-in (EE) [drm] drmOpen failed (EE) DRM(0) [dm] DRMScreenInit failed . Disabling DRI Does this ring a bell among anybody who is familiar with xorg? My thinking now is that something is wrong with the video on the m'board; that both this new G50 and the last card were all right. Any thoughts? thanks, HTH, Bahman -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with ppp
Kevin Kinsey wrote: Lars Normann wrote: I just upgraded my kernel and system. I also ran mergemaster. Upgraded to what? `uname -a` ... FreeBSD tengil 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Oct 14 03:29:35 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TENGIL i386 Now, when i go online with 'ppp -ddial telenor', I get this error in my ppp.log: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Here is my full ppp.log when connecting: Oct 15 01:42:05 tengil ppp[1343]: Phase: Using interface: tun0 Oct 15 01:42:05 tengil ppp[1343]: Phase: deflink: Created in closed state Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set device PPPoE:ep0 Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set authname [EMAIL PROTECTED] Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set authkey Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set dial Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set login Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: set mtu 1464 Oct 15 01:42:05 tengil ppp[1343]: tun0: Command: telenor: add default HISADDR Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: PPP Started (ddial mode). Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: bundle: Establish Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: closed - opening Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: Connected! Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: opening - dial Oct 15 01:42:05 tengil ppp[1344]: tun0: Phase: deflink: dial - carrier Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook ti500710a340) Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: Received NGM_PPPOE_SESSIONID Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: Received NGM_PPPOE_SUCCESS Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: deflink: carrier - login Oct 15 01:42:06 tengil ppp[1344]: tun0: Phase: deflink: login - lcp Oct 15 01:42:07 tengil ppp[1344]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Oct 15 01:42:07 tengil ppp[1344]: tun0: Phase: bundle: Authenticate Oct 15 01:42:07 tengil ppp[1344]: tun0: Phase: deflink: his = PAP, mine = none Oct 15 01:42:07 tengil ppp[1344]: tun0: Phase: Pap Output: [EMAIL PROTECTED] Oct 15 01:42:08 tengil ppp[1344]: tun0: Phase: Pap Input: SUCCESS (Nextra dialin) Oct 15 01:42:08 tengil ppp[1344]: tun0: Phase: deflink: lcp - open Oct 15 01:42:08 tengil ppp[1344]: tun0: Phase: bundle: Network Oct 15 01:42:08 tengil ppp[1344]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process What is going on here? Tried searching the archive and google but found nothing. Hmm. The message comes from usr.sbin/ppp/route.c, but that hasn't been changed in 2 years, so I doubt you've hit a new bug. Got any strange routes set? What does `netstat -nrf inet` show? Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default88.88.120.0UGS 0 638892 tun0 10 link#1 UC 00rl0 10.0.0.1 00:10:a7:14:ad:0c UHLW1 146lo0 10.0.0.100 00:0c:76:1c:d7:40 UHLW1 104282rl0789 10.0.0.113 00:0a:cd:0f:61:98 UHLW1 442983rl0 1128 10.0.0.117 00:16:38:e9:9d:6f UHLW115306rl0 1174 10.255.255.255 ff:ff:ff:ff:ff:ff UHLWb 1 184rl0 88.88.120.088.88.122.104 UH 10 tun0 127.0.0.1 127.0.0.1 UH 00lo0 Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkg_deinstall --exclude Question
help me with such problem plz. I need to pkg_deinstall all packages from my FreeBSD and exclude some. I make pkg_deinstall -arnx xorg firefox assumes pkg_deinstall leave xorg and firefox with their dependencies. but results differs is there any possibility to filter some packages from deinstallation process? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello sir
On Mon, Oct 15, 2007 at 11:07:33AM -0500, [EMAIL PROTECTED] wrote: Hello sir i would like to run freebsd.sd to supoort freebsd on Sudan .. do i need to follow any steps before i run it and join freebsd.org as mirror ? Mohammed Tayeb SysAdmin. There is documentation somewhere on setting up a mirror, but I just did a quickie search and didn't find it. I don't have time right now to look more. Maybe someone else will provide the information or maybe a useful link will be added on the main web site documentation somewhere. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Yet more New data. Missing ATI driver [??] (Was: Re: xorg driver bug)
On Mon, Oct 15, 2007 at 02:16:27PM -0700, Gary Kline wrote: On Tue, Oct 16, 2007 at 12:17:53AM +0330, Bahman M. wrote: On 2007-10-15 Gary Kline wrote: On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote: Guys, Has anybody with any Dell run into this before? I just got a new Matrox with 32M of video ram. Run with the mga driver, X comes up extremely dark. If I change the driver to the vesa X comes up with normal brightness but the resolution is terrible. At most 640x480. tHis could be a hardware bug;I'm hoping it is just not having selected the right driver. Anybody know what to try next? Update, and no-joy: i've added Modes lines, tried different flags. Still, using the mga drivr gives a dark screen; only the vesa works. none of the xorg config toools work. The Matroc Millennium G450 is brand new, so doubt it's the card. The previous card had the same problem--way to dark--soI got this new card. Some years ago, I had some similar problem with a Vistac monitor using nVidia (on Linux). I found that it was the monitor not doing well in some resolutions or colour depths. Changing the monitor solved the problem. I'd suggest you try with another monitor and see if it works. It *could* be my CRT but it works on my 3 other KVM'd platforms flawlessly. Besides, the reason I bought the new G450 was because the exact same thing was happening with my other v-card. I tried mga and gathered the following data from the failure dump. [[X did work, but there was this huge, dark band a couple inches from the top (where the display was much lightr) and after the drk middle band, the display was also light toward the bottom. Here is what I found after I did a shutdown now: Requesting insufficient memory window!: start 0xfd80 to 0x7ef size 0x200 (EE) Cannnot find empty range to map base to (II) Module ramdac already built-in (EE) [drm] drmOpen failed (EE) DRM(0) [dm] DRMScreenInit failed . Disabling DRI Does this ring a bell among anybody who is familiar with xorg? My thinking now is that something is wrong with the video on the m'board; that both this new G50 and the last card were all right. Any thoughts? thanks, I finally tried booting Windows and it says that I have no ATI driver installed. What does this means? I'm supposed to install some ATI driver. Say wha-?? gary HTH, Bahman -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
login.access, login and su.
Good afternoon, I need to restric the access to some accounts, we are using FreeBSD 4.10, this is the configuration for login in /etc/pam.conf login authsufficient pam_skey.so login authsufficient pam_opie.so no_fake_prompts #login authrequisite pam_opieaccess.so login authrequisite pam_cleartext_pass_ok.so #login authsufficient pam_kerberosIV.so try_first_pass #login authsufficient pam_krb5.so try_first_pass login authrequiredpam_unix.so try_first_pass login account requiredpam_unix.so login password required pam_permit.so login session requiredpam_permit.so And this is the content of /etc/login.access: -:ALL EXCEPT user user1 : ALL If we do su - user3 in FreeBSD 4.10 the result is that we become user3 succesfully, and no restricction message appears. % su - user3 %whoami %user3 With FreeBSD 6.1/6.2, we are able to restrict the access if the account isn't appear in /etc/login.access, for example: -:ALL EXCEPT user user1 user2 : ALL And this is the content of /etc/pamd./login: # PAM configuration for the login service # # auth authrequiredpam_nologin.so no_warn authsufficient pam_self.so no_warn authinclude system # account account requisite pam_securetty.so account include system # session session include system # password passwordinclude system If we are using the account user and whant to change to user3 using su - this never happen: % su - user3 pam_login_access: pam_sm_acct_mgmt: user3 is not allowed to log in on /dev/ttyp0 su: Sorry Which is exactly what we need, but for FreeBSD 4.10. There are differences between 4.10 and 6.1/6.2 for the configuration of PAM and all it's modules, but the configuration for login.acces is the same. We read the documentation at the FreeBSD site about login.access and there is no difference for the sintaxis of this file. We also had read the man for login/pam/login.conf/login.access. The file login.conf is the same for 4.10 and 6.1/6.2, we didn't modified it's content. Is there another configuration file we are missing that should be modified to restrict the user become user3 using su - in FreeBSD 4.10? -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
login.access, login and su.
Good afternoon, I need to restric the access to some accounts, we are using FreeBSD 4.10, this is the configuration for login in /etc/pam.conf login authsufficient pam_skey.so login authsufficient pam_opie.so no_fake_prompts #login authrequisite pam_opieaccess.so login authrequisite pam_cleartext_pass_ok.so #login authsufficient pam_kerberosIV.so try_first_pass #login authsufficient pam_krb5.so try_first_pass login authrequiredpam_unix.so try_first_pass login account requiredpam_unix.so login password required pam_permit.so login session requiredpam_permit.so And this is the content of /etc/login.access: -:ALL EXCEPT user user1 : ALL If we do su - user3 in FreeBSD 4.10 the result is that we become user3 succesfully, and no restricction message appears. % su - user3 %whoami %user3 With FreeBSD 6.1/6.2, we are able to restrict the access if the account isn't appear in /etc/login.access, for example: -:ALL EXCEPT user user1 user2 : ALL And this is the content of /etc/pamd./login: # PAM configuration for the login service # # auth authrequiredpam_nologin.so no_warn authsufficient pam_self.so no_warn authinclude system # account account requisite pam_securetty.so account include system # session session include system # password passwordinclude system If we are using the account user and whant to change to user3 using su - this never happen: % su - user3 pam_login_access: pam_sm_acct_mgmt: user3 is not allowed to log in on /dev/ttyp0 su: Sorry Which is exactly what we need, but for FreeBSD 4.10. There are differences between 4.10 and 6.1/6.2 for the configuration of PAM and all it's modules, but the configuration for login.acces is the same. We read the documentation at the FreeBSD site about login.access and there is no difference for the sintaxis of this file. We also had read the man for login/pam/login.conf/login.access. The file login.conf is the same for 4.10 and 6.1/6.2, we didn't modified it's content. Is there another configuration file we are missing that should be modified to restrict the user become user3 using su - in FreeBSD 4.10? -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello sir
Jerry McAllister [EMAIL PROTECTED] writes: On Mon, Oct 15, 2007 at 11:07:33AM -0500, [EMAIL PROTECTED] wrote: Hello sir i would like to run freebsd.sd to supoort freebsd on Sudan .. do i need to follow any steps before i run it and join freebsd.org as mirror ? Mohammed Tayeb SysAdmin. There is documentation somewhere on setting up a mirror, but I just did a quickie search and didn't find it. I don't have time right now to look more. Maybe someone else will provide the information or maybe a useful link will be added on the main web site documentation somewhere. It's the cvsup-mirror port. It tells you everything you need to know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
login.access, login and su.
Good afternoon, I need to restric the access to some accounts, we are using FreeBSD 4.10, this is the configuration for login in /etc/pam.conf login authsufficient pam_skey.so login authsufficient pam_opie.so no_fake_prompts #login authrequisite pam_opieaccess.so login authrequisite pam_cleartext_pass_ok.so #login authsufficient pam_kerberosIV.so try_first_pass #login authsufficient pam_krb5.so try_first_pass login authrequiredpam_unix.so try_first_pass login account requiredpam_unix.so login password required pam_permit.so login session requiredpam_permit.so And this is the content of /etc/login.access: -:ALL EXCEPT user user1 : ALL If we do su - user3 in FreeBSD 4.10 the result is that we become user3 succesfully, and no restricction message appears. % su - user3 %whoami %user3 With FreeBSD 6.1/6.2, we are able to restrict the access if the account isn't appear in /etc/login.access, for example: -:ALL EXCEPT user user1 user2 : ALL And this is the content of /etc/pamd./login: # PAM configuration for the login service # # auth authrequiredpam_nologin.so no_warn authsufficient pam_self.so no_warn authinclude system # account account requisite pam_securetty.so account include system # session session include system # password passwordinclude system If we are using the account user and whant to change to user3 using su - this never happen: % su - user3 pam_login_access: pam_sm_acct_mgmt: user3 is not allowed to log in on /dev/ttyp0 su: Sorry Which is exactly what we need, but for FreeBSD 4.10. There are differences between 4.10 and 6.1/6.2 for the configuration of PAM and all it's modules, but the configuration for login.acces is the same. We read the documentation at the FreeBSD site about login.access and there is no difference for the sintaxis of this file. We also had read the man for login/pam/login.conf/login.access. The file login.conf is the same for 4.10 and 6.1/6.2, we didn't modified it's content. Is there another configuration file we are missing that should be modified to restrict the user become user3 using su - in FreeBSD 4.10? P.D. I sent this message (twice) from gmail.com, but until now, it's doesn't appear in the historic of the list or in my gmail inbox. ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://correo.yahoo.com.mx/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse diagnostics tools?
Martin Alejandro Paredes Sanchez wrote: What is the output of : dmesg | grep -i mouse (B) know a tool to help diagnose this issue? Try the -f and -d option in moused for the first part, it shows my wired mouse only: [EMAIL PROTECTED] 19:48:52 (0) ~ dmesg | grep -i mouse ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 3, iclass 3/1 for the second, I guess I didn't expect it to provide /that/ much diagnostic information. With moused -d -f -p /dev/sysmouse -t auto, only the logictech produces output - the microsoft does not. Given the lack of output, I take it that it is safe to assume there is no low level driver for my mouse? Should I provide my system's configuration file as well (from buildkernel - I know I turned off a lot of wireless stuff in the config, but I didn't think it would affect this). icantthinkofone wrote: Don't know of any diagnostics but we would need to see your xorg.conf and rc.conf to help make this work. rc.conf: # -- sysinstall generated deltas -- # Wed Feb 7 13:21:21 2007 # Created: Wed Feb 7 13:21:21 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=elrond.mydomain.net ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ifconfig_nve0_alias0=192.168.1.85 netmask 255.255.255.255 defaultrouter=192.168.1.1 usbd_enable=YES linux_enable=YES sshd_enable=YES ntpdate_enable=YES ntpd_enable=YES cupsd_enable=YES sendmail_enable=NONE inetd_flags=-wW -a 192.168.1.84 syslogd_flags=-b 192.168.1.84 rpcbind_enable=NO sb_server_enable=YES # added by mergebase.sh local_startup=/usr/local/etc/rc.d xorg.conf # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 ([EMAIL PROTECTED]) Tue Feb 6 05:44:08 UTC 2007 Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/local/lib/X11/rgb ModulePath /usr/local/lib/xorg/modules FontPath/usr/local/lib/X11/fonts/misc/ FontPath/usr/local/lib/X11/fonts/TTF/ FontPath/usr/local/lib/X11/fonts/Type1/ FontPath/usr/local/lib/X11/fonts/CID/ FontPath/usr/local/lib/X11/fonts/75dpi/ FontPath/usr/local/lib/X11/fonts/100dpi/ EndSection Section Module Load extmod Load glx Load dbe Load record Load xtrap Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection #previous attempt to get microsoft mouse working Section InputDevice Identifier Mouse1 Driver mouse Option Protocol ImPS/2 Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section Monitor Identifier Monitor0 VendorName SAM ModelName SyncMaster HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option DPMS EndSection Section Extensions Option Composite Enable EndSection Section Device Identifier Card0 Driver nvidia VendorName nVidia Corporation BoardName Unknown Board EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport0 0 Depth 24 Modes 1920x1080 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 16 Modes 1920x1080 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 15 Modes 1920x1080 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 8 Modes 1920x1080 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 4 Modes 1920x1080 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Modes 1920x1080 1280x1024 1024x768 800x600 640x480 EndSubSection EndSection Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send
installation question
There are two installation CD's for FreeBSD 6.2. After booting the first one, and requesting ALL packages and ALL ports, the installation seems to go ok until the end when it complains that it cannot find the requested package on the media from which installation is being made. At no point does it ask for the 2nd CD. In fact, it has the CD drive locked shut so I cannot put it in. After accepting non-installation of several packages, it finished and the resulting installation does boot to the login prompt. Questions: Do I have a complete installation? How do I install whatever is on the 2nd CD? Thanks, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS
Linux doesn't normally use master.passwd. If I recall correctly, it uses /etc/shadow instead (but I don't have such a box at hand right now to check). And yes, the internal format is different (and, again, I don't remember details). If I am not wrong, NIS does not know anything about master.passwd or shadow, it has only passwd.byname passwd.byuid as password maps, both maps including password in them. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Following directions doesn't seem to work: Adding users in NIS
And, having evidently done the *wrong* thing, how do I fix the added users so they now appear in NIS? cs /var/yp make ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: coonverting text to tex
On 2007-10-15 09:49, Aryeh M. Friedman [EMAIL PROTECTED] wrote: Are there any utils that will convert plain text to TeX? It depends on how much you can compromise about the quality and typesetting beauty of the output. A naive approach would be something like: \documentclass{article} \begin{document} \begin{verbatim} insert your text file here \end{verbatim} \end{document} But this may not result in a typeset document that is as aesthetically pleasing and beautiful as one which has been formatted by carefully picking the typesetting commands you can use. As an example, try typesetting the two documents which are listed below, and see which one you prefer: % -- % document1.tex \documentclass{article} \begin{document} \begin{verbatim} Happy families are all alike; every unhappy family is unhappy in its own way. Everything was in confusion in the Oblonskys' house. The wife had discovered that the husband was carrying on an intrigue with a French girl, who had been a governess in their family, and she had announced to her husband that she could not go on living in the same house with him. This position of affairs had now lasted three days, and not only the husband and wife themselves, but all the members of their family and household, were painfully conscious of it. Every person in the house felt that there was no sense in their living together, and that the stray people brought together by chance in any inn had more in common with one another than they, the members of the family and household of the Oblonskys. The wife did not leave her own room, the husband had not been at home for three days. The children ran wild all over the house; the English governess quarreled with the housekeeper, and wrote to a friend asking her to look out for a new situation for her; the man-cook had walked off the day before just at dinner time; the kitchen-maid, and the coachman had given warning. \end{verbatim} \end{document} % -- % document2.tex \documentclass{article} \usepackage{palatino} \title{Anna Karenina} \author{Leo Tolstoy} \date{18xx} \begin{document} \maketitle Happy families are all alike; every unhappy family is unhappy in its own way. Everything was in confusion in the Oblonskys' house. The wife had discovered that the husband was carrying on an intrigue with a French girl, who had been a governess in their family, and she had announced to her husband that she could not go on living in the same house with him. This position of affairs had now lasted three days, and not only the husband and wife themselves, but all the members of their family and household, were painfully conscious of it. Every person in the house felt that there was no sense in their living together, and that the stray people brought together by chance in any inn had more in common with one another than they, the members of the family and household of the Oblonskys. The wife did not leave her own room, the husband had not been at home for three days. The children ran wild all over the house; the English governess quarreled with the housekeeper, and wrote to a friend asking her to look out for a new situation for her; the man-cook had walked off the day before just at dinner time; the kitchen-maid, and the coachman had given warning. \end{document} % -- The second version includes more macros/commands which I manually typed, but it probably looks better when typeset. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Audio CD help
I can not get Audio Cds to play. I'm using KDE. Try with: $ cdcontrol play $ cdcontrol play cdcontrol: /dev/acd0: Permission denied $ su Password: Password: tulip# cdcontrol play -- it plays the CD OK as root tulip# ls -l /usr/sbin/cdcontrol -r-xr-xr-x 1 root wheel 18632 Jan 12 2007 /usr/sbin/cdcontrol tulip# As a regular user it will not play. As root CDs play Ok. I've been reading about the operator group as a fix. Is that the way? What should I do? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS
Olivier Nicole wrote: Linux doesn't normally use master.passwd. If I recall correctly, it uses /etc/shadow instead (but I don't have such a box at hand right now to check). And yes, the internal format is different (and, again, I don't remember details). If I am not wrong, NIS does not know anything about master.passwd or shadow, it has only passwd.byname passwd.byuid as password maps, both maps including password in them. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You are probably right, I don't remember the exact files right now, the thing is the maps are not linux compatible, so if anyone has a NIS Makefile for this, I'd be glad to get a copy. I already tried a patch I found but was not successful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ipod software
Thanks for the suggestions. I am trying out gtkpod now, and it seems to work fine, although I wish that there was a non/gui type program. try gnupod. Regards, Sachidananda. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Audio CD help
On 10/16/07, leegold [EMAIL PROTECTED] wrote: I can not get Audio Cds to play. I'm using KDE. Try with: $ cdcontrol play $ cdcontrol play cdcontrol: /dev/acd0: Permission denied $ su Password: Password: tulip# cdcontrol play -- it plays the CD OK as root tulip# ls -l /usr/sbin/cdcontrol -r-xr-xr-x 1 root wheel 18632 Jan 12 2007 /usr/sbin/cdcontrol tulip# As a regular user it will not play. As root CDs play Ok. I've been reading about the operator group as a fix. Is that the way? What should I do? Thanks To play the media as regular user you have give appropriate permissions in /etc/devfs.conf. check man page for devfs.conf(5). -- Regards, Sachidananda. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Listening ports - vpn, proxy + p2p.
On Mon, 15 Oct 2007 19:24:44 +0800 Aminuddin [EMAIL PROTECTED] wrote: How do I get FreeBSD open and listen to those connections so that P2P clients can broadcast and listen using the proxy? With firewall off, all ports should be open but still p2p clients keep saying ports firewalled. are you doing nat? or actually providing REAL , routable IPs for your users? if you are doing NAT, the only thing you may be able to do is to port forward specific ports to each client. That may not work for all clients - emule may be different to, say, limewire. B _ {Beto|Norberto|Numard} Meijome Never attribute to malice what can adequately be explained by incompetence. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse diagnostics tools?
El Lun 15 Oct 2007, Jim Stapleton escribió: Martin Alejandro Paredes Sanchez wrote: What is the output of : dmesg | grep -i mouse (B) know a tool to help diagnose this issue? Try the -f and -d option in moused for the first part, it shows my wired mouse only: [EMAIL PROTECTED] 19:48:52 (0) ~ dmesg | grep -i mouse ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 3, iclass 3/1 This mean that the driver ums (USB mouse driver) is loaded to control your mouse man ums for the second, I guess I didn't expect it to provide /that/ much diagnostic information. With moused -d -f -p /dev/sysmouse -t auto, only the logictech produces output - the microsoft does not. should be moused -d -f -p /dev/ums0 -t auto man moused if you see output, mean it work in FreeBSD, if the microsoft mouse doesn't produce a line in dmesg, mean that there is not a driver for your mouse. I read some where about a new work in CURRENT, to make a new framework for the mouse. Given the lack of output, I take it that it is safe to assume there is no low level driver for my mouse? Should I provide my system's configuration file as well (from buildkernel - I know I turned off a lot of wireless stuff in the config, but I didn't think it would affect this). icantthinkofone wrote: Don't know of any diagnostics but we would need to see your xorg.conf and rc.conf to help make this work. rc.conf: # -- sysinstall generated deltas -- # Wed Feb 7 13:21:21 2007 # Created: Wed Feb 7 13:21:21 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=elrond.mydomain.net ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ifconfig_nve0_alias0=192.168.1.85 netmask 255.255.255.255 defaultrouter=192.168.1.1 usbd_enable=YES linux_enable=YES sshd_enable=YES ntpdate_enable=YES ntpd_enable=YES cupsd_enable=YES sendmail_enable=NONE inetd_flags=-wW -a 192.168.1.84 syslogd_flags=-b 192.168.1.84 rpcbind_enable=NO sb_server_enable=YES # added by mergebase.sh local_startup=/usr/local/etc/rc.d I didn't see any line about moused, but that is because your mouse is USB and moused is loaded by devd to see how is invoked moused ps axw | grep mouse xorg.conf Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection To use Device /dev/sysmouse, moused should be loaded, if not, the device should be /dev/ums0 #previous attempt to get microsoft mouse working Section InputDevice Identifier Mouse1 Driver mouse Option Protocol ImPS/2 Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Thanks, -Jim Stapleton maps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] proper editor
Hi there, I'm beginner. Please recommend for proper editor so that ... I want to practice *Python* under best environment ... vim, emacs, gedit, or notepad.exe, ... If you give me good advice about that, I'll study very hard ... So which one is best editor? ... -- Byung-Hee HWANG [EMAIL PROTECTED] Don't wait up for me if you feel tired. I'll wait up. -- Michael Corleone and Kay Adams, Chapter 28, 395 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] proper editor
Byung-Hee HWANG wrote: Hi there, I'm beginner. Please recommend for proper editor so that ... I want to practice *Python* under best environment ... vim, emacs, gedit, or notepad.exe, ... If you give me good advice about that, I'll study very hard ... So which one is best editor? ... There is no such thing as a best editor. Which one you know better NOW? If the goal is to study Python (assuming no previous experience), go along with the easiest for you. For starters, if you are using a GUI, go with Python's own IDLE environment. It is not advanced, but neither are you at this point. And it does have some advantages (like immediate execution of commands to try out things). Spending time learning a complex editor like vi or emacs, will certainly pay up in the long run though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]