Re: Custom Kernel
Joshua Tinnin wrote: On Saturday 27 November 2004 11:27 pm, Rem Roberti [1]<[EMAIL PROTECTED]> wrote: I sent this message to Joshua back channel, and realized that I should have also sent it to the group. Rem Thanks, Joshua. Here's the requested stuff, starting with the output of uname -a: Next, the configuration file itself: # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! #device miibus # MII bus support device vr # VIA Rhine, Rhine II Finally, the error message: ../../../dev/usb/if_aue.c:105:23: miibus_if.h: No such file or directory OK, you need to uncomment the device miibus line (marked above). It has to be enabled if you want to enable VIA Rhine support, which you have in your config. - jt No dice. I made the change to the file, uncommenting the device miibus line, and I receive the same error message. Rem References 1. mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Custom Kernel
On Saturday 27 November 2004 11:27 pm, Rem Roberti <[EMAIL PROTECTED]> wrote: > I sent this message to Joshua back channel, and realized that I should > have also sent it to the group. > > Rem > > > > Thanks, Joshua. Here's the requested stuff, starting with the output of > uname -a: > Next, the configuration file itself: > > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # PCI Ethernet NICs that use the common MII bus controller code. > # NOTE: Be sure to keep the 'device miibus' line in order to use these > NICs! > #device miibus # MII bus support > device vr # VIA Rhine, Rhine II > Finally, the error message: > ../../../dev/usb/if_aue.c:105:23: miibus_if.h: No such file or directory OK, you need to uncomment the device miibus line (marked above). It has to be enabled if you want to enable VIA Rhine support, which you have in your config. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: I can not install FreeBSD 5.3 in an old Pentium 100 MHz
See http://www.freebsd.org/cgi/man.cgi?query=acpi&sektion=4&manpath=FreeBSD+5.3- RELEASE particularly the section: To disable the acpi driver completely, set the kernel environment vari- able hint.acpi.0.disabled to 1. This should be done in the loader prompt. When you get the message: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel] in 9 seconds... _ hit any other key for the command prompt then turn off acpi. If this doesen't work, try loading FreeBSD 4.10 Ted > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ramiro Aceves > Sent: Saturday, November 27, 2004 3:04 AM > To: [EMAIL PROTECTED] > Subject: I can not install FreeBSD 5.3 in an old Pentium 100 MHz > > > Hello dear FreeBSD friends. > > I am Ramiro from Spain.This is my first post to the list. I am a regular > Debian GNU/Linux user, but I have been tempted to try FreeBSD. I have > installed it successfully on my 1200 MHz Athlon computer booting from > the CDROM drive and I like it, but I can not install it in an old > Pentium 100 MHz fujitsu computer. This old machine can not boot from the > CDROM, so I tried to boot with the floppies. I have prepared the 3 > floppies several times and I stil can not install it. > I boot with the "boot.flp" floppy ok. I insert "kern1.flp" and it loads > ok. I insert "kern2.flp" and it loads ok. I was prompted to insert > "boot.flp" floppy again and it shows the logo screen with the booting > options. If I choose the default (with no acpi), the computers shudenly > restarts without being able to see any message. The remaining options > cause the same machine reboot. I can enter into the loader prompt. > > ¿What can I do? > > Any help will be apreciated. > > Sorry for my bad english. > Ramiro. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
re: Custom Kernel
I sent this message to Joshua back channel, and realized that I should have also sent it to the group. Rem Thanks, Joshua. Here's the requested stuff, starting with the output of uname -a: FreeBSD x1-6-00-0c-76-90-8a-cd.attbi.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 /usr/src/sys/i386/compile/REMKERNEL [23:06:53] > Here is /etc/make.conf: # -- use.perl generated deltas -- # # Created: Mon Nov 22 08:21:43 2004 # Setting to use base perl from ports: PERL_VER=5.8.5 PERL_VERSION=5.8.5 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo Next, the configuration file itself: # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $ machine i386 cpu I686_CPU ident REMKERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa #device eisa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha # Adaptec 154x SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #devi
RE: Kevin Kinsey's RE:FreeBSD and NetZero
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of J W > Sent: Saturday, November 27, 2004 5:36 PM > To: [EMAIL PROTECTED] > Subject: RE: Kevin Kinsey's RE:FreeBSD and NetZero > > > >>I have NetZero as my Dial-Up ISP. I would love to use freebsd as my > >>gateway, ratehr than use windows with ICS enabled. Is there a way to > >>work around the proprietary software used by NetZero, or has any one > >>seen a way to make freebsd work with netzero? > >>Thank You, > >>IDESpinner > >> > > > >I've not used NetZero for a long time, but did Once > >Upon A Time(tm). > > > >What happens if you simply attempt to make a > >PPP connection to them from your FBSD box? > > > >Kevin Kinsey > > It does not pass the user/password auth phase. Are you using CHAP or PAP? Or did you try both? Ted ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Custom Kernel
I'm bit of a newbe myself and had the same problems. Finally I decided NOT to comment out those options in my copy of the GENERIC file which related to hardware options I don't have. So if you have been commenting out all those hardware options in the kernel configuration file for hardware you don't have, then open a fresh copy of GENERIC and leave those options as they are. So basically I left my copy of GENERIC alone, changing the first part only; The original looks like this: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.420 2004/11/02 20:57:19 andre Exp $ machine i386 #cpu I486_CPU #cpu I586_CPU #cpu I686_CPU ident GENERIC My copy looks like this: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.420 2004/11/02 20:57:19 andre Exp $ machine i386 #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident MY_COPY_CALL _IT_WHAT_EVER I added some extra options related to sound and graphics and later I add some more once I feel more comfortable with FreeBSD. On Sun, 28 Nov 2004 15:59, Rem Roberti wrote: >Hi Everyone, >As a rank newbie I have been trying to install a custom kernel, and >have attempted to follow the directions in the handbook. But I just >can't get the thing to "make". The handbook also says that it is okay >to send the configuration file to this list for analysis. >Nevertheless I thought that it would be a good idea to ask first. I >would appreciate it if someone would let me know how I should handle >this. >Thanks in advance. >Rem > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Custom Kernel
On Saturday 27 November 2004 10:29 pm, Rem Roberti <[EMAIL PROTECTED]> wrote: >Hi Everyone, >As a rank newbie I have been trying to install a custom kernel, and >have attempted to follow the directions in the handbook. But I just >can't get the thing to "make". The handbook also says that it is okay >to send the configuration file to this list for analysis. >Nevertheless I thought that it would be a good idea to ask first. I >would appreciate it if someone would let me know how I should handle >this. From the command line, paste in the output of: uname -a Also, your /etc/make.conf would help, and, as mentioned so would your kernel config file. It's also not clear what you mean by "can't get the thing to make." Does it fail when you build, or when you install? I'm guessing you mean that the build itself failed. If you logged your build, send the relevant part as well, i.e., the part with the errors and some lines before it for context. If not, for future reference, consider logging your build (man script, or use make ... > /var/log/kernelbuild.out or something similar). - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Custom Kernel
Hi Everyone, As a rank newbie I have been trying to install a custom kernel, and have attempted to follow the directions in the handbook. But I just can't get the thing to "make". The handbook also says that it is okay to send the configuration file to this list for analysis. Nevertheless I thought that it would be a good idea to ask first. I would appreciate it if someone would let me know how I should handle this. Thanks in advance. Rem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is this a hole in my firewall?
On Sun, Nov 28, 2004 at 03:31:35AM +0200, Giorgos Keramidas wrote: : AFAIK, rule 00300 will never be hit by packets going out tun0 as long as : you also have rule 00200 in there. Hmmm here's a run after having the laptop running for a bit. I don't see why 200 doesn't cover the case either. [EMAIL PROTECTED]:~# ipfw show 001000 0 check-state 00200 6709 1277079 allow ip from me to any keep-state out xmit tun0 00300 2093 645797 allow ip from any to any keep-state out xmit tun0 00400 917308 deny tcp from any to any in recv tun0 established 00500 436869 allow ip from any to any via vr0 00600 523080 allow ip from any to any via lo0 007000 0 deny ip from any to 127.0.0.0/8 008000 0 deny ip from 127.0.0.0/8 to any 009000 0 allow tcp from any to me 22 keep-state in recv vr0 setup 010000 0 allow icmp from any to any via tun0 icmptype 0,3,8,11,12 01100 111371 deny log logamount 100 ip from any to any 655350 0 deny ip from any to any [EMAIL PROTECTED]:~# jm -- My other computer is your Windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Errors when building kernel
On 2004-11-27 22:48, RL <[EMAIL PROTECTED]> wrote: > This is my fist time building a kernel. I CVSUP'ed to the latest > source (on RELENG_5_3) on my FDBSD 5.3 system. I edited some things in > the config file and I did a make buildkernel KERNCONF=MYKERNEL. It > compiles for a while, but errors; I get this (a snippet): > > : undefined reference to `xpt_done' > entry.o(.text+0x2758): In function `hpt_action': > [...] > fdc.o(.text+0xb5d): In function `fdc_worker': > : undefined reference to `isa_dmadone' > [...] > ppc.o(.text+0xe7f): In function `ppcintr': > : undefined reference to `isa_dmadone' > [...] > sio.o(.text+0x502): In function `sioprobe': > : undefined reference to `isa_irq_pending' You have deleted or commented out parts of the GENERIC config that are necessary for the rest of the options you have. Start over from GENERIC. Read the comments carefully. Do not remove things that you are not sure about. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Errors when building kernel
This is my fist time building a kernel. I CVSUP'ed to the latest source (on RELENG_5_3) on my FDBSD 5.3 system. I edited some things in the config file and I did a make buildkernel KERNCONF=MYKERNEL. It compiles for a while, but errors; I get this (a snippet): : undefined reference to `xpt_done' entry.o(.text+0x2758): In function `hpt_action': : undefined reference to `xpt_done' entry.o(.text+0x27b6): In function `hpt_action': : undefined reference to `xpt_done' entry.o(.text+0x27cd): In function `hpt_action': : undefined reference to `xpt_done' entry.o(.text+0x27e2): more undefined references to `xpt_done' follow fdc.o(.text+0xb5d): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x1385): In function `fdc_worker': : undefined reference to `isa_dmastart' fdc.o(.text+0x1613): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x22dc): In function `fdc_detach': : undefined reference to `isa_dma_release' fdc.o(.text+0x243a): In function `fdc_attach': : undefined reference to `isa_dma_acquire' fdc.o(.text+0x2454): In function `fdc_attach': : undefined reference to `isa_dmainit' fdc_acpi.o(.text+0x179): In function `fdc_acpi_attach': : undefined reference to `fdc_isa_alloc_resources' ppc.o(.text+0xe7f): In function `ppcintr': : undefined reference to `isa_dmadone' ppc.o(.text+0x1020): In function `ppc_write': : undefined reference to `isa_dmastart' ppc.o(.text+0x1064): In function `ppc_write': : undefined reference to `isa_dmadone' ppc.o(.text+0x15c0): In function `ppc_attach': : undefined reference to `isa_dma_acquire' ppc.o(.text+0x15cd): In function `ppc_attach': : undefined reference to `isa_dmainit' sio.o(.text+0x502): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x6b4): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x6d8): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x712): In function `sioprobe': : undefined reference to `isa_irq_pending' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. - So what's amatter?? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Printing
On Saturday 27 November 2004 02:12 pm, gabriel wrote: > Nice, thanks for the replies guys. I was looking into this printer. > > http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-238444-410635-120 >85-f57-90805-90810-90811.html > > HP PSC 2175 All-in-One (Q3068A) > > I don't remember the source; but I recall reading that there are some problems getting all the functions of all-in-ones to work -- something about usb recognition of the individual devices/functions within the unit. I don't know if the report was (or is now) accurate; but I would advise googling for more information. Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Kevin Kinsey's RE:FreeBSD and NetZero
>>I have NetZero as my Dial-Up ISP. I would love to use freebsd as my >>gateway, ratehr than use windows with ICS enabled. Is there a way to >>work around the proprietary software used by NetZero, or has any one >>seen a way to make freebsd work with netzero? >>Thank You, >>IDESpinner >> > >I've not used NetZero for a long time, but did Once >Upon A Time(tm). > >What happens if you simply attempt to make a >PPP connection to them from your FBSD box? > >Kevin Kinsey It does not pass the user/password auth phase. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is this a hole in my firewall?
On 2004-11-27 21:56, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED]:~# ipfw show > 00100 0 0 check-state > 00200 2 144 allow ip from me to any keep-state out xmit tun0 > 00300 0 0 allow ip from any to any keep-state out xmit tun0 > 00400 0 0 deny tcp from any to any in recv tun0 established > 00500 0 0 allow ip from any to any via vr0 > 00600 0 0 allow ip from any to any via lo0 > 00700 0 0 deny ip from any to 127.0.0.0/8 > 00800 0 0 deny ip from 127.0.0.0/8 to any > 00900 0 0 allow tcp from any to me 22 keep-state in recv vr0 setup > 01000 0 0 allow icmp from any to any via tun0 icmptype 0,3,8,11,12 > 01100 0 0 deny log logamount 100 ip from any to any > 65535 0 0 deny ip from any to any > > I added rule 300 so that my laptop on my wireless network can connect, > ping, and get DNS and DHCP. Is there a better way to specify this? AFAIK, rule 00300 will never be hit by packets going out tun0 as long as you also have rule 00200 in there. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
port 53 connection attempts from localhost
Here is the situation, I run bind as a root nameserver and all appears to be operating normally (no apparent problems). But, log_in_vain is reporting to messages a few times per second that port 53 is being queried and nothing "appears" to be listing on it. I monitored my forwarders ip addresses and they reply fine. I found a reference to search for "bind timeout problem", but could find nothing that looked like any help. Any ideas? Couple of stats: FreeBSD 4.10 BIND 8.3.7-REL using 2 forwarders 127.0.0.1 in resolve.conf log_in_vain="YES" in rc.conf allow all from any to any via lo0 in ipfw server1# tail /var/log/messages Nov 27 16:28:17 server1 /kernel: Connection attempt to UDP 127.0.0.1:3350 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:1750 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4321 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4071 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:3037 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4384 from 127.0.0.1:53 Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:4566 from 127.0.0.1:53 Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:1155 from 127.0.0.1:53 Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:2761 from 127.0.0.1:53 Nov 27 16:28:20 server1 /kernel: Connection attempt to UDP 127.0.0.1:3553 from 127.0.0.1:53 Best, Thomas S. Crum ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is this a hole in my firewall?
Jonathon McKitrick wrote: Here are my rules: [EMAIL PROTECTED]:~# ipfw show 00100 0 0 check-state 00200 2 144 allow ip from me to any keep-state out xmit tun0 00300 0 0 allow ip from any to any keep-state out xmit tun0 00400 0 0 deny tcp from any to any in recv tun0 established 00500 0 0 allow ip from any to any via vr0 00600 0 0 allow ip from any to any via lo0 00700 0 0 deny ip from any to 127.0.0.0/8 00800 0 0 deny ip from 127.0.0.0/8 to any 00900 0 0 allow tcp from any to me 22 keep-state in recv vr0 setup 01000 0 0 allow icmp from any to any via tun0 icmptype 0,3,8,11,12 01100 0 0 deny log logamount 100 ip from any to any 65535 0 0 deny ip from any to any I added rule 300 so that my laptop on my wireless network can connect, ping, and get DNS and DHCP. Is there a better way to specify this? jm Well, maybe; is the laptop's IP assigned statically or dynamically? If static, I suppose "allow ip from lap.top.id.addr to any keep-state out xmit tun0" would be the thing. You can also specify the network: "allow ip from any 192.168.0/24 to any keep-state out via tun0". HTH, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Toshiba laptop not recognizing usb nor cardbus
I have a recently purchased Toshiba laptop with FreeBSD 5.3x on it. It works well, but neither my usb ports nor pc-card slot seem to work. Both seem to be recognized, but neither are available. In the case of the usb, I can load usbd. However, when I plug or unplug usb devices in, neither happens. I have used usbd in debugging mode, and it doesn't notice when something is plugged or unplugged. In the case of the pc-card, no /dev/card0 is created, so pccardd will not start up. I have tried both the GENERIC kernel and various customized kernels. I have tried tweaking some boot.loader hints, but to no avail. I am including the output of my dmesg, and I would appreciate any help or advice. I have posted these two items to the problem reporting database, but have not received any responses there. Thanks in advance. == dmesg output vvv Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #13: Wed Nov 24 11:33:59 EST 2004 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ARAGORN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.53GHz (2533.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf33 Stepping = 3 Features=0xbfebfbff real memory = 738131968 (703 MB) avail memory = 712556544 (679 MB) acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcib0: port 0xcf8-0xcff iomem 0xfff8-0x on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: port 0xc000-0xc0ff mem 0xe000-0xe000,0xa000-0xa7ff irq 11 at device 5.0 on pci1 info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 ohci0: mem 0xf0001000-0xf0001fff irq 5 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xf0002000-0xf0002fff irq 5 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xf0003000-0xf0003fff irq 5 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered pci0: at device 20.0 (no driver attached) atapci0: port 0x8070-0x807f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 ath0: mem 0xd001-0xd001 irq 10 at device 4.0 on pci2 ath0: mac 5.9 phy 4.3 5ghz radio 4.6 ath0: Ethernet address: 00:90:96:cb:46:3a ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps cbb0: at device 6.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 rl0: port 0xa000-0xa0ff mem 0xd000-0xd0ff irq 11 at device 7.0 on pci2 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:a0:d1:db:0d:f9 pci0: at device 20.5 (no driver attached) pci0: at device 20.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: current command byte:0067 Synaptics Touchpad v5.9 Model information: infoRot180: 1 infoPortrait: 0 infoSensor: 37 infoHardware: 55 infoNewAbs: 1 capPen: 0 infoSimplC: 1 infoGeometry: 1 Extended capabilities: capExtended: 1 capPassthrough: 0 capSleep: 1 capFourButtons: 0 capMultiFinger: 1 capPalmDetect: 1 psm0: found Synaptics Touchpad psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0-00, 3 buttons psm0: config:, flags:0008, packet size:6 psm0: syncmask:c0, syncbits:00 ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: at iomem 0xe6000-0xe6fff,0xe-0xe1fff,0xc-0xcefff on isa0 pmtimer0
Re: Remembering defines for port upgrades.
On Sun, 28 Nov 2004 09:25, Adam Fabian wrote: > I've been sticking options like WITHOUT_TTF_BYTECODE_ENABLED=yes (for > freetype2) in /etc/make.conf. It's been working, for the actual > building of the port. The downshot is that it seems to drive the > package tools nuts. (portupgrade makes strange errors, make index > fails). Is there any other/better way to remember build options so > that I don't have to remember them every time I build a port? > I belive /usr/local/etc/pkgtools.conf is the correct place to put port specific switches. Take a look at Dr. Dru's article on ports at http://www.onlamp.com/lpt/a/4165 In particular: > If you ever plan on using portupgrade to upgrade mplayer and wish to use the same arguments, you have a choice. Either count on your ability to remember to use the m switch to specify your make arguments with portupgrade: > > > % portupgrade -rRm '-DWITH_GUI' '-DWITH_FREETYPE' mplayer > > > or spend a moment and add those switches to /usr/local/etc/pkgtools.conf: > > > MAKE_ARGS = { > 'multimedia/mplayer-*' => 'WITH_GUI=1 WITH_FREETYPE=1', > } Cheers, -- Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgp3MjXHbjmK4.pgp Description: PGP signature
Remembering defines for port upgrades.
I've been sticking options like WITHOUT_TTF_BYTECODE_ENABLED=yes (for freetype2) in /etc/make.conf. It's been working, for the actual building of the port. The downshot is that it seems to drive the package tools nuts. (portupgrade makes strange errors, make index fails). Is there any other/better way to remember build options so that I don't have to remember them every time I build a port? It's also possible that I've confused legitimate, tuneable knobs with some kinds of reserved variables. The suspect ones are USE_X11, USE_ATHENA (but I specifically remember using that one for vim), and USE_OPENSSL. -- Adam Fabian ([EMAIL PROTECTED]) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Key mapping in X.org
On Saturday, 27 November 2004 at 23:53:06 +0100, Kees Plonsz wrote: > Greg 'groggy' Lehey wrote: > > A keyboard type was not specified, and the vendor ID string, > "The X.Org Foundation" is not recognized. > > You got scared off by that warning message. > The programs works fine, I just programmed > control-return into a "+" sign. You're quoting me out of context. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpyPOvQwN9M7.pgp Description: PGP signature
Re: Key mapping in X.org
Greg 'groggy' Lehey wrote: A keyboard type was not specified, and the vendor ID string, "The X.Org Foundation" is not recognized. You got scared off by that warning message. The programs works fine, I just programmed control-return into a "+" sign. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Key mapping in X.org
On Saturday, 27 November 2004 at 20:08:39 +0100, Kees Plonsz wrote: > Josh Paetzel wrote: > >> I'm trying to set up a keybinding in X. I would like Right Shift + >> Enter to be treated the same way that Enter is when pressed alone. >> Right now pressing Right Shift + Enter doesn't appear to do anything >> at all. >> >> I've read through the xset and stty man pages and didn't spot what I >> need. stty is the wrong program. It doesn't handle remapping. kbdcontrol(1) does, but that's for virtual terminals, not X. >> A nudge in the right direction would be most appreciated. > > The program you ar looking for is: > > xkeycaps > > For a snapshot see: > > http://jeremino.homeunix.net/snapshot.jpg Heh. Nice program. But there are a number of reasons why it's not the one Josh is looking for: 1. It doesn't seem to understand X.org (at least not the version I just installed from the ports collection in /usr/ports/x11/xkeycaps). I get the message: A keyboard type was not specified, and the vendor ID string, "The X.Org Foundation" is not recognized. 2. The real program is xmodmap(1). xkeycaps is just a front end to it, and that's what you need to run when you start X. For example, in my .xinitrc I have: xmodmap -e 'keysym Alt_L = Meta_L Meta_L' xmodmap -e 'keysym Home = Select Select' xmodmap -e 'remove mod5 = Scroll_Lock' You can also put the translations in a file and get xmodmap to read it. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpIJSd5vFkKO.pgp Description: PGP signature
Re: ACL and tunefs
Adam Stroud wrote: > I did not try that. When I booted into single user more again and tried > the tunefs -a enable / I get a messaged saying that acl was already > enabled. Strange. > The only hope for you is that the enable bit for acl was set, but not yet read by the system. I think you have to reboot and then you have a change that the acl bit is set and read. Te best way is to have another freebsd system to set acl. Or to choose another slice for your acl experiment. The e-slice is easier to change, but its your choice ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB mouse support
Mark Ovens wrote: Trey Sizemore wrote: I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with 512MB RAM) and cannot get my mouse pointer to move in KDE. It is a Microsoft Wireless Optical 2.0 mouse (USB) and I have the following section in my /etc/X11/xorg.conf file: Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "Buttons" "7" Option "ZAxisMapping" "4 5" I have installed FreeBSD from the disc 1 ISO file and installed everything by default. I have not done a kernel recomple at this point. Is this an issue with my xorg.conf file or a USB issue that requires a kernel recompile? I did not see anything helpful in the Using X11 in the manual. They don't work :-( I have to run mine on PS/2 via an adaptor. There is a patch in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/70607 to fix this. I tried the first version of the patch; the mouse worked but there were other problems. There have been several modifications done to the patch since then that I haven't tried. I've just tried mine by using the PS/2 adaptor and it's not working here either. The light on the 'base station' doesn't stay on. Is your xorg.conf different than mine? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL and tunefs
I did not try that. When I booted into single user more again and tried the tunefs -a enable / I get a messaged saying that acl was already enabled. Strange. A Kees Plonsz wrote: On Saturday 27 November 2004 22:58, Adam Stroud wrote: I dont think the acl got enabled, here is my output from mount: /dev/ad0s1a on / (ufs, NFS exported, local) I guess you are right, acl is not enabled. It is a spacial case, I think,. The a-slice gets mounted immediatly after staring up the system and you cannot umount it. You have to access it through another freebsd system, let say with the "fixit disk". Or did you already had a solution for that ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB mouse support
Daan Vreeken [PA4DAN] wrote: On Saturday 27 November 2004 21:28, Trey Sizemore wrote: I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with 512MB RAM) and cannot get my mouse pointer to move in KDE. It is a Microsoft Wireless Optical 2.0 mouse (USB) and I have the following section in my /etc/X11/xorg.conf file: Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "Buttons" "7" Option "ZAxisMapping" "4 5" I have installed FreeBSD from the disc 1 ISO file and installed everything by default. I have not done a kernel recomple at this point. Is this an issue with my xorg.conf file or a USB issue that requires a kernel recompile? I did not see anything helpful in the Using X11 in the manual. Make sure you have usbd running and have set usbd_enable="YES" in /etc/rc.conf Both of these are done. When a mouse is plugged in usbd should start moused to handle the input. The debug output on your console should state ums0 being attached when the mouse is plugged in. How do I see this? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL and tunefs
I dont think the acl got enabled, here is my output from mount: /dev/ad0s1a on / (ufs, NFS exported, local) Kees Plonsz wrote: Adam Stroud wrote: Kees: You were right, I did not umount the filesystem first, I dropped into single user mode and I thought that did unmount the filesystem. When I booted the machine into single the tunefs command seemed to work OK. However, I still dont get a "+" when I do a long listing of a file and the handbook says I should see one. Does this mean that things did not take? Check if your acl-option is working with "mount" ( no parameters ) It should give somthing like: /dev/ad1s1g on /mnt (ufs, local, soft-updates, acls) Then give the setfacl command on a file: setfacl -m u::rwx,g:mail:rw file Now you must have a + sign with the "ls -la" command. I got error messages when I disabled or enabled acl on a not-empty filesystem and made a directory listing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is this a hole in my firewall?
Here are my rules: [EMAIL PROTECTED]:~# ipfw show 00100 0 0 check-state 00200 2 144 allow ip from me to any keep-state out xmit tun0 00300 0 0 allow ip from any to any keep-state out xmit tun0 00400 0 0 deny tcp from any to any in recv tun0 established 00500 0 0 allow ip from any to any via vr0 00600 0 0 allow ip from any to any via lo0 00700 0 0 deny ip from any to 127.0.0.0/8 00800 0 0 deny ip from 127.0.0.0/8 to any 00900 0 0 allow tcp from any to me 22 keep-state in recv vr0 setup 01000 0 0 allow icmp from any to any via tun0 icmptype 0,3,8,11,12 01100 0 0 deny log logamount 100 ip from any to any 65535 0 0 deny ip from any to any I added rule 300 so that my laptop on my wireless network can connect, ping, and get DNS and DHCP. Is there a better way to specify this? jm -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Port 53 requests happening a few times per second
isn't that DNS? On Sat, 27 Nov 2004 16:44:24 -0500, Thomas S. Crum - AAA Web Solution, Inc. <[EMAIL PROTECTED]> wrote: > Here is the situation, I run bind as a root nameserver and all appears to be > operating normally (no apparent problems). But, log_in_vain is reporting to > messages a few times per second that port 53 is being queried and nothing > "appears" to be listing on it. I monitored my forwarders ip addresses and > they reply fine. > > I found a reference to search for "bind timeout problem", but could find > nothing that looked like any help. > > Any ideas? > > Couple of stats: > FreeBSD 4.10 > BIND 8.3.7-REL > using 2 forwarders > 127.0.0.1 in resolve.conf > log_in_vain="YES" in rc.conf > allow all from any to any via lo0 in ipfw > > server1# tail /var/log/messages > Nov 27 16:28:17 server1 /kernel: Connection attempt to UDP 127.0.0.1:3350 > from 127.0.0.1:53 > Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:1750 > from 127.0.0.1:53 > Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4321 > from 127.0.0.1:53 > Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4071 > from 127.0.0.1:53 > Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:3037 > from 127.0.0.1:53 > Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4384 > from 127.0.0.1:53 > Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:4566 > from 127.0.0.1:53 > Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:1155 > from 127.0.0.1:53 > Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:2761 > from 127.0.0.1:53 > Nov 27 16:28:20 server1 /kernel: Connection attempt to UDP 127.0.0.1:3553 > from 127.0.0.1:53 > > Best, > > Thomas S. Crum > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Port 53 requests happening a few times per second
Here is the situation, I run bind as a root nameserver and all appears to be operating normally (no apparent problems). But, log_in_vain is reporting to messages a few times per second that port 53 is being queried and nothing "appears" to be listing on it. I monitored my forwarders ip addresses and they reply fine. I found a reference to search for "bind timeout problem", but could find nothing that looked like any help. Any ideas? Couple of stats: FreeBSD 4.10 BIND 8.3.7-REL using 2 forwarders 127.0.0.1 in resolve.conf log_in_vain="YES" in rc.conf allow all from any to any via lo0 in ipfw server1# tail /var/log/messages Nov 27 16:28:17 server1 /kernel: Connection attempt to UDP 127.0.0.1:3350 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:1750 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4321 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4071 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:3037 from 127.0.0.1:53 Nov 27 16:28:18 server1 /kernel: Connection attempt to UDP 127.0.0.1:4384 from 127.0.0.1:53 Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:4566 from 127.0.0.1:53 Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:1155 from 127.0.0.1:53 Nov 27 16:28:19 server1 /kernel: Connection attempt to UDP 127.0.0.1:2761 from 127.0.0.1:53 Nov 27 16:28:20 server1 /kernel: Connection attempt to UDP 127.0.0.1:3553 from 127.0.0.1:53 Best, Thomas S. Crum ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB mouse support
Trey Sizemore wrote: I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with 512MB RAM) and cannot get my mouse pointer to move in KDE. It is a Microsoft Wireless Optical 2.0 mouse (USB) and I have the following section in my /etc/X11/xorg.conf file: Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "Buttons" "7" Option "ZAxisMapping" "4 5" I have installed FreeBSD from the disc 1 ISO file and installed everything by default. I have not done a kernel recomple at this point. Is this an issue with my xorg.conf file or a USB issue that requires a kernel recompile? I did not see anything helpful in the Using X11 in the manual. They don't work :-( I have to run mine on PS/2 via an adaptor. There is a patch in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/70607 to fix this. I tried the first version of the patch; the mouse worked but there were other problems. There have been several modifications done to the patch since then that I haven't tried. HTH Regards, Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0448-1, 26/11/2004 Tested on: 27/11/2004 21:45:44 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make Depend -- Oops!
On Sat, 27 Nov 2004, John Mills wrote: > Freebies - > > On Sat, 27 Nov 2004, Conrad J. Sabatier wrote: > > > On Sat, 27 Nov 2004 09:43:17 +0100, Gert Cuykens > > <[EMAIL PROTECTED]> wrote: > > > > > "A Makefile rule that typically scans all C/C++ source files in a > > > directory, and generates rules that indicate that an object file > > > depends on certain header files, and must be recompiled if they are > > > recompiled." > > > > > > i dont understand this. how can a object depend on something that is > > > not compiled yet? Would the freebsd world not be a happier place if > > > make did the dependancy thingies what ever they are automatically ? > ... > > Re: dependencies, it should be simple to understand if you give it a > > moment's thought. Let's say you have a file "main.c" that calls > > functions in "foo.c". In order for main.c to compile and link properly > > to create a complete, executable program, it's absolutely essential that > > foo.c be compiled and linked in as well. > > > What Makefile dependencies are about is ensuring that, if a change is > > made to foo.c, it will be recompiled and relinked with main.c to > > guarantee that the final executable is up to date in all respects. > > Certainly a sensible point, but not the way I understood 'makedepend' to > work. > > As Conrad said, 'make' can be directed to compare the currency of the > files upon which a particular product file (compiled object, library, > executable, or other type) depends, so that all product files for which > the components have changed _are_ rebuilt, but a maximum number of product Sorry - I meant "minimum" --^^^ > files (i.e., unchanged objects being linked into a library) are > unnecessarily rebuilt. Many of these rules I put in manually. > > 'make' only knows some 'generic' rules (what is done to change a *.c into > a *.o, for example), plus the explicit dependencies I have written into my > Makefile. 'makedepend' is a way to automatically generate the > file-specific rules that can be deduced from a [source] file's own > contents: usually those secondary files that are brought into it by > '#include' pragmas. These auxiliary rules are written onto the Makefile > and become part of it. These files are not necessarily separately > compiled; I find your definition a bit misleading on this. > > 'makedepend' is given a list of files to scan, and places to look for > included files. My 'depend' rule looks like this: > > +++ > depend: > makedepend -- $(CFLAGS) -- $(SRCS) -- $(INCLUDES) > > # DO NOT DELETE THIS LINE -- make depend depends on it. > > +++ > > That funky last line really tells 'makedepend' where it should write the > new rules onto my Makefile. Before using a Makefile on a group of sources, > or when source files are added to the build, I remove all the generate > rules which have been added below the '# DO NOT DELETE ...' line and > rebuild the 'depend' target - which is the Makefile itself: > > $ make depend > > Typical rules automagically added by 'makedepend' are: > > +++ > ... > BufRing.o: ../Llcommon/SEBase.h StdAfx.h BufRing.h > Camera.o: ../Llcommon/SEBase.h StdAfx.h ../Llcommon/commonStruct.h > Camera.o: ../Llcommon/secureeye.h ../Llcommon/memCtrl.h > Camera.o: ../Llcommon/retCodes.h ../Llcommon/LiveShare.h Camera.h > Camera.o: ../Llcommon/Common.h Pump.h BufRing.h CamData.h Snap.h INet.h > Camera.o: Player.h > INet.o: ../Llcommon/SEBase.h StdAfx.h /usr/include/stdlib.h > ... > +++ > > The effect of these added rules is that if I change [say] 'BufRing.h' then > do 'make all', 'BufRing.c' and 'Camera.c' would be recompiled, but not > necessarily 'INet.c' > > 'make' isn't very bright, but (like 'cpp') it can be _very_ handy. > > - John Mills >[EMAIL PROTECTED] > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- - John Mills [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
install & partitioning advice needed
Hello, Using a FreeBSD 4.6 CD I have, I'd like to install on an older system (P200). The machine has a 4 GB IDE drive and another 4 Gb attached via SCSI. These seem to be recognised as da0 and ad0. The SCSI adapter has no ROM, and is not directly bootable. I thus suppose FreeBSD - and any OS under the circumstances - needs at least one little boot slice on the 1st (IDE) drive. I could free about 400 Mb on that drive, in an extended partition. Can FreeBSD be started from an extended partition, or will it need a primary one, and which filesystem(s) needs reside on the startup disk, with which recommended minimum size? TIA, --bald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB mouse support
On Saturday 27 November 2004 21:28, Trey Sizemore wrote: > I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with > 512MB RAM) and cannot get my mouse pointer to move in KDE. It is a > Microsoft Wireless Optical 2.0 mouse (USB) and I have the following > section in my /etc/X11/xorg.conf file: > > Driver "mouse" > Option "Protocol" "Auto" > Option "Device" "/dev/sysmouse" > Option "Buttons" "7" > Option "ZAxisMapping" "4 5" > > I have installed FreeBSD from the disc 1 ISO file and installed > everything by default. I have not done a kernel recomple at this point. > > Is this an issue with my xorg.conf file or a USB issue that requires a > kernel recompile? I did not see anything helpful in the Using X11 in > the manual. Make sure you have usbd running and have set usbd_enable="YES" in /etc/rc.conf When a mouse is plugged in usbd should start moused to handle the input. The debug output on your console should state ums0 being attached when the mouse is plugged in. Good luck, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make Depend
Freebies - On Sat, 27 Nov 2004, Conrad J. Sabatier wrote: > On Sat, 27 Nov 2004 09:43:17 +0100, Gert Cuykens > <[EMAIL PROTECTED]> wrote: > > > "A Makefile rule that typically scans all C/C++ source files in a > > directory, and generates rules that indicate that an object file > > depends on certain header files, and must be recompiled if they are > > recompiled." > > > > i dont understand this. how can a object depend on something that is > > not compiled yet? Would the freebsd world not be a happier place if > > make did the dependancy thingies what ever they are automatically ? ... > Re: dependencies, it should be simple to understand if you give it a > moment's thought. Let's say you have a file "main.c" that calls > functions in "foo.c". In order for main.c to compile and link properly > to create a complete, executable program, it's absolutely essential that > foo.c be compiled and linked in as well. > What Makefile dependencies are about is ensuring that, if a change is > made to foo.c, it will be recompiled and relinked with main.c to > guarantee that the final executable is up to date in all respects. Certainly a sensible point, but not the way I understood 'makedepend' to work. As Conrad said, 'make' can be directed to compare the currency of the files upon which a particular product file (compiled object, library, executable, or other type) depends, so that all product files for which the components have changed _are_ rebuilt, but a maximum number of product files (i.e., unchanged objects being linked into a library) are unnecessarily rebuilt. Many of these rules I put in manually. 'make' only knows some 'generic' rules (what is done to change a *.c into a *.o, for example), plus the explicit dependencies I have written into my Makefile. 'makedepend' is a way to automatically generate the file-specific rules that can be deduced from a [source] file's own contents: usually those secondary files that are brought into it by '#include' pragmas. These auxiliary rules are written onto the Makefile and become part of it. These files are not necessarily separately compiled; I find your definition a bit misleading on this. 'makedepend' is given a list of files to scan, and places to look for included files. My 'depend' rule looks like this: +++ depend: makedepend -- $(CFLAGS) -- $(SRCS) -- $(INCLUDES) # DO NOT DELETE THIS LINE -- make depend depends on it. +++ That funky last line really tells 'makedepend' where it should write the new rules onto my Makefile. Before using a Makefile on a group of sources, or when source files are added to the build, I remove all the generate rules which have been added below the '# DO NOT DELETE ...' line and rebuild the 'depend' target - which is the Makefile itself: $ make depend Typical rules automagically added by 'makedepend' are: +++ ... BufRing.o: ../Llcommon/SEBase.h StdAfx.h BufRing.h Camera.o: ../Llcommon/SEBase.h StdAfx.h ../Llcommon/commonStruct.h Camera.o: ../Llcommon/secureeye.h ../Llcommon/memCtrl.h Camera.o: ../Llcommon/retCodes.h ../Llcommon/LiveShare.h Camera.h Camera.o: ../Llcommon/Common.h Pump.h BufRing.h CamData.h Snap.h INet.h Camera.o: Player.h INet.o: ../Llcommon/SEBase.h StdAfx.h /usr/include/stdlib.h ... +++ The effect of these added rules is that if I change [say] 'BufRing.h' then do 'make all', 'BufRing.c' and 'Camera.c' would be recompiled, but not necessarily 'INet.c' 'make' isn't very bright, but (like 'cpp') it can be _very_ handy. - John Mills [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Breaking password on FreeBSD 5.2.1 box
Lowell Gilbert <[EMAIL PROTECTED]> wrote: > Bill Moran <[EMAIL PROTECTED]> writes: > > > Edit /etc/ttys and mark the console "insecure" and try it again. > > > > You'll find you can't get in without the password when that change has > > been made. That configuration is the correct thing to do when you can't > > guarantee the physical security of the machine. > > To be more precise, it covers the case where the machine *is* > physically secure, but its console is not. Obviously, if the machine > is sufficiently insecure that someone could boot off a floppy, it > doesn't matter what /etc/ttys says. Yeah, that's what I meant. Thanks for clarifying my sloppy explanation. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Breaking password on FreeBSD 5.2.1 box
Bill Moran <[EMAIL PROTECTED]> writes: > Edit /etc/ttys and mark the console "insecure" and try it again. > > You'll find you can't get in without the password when that change has > been made. That configuration is the correct thing to do when you can't > guarantee the physical security of the machine. To be more precise, it covers the case where the machine *is* physically secure, but its console is not. Obviously, if the machine is sufficiently insecure that someone could boot off a floppy, it doesn't matter what /etc/ttys says. Be well. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB mouse support
I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with 512MB RAM) and cannot get my mouse pointer to move in KDE. It is a Microsoft Wireless Optical 2.0 mouse (USB) and I have the following section in my /etc/X11/xorg.conf file: Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "Buttons" "7" Option "ZAxisMapping" "4 5" I have installed FreeBSD from the disc 1 ISO file and installed everything by default. I have not done a kernel recomple at this point. Is this an issue with my xorg.conf file or a USB issue that requires a kernel recompile? I did not see anything helpful in the Using X11 in the manual. Thanks for the input! -Trey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
named not sending notifies? (5.3)
I noticed that when named starts during boot up, I dont seem to be able to 'send' notifies to my slave machines: notify to x.y.71.63#53: retries exceeded notify to x.y.71.63#53: retries exceeded notify to x.y.71.63#53: retries exceeded However, if I pkill named and start it manually from the command line it sends notifies just fine. Has anyone else noticed this?? If it was my config, I would expect it to act like this whether or not I start it manually or not. But this is not the case. PS. How important is it to bother with this? - should I just turn off notify and let the refresh handle things? -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade from 4.10 to 5.2 over SSH?
after thinking about the question a bit, i realized its a little vage. i mean i have been asked to upgrade a server from 4.10 to 5.2.1 and all i have is remote access via ssh. can it be done remotely? Steel City Phantom wrote: can it be done? how? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Printing
Nice, thanks for the replies guys. I was looking into this printer. http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-238444-410635-12085-f57-90805-90810-90811.html HP PSC 2175 All-in-One (Q3068A) On Sat, 27 Nov 2004 20:03:39 +, Mike Woods <[EMAIL PROTECTED]> wrote: > gabriel wrote: > > >>It is said that HP has good support for nix on its printers. I'm about > >>to purchase a printer thats listed on linuxprinting dot org but it > >>utilizes usb. I'll be setting it up with cups, how smart is this? I'm > >>gonna set it up in a network environment. > > Odds are it'll show as a usb parallel port (most usb printers do this) > and being a HP it shouldn't pose any compatability problems (most use > pcl/pjl) > > However if you let us know what printer it is you'll get a better answer :) > > - > Mike Woods > IT Technician > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: realtek rl0 not working with dchp
arden wrote: hi folks Im setting up an extra box on my home dchp network to use as an internet station it just will not pick up an ip address by dchp even when nothing else is on the network i can manually assign an ip with ifconfig so pretty sure its detected ok also tried 3 different linux distros and get the same prob with this card the case is compact (built into the monitor) so a different nic is not an option Arden ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I am no expert, but try: # dhclient -v rl0 and post the output. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Printing
On Sat, 2004-11-27 at 11:55 -0800, gabriel wrote: > On Sat, 27 Nov 2004 11:52:10 -0800, gabriel <[EMAIL PROTECTED]> wrote: > > It is said that HP has good support for nix on its printers. I'm about > > to purchase a printer thats listed on linuxprinting dot org but it > > utilizes usb. I'll be setting it up with cups, how smart is this? I'm > > gonna set it up in a network environment. Most HP printers (inkjet/laser) are supported on FreeBSD via either hpijs, gnomeprint or stand postscript drivers. In a networked environment setting it up with cups/samba is quite easy and straight forward. Make sure the usb printer is connected and turned on first before adding the printer via the cups web interface. Otherwise the usb option will not be available. This is a common setup, so a quick google, will probably get you a lot of answers in case you encounter any problems. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Printing
gabriel wrote: It is said that HP has good support for nix on its printers. I'm about to purchase a printer thats listed on linuxprinting dot org but it utilizes usb. I'll be setting it up with cups, how smart is this? I'm gonna set it up in a network environment. Odds are it'll show as a usb parallel port (most usb printers do this) and being a HP it shouldn't pose any compatability problems (most use pcl/pjl) However if you let us know what printer it is you'll get a better answer :) - Mike Woods IT Technician ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Printing
Sending again as I got a response from spamcop about it not being sent. On Sat, 27 Nov 2004 11:52:10 -0800, gabriel <[EMAIL PROTECTED]> wrote: > It is said that HP has good support for nix on its printers. I'm about > to purchase a printer thats listed on linuxprinting dot org but it > utilizes usb. I'll be setting it up with cups, how smart is this? I'm > gonna set it up in a network environment. > > Any comments are appreciated. > > -- > gabriel, > > Member of: > FreeBSD-Announce > FreeBSD-Hardware > FreeBSD-Multimedia > FreeBSD-questions > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Lost MBR/wrong disk geometry
Jeremy Faulkner wrote: 'fdisk -B' didn't work? Nope :-( I have installed gpart, it complians* * Warning: partition(FreeBSD/NetBSD/386BSD) starts beyond disk end. Partition(FreeBSD/NetBSD/386BSD): invalid primary OK. and then guessed an empty partition table... ? Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Lost MBR/wrong disk geometry
Erik Norgaard wrote: Hi, It appears that I have screwed my disk (60GB) thoroughly. I had used the sample install.cfg for sysinstall but it has "partition=exclusive" and not "all". I did dd if=/dev/zero of=/dev/ad0 count=1k as explained in the faq, and the exclusive partioning was gone. I can run sysinstall, slice up the disk and install stuff. But on reboot the system doesn't find a usefull mbr. I can boot up a rescue disk, mount the partitions, read data stored and use any programs installed. But I can't recover or create a new mbr with dd if=/boot/mbr of=/dev/ad0 or with /boot/boot0, or use fdisk to manually set slices and active slice, run sysinstall and choose a bootmanager or similar. Please, how to I get back an mbr and a working partition table? Thanks! Cheers, Erik 'fdisk -B' didn't work? -- Jeremy Faulkner <[EMAIL PROTECTED]> Resume: http://www.gldis.ca/gldisater/resume.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make Depend
On Sat, 27 Nov 2004 09:43:17 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote: > "A Makefile rule that typically scans all C/C++ source files in a > directory, and generates rules that indicate that an object file > depends on certain header files, and must be recompiled if they are > recompiled." > > i dont understand this. how can a object depend on something that is > not compiled yet? Would the freebsd world not be a happier place if > make did the dependancy thingies what ever they are automatically ? Yes, it certainly would be a happier place. :-) And it would be great, too, if I could interface with my computer purely by voice control and synthesized speech feedback, and have it do what I *mean* and not what I say. :-) But alas, computers are not *that* smart yet. They still need a little help from us humans (actually, a *lot* of help). :-) Re: dependencies, it should be simple to understand if you give it a moment's thought. Let's say you have a file "main.c" that calls functions in "foo.c". In order for main.c to compile and link properly to create a complete, executable program, it's absolutely essential that foo.c be compiled and linked in as well. What Makefile dependencies are about is ensuring that, if a change is made to foo.c, it will be recompiled and relinked with main.c to guarantee that the final executable is up to date in all respects. Does that help? :-) -- Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nmap and networking device
Yes, you must enable the device "bpf" in the kernel before using nmap. This also goes for things such as tcpdump, DHCPd, etc... Matt Lager > did i get this right: in order to use nmap i need to enable > packet filtering because otherwise i would not have any device > node for nmap to use? > > any hints appreciated, thanks > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mysql Error 1135
Hi All, I am getting following error message while accessing mysql. ERROR 1135: Can't create a new thread (errno 35). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug What could be the problem? I know that the problem is due to resources are temporarily unavaliable. But how can I fix this issue so that it won't come back. -- With Regards, Akhthar Parvez.K - NOTHING IS IMPOSSIBLE Because Impossible itself says I'M POSSIBLE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Lost MBR/wrong disk geometry
Hi, It appears that I have screwed my disk (60GB) thoroughly. I had used the sample install.cfg for sysinstall but it has "partition=exclusive" and not "all". I did dd if=/dev/zero of=/dev/ad0 count=1k as explained in the faq, and the exclusive partioning was gone. I can run sysinstall, slice up the disk and install stuff. But on reboot the system doesn't find a usefull mbr. I can boot up a rescue disk, mount the partitions, read data stored and use any programs installed. But I can't recover or create a new mbr with dd if=/boot/mbr of=/dev/ad0 or with /boot/boot0, or use fdisk to manually set slices and active slice, run sysinstall and choose a bootmanager or similar. Please, how to I get back an mbr and a working partition table? Thanks! Cheers, Erik PS: When sysinstall ran first, it complained about a wrong geometry, 116280/16/63 and tried to rewrite it to 7296/255/63. The bios reports 28728/16/255 and the label on the disk sais 16383/16/63. Accepting the geometry from sysinstall would make the installation complete but on reboot the system booted up with the old geometry. On my laptop my disk (40GB) has geometry 77520/16/63 so I hacked up sysinstall to accept the geomtry (a simple change). With this I can slice up the disk and install the system. I don't know if this is right, but from my current state, I'd say that the only thing is the mbr not being written correctly to the disk... -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Key mapping in X.org
Josh Paetzel wrote: > I'm trying to set up a keybinding in X. I would like Right Shift + > Enter to be treated the same way that Enter is when pressed alone. > Right now pressing Right Shift + Enter doesn't appear to do anything > at all. > > I've read through the xset and stty man pages and didn't spot what I > need. > > A nudge in the right direction would be most appreciated. The program you ar looking for is: xkeycaps For a snapshot see: http://jeremino.homeunix.net/snapshot.jpg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error downloading
"Vijay Anand" <[EMAIL PROTECTED]> writes: > Hi > > When i try to download from cvsweb i get the following error.I checked for > folders and permission. > > please help me in this regard. > > Error Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute > module reference invalid: `/Motolog/MotoLogDLL.vbp' > Check whether the directory /cm/vault/automation_utilities/CVSROOT exists > and the script has write-access to the CVSROOT/history file if it exists. > The script needs to place lock files in the directory the file is in as > well. What is the URL that you were trying when this failed? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Key mapping in X.org
I'm trying to set up a keybinding in X. I would like Right Shift + Enter to be treated the same way that Enter is when pressed alone. Right now pressing Right Shift + Enter doesn't appear to do anything at all. I've read through the xset and stty man pages and didn't spot what I need. A nudge in the right direction would be most appreciated. -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
realtek rl0 not working with dchp
hi folks Im setting up an extra box on my home dchp network to use as an internet station it just will not pick up an ip address by dchp even when nothing else is on the network i can manually assign an ip with ifconfig so pretty sure its detected ok also tried 3 different linux distros and get the same prob with this card the case is compact (built into the monitor) so a different nic is not an option Arden ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: This is a cool shell prompt question
May be, you can use some small shell script to run as getty replacement ? It must open tty and start the clocks on it. It even will be automatically restarted if needed by init process. Best regards, Alexander Derevianko Mark Jayson Alvarez wrote: Good day! I'm just wondrin if its possible for me to run applications at boot time but on another terminal. I find it cool to have a huge digital clock (grdc) running on background so that I can just shift to another terminal whenever I want to know the time. Actually, all I really want is a clock that is continuously ticking whatever I may be doing(in terminal window). I've already learned how to set my prompt to multiple lines and also displaying my current working directory. But now, I want it even more informative displaying a ticking digital clock in my shell prompt like the one i'm seeing in my kde system tray right now. Is it possible?. Thanks. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Breaking password on FreeBSD 5.2.1 box
Nikolas Britton <[EMAIL PROTECTED]> wrote: > Andrew Lewis wrote: > > >Hi list, > > > >We have a client running a fBSD 5.2.1 box that needed its root password > >hacked. > > > >I couldn't boot into single user mode w/o the root password, so I > >installed fBSD 5.3 on another machine, and slaved the drive from the > >5.2.1 box in mine. > > > What? > > Step 1: Boot the computer. > Step 2: At the FreeBSD boot menu select "Escape to loader prompt" > Step 3: Type in "boot -s" and hit enter. > Step 4: Hit enter when it asks you what shell you want to use. > Step 5: Type in "cat /etc/fstab" and hit enter. > Step 6: Mount / and /usr, "mount /dev/foobar /", "mount /dev/foobar /usr". > Step 7: Type in "passwd" and hit enter. > Step 8: Type in new password and hit enter. > Step 9: Retype in new password and hit enter. > Step 10: type in "reboot" and hit enter. > > I just try'ed it with FreeBSD 4.10 and 5.3 and it worked for both of them. Edit /etc/ttys and mark the console "insecure" and try it again. You'll find you can't get in without the password when that change has been made. That configuration is the correct thing to do when you can't guarantee the physical security of the machine. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing libgnome-2.8.0 (really trying galeon)
Hello guys! I'm trying to install galeon (the lastes port version) for like the tenth time and as always I haven't been successfull at all. When I try to install galeon it goes through its motions of installing dependencies and such until it reaches libgnome-2.8.0 and well, thats where all hell breaks loose. Here's a snip: ===> Building for libgnome-2.8.0_1 gmake all-recursive gmake[1]: Entering directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0' Making all in libgnome gmake[2]: Entering directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome' gmake all-am gmake[3]: Entering directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome' /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe -L/usr/local/lib -o gnome-open gnome-open.o libgnome-2.la -lpopt cc -O -pipe -o .libs/gnome-open gnome-open.o -L/usr/local/lib ./.libs/libgnome-2.so -L/usr/X11R6/lib -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv -lesd -laudiofile -lm -lpopt -Wl,--rpath -Wl,/usr/X11R6/lib gmake[3]: Leaving directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome' gmake[2]: Leaving directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome' gmake[1]: Leaving directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0' *** Error code 2 Stop in /usr/ports/x11/libgnome. The only way I've tried to install galeon and libgnome is through ports, havent tried source (I dont even know if those packages are available that way?) Cheers! -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ac'97 audio 5.2.1
On Saturday 27 November 2004 17:38, Perttu Laine wrote: > Hello! > > I've never used audio on freebsd and I need to know how to get > AC'97 to work with my 5.2.1 freebsd. And with it's mplayer. So... > where to start from? :) > > -- > kpn @ IRCnet Check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ac'97 audio 5.2.1
Hello! I've never used audio on freebsd and I need to know how to get AC'97 to work with my 5.2.1 freebsd. And with it's mplayer. So... where to start from? :) -- kpn @ IRCnet ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
nmap and networking device
did i get this right: in order to use nmap i need to enable packet filtering because otherwise i would not have any device node for nmap to use? any hints appreciated, thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SiI 0680 and 5.3
i learned from the 5.3 errata that raid functionality for the above mentioned chipset was broken: "...ata raid support is non-functional ... raid config stored under 5.2 or prior may be corrupted" since i had severe problems getting 5.2.1 to work reliably (the machine would just reboot under high network load) i tested it with 5.3. initially it didn't recognise the raid1 but after recreating it (without losing any data disk) it just worked fine. moreover, the reboots are gone. what am i missing? or is it that only the 5.2 _configuration_ has gotten corrupted but the new created 5.3 configuration is ok?? any hints? thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Raq_Apache_dot_htaccess
On Sat, 27 November, 2004 14:46, Adrian Portsmouth said: > Dear List, > > I am experiencing a problem with my web site and I am not 100% sure > whether > it is Apache or FreeBSD related. > > I asked a forum to comment on my web site and one of the users there > reported that his Norton Firewall (Using Firefox 1.0) blocked access > to my > web site stating "Raq_Apache_dot_htaccess" which was claiming that I > was > attempting to intrude in his computer. Of course I am not doing any > such > thing so I began to investigate. > > When searching for information about this threat it became clear that > the > original problem was related directly to Cobalt RAQ servers, as I am > running > FreeBSD 4.7 I was a bit confused. I delved further into the RAQ > problem and > it pointed out some code which should be in the httpd.conf file, so I > have > checked and ensured that this code was in place: > > > Order allow,deny > Deny from all > Satisfy All > > > I have restarted Apache and checked that the .htaccess file can no > longer > been seen from the browser, I then asked the guy to retest and he is > still > getting the same problem. > > So I had no choice but to go out and buy a copy of Norton, I installed > it, > made sure the software was fully up to date. I then rebooted the > machine and > called the web site up in a variety of browsers and I cannot get the > same > problem! > > I know that the person who reported this is not messing about as he > has sent > me screenshots of the pop-up by Norton so I am basically stumped now. > > Has anyone else on FreeBSD had this issue and found a fix? The web > site is > in the signature if anyone on the list has Norton Firewall and can see > if > they can replicate the problem. > > My machine is FreeBSD 4.7 running PHP 4.3.9 on Apache 1.3 I have root > access > to the machine but cannot upgrade BSD, only install ports etc. The > only time > I use .htaccess on the web site is for Mod Rewrite which is not doing > anything special. http://www.google.co.uk/search?hl=en&q=Raq_Apache_dot_htaccess&btnG=Google+Search&meta= This immediately throws up some references to Norton/Symantec as well as some other goodies. Cheers, David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Breaking password on FreeBSD 5.2.1 box
Andrew Lewis wrote: Hi list, We have a client running a fBSD 5.2.1 box that needed its root password hacked. I couldn't boot into single user mode w/o the root password, so I installed fBSD 5.3 on another machine, and slaved the drive from the 5.2.1 box in mine. What? Step 1: Boot the computer. Step 2: At the FreeBSD boot menu select "Escape to loader prompt" Step 3: Type in "boot -s" and hit enter. Step 4: Hit enter when it asks you what shell you want to use. Step 5: Type in "cat /etc/fstab" and hit enter. Step 6: Mount / and /usr, "mount /dev/foobar /", "mount /dev/foobar /usr". Step 7: Type in "passwd" and hit enter. Step 8: Type in new password and hit enter. Step 9: Retype in new password and hit enter. Step 10: type in "reboot" and hit enter. I just try'ed it with FreeBSD 4.10 and 5.3 and it worked for both of them. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Raq_Apache_dot_htaccess
Dear List, I am experiencing a problem with my web site and I am not 100% sure whether it is Apache or FreeBSD related. I asked a forum to comment on my web site and one of the users there reported that his Norton Firewall (Using Firefox 1.0) blocked access to my web site stating "Raq_Apache_dot_htaccess" which was claiming that I was attempting to intrude in his computer. Of course I am not doing any such thing so I began to investigate. When searching for information about this threat it became clear that the original problem was related directly to Cobalt RAQ servers, as I am running FreeBSD 4.7 I was a bit confused. I delved further into the RAQ problem and it pointed out some code which should be in the httpd.conf file, so I have checked and ensured that this code was in place: Order allow,deny Deny from all Satisfy All I have restarted Apache and checked that the .htaccess file can no longer been seen from the browser, I then asked the guy to retest and he is still getting the same problem. So I had no choice but to go out and buy a copy of Norton, I installed it, made sure the software was fully up to date. I then rebooted the machine and called the web site up in a variety of browsers and I cannot get the same problem! I know that the person who reported this is not messing about as he has sent me screenshots of the pop-up by Norton so I am basically stumped now. Has anyone else on FreeBSD had this issue and found a fix? The web site is in the signature if anyone on the list has Norton Firewall and can see if they can replicate the problem. My machine is FreeBSD 4.7 running PHP 4.3.9 on Apache 1.3 I have root access to the machine but cannot upgrade BSD, only install ports etc. The only time I use .htaccess on the web site is for Mod Rewrite which is not doing anything special. Thanks in advance for your help. Adrian Portsmouth .htaccess Manager - SilkPHP [e] [EMAIL PROTECTED] [w] www.htaccessmanager.com This email, its contents and attachments are confidential and may be covered by legal privilege. This email contains information intended only for the person(s) and/or entity named above. The views and opinions expressed are those of the sender and not necessarily those of SilkPHP or its affiliates. Any other distribution, copying, review, use or disclosure is strictly prohibited. If you are not the intended recipient, please delete this message and any attachments without making a copy and advise the sender by return email - thank you. This mail and any attachments have been scanned for viruses prior to leaving the SilkPHP network. SilkPHP will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL and tunefs
Adam Stroud wrote: > Kees: > > You were right, I did not umount the filesystem first, I dropped into > single user mode and I thought that did unmount the filesystem. When I > booted the machine into single the tunefs command seemed to work OK. > > However, I still dont get a "+" when I do a long listing of a file and > the handbook says I should see one. Does this mean that things did not > take? > Check if your acl-option is working with "mount" ( no parameters ) It should give somthing like: /dev/ad1s1g on /mnt (ufs, local, soft-updates, acls) Then give the setfacl command on a file: setfacl -m u::rwx,g:mail:rw file Now you must have a + sign with the "ls -la" command. I got error messages when I disabled or enabled acl on a not-empty filesystem and made a directory listing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fun with partition tables...
Greetings, list! I'm asking this question with the (very faint) hope that someone knows of any way to help me recover my drive. Allow me to explain: I'm dual booting Windows XP and FreeBSD/amd64 on two different physical drives. I installed boot0 to the disk that had Windows XP on it (all on a single partition, mind you) and it was running fine, dual booting was a breeze. However, when I installed a third drive, things went funny, and the BIOS no longer reported the FreeBSD drive (it's on a RAID controller), so that boot0 no longer saw it. Fine, not much that can be done about that. Upon fiddling with BIOS settings, I discovered a built-in BIOS boot device selector, and decided to remove the boot0 from my Windows drive (since it didn't do anything useful anyway). This is where I messed up. Under /dev, I have ad2 (the windows drive), and ad2s1 (the partition that has Windows on it - this is the only partition on the drive). The command fdisk -B /drive/ will install a default boot manager, so I did an fdisk -B /dev/ad2 as root, only to get an "Operation not permitted" error. Thinking this funny, I did a fdisk -B /dev/ad2s1 which worked. Alas, this was my undoing. A reboot yielded boot0 still popping up, but when trying to boot Windows, I got the dreaded "Invalid partition table" message. The horror! Back into FreeBSD, I reran the fdisk -B /dev/ad2 which now worked for some reason, and a reboot showed that boot0 was in fact gone, but the partition table was still invalid. A number of silly mistakes made by me in the following frustrating hours included running fdisk -I /dev/ad2 (forgot the -t flag) because I had half given up on ever seeing my data again. In hindsight, I see that my best bet would have been to boot the recovery console off of the WinXP CD and ran fixboot and fixmbr, but it's a bit late for that now. I did eventually run fixboot, and it placed a FAT16 partition table entry on the disk (I originally had NTFS on it). Now, my question is this: is there any hope of me ever seeing my data again? Seeing as how the entire disk was originally covered in a single NTFS partition, is it possible to add an entry for such and access the files once again? This is a long shot, I know, but you never know... Thanks for any and all help! -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL and tunefs
Kees: You were right, I did not umount the filesystem first, I dropped into single user mode and I thought that did unmount the filesystem. When I booted the machine into single the tunefs command seemed to work OK. However, I still dont get a "+" when I do a long listing of a file and the handbook says I should see one. Does this mean that things did not take? A Kees Plonsz wrote: Adam Stroud wrote: All: I am trying to enable ACL support of my FreeBSD 5.3 box. I drop into single user mode and run the tunefs -a enable command on my partition and get the following: tuenfs: ACLs set tunefs: /dev/ad0s1a: failed to write superblock When I reboot it seems that the ACL are not set. Any ideas? You forgot to umount your filesystem first ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Breaking password on FreeBSD 5.2.1 box
You could always insert a 5.2.1 CD, do a 'Configure' (menu) on /stand/sysinstall, select change root passwd from the menu. > Hi list, > > We have a client running a fBSD 5.2.1 box that needed its root password > hacked. > > I couldn't boot into single user mode w/o the root password, so I > installed fBSD 5.3 on another machine, and slaved the drive from the > 5.2.1 box in mine. > > Then I tried editting its master.passwd file and removing the root > password: didn't work. > > So then I tried setting it to the hash of a password I knew: didn't > work. > > So then I editted /etc/ttys and set 'secure', booted up in single user > mode, ran 'passwd' and it came back with some failure in pam_chauthtok - > I forget the exact message, but it wasn't any more specific than what > I've described. > > What to do now? Did I do something very wrong? :( Please CC your > response to me (non-subscriber)... > > Thanks... > > Best, > -AL. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL and tunefs
Adam Stroud wrote: > All: > > I am trying to enable ACL support of my FreeBSD 5.3 box. I drop into > single user mode and run the tunefs -a enable command on my partition > and get the following: > > tuenfs: ACLs set > tunefs: /dev/ad0s1a: failed to write superblock > > When I reboot it seems that the ACL are not set. > > Any ideas? > You forgot to umount your filesystem first ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL and tunefs
Adam Stroud wrote: > All: > > I am trying to enable ACL support of my FreeBSD 5.3 box. I drop into > single user mode and run the tunefs -a enable command on my partition > and get the following: > > tuenfs: ACLs set > tunefs: /dev/ad0s1a: failed to write superblock > > When I reboot it seems that the ACL are not set. > > Any ideas? > Check if you really use UFS2 (run dumpfs and see 1 line) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
usb "wi(4)" devices
dear list, i own a Netgear MA111 wireless adapter which has a Prism III chip. FreeBSD's wi(4) driver does not support it, as it is a USB device, but OpenBSD has support for it. my quetion is, if there are any ongoing activities to get support for USB based wi(4) devices into FreeBSD. if yes ... who is working on it and how can i help? if no, ... well i would give it a try ... TIA zheyu -- Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD ++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fsck inadequacies
Kent Stewart wrote: On Friday 26 November 2004 03:16 pm, Mardoc Inc wrote: I run a FreeBSD system at a remote site. It costs me over $4000 to visit the site (northern arctic). It, along with some other equipment, runs off 2 x 50 kW diesel generators which are swapped by a mechanic once per week. The swap-over takes less than a minute. The computer runs off a UPS, which easily holds its charge during the swap. All of the UPSes that I have used come with a warning that the battery will eventually need to be replaced. Are you sure the UPS is still good? But, unlike the other windows systems that run up there, the FreeBSD system seems incredibly prone to disk corruption. Often the system will not reboot, I might be being dense here, but why does the system need to be rebooted when the generators are swapped over? You say above that the UPS easily holds its charge during the swap. and hangs while it asks for a file check. I can't do that remotely - it has to be a person. I frequently need to run fsck, and that does not always work. It is hard to instruct a diesel mechanic on such matters from such a distance. "fsck -y" usually does not work either. Reading this, I get the sequence: diesel mechanic goes onsite --> there's an unnecessary reboot --> fsck fails Personally, I'd chat with the mechanic with an eye to preventing unnecessary reboots. Sounds like the wetware might be at fault here. Peter. -- the circle squared network systems and software http://www.circlesquared.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The UFS support of Linux (was: Re: what is the bsd fs called outside the bsd sphere?)
On Fri, 26 Nov 2004 23:10:28 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2004-11-25 20:08, Matthias Buelow <[EMAIL PROTECTED]> wrote: > > Richard Williamson wrote: > > > Ok, I'll recreate the original flash image to ensure it is -O 1, and > > > then try again. > > > > in order to mount ufs1 on linux, you also have to specify the > > ufstype=44bsd option to mount. otherwise the mount might succeed, > > but you won't see any files. > > Has anyone checked if the ufs support of Linux works with UFS2 too? Last I had heard, read-only support had been created for Linux. -- If I write a signature, my emails will appear more personalised. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
I can not install FreeBSD 5.3 in an old Pentium 100 MHz
Hello dear FreeBSD friends. I am Ramiro from Spain.This is my first post to the list. I am a regular Debian GNU/Linux user, but I have been tempted to try FreeBSD. I have installed it successfully on my 1200 MHz Athlon computer booting from the CDROM drive and I like it, but I can not install it in an old Pentium 100 MHz fujitsu computer. This old machine can not boot from the CDROM, so I tried to boot with the floppies. I have prepared the 3 floppies several times and I stil can not install it. I boot with the "boot.flp" floppy ok. I insert "kern1.flp" and it loads ok. I insert "kern2.flp" and it loads ok. I was prompted to insert "boot.flp" floppy again and it shows the logo screen with the booting options. If I choose the default (with no acpi), the computers shudenly restarts without being able to see any message. The remaining options cause the same machine reboot. I can enter into the loader prompt. ¿What can I do? Any help will be apreciated. Sorry for my bad english. Ramiro. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Breaking password on FreeBSD 5.2.1 box
On Thursday 25 November 2004 15:22, Andrew Lewis wrote: > Hi list, > > We have a client running a fBSD 5.2.1 box that needed its root password > hacked. > > I couldn't boot into single user mode w/o the root password, so I > installed fBSD 5.3 on another machine, and slaved the drive from the > 5.2.1 box in mine. > > Then I tried editting its master.passwd file and removing the root > password: didn't work. > > So then I tried setting it to the hash of a password I knew: didn't > work. After you have changed /etc/master.passwd, you have to run pwd_mkdb to generate the new password database. If you have the second disk mounted on /mnt, try this after changing the hashes : pwd_mkdb -d /mnt/etc /mnt/etc/master.passwd > So then I editted /etc/ttys and set 'secure', booted up in single user > mode, ran 'passwd' and it came back with some failure in pam_chauthtok - > I forget the exact message, but it wasn't any more specific than what > I've described. That's probably passwd failing because the root filesystem is mounted read-only in single user mode. Try "mount -a" before you start passwd. > What to do now? Did I do something very wrong? :( Please CC your > response to me (non-subscriber)... > > Thanks... > > Best, > -AL. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Breaking password on FreeBSD 5.2.1 box
Hi list, We have a client running a fBSD 5.2.1 box that needed its root password hacked. I couldn't boot into single user mode w/o the root password, so I installed fBSD 5.3 on another machine, and slaved the drive from the 5.2.1 box in mine. Then I tried editting its master.passwd file and removing the root password: didn't work. So then I tried setting it to the hash of a password I knew: didn't work. So then I editted /etc/ttys and set 'secure', booted up in single user mode, ran 'passwd' and it came back with some failure in pam_chauthtok - I forget the exact message, but it wasn't any more specific than what I've described. What to do now? Did I do something very wrong? :( Please CC your response to me (non-subscriber)... Thanks... Best, -AL. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Make Depend
"A Makefile rule that typically scans all C/C++ source files in a directory, and generates rules that indicate that an object file depends on certain header files, and must be recompiled if they are recompiled." i dont understand this. how can a object depend on something that is not compiled yet? Would the freebsd world not be a happier place if make did the dependancy thingies what ever they are automatically ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NDIS: no buffer space available
Hi there after using emule for a like 30mins I start getting that message I used netstat -m to track the mbuf clusters but when I start getting the message there is only like 356 used out of 32768 - I'm using the NDIS module to load my wifi card - I can send and recive all the info I want via http, ftp, etc it's the p2p software what makes it fail - When I'm connected via ethernet it seems to work fine Thanks Jorge = _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"