dynamic mouse(d) acceleration
Dear list, is it possible to get dynamic mouse acceleration with Xorg? moused only supports linear acceleration. Everytime I have to work with windows I love to return to my FreeBSD Workstation, but I'm missing the windows mouse support. Even after years of acclimatization to X mouse, the windows mouse movement is much much better, more intuitive ("natural") I think. My greatest wish was moused with dynamic acceleration. Thanks, -Mano pgpVfpy0RYbqd.pgp Description: PGP signature
Re: console resolution on a T41
Am Dienstag, 18. Januar 2005 08:07 schrieb Galanaki, Dimitrios: > I am trying to increase the console resolution on my Thinkpad T41 which has > an ATI mobility radeon card. > > >From what I read the standard step is to add the lines following lines in > > the kernel configuration file: > options VESA > options SC_PIXEL_MODE > However when I run > vidcontrol -g 100x37 VESA_800x600 > I still get that the mode is not supported by the device. > Is there something that I am missing here? Has anyone tried to increase > console resolution on a T41 Thinkpad or even an ATI mobility radeon laptop? Unfortunately syscons uses 800x600 with 16 colors (4 bit, mode 258) and all ATI cards I know don't support that mode, only 800x600x8 (256 colors, mode 259). You can check your card features with 'vidcontrol -i mode'. I'm no programmer, otherwise I had patched syscons to use mode 0x103 (259) instead of 0x102. Perhaps you are lucky and find somebody who corrects this. ALso, search the archives, some months ago some good guys made syscons use higher resolutions, perhaps they also implemented more sensful mode selection. -Harry > > D. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpCGMX7kRvcx.pgp Description: PGP signature
Re: gmirror disk mirroring
Am Sonntag, 27. Februar 2005 03:54 schrieb Stephen Kelly: > Hi All, > > I'm having a problem trying to set up disk mirroring of two 80G Western > Digital IDE drives. I'm using the instructions at > http://people.freebsd.org/~rse/mirror/ > I've included these instructions at the end of this e-mail. > When I reboot the system for the first time as instructed, it starts to > boot but then just starts printing the following messages to the screen: > > init: can't exec getty `usr/libexec/getty` for port ttyv1: > No such file or directory > init: can't exec getty `usr/libexec/getty` for port ttyv2: > No such file or directory > init: can't exec getty `usr/libexec/getty` for port ttyv3: > No such file or directory > init: can't exec getty `usr/libexec/getty` for port ttyv4: > No such file or directory > . > . > . Something at the dump/restore stage went wrong or your /etc/fstab is wrong. Delete /boot.congig an boot from the initial disk, btw. is your second drive really on primary slave? That's why I hate how-tos, people just type it word by word without knowing what they do. If your disk ist secondary master, it's not ad1 but ad2, in GENERIC ata is compiled with ATA_STATIC_ID. Forget the howto and read the man pages, it's the shorter way if the howto doesn't work for you. Best regards, -Harry > > > Can anyone tell me where I'm going wrong/what is happening? > Thanks so much, > Stephen > > The instructions: > # make sure the second disk is treated as a really fresh one > # (not really necessary, but makes procedure more deterministically ;-) > dd if=/dev/zero of=/dev/ad1 bs=512 count=79 > > # place a GEOM mirror label onto second disk > # (actually on the last block of the disk) > gmirror label -v -n -b round-robin gm0 /dev/ad1 > > # activate GEOM mirror kernel layer > # (makes the /dev/mirror/gm0 device available) > gmirror load > > # place a PC MBR onto the second disk > # (with a single FreeBSD slice /dev/mirror/gm0s1 covering the whole disk) > fdisk -v -B -I /dev/mirror/gm0 > > # place a BSD disklabel onto /dev/mirror/gm0s1 > # (ATTENTION: in FreeBSD 5-STABLE before 14-Jan-2005 the > # /dev/mirror/gm0s1 device has to be specified as just "mirror/gm0s1" or > # the bsdlabel(8) will use the incorrect GEOM name "gm0s1" instead!) > # (NOTICE: figure out what partitions you want with "bsdlabel /dev/ad0" > before) # (NOTICE: start "a" partition at offset 16, "c" partition at > offset 0) bsdlabel -w -B /dev/mirror/gm0s1 # initialize > bsdlabel -e /dev/mirror/gm0s1# create custom partitions > > # manually copy filesystem data from first to to second disk > # (same procedure for partitions "g", etc) > newfs -U /dev/mirror/gm0s1a > mount /dev/mirror/gm0s1a /mnt > dump -L -0 -f- / | (cd /mnt; restore -r -v -f-) > newfs -U /dev/mirror/gm0s1d > mount /dev/mirror/gm0s1d /mnt/var > dump -L -0 -f- /var | (cd /mnt/var; restore -r -v -f-) > newfs -U /dev/mirror/gm0s1e > mount /dev/mirror/gm0s1e /mnt/usr > dump -L -0 -f- /usr | (cd /mnt/usr; restore -r -v -f-) > > # adjust new system configuration for GEOM mirror based setup > cp -p /mnt/etc/fstab /mnt/etc/fstab.orig > sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab > echo 'swapoff="YES"' >>/mnt/etc/rc.conf # for 5.3-RELEASE only > echo 'geom_mirror_load="YES"' >>/mnt/boot/loader.conf > > # instruct boot stage 2 loader on first disk to boot > # with the boot stage 3 loader from the second disk > # (mainly because BIOS might not allow easy booting from second ATA disk > # or at least requires manual intervention on the console) > echo "1:ad(1,a)/boot/loader" >/boot.config > > # reboot system > # (for running system with GEOM mirror on second disk) > shutdown -r now > > # make sure the first disk is treated as a really fresh one > # (also not really necessary, but makes procedure more deterministically > ;-) dd if=/dev/zero of=/dev/ad0 bs=512 count=79 > > # switch GEOM mirror to auto-synchronization and add first disk > # (first disk is now immediately synchronized with the second disk content) > gmirror configure -a gm0 > gmirror insert gm0 /dev/ad0 > > # wait for the GEOM mirror synchronization to complete > sh -c 'while [ ".`gmirror list | grep SYNCHRONIZING`" != . ]; do sleep 1; > done' > > # reboot into the final two-disk GEOM mirror setup > # (now actually boots with the MBR and boot stages on first disk > # as it was synchronized from second disk) > shutdown -r now > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpMlME4vUsmc.pgp Description: PGP signature
Re: OpenAFS server for FreeBSD ?
Am Montag, 28. Februar 2005 16:54 schrieb Heinrich Rebehn: > Hi all, > > i just wanted to know if there is an OpenAFS server available for > FreeBSD. I found only a client in the ports and also nothing about it in > the ml archive There is a special freebsd-afs Mailing list ( http://docs.freebsd.org/mail/archive/2005/freebsd-afs/) which isn't too heavily frequented ;) I remember several statements that openafs should compile and run on FreeBSD (the server part at least, for the client one should go with arla, but I think I can also remember positive results from one (the) porter at the ML). Since I'm not able to fix things I decided to drop AFS because if I decide to use it it's elementary to know it is "supported". Best regards, -Harry > > Regards, > > Heinrich Rebehn > > University of Bremen > Physics / Electrical and Electronics Engineering > - Department of Telecommunications - > > Phone : +49/421/218-4664 > Fax :-3341 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpVKXvGVwYuD.pgp Description: PGP signature
areca RAID (6) Controller knwon?
Dear all, I found the following very interesting RAID controller: http://www.starline.de/en/produkte/areca/ARC_PCI_Express/arc_1220.php It's said to be FreeBSD supported, but I have neither heard of the vendor nor of the FreeBSD driver. Does anybody know this card and perhaps has made experiences? Thanks, -Harry pgp9nc5be0o0E.pgp Description: PGP signature
Re: Sharing directories with jails
Am Donnerstag, 3. März 2005 17:04 schrieb Ean Kingston: > > How dangerous is it to share the ports directory with jails on the > > system? I am using the jails to give other access to a freebsd system. > > You can assume they are untrusted (hence the jail ;)). > > > > Is it enough just to: > > ln -s /usr/ports /usr/jail/ajail/usr/ports > > That won't work. The jail does a chroot (along with other things) when it > starts up so the link inside the jail will wind up pointing to itself. > > The only way I've been able to figure out how to do something like that is > by running an NFS server outside the jail and then run an NFS client You can also use nullfs (man (8) mount_nullfs). It's slow and not certified to be bugfree but I never had any problems and especially for centralized ports very useful. -Harry pgp5UusRj7wtv.pgp Description: PGP signature
Re: Sharing directories with jails
Am Freitag, 4. März 2005 01:50 schrieb Daniel Eriksson: > Emanuel Strobl wrote: > > You can also use nullfs (man (8) mount_nullfs). It's slow and > > not certified to be bugfree but I never had any problems and > > especially for centralized ports very useful. > > What has given you the idea that nullfs is slow? I'm using it extensively > and have not noticed any significant slowdown. Under what usecase(s) is it > slow? (My usage is mainly for medium to large files, with <200 files per > directory.) Some perfomance benchmarks at 5.3 release cycle showed that the way nullfs works is suboptimal, also file backed memory devices are very slow, but I'm no developer so I can't explain you exactly why. Perhaps someone had a look at this in the meantime, I didn't do any tests since then but I also saw no commit log which indicates that people were working on that. -Harry > > /Daniel Eriksson > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpj512rNf5jv.pgp Description: PGP signature
ttydX and xterm size (LINES and COLUMNS understanding)
Dear console gurus, when I open a xterm on the local machine, say with 100x37, vi and man recognizes the size and display the content correctly. If I use cu/tip in a 100x37 xterm "ls" works fine (uses all lines) as long as I start vi but man doesn't work (no scrolling possible). After the vi session only 24 lines (or whatever type I set in /etc/ttys) are used, but man works correctly. Why can I use different terminal sizes on the local machine and in ssh sessions but not over a serial console? If I set "setenv LINES 37" and "setenv COLUMNS 100" it works also on the serial line but why or how can vi and others know what size my terminal is via ssh session? I'm sure this behaviour is adoptable to serial consoles too. Thanks, -Harry pgpbginBgefnI.pgp Description: PGP signature
Re: ttydX and xterm size (LINES and COLUMNS understanding)
Am Dienstag, 8. März 2005 08:29 schrieb Dan Nelson: > In the last episode (Mar 08), Emanuel Strobl said: > > When I open a xterm on the local machine, say with 100x37, vi and man > > recognizes the size and display the content correctly. If I use > > cu/tip in a 100x37 xterm "ls" works fine (uses all lines) as long as > > I start vi but man doesn't work (no scrolling possible). After the vi > > session only 24 lines (or whatever type I set in /etc/ttys) are used, > > but man works correctly. Why can I use different terminal sizes on > > the local machine and in ssh sessions but not over a serial console? > > If I set "setenv LINES 37" and "setenv COLUMNS 100" it works also on > > the serial line but why or how can vi and others know what size my > > terminal is via ssh session? I'm sure this behaviour is adoptable to > > serial consoles too. > > Telnet and ssh have out-of-band control sequences that let the client > pass things like terminal size to the server. There's no equivalent Where are they set? I can't find any environment variable which reflect this. > for serial lines. You can get the screen size from vt100 terminals > (and many emulators) though, by moving the cursor to the far > lower-right corner, asking the terminal for the cursor position, and > reading the result on stdin. Even with knwon values I have the problem that when I recall the previous command in tcsh which was longer than one line there's no linefeed, the second line overwrites the first line. My problem is that I don't really understand how and why different applications seem to use different methods of displaying text and determining size values. man, vi and tcsh are at least very different. Any links highly appreciated. Thanks a lot, -Harry pgpcLTdmtjPde.pgp Description: PGP signature
Re: in-kernel pppoe ?
Am Mittwoch, 9. März 2005 17:32 schrieb J.D. Bronson: > Does 5.4PRE offer in-kernel pppoe to use to connect to my DSL ISP (pppoe)? Yes, you can use kernelmode PPP (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html) or netgraph (man 4 netgraph). For netgraph you need mpd from the ports to control it. -Harry > I have userland pppoe configured and running and was wondering if > anyone has this working and opinions... > > Thanks :) pgpGUpx6uXEdE.pgp Description: PGP signature
Re: installworld fails (5.4-PRE)
Am Donnerstag, 10. März 2005 14:53 schrieb J.D. Bronson: > At 07:48 AM 03/10/2005, Pietro Cerutti wrote: > > > shadow# cd /usr/include/dev > > > shadow# ls -al > > > -r--r--r-- 1 root wheel 4210 Mar 2 17:00 acpica > > > > > > > > > and how do I fix this? > > > >The problem here is that the acpica folder is not executable (you can > >not cd into it). chmod 755 acpica should solve it. > > > > > Thanks :) > > drwxr-xr-x 14 root wheel 512 Mar 9 20:37 . > drwxr-xr-x 46 root wheel 4608 Mar 9 20:37 .. > -r--r--r-- 1 root wheel 4210 Mar 2 17:00 acpica > > > But acpica is -not- a directory ??? Just delete acpica. I had the same error, I couldn't find out what and when created this file (instead of a directory). But after deleting the file, during new installworld the directory gets correctly created. -Harry pgp1bIcFXPTpD.pgp Description: PGP signature
Re: minicom and ugen
Am Freitag, 11. März 2005 17:33 schrieb Paulo Roberto: > Hello, > > I am not able to use a usb/serial converter with minicom. I loaded ucom > and uplcom, but only ugen messages are printed on the console. > > ugen0: FTDI USB <-> Serial, rev 1.10/4.00, addr 2 > > I tried ugen0, ugen0.1 and ugen0.2 with no success. What does "usbdevs -v" say? Perhaps you have a umct(4) or uftdi(4) or uvscom(4) and no uplcom adapter. -Harry > > Any ideas? > > thanks, > > Paulo > > > > __ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpx881MSjLdl.pgp Description: PGP signature
Re: minicom and ugen
Am Samstag, 12. März 2005 01:42 schrieb Paulo Roberto: > Hello Emanuel, > > THanks for your help. My usbdevs -v: > > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x), > Intel(0x), rev 1.00 > port 1 powered > port 2 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x), > Intel(0x), rev 1.00 > port 1 powered > port 2 addr 3: full speed, power 90 mA, config 1, USB <-> > Serial(0x6001), FTDI(0x0403), rev 4.00 This needs the uftdi (and ucom) device. If you can't access /dev/ucom0 after loading/compiling the two devices then it's probably a newer version and you can try to contact the author of the code. Best regards, -Harry pgpNJrFsZNE8o.pgp Description: PGP signature
Re: How to merge an unused partition.
Am Sonntag, 13. März 2005 05:35 schrieb Chris: > Greg 'groggy' Lehey wrote: > >On Saturday, 12 March 2005 at 21:09:47 -0600, Chris wrote: > >>Heya folks - here's my issue; I removed a OS from my drive and that freed > >>up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file system. > >> > >>Here's what she looks like via fdisk: > >> > >>Disk name: ad1FDISK Partition > >>Editor > >>DISK Geometry: 9729 cyls/255 heads/63 sectors = 156296385 sectors > >> (76316MB) > >> > >>Offset Size(MB)End Name PType Desc Subtype > >> > >>0 10236 20964824- 12 unused0 > >> 20964825 66079 156296384ad1s1 8freebsd 165 > >>156296385 2 156301487- 12 unused0 > >> > >> > >>So - what do I need to do to take the 1st line and merge it into the > >>existing system? > > > >That depends on what you want to do with the space. It would be > >relatively complicated (but not impossible) to merge it into an > >existing file system. If you just want to create a another file > >system, just create a new partition in the partition editor, set it to > >tye 165, then in the label editor create one (or just possibly more > >than one) file system. Both here and in the label editor, use the W > >command to actually write the stuff to disk. > > > >>Sorry for the formatting > > > >Looks fine to me. > > > >Greg > > I assume doing this while in single user mode. Otherwise I am getting an > error: unable to write to disk. If you want to modify a running fs you can set kern.geom.debugflags to 16. -Harry > But as you mentioned,. I would prefer to somehow merge it into the > current FBSD file system. > > > Chris > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpFNqXKB5x9t.pgp Description: PGP signature
Re: Serial console
Am Dienstag, 15. März 2005 12:37 schrieb Daniel Bye: [...] > The machine boots - you see the BIOS POST, the SATA controller comes up, > then you see FreeBSD's boot messages on the console. As soon as the > kernel launches, we get the login: prompt and then nothing. So, we know > the hardware works; the problem is something I am doing with the kernel > config. As I said, this setup is the same as a machine running the same > hardware, that is known to be working. If I understand it correctly you see the kernel probing, any you also see that a getty gets started at ttyd0 but you can't type (and see the echo) anything, right? Maybe it's your terminal connection (null-modem I guess). Make sure to measure 0Ohm between pin 1 and 6 (DSR-DCD) on the DTE (computer). That's my only guess. Everything elese seems to be fine... -Harry > > I have read the appropriate bits in the Handbook and the FAQ, as well as > a couple of other sites, and have set up serial consoles on numerous > occasions in the past. I'm just having a major brain fart this morning. > Can anyone see what I'm doing wrong? > > Cheers, > > Dan pgppuqRKP8g7i.pgp Description: PGP signature
Re: no patch whats going on
Am Freitag, 18. März 2005 01:35 schrieb Colin Percival: > >>>On Fri, Mar 18, 2005 at 08:52:30AM +1000, Timothy Smith wrote: > >>>http://www.securityfocus.com/bid/12825/info/ > > For the benefit of people on -questions who didn't read my reply > on -security: This bug doesn't exist in FreeBSD, thus the lack > of response from us. Thanks for that note! -Harry pgpKi5NuhrUb5.pgp Description: PGP signature
Re: MS Exchange server on FreeBSD?
Am Freitag, 18. März 2005 14:06 schrieb Christian Tischler: > Hi, > I would like to run an MS exchange server. But I am not at all willing > to set up an MS box at all. ??? Windows is a really good, well maintained standardized and secure piece of software compared to Exchange. I can't imagine why someone is even considering exchange when he knows about FreeBSD and it's programs. Maybe you are not aware that exchange e.g. doesn't work without ActiveDirecotry? Make you and the rest of the email connected world a favour and don't polute the net with another exchange! -Harry > As I know I could run something like VMware > virtual server or Wine, but I do not know if such an combination would > be stable (sopken in terms of windows stability). The next consideration > would be the performance of the overal setup. > > Any hints or suggenstions would be great. > > thx > > Christian > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpVvCw7nf6VO.pgp Description: PGP signature
Re: x11 cookie expires after some time
Am Sonntag, 14. November 2004 19:28 schrieb Emanuel Strobl: > Dear all, > > perhaps someone can explain me why I can't execute a x-program via a ssh > session after some time (some hours). When I log into the machine > everything is fine and xclock or any other x11 application is working fine. > But after some hours, when I try to execute exactly the same application > once again, I get the following error: > Xlib: connection to "localhost:10.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "localhost:10.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Lost the connection to the X server > > The session wasn't interrupted nor did I modify anything else, just the ssh > session has idled for some hours. > > I have to admit that I'm not really familar with the .Xauthority stuff, but > it works for the first hour, so why not as long as the ssh session exists? > Here's some off-list communication, Paul Brooks told me that it's ForwardX11Trusted in ssh config. Thanks a lot! Am Freitag, 18. März 2005 20:35 schrieb Paul Brooks: > On Tue, Mar 08, 2005 at 12:59:49AM +0100, Emanuel Strobl wrote: > > Hmmm, I really can't remember what I did (if I did anything at all) but I > > don't have this problem anymore. I'm sure I read something about the > > cookie timeout, and played with xauth, but unfortunately haven't > > bookmarked anything. > > Sorry, I can't help you, perhaps there were modifications in RELENG_5 but > > I don't believe that, just to note that I'm running 5.4-PRE now. > > > > I had a quick look at several config files and also couldn't find > > anything special, just that I added (uncommented) "ForwardAgent yes" > > in /etc/ssh/ssh_config. > > If that's the solution, please drop me a note. > > Just a quick follow-up -- turns out ssh appears to have been the issue. It > wasn't ForwardAgent, but ForwardX11Trusted that appears to have fixed the > issue for 5.3 release. -Harry pgpXERPyNhmLc.pgp Description: PGP signature
Re: ntpq:write to localhost.domain failed: no route to host
Am Freitag, 18. März 2005 23:42 schrieb Feroz F. Basir: > Hi, > > I compiled ipfilter option in my kernel. As usual > reboot my machine. When I run "ntpq -p" I got an error > "ntpq:write to localhost.domain failed: no route to > host". Before I compiled in ipfilter, it worked. My > /etc/ipf.rules contains "pass in all and pass out all" If these are dummy rules to let you experiment you may want to change them to pass in quick all and pass out qick all. Otherwise any other rule after these will be examined and maybe you have some blocks anywhere. -Harry > > Anybody has any ideas let me know, please? > > Thank you in advance. > > regards, > feroz > > Send instant messages to your online friends http://uk.messenger.yahoo.com > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpgM3AjhJVQe.pgp Description: PGP signature
Re: /usr/ports/packages/
Am Samstag, 19. März 2005 21:34 schrieb Gert Cuykens: > Does only portmanager create packages ? Or does make install also make > a package ? How can i tell them to put all the packages in the > /usr/ports/packages/ instead of the port application directory ? If "/usr/ports/packages" exists 'make package' creates packages in that directory, otherwise in the ports directory. -Harry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpCxlF3sHPXZ.pgp Description: PGP signature
Re: FreeBSD HOWTO: Software Mirror System Disk
Am Dienstag, 22. März 2005 22:01 schrieb Aaron Trumm: > Hello is anybody there? I don't know if I'm subscribed... > > I have a question...is this a typo?: > > gmirror insert gm0 /dev/ad6 > > I get to that step and get the message "class not found" > > should it be?: > > gmirror insert boot /dev/ad6? You have already setup (with gmirror label) a mirror named gm0 right? What does 'gmirror list gm0' tell? Anyway, you'll find an answer in the very well written man page, like usual for FreeBSD man pages ;) -Harry > > or something? > > --signed, >Confused > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgprFIHwU4T2v.pgp Description: PGP signature
Re: AMD64 very slow!
Am Mittwoch, 23. März 2005 00:38 schrieb Boris Spirialitious: > I have opteron 246 system with 2 port intel em > card. We have test bed with about 200Kbs traffic > and we route through 5.3/i386 system. Load is > about 50%. With same settings, amd64 system run > with 85% load. How could be so slow? What tuning > extra is needed for amd64 kernels? 200kB/s sounds like misconfigured duplex/negotiation mode. But why don't you try FreeBSD 5.4-BETA1? Many performance improvements were achieved and stability is given in the -STABLE branch (BETA1 is a relese of FreeBSD 5-STABLE) -Harry > > Boris > > > > __ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. > http://mobile.yahoo.com/maildemo > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpmGhx7KznWA.pgp Description: PGP signature
Re: scp stalling
Am Mittwoch, 23. März 2005 00:51 schrieb Bob Ababurko: > Hello- > > I have two boxes that I am trying to transfer files between and for some > reasson I am getting annoting slow transfers. I am running > OpenSSH_3.8.1p1on the server end with freeBSD 5.3 and OpenSSH_3.5p1 with > freeBSD 4.9 on the client end. The connection keeps stalling and I am not > seeing any errors in /var/log/messages. The only sign is my loss of hair. > > How can I go about troubleshooting this? I have full control over these How are they conneted, in the same subnet and same switch or routed subnets or over some WAN links? Does ftp work? Also active FTP? -Harry > boxen, so I can do whatever to fix this. > > thanks, > Bob > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp0cDNU6SzOP.pgp Description: PGP signature
Re: AMD64 very slow!
Am Mittwoch, 23. März 2005 01:19 schrieb Boris Spirialitious: > -- Emanuel Strobl <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 23. März 2005 00:38 schrieb Boris > > > Spirialitious: > > > I have opteron 246 system with 2 port intel em > > > card. We have test bed with about 200Kbs traffic > > > and we route through 5.3/i386 system. Load is > > > about 50%. With same settings, amd64 system run > > > with 85% load. How could be so slow? What tuning > > > extra is needed for amd64 kernels? > > > > 200kB/s sounds like misconfigured duplex/negotiation > > mode. > > But why don't you try FreeBSD 5.4-BETA1? Many > > performance improvements were > > achieved and stability is given in the -STABLE > > branch (BETA1 is a relese of > > FreeBSD 5-STABLE) > > I am sorry, I mean 200Mb/s. It is a controlled stream Unfortunately that's a not so uncommon result with em and 5.3. There are tuning methods but they won't give the big kick. Like mentioned, try 5.4 (BETA1), depending on your employment you'll see tremendous improvement, I don't have values handy nor can I confirm that for amd64, but you really wnat to try out, especially if this box isn't productive yet, which it isn't if I understood correctly. -Harry > > Boris > > > > __ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp19EZKqE8pn.pgp Description: PGP signature
Re: Issue with FreeBSD, Compact Flash
Am Mittwoch, 23. März 2005 21:02 schrieb Matt Juszczak: > Howdy, > > Does anyone have any ideas on the following? Trying to load m0n0wall, > which uses a FreeBSD 5 kernel. Keep getting the boot errors you see in > the paste link below. > > http://paste.atopia.net/107 > > We really dont want to have to switch back to a hard drive :-( Any ideas > are appreciated in advance. Maybe your CF-Card doesn't implement the ATA-Mode correctly. I once had a card which had wrong ATA-mode support but it didn't even boot. But I don't know why these errors occur, I'd suggest trying the following in /boot/loader.conf: hw.ata.ata_dma=0 hw.ata.wc=0 Good luck, -Harry > > Thanks, > > Matt > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpcBvcG0Brza.pgp Description: PGP signature
quick timestamp question (ctime/mtime)
Hello, is it possible that mtime of a file can be changed without also changing ctime? Vice versa is easy, chmod or similar will do that. But if I change mtime with touch, also ctime gets changed. I ask because I'm about writing a little backup script and want to be sure to capture every file on any imaginable modification when comparing only ctime! Thanks, -Harry pgpGvsHTOvw7K.pgp Description: PGP signature
Re: Issue with FreeBSD, Compact Flash
Am Freitag, 25. März 2005 15:32 schrieb Matt Juszczak: > These options were already set. Any other ideas? otherwise we're going > to have to skip the flash card option and put a hard drive in this box Well, I have no idea other than replacing the card with a generally knwon working one. I had no problems with Kingston CF cards and if you prefer DMA-capable cards I'd recommend SanDisk ultraII. But if your CF-Connector hasn't the neccessary DMA hardwired lines you need to disable ata_dma, though it's working fine. I'd perfer experimenting, using a rotating HD is no solution. Have you checked your card in any other (ata-mode) device? In what kind of hardware do you plug in your card, Soekris, EPIA, WRAP, or general IDE-CF adapter? -Harry > > :-( :-( > > Thank you, > > Matt > > Emanuel Strobl wrote: > >Am Mittwoch, 23. März 2005 21:02 schrieb Matt Juszczak: > >>Howdy, > >> > >>Does anyone have any ideas on the following? Trying to load m0n0wall, > >>which uses a FreeBSD 5 kernel. Keep getting the boot errors you see in > >>the paste link below. > >> > >>http://paste.atopia.net/107 > >> > >>We really dont want to have to switch back to a hard drive :-( Any ideas > >>are appreciated in advance. > > > >Maybe your CF-Card doesn't implement the ATA-Mode correctly. I once had a > > card which had wrong ATA-mode support but it didn't even boot. > >But I don't know why these errors occur, I'd suggest trying the following > >in /boot/loader.conf: > >hw.ata.ata_dma=0 > >hw.ata.wc=0 > > > >Good luck, > > > >-Harry > > > >>Thanks, > >> > >>Matt > >> > >>___ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >>"[EMAIL PROTECTED]" > >> > >> > >> > >> > >>!DSPAM:42425048649491091553215! > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpeABlQbsYPd.pgp Description: PGP signature
Re: Issue with FreeBSD, Compact Flash
Am Freitag, 25. März 2005 19:23 schrieb Matt Juszczak: > We're trying to run m0n0wall on a Nexcom Nexgate 1045. > > The card that came with it is a Sandisk card. The card works in other > devices (we can extract the full image to it with no problems). > > I prefer experimenting too, but the boss really wants it up :-( :-( > > I can try to hunt down some other cards, but please let me know if you > have any other suggestions. Okay, I'm not really an ATA expert nor do I know the code, but what I found is that it could be a LBA/CHS problem. Which version do you use? Have you tried to slice/lable the card inside the NSA 1045 (from a temporary FreeBSD holding HD)? If I'm right you dump a preformatted image onto the card, maybe you have addressing problems I gave up using images, PXE-booting (or installing a HD on machines which have the possibillity) and installing the base system right on the destination hardware turned out to be much safer and is not really more time consuming... Mayby playing with BIOS LBA/CHS settings gives some hint's, I don't expect that, but I'd try that and if that all fails you may want to contact Søren, the ATA author. -Harry > > > Am Freitag, 25. März 2005 15:32 schrieb Matt Juszczak: > >> These options were already set. Any other ideas? otherwise we're > >> going to have to skip the flash card option and put a hard drive in this > >> box > > > > Well, I have no idea other than replacing the card with a generally knwon > > working one. I had no problems with Kingston CF cards and if you prefer > > DMA-capable cards I'd recommend SanDisk ultraII. But if your CF-Connector > > hasn't the neccessary DMA hardwired lines you need to disable ata_dma, > > though it's working fine. I'd perfer experimenting, using a rotating HD > > is no solution. Have you checked your card in any other (ata-mode) > > device? In what kind of hardware do you plug in your card, Soekris, EPIA, > > WRAP, or general IDE-CF adapter? > > > > -Harry > > > >> :-( :-( > >> > >> Thank you, > >> > >> > >> Matt > >> > >> Emanuel Strobl wrote: > >>> Am Mittwoch, 23. März 2005 21:02 schrieb Matt Juszczak: > >>>> Howdy, > >>>> > >>>> > >>>> Does anyone have any ideas on the following? Trying to load > >>>> m0n0wall, which uses a FreeBSD 5 kernel. Keep getting the boot > >>>> errors you see in the paste link below. > >>>> > >>>> http://paste.atopia.net/107 > >>>> > >>>> > >>>> We really dont want to have to switch back to a hard drive :-( Any > >>>> ideas are appreciated in advance. > >>> > >>> Maybe your CF-Card doesn't implement the ATA-Mode correctly. I once > >>> had a card which had wrong ATA-mode support but it didn't even boot. > >>> But I don't know why these errors occur, I'd suggest trying the > >>> following in /boot/loader.conf: hw.ata.ata_dma=0 hw.ata.wc=0 > >>> > >>> Good luck, > >>> > >>> > >>> -Harry > >>> > >>>> Thanks, > >>>> > >>>> > >>>> Matt > >>>> > >>>> > >>>> ___ > >>>> freebsd-questions@freebsd.org mailing list > >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>> To unsubscribe, send any mail to > >>>> "[EMAIL PROTECTED]" > >>>> > >>>> > >>>> > >>>> --- > >>>> - > >>>> > >>>> > >>>> !DSPAM:42425048649491091553215! > >> > >> ___ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "[EMAIL PROTECTED]" > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpGTb53rOUBM.pgp Description: PGP signature
Re: kaudiocreator
Am Freitag, 25. März 2005 19:14 schrieb dick hoogendijk: > kaudiocreator is a nice program for extracting audio tracks and > converting them w/ almost any encoder. Only pittfall is hat kde is > needed. You can read audio tracks directly from ata CD-Drives with /dev/acd0t1 t2 t3 etc. You just have to set the block size of 2352. (for examples see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html) The you can make ogg out of the resulting wave files for example... -Harry > > Is there another program that comes close to the abilities and easy of > use of this kaudicreator? > -(My WM is fvmw)- > I like fast running progs. pgpPscub87F1S.pgp Description: PGP signature
ot: FWIW meaning? [Was: Re: FreeBSD 5.4-PRERELEASE: panic in ffs_valloc]
Am Samstag, 26. März 2005 23:19 schrieb Gary Kline: > On Sat, Mar 26, 2005 at 10:16:57PM +, Gary Kline wrote: [...] > > Yours, > > -- > > Ed Schouten <[EMAIL PROTECTED]> > > This is a FWIW, but the same thing is happening with DMA While I see this on questions@ - What does FWIW mean? I think it's like "for your information" but I have never heard the real meaning. Thanks, -Harry pgpvDZsIIBGBa.pgp Description: PGP signature
Userland "dig/host" for lookups against /etc/hosts?
Dear all, my testbed lacks of Ethernet Ports so one machine has no connection to my DNS, no problem, there is something called /etc/hosts I thought. It works if I ping 'hostname', but how can I find out the IP of 'hostname' from the command line? dig and host want to contact the DNS server, also nslookup does, so I think I need a utility which uses the gethostbyname(3) function. Is there one? Unfortunately I can't write one myself, at least not in a reasonable amount of time Thanks, -Harry pgpql7mmH14RD.pgp Description: PGP signature
Re: Userland "dig/host" for lookups against /etc/hosts?
Am Montag, 28. März 2005 08:23 schrieb Alexander Chamandy: > On Mon, 28 Mar 2005 07:17:31 +0200, Emanuel Strobl > > <[EMAIL PROTECTED]> wrote: > > Dear all, > > > > my testbed lacks of Ethernet Ports so one machine has no connection to my > > DNS, no problem, there is something called /etc/hosts I thought. > > It works if I ping 'hostname', but how can I find out the IP of > > 'hostname' from the command line? dig and host want to contact the DNS > > server, also nslookup does, so I think I need a utility which uses the > > gethostbyname(3) function. Is there one? Unfortunately I can't write one > > myself, at least not in a reasonable amount of time > > May I ask what you're trying to do with the machine? If you just want > local DNS resolution for experimentation you may try running BIND 9 or > TinyDNS. No DNS experiments, I'm very well equiped (authoritative DNS). It's just that my local subnet (productive) has not enough ethernet ports so one test-machine (in another subnet) cannot be connected to the local net and the two other subnets are for testing only, so none routes to my productive net Everything is working fine, just curiosity.. -Harry > > > Thanks, > > > > -Harry pgpaEOOjtheY9.pgp Description: PGP signature
Re: Partitioning
Am Mittwoch, 30. März 2005 07:24 schrieb Quinn Ellis: > Help! FreeBSDamsel in distress. > > I'm just starting out with this OS and already running into a problem. > Initially I installed FreeBSD onto a seperate hdd but that died. I have > a 120gig drive, that i want to partition into two 10gig drives, one for > windows, one FreeBSD 1 gig for BSD swap and the rest ntfs data space. > > Anyone got a quick guide to this? The handbook of course. And you don't need to create a "pratition" (slice) for swap. You'll do that with labels inside the (dos)partition if you want wo have windows parallel, without you even don't need to slice the disk at all. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html and in special: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html -Harry > > Thanks > Quinn > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpqT8uIikxwj.pgp Description: PGP signature
Re: How do I kill the console? (or how to make nullconsole work)
Am Mittwoch, 30. März 2005 09:16 schrieb John Pettitt: > I'm running 5.4 BETA1 on a soekris 4801 board. The unit emulates a > console on a serial port. I want to use the serial port for my GPS so I > want the console messages from BSD to go away - an in particular I want > BSD to ignore inbound data during the boot process. > > So far: > > I've used the regular mbr so that I don't get the disk prompt > I've added "boot" to loader.rc before the beastie call so that it > doesn't display the menu > > Both these change work > > However if I add boot.config with -n -m the system doesn't boot (and I > can't tell why because I have no messages!) > If I set console="nullconsole" the system doesn't boot and again I can't > see why. > > Does anybody have any wisdom on how to get nullconsole to work? Unfortunately not, but if you defined nullconsole I think no /boot.config is allowed. I'd suggest you try to set hints.sio.1.flags="0x10" and make sure hints.sio.0.flags doesn't exist. This should make the second (not DB-9 connected) serial ports of the 4801 systemconsole. Alternatively you can try setting boot_serial="sio1" in /boot/loader.conf, but I never tried that. Make sure in any case you also have "console=comconsole" in /boot/loader.conf since the soekris bios emulates a simple "VGA"-Console. You can also recompile the loader to tell it what sio (and at what speed) it should use. The following in /etc/make.conf does the trick: BOOT_COMCONSOLE_PORT= 0x2F8 BOOT_COMCONSOLE_SPEED= 115200 For the loader to recompile goto /usr/src/sys/boot and do: make clean && make depend && make && make install Good luck, -Harry > > John > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp1tArdDFaIj.pgp Description: PGP signature
Re: sendmail
Am Freitag, 1. April 2005 03:17 schrieb Gert Cuykens: > On Thu, 31 Mar 2005 20:03:09 -0500, wizlayer <[EMAIL PROTECTED]> wrote: [***] > Its 5.5mb and my gmail doesnt want to sent it :( > > So how do you do that with the sendmail command ? Well, sendmail was designed to transport eMails. And eMails consit of type text/plain, handwritten :] For file exchanging some clever people created standardized protocols like ftp, nowadays extremely easy to setup and use and even secure with sftp, part of OpenSSH. Even setting up a AFS system would make more sence to copy 5,5MB instead of trying to distribute it by eMail *headshaking*. Leave the poor mail system what it was designed to! -Harry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpFMuH2hqjc3.pgp Description: PGP signature
Re: "multyple gateway" or "load balancing" on two channels
Am Samstag, 2. April 2005 09:26 schrieb ÐÐÑ'ÑÐ ÐÐÑÑÐÑÐÐ: > Hello. > > How I use "subject" without help of providers side (wthout BGP, pptp etc.). You can use pf for multihomed routers, if you just want to use multiple lines for downloads. If you want to provide Webservices or anything similar with more than one line for redundancy/load balancing you have to BGP peer with your providers. But like said, if you just want to use multiple lines for connections from inside to the inet, look for rules like: pass in on $LAN route-to ($IF1 IP1) from $1stsubnet to any pass in on $LAN route-to ($IF2 IP2) from $2ndsubnet to any -Harry > > Thanks. > Mar'yan Petryshyn. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp8sEJbnCwrk.pgp Description: PGP signature
Re: FreeBSD server behind router-NAT; how to configure sendmail?
Am Samstag, 2. April 2005 18:07 schrieb Rob: > Hi, > > My ISP provides me with a fixed IP address and a > registered hostname. > > I use a Sitecom DC-207 that serves as a plain router, > NAT and 4-port switch, to connect three Windows PCs > and one FreeBSD PC simultaneously to the internet. > > The router gets the fixed IP address, whereas my > FreeBSD system gets IP 192.168.123.1 with a fake > hostname. > > The router is configured to redirect the usual TCP/IP > server ports to the FreeBSD PC (e.g. ports 22, 25, 80 > etc.), which makes the FreeBSD PC a kind of virtual > server for my fixed IP address. > > One of the problems I encounter is this: > Sendmail on the FreeBSD PC cannot deliver email, > because there seems to be a DNS issue, because the > FreeBSD PC does not have an official IP & hostname. You can set the following ine /etc/mail/yourhostname.domain.mc define(`confDOMAIN_NAME', `host.name.fq')dnl host.name.fq is what ever your provider registred for your IP. Make sure there's also a correct A record for that hostname, eg. if it is spam.refuse.org then `host spam.refuse.org` must return your IP and `host IP` must return spam.refuse.org. If you don't have /etc/mail/yourhostname.domain.mc then you should cd to /etc/mail and type "make", after you edited the file "make all install restart" You also may want to define masquerading, like: MASQUERADE_AS(`yourdomain.org') MASQUERADE_DOMAIN(`internal.domain.sth')dnl FEATURE(limited_masquerade)dnl FEATURE(`masquerade_entire_domain') FEATURE(`masquerade_envelope') -Harry > > How do I configure my FreeBSD PC so, that sendmail > thinks the PC has the official IP address/hostname > provided by my ISP, which is actually used by the > router? > Or should I follow a different configuration scheme > for achieving these goals? > > Thanks, > Rob. > > > > __ > Do you Yahoo!? > Yahoo! Personals - Better first dates. More second dates. > http://personals.yahoo.com > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp4rvJ465864.pgp Description: PGP signature
Re: blanking the console
Am Samstag, 2. April 2005 23:11 schrieb dick hoogendijk: > OK, probably a stupid question. I can't find it though. Sorry. > How can I blank the screen on the console (terminal). Hmmm, "clear" is not what you mean? > Something like the linux "setterm -blank 60" which will blank the screen > after 60 seconds of inactivity. There must be a (freebsd) equivalent, If you mean a screensaver, that can be done with `vidcontrol -t 60` or per config file in /etc/rc.conf <> but you have to define a screensaver before. For example with <> in /etc/rc.conf. For a list see `ls -l /boot/kernel/*_saver.ko` -Harry > but what is it? pgpX8J80OD91m.pgp Description: PGP signature
Re: Boot manager
Am Sonntag, 3. April 2005 19:07 schrieb Teilhard Knight: > Could you recommend a good boot manager, please? I mean, to boot several > OSs, but not relying on Lilo. Not Xosl, because it doesn't work together > with a Drive Overlay. Yes, I can strongly recommend gag. Very powerfull, yet very simple to use, you even needn't install it. http://gag.sourceforge.net/ -Harry > > Teilhard. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpg24n6mIwmu.pgp Description: PGP signature
Re: Boot manager
Am Sonntag, 3. April 2005 20:36 schrieb Gert Cuykens: > On Apr 3, 2005 7:33 PM, Christopher Nehren > > <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 2005-04-03, Teilhard Knight scribbled these > > > > curious markings: > > > Could you recommend a good boot manager, please? I mean, to boot > > > several OSs, but not relying on Lilo. Not Xosl, because it doesn't work > > > together with a Drive Overlay. > > > > What's wrong with FreeBSD's boot manager? > > It doesnt have colors > It doesnt look pretty > It writes ?? instead of windows > Nobody knows how it works for example how to install it witout sysinstall > :P The latter is not true, the manpage very clearly points to boot0cfg, a very convinient tool and there's probably nothing out there which describes the booting stages on i386 better than the boot(8) manpage. If you don't like it it's another thing but you should read the excelent stuff people are writing for you! -Harry > > look a birdy zwoef (running away) > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpswIs4kmH7f.pgp Description: PGP signature
Re: HZ=1000 ?
Am Dienstag, 5. April 2005 01:09 schrieb John Pettitt: > [EMAIL PROTECTED] wrote: > >Interestingly, HZ=100 has remained constant for decades (!), despite > >CPUs getting faster all the time. This is an excellent value for most > >typical usage patterns. Cranking it up should only be required for > >special cases. Anyway, the HZ knob is there. Experiment with it until > >you get optimal performance. > > In the dim and distant past (like 1983) some systems used HZ=50 or HZ=60 > depending on where in the world they were. I used an MP/M based box > that took it's clock tick from the power line (no good RTC hardware Hmm, I've seen onboard RTCs which surely were less acurate than a power-line-driven oscillator was ;) Some RTCs are really bad. But at least here in germany power line frequency is astonishing acurate. We also have a broadcast station which generates it's 50Hz vertical refresh rate from a dedicated caesium clock. Of course this tv station is paid by the peoples Sorry, a bit OT, but I'm really impressed how constant power line frequency is. -Harry > available but the power company keeps pretty good time). > > John > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp2REbMMC75t.pgp Description: PGP signature
Re: Promise TX2 Rebuild via atacontrol??
Am Montag, 4. April 2005 23:29 schrieb Edgar Martinez: > All, > > > > I have a failed member in a RAID1 array and using atacontrol can see that > the status is degraded. I am curious if I can use atacontrol to rebuild the > array if the original array was built using the Promise BIOS utility. If I > tell atacontrol to rebuild.will it corrupt my data or catch fire and > explode?? You don't tell us what version you use, but promise is supported very well, even in atamkII in 6-current. If you replace the failed drive it sould be automatically rebuilt, the `atacontrol rebuild ar0` doesn't work as long as you (in 5.x) used "addspare" or the controller found a good "spare" drive. In 4.x you don't have the addspare option, you have to `atacontrol detach 3` and reattach it the same way to get recognized and inserted as spare in an existing array. -Harry > > > > Cheers! > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgptKroYBBcXN.pgp Description: PGP signature
Re: too many illegal connection attempts through ssh
Am Mittwoch, 6. April 2005 12:07 schrieb Erik Nørgaard: > Edwin D. Vinas wrote: > > shown below is snapshot of too many illegal attempts to login to my > > server from a suspicious hacker. this is taken from the > > "/var/log/auth.log". my question is, how do i automatically block an > > IP address if it is attempting to guess my login usernames? can i > > configure the firewall to check the instances a certain IP has > > attempted to access/ssh the sevrer, and if it has failed to login for > > about "x" number of attempts, it will be blocked automatically? > > This question is asked on the list ever so often - see the archives for > suggestions. These are automated attacks, they come regularly as > crackers, black hats or script kidies scan across the net. Does anybody know what robots beeing used? And on what systems? All you mention later in your posting is true of course and I needn't care about these logs, but it's like like somebody unknown puts 10 flyers in your letterbox every night. I'm sure, one night you'll hide and build a trap for that person. I'm too lazy to enter those net-circles for finding these robots, but maybe some other has already done that? -Harry > > You can avoid the automated scanning by chaning port, but this won't > stop the determined cracker - he will scan all your ports and identify > which services are running on which ports. > > Ask yourself a few questions: > > * Do you need to allow ssh from anywhere? If not, restrict to the >relevant ip blocks. > > * Do you need to allow password based authentication? If not, disable it >and use only ssh keys, in sshd_config: > > PasswordAuthentication no > PubkeyAuthentication yes > > * Do all users need to have ssh access? If not, restrict to specific >groups of users, in sshd_config, eg: > > AllowGroups staff > > * Is it a problem appart from the log messages? Trying to login with a >nonexistent username is usually not a problem. > > Other tips: Disable ssh1, reduce the number of simultaneous non-authen- > ticated connections, set timeouts etc. > > Cheers, Erik pgpo6V3WWtJqM.pgp Description: PGP signature
no (t)csh read builtin?
Hello, how can I interactively read a variable from the command line with tcsh? The *[^c]sh command "read" doesn't exist, so how can I do it with csh? Thanks, -Harry pgp31USGx8RFH.pgp Description: PGP signature
Re: Temperature Sensors on a Mini-ITX Board
Am Mittwoch, 6. April 2005 23:39 schrieb Andrew: > Does anyone know how to read the temperature sensors on a VIA Mini-ITX > board? I've tried xmbmon, lmmon and healthd but nothing seems to read > it/them. I can't find anything under the dev sysctl hierachy either. > > I can't see anything relevant in dmesg apart from this perhaps: > > acpi0: on motherboard Have you modified your kernel to support monitoring devices? Since it 's VIA you can keep a closer look to these: device smbus # Bus support, required for smb below. device smb device iicbus device iicbb device iicsmb device viapm Maybe they're loadable modules, just a hint. -Harry > > Thanks, > > Andrew > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpG4HYloEXh6.pgp Description: PGP signature
Re: usb console
Am Freitag, 8. April 2005 00:50 schrieb Gert Cuykens: > Is it possible to do the console thingie not with a null modem serial > cable but with a usb cable ? > > When you do the serial console, it means that you have a screen like > it was the other pc's screen, right ? With boot messages and Right, in fact the syscons is just a kind of serial emulation. Traditionally all consoles were serial terminals. You can use USB-Serial cables if you don't have enough serial ports, but there's no USB-USB console. But there is dcons, a simple console over firewire! -Harry > everything, able to do whatever you want like your keybord and screen > was connected to the serial server itself right ? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp4jWRA2ZnUl.pgp Description: PGP signature
Re: restricting "fat jails"
Am Freitag, 8. April 2005 15:18 schrieb [EMAIL PROTECTED]: > i was wondering exactly which files in /dev/ can be removed in a jail ? If we're talking about FreeBSD 5.x none, sinc it's devfs. You can control which devices are in a jail by creating jail_NAME_devfs_ruleset. > and i thought of a dirty approach of restricting building a jail by > removed the parts in /usr/obj/ that you don't want, but i bet that make > installworld is gonna complain about, is there a way around ? There's make.conf, especially lines like: #NO_ACPI= true# do not build acpiconf(8) and related programs #NO_BOOT= true# do not build boot blocks and loader NO_CVS= true# do not build CVS #NO_CXX=true# do not build C++ and friends NO_BLUETOOTH= true# do not build Bluetooth related stuff #NO_DYNAMICROOT=true# do not link /bin and /sbin dynamically NO_FORTRAN= true# do not build g77 and related libraries #NO_GDB=true# do not build GDB NO_I4B= true# do not build isdn4bsd package NO_IPFILTER=true# do not build IP Filter package NO_PF= true# do not build PF firewall package NO_AUTHPF= true# do not build and install authpf (setuid/gid) -Harry > (perhaps something else than make -i installworld) > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpgDBxNAM2cZ.pgp Description: PGP signature
Re: FreeBSD 4.7
Am Sonntag, 23. Januar 2005 10:31 schrieb agent0013: > Hello, i'm a very very newbie in FreeBSD, so i tried to install it and > start the X windows system, but when I type "startx" the screen stays > black, how can i do to laucnh it correctely ? thanks for you answer. Why FreeBSD 4.7? If you want to stay with 4 try out 4.11 (RC2). For newer Hardware and desktop systems I'd recommend 5.3. Anyhow, have a look in the handbook, there is too few information to help you, you have to read some basics. They are available in fench also: http://www.fr.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/x11.html -Mano > > PS: I'm french and i can't speak a very good english. So, can you answer to > me very simply or in french please ? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpf7WLv0aE77.pgp Description: PGP signature
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10
Am Montag, 24. Januar 2005 06:17 schrieb Oliver Fuchs: > > In addition, was on OS running a window manager and the other not? Was > > one running ssh and the other not, was FBSD running Linux emu? ... Was > > one running (insert program) and the other not... > > In addition to this: > - how often did you run your test > - what processes/daemons else where running > - what is the contents of /etc/fstab > - what is the contents of /etc/login.conf > - what shell was used > - what user was used > - ... . Well, these aren't of big interest atm. I posted a question in -current regarding horrible ftp transfer rates (fwe and em transfer rates). He was the only one answering and regrettably confirming my experience. First, tell me why a 866MHz PII machine is full loaded for transfering 22MB/s (over em0 and ftp, disks can do more that 50MB/s, no switch, just direct connect, no packet loss/mutilation...)? There is such a big performance hole that it's really uninteresting if one runs syslogd on one machine and not on the other... -Mano pgpIuQsXrObQT.pgp Description: PGP signature
Re: sendmail issue
Am Mittwoch, 9. Februar 2005 16:15 schrieb saravanan ganapathy: > Hai , > > I am using 5.3 release with updated all the ports. > > I am facing a problem with sendmail. > > # pkg_info | grep sendmail > sendmail-8.13.3 Reliable, > # /usr/local/etc/rc.d/sendmail.sh start > # netstat -an | grep 25 > tcp60 0 *.25 *.* LISTEN > tcp40 0 *.25 *.* LISTEN > # telnet 127.0.0.1 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]' > 220 ESMTP Sendmail 8.13.3/8.13.1; > > It works fine. But I also found that another sendmail > which is in /etc/rc.d/sendmail Sendmail is part of the FreeBSD base system. I don't know if the prot disables the base sendmail, you can always add 'sendmail_enable="NONE"' to your /etc/rc.conf. -Harry > > If I do > # /etc/rc.d/sendmail start > > Then this also create a new socket as > > #netstat -an | grep 25 > tcp40 0 127.0.0.1.25 *.*LISTEN > tcp60 0 *.25 *.* LISTEN > tcp40 0 *.25 *.* LISTEN > > If I do again > > # telnet 127.0.0.1 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]' > 220 ESMTP Sendmail 8.13.1/8.13.1; > > How two sendmail(8.13.1 & 8.13.3) installed in my > system? > If I remove sendmail-8.13.3 using pkg_deinstall, > pkg_info shows no sendmail. But still I can start > /etc/rc.d/sendmail. > > What may be the problem? > > Please help me > > Sarav > > > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpd1sRvgaOt0.pgp Description: PGP signature
Re: sendmail issue
Am Donnerstag, 10. Februar 2005 06:04 schrieb saravanan ganapathy: > --- Emanuel Strobl <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 9. Februar 2005 16:15 schrieb saravanan [...] > > > which is in /etc/rc.d/sendmail > > > > Sendmail is part of the FreeBSD base system. I don't > > know if the prot disables > > the base sendmail, you can always add > > 'sendmail_enable="NONE"' to > > your /etc/rc.conf. > > > > -Harry > > How to uninstall the sendmail which comes in the base > system? You're using a complete and standardized operating system, whose developers decided to have MTA functionality, realised by sendmail. You cannot uninstall it, nor do you have the choice to install it or not. It's like with all the other commands, name it tar or cpio. It's part of the operating system but you're not forced to use it. And since ports are standardized to be installed in /usr/local no program will interfere with the base system's version. You can go the source part and comnpile your world yourself, then you can decide what parts to install into a new root, but then you have to do the setup by hand, no installer. You can make your own OS based on FreeBSD though. See /usr/share/examples/etc/make.conf for details > How to know what are all the packages are comes by > default in the base system? No packages are in the base system, it's the base system itself (like explained before) See the handbook for the operating systems features (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html, also have a look for the handbook in your native language) -Harry pgp8JeXmBCKCe.pgp Description: PGP signature
Re: DNS' bind 9 chrooted by default ?
Am Freitag, 11. Februar 2005 23:29 schrieb kilim: > Hello, > > regarding Bind 9, here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bind9.htm >l > > its stated that the configuration file resides in > /var/named/etc/namedb/ and that bind will be chrooted automatically. > > Yet here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html > > steps are shown for manual chrooting of bind (not version 9) > > So I just want to confirm it with you guys, is bind 9.3 really > chrooted by default on 5.3 ? Yes it is, at least on my oldest 5.3-STABLE box, I don't have a 5.3-RELEASE handy to verify. Your configuration directory will still be /etc/namedb, not /var/named/etc/namedb since, by default, the chroot environment gets auto updated. See these options for rc.conf for further details: named_enable="NO" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # path to named, if you want a different one. named_flags="-u bind" # Flags for named named_pidfile="/var/run/named/pid" # Must set this in named.conf as well named_chrootdir="/var/named"# Chroot directory (or "" not to auto-chroot it) named_chroot_autoupdate="YES" # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable="YES" # Symlink the chrooted pid file Ragards, -Harry pgpikm3YUmOFH.pgp Description: PGP signature
Re: How do I set the source address on a multi-homed host?
Am Samstag, 12. Februar 2005 16:05 schrieb Daniela: > On Friday 11 February 2005 21:27, Alin-Adrian Anton wrote: > > Daniela wrote: > > > I have two NICs (one inside and one outside interface) with NAT > > > activated. The problem is that every time I establish a connection with > > > a machine on my LAN, it uses the address of the outside interface as > > > the source of the packets, which creates problems with my firewall. How > > > do I tell my machine to use the other address whenever I connect to a > > > local machine? > > > > > > Daniela > > > > Hi Daniela, > > > > Can you please be more specific? You mean this happens when you are > > connecting from inside intranet to some other point inside intranet? > > Yes, this happens when I connect from my machine (which functions as a > router with NAT to allow the other LAN machines connect to the internet) to > another LAN machine. When the router establishes a connection to another > point in the intranet, the source address used is my official IP, and not > 10.0.0.1, which is the intranet IP of the router. > In other words, I want the source address to be 10.0.0.1 on every outgoing > connection where the destination is inside my intranet. It's easy if your doing NAT with PF or IPF, something like: nat pass on $o_if from $localnet to !$otherlocal_net -> $oif_addr is what you want. -Harry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgps7gxuxybHt.pgp Description: PGP signature
Re: Trouble with sshd in jail
Am Mittwoch, 16. Februar 2005 16:35 schrieb [EMAIL PROTECTED]: [...] > Then I start jail: > > #jail /jail testhost 161.66.11.2 /bin/sh /etc/rc > > Two problems: then jail startup, the message "Starting > sshd..." stops for 10 min. That's one. Then booting This is because the sshd startupscript generates keypairs if they are missing. And for that it waits to enter some random data which leads to that long timeout even on a fast machine. > proccess continies and finish successfull. Second problem > is when I try to connect to jail (161.66.11.2) with ssh > client. > ---Connect 161.66.11.2... > ---Login as: root > AND STOPS!!! For 7-10 min. Than "password" field appears, > but I have wait so much time... This is because sshd tries to resolve addresses of connected hosts. Fix your DNS or edit /etc/hosts accordingly. -Harry pgpSVugj9U5aO.pgp Description: PGP signature
Re: Headless system or serial console
Am Donnerstag, 17. Februar 2005 23:57 schrieb Joachim Dagerot: > The handbook describes a way to install freeBSD to a headless system. > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-advanced >.html) > > I'm used to drag'n'drop(!) my 45kg 21" spare monitor in and out from the > closet to do single-user tasks. But now I want to go the serial port way. > > > 1. Is there a way to get a serial console after the installation is done? > How? (Link?) Just add the line "console=comconsole" in /boot/loader.conf and you have your 1st sio as console with 9600boud. If you need loader interactivity, instead create the file /boot.config with the two characters "-h" in the first line, then you don't need to set the console in loader.conf. If you want to have a different console speed see the sysctl "machdep.conspeed". You can set that via sysctl.conf. But if you also want a different port or serial control before login see the following options in /etc/make.conf: BOOT_COMCONSOLE_PORT= 0x2F8 # Use sio1 (com2) BOOT_COMCONSOLE_SPEED= 115200 You have to rebuild your kernel and the loader. For the latter go to /usr/src/sys/boot/i386 and 'make clean' 'make depend' 'make install' If you want to login in multiuser mode edit /etc/ttys and make sure you have a line like that: ttyd0 "/usr/libexec/getty std.115200" cons25 on secure > 2. Can I connect a palm to use as a console on the headless > freeBSD system? How? (Link?) No idea, sorry Best regards, -Harry pgpDVRcpQpL9x.pgp Description: PGP signature
Re: 5.3 Buildworld on Via C3 fails
Am Freitag, 18. Februar 2005 23:21 schrieb [EMAIL PROTECTED]: > > It seems like a safe assumption that 5.3-RELEASE was compiled for > > i386, because I was able to use it without any problems on the C3, > > including make buildworld/buildkernel/... If you did a buildworld/ > > installworld with some special flags in the past, that userland may > > include CMOVs. That's why I'm asking about /etc/make.conf. > > > > Hmmm... > > It's a brand new install. I modified the rc.conf and make.conf to do > cvsup, and that's about it. Maybe it's my mirror? I'll try cvsup from a > freebsd mirror next week for grins. To add some wild guessing: RAM. This sounds like bad memory. -Harry > > Chris > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpWjlbsWFfHq.pgp Description: PGP signature
Re: Ack, the mysql41-server port killed my box
Am Samstag, 19. Februar 2005 12:06 schrieb Matt Rechkemmer: > Lately my FreeBSD 5.3R system has been running fine. Tonight I decided to > load the mysql 4.1.x port. After loading it, glancing at mysql-server.sh, > and firing it up, things went haywire. > > At the time I had two root sessions open, as well as two normal users. My > normal users started getting permission denied for everything, new users > are unable to login receiving this via SSHd: > > No supported authentication methods left to try! Just a wild guess, perhaps there is any pam module which tries to authenticate against the mysql database?. It sounds like -Harry > > Root cannot query any user information. /etc/passwd and /etc/master.passwd > look fine. MySQL.d is NOT running, it never did startup, and now I am > effectively locked out of the system if I logout. > > It's obviously authenticated since /var/log/auth.log reports: > Feb 19 04:51:17 hybrid sshd[79901]: Accepted keyboard-interactive/pam for > theuser from 172.17.1.11 port 2101 ssh2 > > Any help is GREATLY appreciated, Google has so far yieled nothing on this > topic. > > Thanks! > > Matt Rechkemmer > [EMAIL PROTECTED] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpmEKCId3lna.pgp Description: PGP signature
Re: The perennial vfs.usermount query
Am Donnerstag, 16. Juni 2005 04:18 schrieb Joe Altman: > 1) If this: > > $: more /etc/sysctl.conf > > # $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $ > # > # This file is read when going to multi-user and its contents piped > # thru ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for > # details. > # > # Uncomment this to prevent users from seeing information about > #processes that are being run under another UID. > #security.bsd.see_other_uids=0 > > vfs.usermount=1 > > 2)And, --> after a reboot <--, this: > > $: sysctl -a | grep vfs.usermount > vfs.usermount: 0 > > Ergo, I get this: > > cd9660: /dev/acd0: Operation not permitted > > When trying this: > > mount -t cd9660 /dev/acd0 /usr/home/joe/mountpoint/ > > Then my question is: wtfoobar am I doing wrong? Nothing. But if you want it persistant you have to put it in loader.conf or sysctl.conf, depending on the kind of sysctl (loader tunable or runtime tunable). > > Additional info: > > $: more /etc/devfs.conf > > permacd00660 > linkacd0cdrom > > Speculating, I assume that the BUGS section of sysctl.conf(5) applies, > somehow. Hmm, what's your problem? You can't set the sysctl or it is unset after a reboot? The latter of course is true. -Harry > > NB: the page covering this in the FAQ at freebsd.org says run this: > > sysctl -w vfs.usermount=1 > > The man page for sysctl on 5.4 says this: > > COMPATIBILITY > The -w option has been deprecated and is silently ignored. > > Is the -w flag only for 4.x installations? > > I'm pretty sure I'm going to see the answer to this as soon as I hit > send. pgpzP1vewp03W.pgp Description: PGP signature
Re: FreeBSD L2TP client
Am Montag, 20. Juni 2005 21:05 schrieb Andy Miller: > I am looking for a way to use FreeBSD as a L2TP VPN client. Does anyone > know of a way to do this. I found ng_l2tp, but I'm not quite sure how > to use it. If anyone has a good how-to, or can give me some direction, Check mpd from the ports, if I remember correctly it can control L2TP sessions. -Harry > I'd appreciate it. Thank you. > > -- > Andy Miller > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpxQyFp0RLpK.pgp Description: PGP signature
Re: removing freebsd bootloader
Am Donnerstag, 23. Juni 2005 19:25 schrieb Paulo Roberto: > Hello, > > How do I remove the FreeBSD bootloader from the MBR without touching > the slices? Without warranty, but fdisk -B should do the trick. I think it keeps the partition table and replaces the boot code of the MBR. Make sure the XP slice is marked active, and copy the fdisk output so you can restore it if anything goes wrong. -Harry > > I do have an active WinXP primary slice that I would like to boot from > directly. > > thank you, > > Paulo > > > > __ > Discover Yahoo! > Have fun online with music videos, cool games, IM and more. Check it > out! http://discover.yahoo.com/online.html > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpdILE2r4yc7.pgp Description: PGP signature
Re: uplcom a callin only device?
Am Mittwoch, 29. Juni 2005 10:55 schrieb Norbert Koch: > Hello. > > I'm trying to get a sub-to-rs232 adaptor running with FreeBSD-5. > The vendor of this adaptor is some chinese company named > High-Edge Tech, but as usbdevs shows, it identifies as > USB_VENDOR_PROLIFIC(0x067b) and USB_PRODUCT_PROLIFIC_PL2303(0x2303). > > For testing, I connect the adaptor with the same computer's cuaa0 and > do an 'stty speed 9600 clocal' on /dev/ucom0 and /dev/cuaia0. > > Now, if I do 'cat < /dev/ucom0' and 'cat > /dev/cuaa0', I see typed > characters coming in. If I try the opposite direction, nothing happens. > Is that something, I should've expected, and if so, why? There are different versions of the prolific chipset and unfortunately they changed the init sequence of version 3.00 and up without changing the device ID (If you're interested for more check the archives (current) arround January 21st). 5.4 has the new uplcom driver which checks the revision maybe you can apply the cvs version to your 5.3 (guess). -Harry > > Does it have to do with the difference of callin and callout > devices? Can I use /dev/ucom0 only as callin device like /dev/ttyd0? > > Thanks, > Norbert > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpWxSBSHQdoe.pgp Description: PGP signature
Re: uplcom a callin only device?
Am Mittwoch, 29. Juni 2005 16:32 schrieb Norbert Koch: > > 5.4 has the new uplcom driver which checks the revision maybe you > > can apply > > the cvs version to your 5.3 (guess). > > > > -Harry > > I tested this with RELENG_5 as of last week. Hmm, then you have the new uplcom driver... > The device seems to be correctly recognized. > I see /dev/ucom0 appearing, when I connect > the adaptor. That's the problem, the chipset has the same id although it's design has changed. What does usbdevs -v say? You'll have a line like: USB-Serial Controller(0x2303), Prolific Technology Inc.(0x067b), rev 3.00 Rev. 3.00 ist the latest I have, the former was 2.02. Maybe they once again designed a new chipset... -Harry > > Norbert > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpzQX2SxekN9.pgp Description: PGP signature
Re: Software RAID-1 on FreeBSD 5.4
Am Mittwoch, 29. Juni 2005 21:28 schrieb ptitoliv: > Hello everybody, > > I have 2 120 Go Drives installed on my FreeBSD 5.4 Box. I want to create > with these 2 disks a software RAID-1 solution. I wanted to use vinum but > lots of people say that vinum is very unstable on FreeBSD 5.4. So I am I can't confirm that, but I can recommend gmirror. -Harry > asking you what is the best solution to make RAID-1 on FreeBSD 5.4. > > Thank you for your answers > > Best Regards, > ptitoliv > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpUmU3RilDrv.pgp Description: PGP signature
Re: Serial Access
Am Freitag, 8. Juli 2005 00:16 schrieb Frank de Bot: > Hi, > > My server support by bios remote access via the serial port. Configured > it, bios shows up on my terminal client. But as soon the FreeBSD has > been loaded. (Last message I get through was: "Press [enter] to boot > immedialty". > Is it needed for FreeBSD to take over the serial console from here, or > can it continue to show things without the help of FreeBSD? You have to tell the kernel to use the serial port as console. You can do so by adding the line "console=comconsole" to /boot/loader.conf or instruct the first stage loader to use serail console with the command 'echo -h > /boot.config' For serial port configuration you may also want to have a look at the sysctl machdep.conspeed and to the /etc/make.conf option BOOT_COMCONSOLE_PORT and BOOT_COMCONSOLE_SPEED, both compile time variables. If you want to have a login on the serial line you also have to enable a getty in /etc/ttys. Best regards, -Harry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpn9QwR21nax.pgp Description: PGP signature
Re: two default routes
Am Montag, 18. Juli 2005 05:25 CEST schrieb Jon Falconer: > I have two ISP connections, a 45Mb and a 6Mb. Depending on what block of > local addresses a packet is coming from will determine which ISP I want > to send the packet out. In essence the default route used for a packet > depends on its source address (for traffic leaving our campus.) Can > someone tell me what package I should read up on (ip,ipf,ipfw,other)? or See IPFWs fwd or PFs route-to and reply-to. -Harry > if I should just do this with a real router and not FreeBSD? > > Thanks for your insights, > > Jon > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpXEMbN7dIkE.pgp Description: PGP signature
Re: I have found a pc on the side curb
Am Dienstag, 19. Juli 2005 00:17 CEST schrieb Greg 'groggy' Lehey: > On Monday, 18 July 2005 at 11:13:42 -0400, Martin wrote: > > [missing attribution] > > > >> a pentium 133mhz with freebsd. I was woundering if there was away > >> around the login: admin password: * > >> > >> maybe there is a universal password for admin that bypass all > >> password. something like that. > > Yes, there's a way, and it's described in "The Complete FreeBSD" > (O'Reilly). I suppose the people on the mailing list are, Good hint, once upon a time, when I had my first contact with FreeBSD, I also needed to circumvent the login and the book helped a lot! -Harry > understandably, a little dubious about the intentions of the person > whom you quote above. > > 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 > The virus contained in this message was detected, clubbed to death and > distributed throughout the Internet as vaccine by LEMIS anti-virus. > For further details see http://www.lemis.com/grog/lemis-virus.html > > Finger [EMAIL PROTECTED] for PGP public key. > See complete headers for address and phone numbers. pgpinsbAc9wIS.pgp Description: PGP signature
Re: Reading the volume-id/label of a cd/dvd ?
Am Donnerstag, 28. Juli 2005 16:49 CEST schrieb Warren Block: > On Wed, 27 Jul 2005, FreeBsdBeni wrote: > > Is there an easy way to get to know the volume id or disclabel of a cd > > or dvd ? Mounting the cd/dvd just gives me the contents of the disc, > > but not its "name". > > In k3b one can ask the info about a disc and get all the info about > > the inserted cd/dvd (disc type, tracks, sessions,...). But how do i > > get that info without k3b ? Is there an easy way/solution ? > > cdrecord can get some info from a CD; see the -toc and -atip options. > > -Warren Block * Rapid City, South Dakota USA There's glabel which reads many kind of FS volume labels. 'glabel load' or 'man glabel' -Harry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpaHxW2Naeue.pgp Description: PGP signature
Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599
Am Mittwoch, 10. August 2005 19:48 CEST schrieb Unix: > O. Hartmann wrote: > > Mike Jakubik wrote: > >> On Wed, August 10, 2005 6:37 am, Dmitry Mityugov said: > >>> There are Maxtor MaXLine II and III, and perhaps several other > >>> models, that are supposed to work 24/7. > >> > >> Right, i have a dead 250GB Maxline Plus II drive on my desk, only > >> after about 1.5 years. At least its still on warranty. > > > > On the other hand: In the department for physics of the athmosphere, > > where I built six years ago a server for meteorological data, a RAID-5 > > with 4 older IBM U160 SCSI discs still works - 24/7. Never had a > > problem! > > I still own old 1-2 GB old SCSI disks and these are still working, I > also had an old 500mb SCSI disk that was in an old Mac that also worked > but I trashed it since it was that old and no longer of use... I have an old 700 MB WD IDE drive that still works fine and has about 6 years 24/7 survived. And I also had a 2000$ 73G SCSI IBM drive that lasted for about 5 monthas and was that damadged that Convar sent it back without one byte recovered! And I don't want to remember the 80GB WD drive that lasted for 2 months.. Please, don't discuss about SCSI/ATA reliability, there are bad designed/produced drives and there are good ones. You can't tell before, only experience counts. I can say only good things about Seagates Barracuda 7200.8 drives for example. Some dozends are running for two years without _any_ single drive failed. Also the Samsung (p)ATA drives are still running without any single failure. And WDs once were perfect drices, but they also produced crap. So you can't even be sure by vendor! -Harry P.S.: I'm planning to bring up a FreeBSD site which reflects hardware compatibility experiences as well as long term experiences. I'll be back if I have more... pgpKca9tdzt07.pgp Description: PGP signature
(bourne)shell variable names containing a variable?
Hello, I try to assign a value to a variable, but the variable should consist of another variable. Is this possible (in bourne shell)? Example: #!/bin/sh list="one two three four" for item in $list; do ${item}_present=yes done This doesn't work since the shell tries to execute "one_present=yes" instead of assigning yes to one_present What am I missing Thanks a lot, -Harry pgp5OfmfXwi46.pgp Description: PGP signature
Re: Please explain.
Am Sonntag, 19. September 2004 01:08 schrieb [EMAIL PROTECTED]: > 2 Major Issues: > > - FreeBSD has a processor affinity design issue > > - The core kernel issues with FreeBSD is the horrible threading > support.There is so much crap in FreeBSD kernel. The multithreading issue > in freebsd has been delayed for nearly 6 years. They have just made work > arounds, not fixing the actual problem. It seems that the only real BSD > that has made big progress on the core issues is DragonflyBSD. > > It appears that FreeBSD have a clear Multi-threading lock-in issue that > needs to be fixed. Not work arounds. According to many freebsd developers > nobody simply wants to fix this, is it true that the current smp work are > just 'work-arounds' not real fixing? > > The only thing holding FreeBSD back is the Multithreading issue. > > Please clarify this. Why should one answer to this email? Use what ever you think qualifies your needs! > > > ___ > [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: Portinstall problem (config.guess not found)
Am Dienstag, 21. September 2004 18:12 schrieb Philip Payne: > Ooer... this gets weirder... see below... > > > > Philip Payne <[EMAIL PROTECTED]> writes: > > > > Hi, > > > > > > > > I'm getting the following error when trying to build any port. > > > > > > > > /usr/ports//work/config.guess: No such file > > > [...] > > I just rebuilt the machine as the problem was doing my head-in. Freebsd > 5.3-beta5. Basically, X-Developer distro with KDE installed as desktop. > > The first port I try to to install is generally CVSUP. I get the > "config.guess not found" error straight away... as below. > > I am not sure how to proceed. I'm tempted to fall back to 4-Stable which > was working fine. Switching to FreeBSD-5 has been a nightmare. I just > wanted to try PF & Fwbuilder2 as a firewall. > > There doesn't seem to be a lot of posts on the list with this problem so > I'm assuming its a problem specific to me... but weird. It's not specific to you, let me guess, you're using konsole from KDE? And you do a 'su'? Try to 'su -' and everything is fine again. Haven't had the time yet to figure out if it's a KDE problem or anything else but I reported this one too and got no answer. Best regards, -Mano > > Any help much appreciated. > > Cheers, > Phil. > > > w# cd /usr/ports/net/cvsup-without-gui/ > gw# make install clean > ===> Vulnerability check disabled, database not found > > >> cvsup-snap-16.1h.tar.gz doesn't seem to exist in > > /usr/ports/distfiles/. > > >> Attempting to fetch from > > ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/. > cvsup-snap-16.1h.tar.gz 100% of 420 kB 55 kBps > ===> Extracting for cvsup-without-gui-16.1h > > >> Checksum OK for cvsup-snap-16.1h.tar.gz. > > ===> Patching for cvsup-without-gui-16.1h > ===> cvsup-without-gui-16.1h depends on file: > /usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a - not found > ===>Verifying install for > /usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a in /usr/ports/lang/ezm3 > ===> Vulnerability check disabled, database not found > > >> ezm3-1.2-FreeBSD4-boot.tar.bz2 doesn't seem to exist in > > /usr/ports/distfiles/ezm3. > > >> Attempting to fetch from > > ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/ezm3/. > ezm3-1.2-FreeBSD4-boot.tar.bz2100% of 1334 kB 55 kBps > 00m00s > > >> ezm3-1.2-src.tar.bz2 doesn't seem to exist in > > /usr/ports/distfiles/ezm3. > > >> Attempting to fetch from > > ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/ezm3/. > ezm3-1.2-src.tar.bz2 100% of 10 MB 56 kBps > 00m00s > ===> Extracting for ezm3-1.2 > > >> Checksum OK for ezm3/ezm3-1.2-FreeBSD4-boot.tar.bz2. > >> Checksum OK for ezm3/ezm3-1.2-src.tar.bz2. > > ===> Patching for ezm3-1.2 > ===> Applying FreeBSD patches for ezm3-1.2 > ===> ezm3-1.2 depends on executable: gmake - not found > ===>Verifying install for gmake in /usr/ports/devel/gmake > ===> gmake-3.80_2 depends on shared library: intl - found > ===> Configuring for gmake-3.80_2 > cp: /usr/ports/devel/gmake/work/make-3.80/config > /usr/ports/devel/gmake/work/make-3.80/config/config.guess: No such file > or directory > *** Error code 1 > > Stop in /usr/ports/devel/gmake. > *** Error code 1 > > Stop in /usr/ports/lang/ezm3. > *** Error code 1 > > Stop in /usr/ports/net/cvsup-without-gui. > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpO7PQYWusZv.pgp Description: PGP signature
Re: Any motherboard (AOpen) fan control software for FreeBSD?
Am Dienstag, 21. September 2004 20:40 schrieb Peter Olsson: > I'm searching for some software that will let me control the speed of > my motherboard fan and CPU fan. I have mainly AOpen motherboards and > I have become addicted to their SilentTek/SilentTek2 software for > windows. They only have this for windows, and I can't find anything > like it for FreeBSD. /usr/ports/sysutils is the right place. For example there are xmbmon, healthd and lmmon -Mano > > Thanks! pgp5LeZLKuWCA.pgp Description: PGP signature
Re: Ntpd assistance
Am Mittwoch, 22. September 2004 17:19 schrieb alden.pierre: > /etc/rc.conf contains the following: > > ntpdate_enable="YES" > ntpdate_flags="timex.cs.columbia.edu" > xntpd_enable="YES"# Run ntpd Network Time Protocol > > /etc/ntpd.conf contains the following: ^ Correct me if I'm wrong but doesn't ntpd 4.1 use ntp.conf instead of ntpd.conf? You can try -c /etc/ntpd.conf -Harry > > driftfile/etc/ntp/drift > server 65.211.109.1 > server 65.211.109.11 > server 209.51.161.238 > server 128.59.59.177 > > > Am I doing something wrong here? My time seems to go out of sync after > my FreeBSD 4.10 box has been up for a couple of hours. Any help would > be greatly > appreciated. > > Thank You > Alden Louis-Pierre > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpmdhWNQg7CO.pgp Description: PGP signature
Re: Ntpd assistance
Am Mittwoch, 22. September 2004 23:27 schrieb Bill Moran: > Emanuel Strobl <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 22. September 2004 17:19 schrieb alden.pierre: > > > /etc/rc.conf contains the following: > > > > > > ntpdate_enable="YES" > > > ntpdate_flags="timex.cs.columbia.edu" > > > xntpd_enable="YES"# Run ntpd Network Time Protocol > > > > > > /etc/ntpd.conf contains the following: > > > >^ > > > > Correct me if I'm wrong but doesn't ntpd 4.1 use ntp.conf instead of > > ntpd.conf? > > > > You can try -c /etc/ntpd.conf > > > > -Harry > > In addition to this minor error ... > > I don't believe you can reliably run both ntpdate and xntpd. Besides, This is working because ntpdate is invoked only once at startup, which is, in my case, because of possible empty BIOS-Battery where the date would be wrong for several years which causes ntpd to refuse to adjust the time. I use generally ntpdate at startup before ntpd keeps the kernel time in sync. -Mano > if you plan to run xntpd anyway, just set xntpd_flags="-g" and it will > behave the same as ntpdate at startup, as well as running continually > to ensure your clock stays synced. pgpnyYQI0oEjD.pgp Description: PGP signature
Re: Ntpd assistance
Am Mittwoch, 22. September 2004 23:43 schrieb Bill Moran: [...] > > > I don't believe you can reliably run both ntpdate and xntpd. Besides, > > > > This is working because ntpdate is invoked only once at startup, which > > is, in my case, because of possible empty BIOS-Battery where the date > > would be wrong for several years which causes ntpd to refuse to adjust > > the time. I use generally ntpdate at startup before ntpd keeps the kernel > > time in sync. > > Um ... did you read my whole message? Sorry, no. You're right, next time I'll be more careful. Thanks, -Mano > > Check the ntpd man page on the -g option. If you are running ntpd, you > don't need ntpdate. You answer shows that you are not familiar with the > ntpd program and didn't read the rest of my email. > > > > if you plan to run xntpd anyway, just set xntpd_flags="-g" and it will > > > behave the same as ntpdate at startup, as well as running continually > > > to ensure your clock stays synced. pgpBHcx6tzWa8.pgp Description: PGP signature
Re: Portinstall problem (config.guess not found)
Am Donnerstag, 23. September 2004 01:54 schrieb Adam Smith: > On Wed, Sep 22, 2004 at 02:59:35PM +0100, Philip Payne said: > > Didn't use Konsole but I am using KDE. It appears to be a problem in > > aterm & xterm, but strangely not Eterm. > > Exactly what I found, too. Any compiles I do need to be done in an Eterm > or directly on the console. > > For the time being you should use Eterm. I will upgrade to BETA5 and see > if it still exists there. If it does, it would seem that a bug report > needs to be filed. I'd like to x-reference this postings: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=666353+0+archive/2004/freebsd-current/20040919.freebsd-current with http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1237945+0+current/freebsd-questions I hope this helps finding the solution. Thanks, -Mano > > What I don't understand is why Xterm specific unless it's something to do > with the environment variables themselves, but I've checked the variables > between Xterm and Eterm, and they're identical! > > > Weird. pgpcNoYzGZxOp.pgp Description: PGP signature
Re: Official wallpapers
Am Donnerstag, 23. September 2004 04:20 schrieb Alex de Kruijff: > On Wed, Sep 22, 2004 at 11:14:09PM +0200, Julien Gabel wrote: > > >>> The flame detail around the daemon (can't remember his name...) > > >>> is excellent. > > >> > > >> IIRC, that's "Beastie". ;) > > > > > > Beastie was one name used, but wasn't he called "Chuck" at one point? > > > > Seems not, according to http://www.mckusick.com/beastie/. > > I beleave Chucky is his nick name. I only know it (him) as Chuck, perhaps Chucky, I'm not really sure. At least when I first had contact with FreeBSD (arround '98) his name was Chuck or Chucky... -Mano pgpQcpk8WBGKZ.pgp Description: PGP signature
Re: MBR not overwritable with dd?
Am Montag, 11. Oktober 2004 04:37 schrieb Jerry McAllister: > > I tried to null out the MBR with the BETA7 fixit CD with the follwoing=20 > > command: > > dd if=3D/dev/zero of=3D/dev/ad0 count=3D16 > > > > After that fdsik still showed me a valid partition tabel! > > How? Does GEOM map the beginning of the raw device? > > Was it getting it from the in-memory informatino? After a lowlevel format fdisk still showed me a partition in slice 1 with id 165. So fdisk is misbehaving here. A hexdump of the first 512 Bytes validated that fdisk is wrong. Another question is why does sysinstall complain about wrong geometry? It claims the CHS values, but why? I heard that it's the fault of "other OSes" becaus they're writing wrong info onto the disk. But this disk has nothing but NULLs on it and sysinstall is presenting CHS values, also fdisk reads CHS Values "from in-core labels". Can anybody entlighten me what in-core labels are? Then there's another error in sysinstall but I'll post that on current (when creating two slices, the partition table ends up in having two active entries) Thanks, -Harry > > jerry > > > Thank you in advance, > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpQlP37pstJk.pgp Description: PGP signature
Re: How to make the boot menu just like I want?
Am Montag, 11. Oktober 2004 13:03 schrieb [EMAIL PROTECTED]: [...] > > I want the menu to show like: > > F1: Windows > > F5 Drive 1 > > The FreeBSD bootloader doesn't have this capability as > far as I am aware of. Your best best is to use the Windows > boot loader, install grub, lilo or some other boot manager that > has user configurable options for just this thing. I can highly recommend gag! (http://gag.sourceforge.net/) -Harry > > > I did something. I changed the subtype in the fdisk, 6, 7, > > 12, 13, 14... > > but I can't make my menu just like I want. > > > > So please help me to find the partition number(subtype), or > > tell me how to do that > > to make the change. > > > > Please reply me to the following mail address: > > [EMAIL PROTECTED] > > > > Thanks for your help! > > > > Frederick. > > > > ___ > > [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]" pgpagrAfcPcFJ.pgp Description: PGP signature
Re: ntop 3.0 in daemon mode not working
Am Samstag, 16. Oktober 2004 20:13 schrieb matt virus: > Installed ntop 3.0 today, edited the ntop.sh shell script and when I run > the script ntop launches and I can connect to the webserver interface. > The frame cross the top loads, but when I click ANY link to look at the > reports, i get a popup window that is blank. > > Ntop load --> top frame only loads -> click link -> new blank window > pops up. > > > Now -- if i just run /usr/local/bin/ntop (via a ssh session) > ntop runs in interactive mode -- perfectly > > I thought "a ha, that shellscript is just messed up" > > so i run ntop with this: > > /usr/local/bin/ntop -d(as a daemon) > > and i get the same behavior as the shellscript - blank windows and empty > new windows. > > Revert to /usr/local/bin/ntop (interactive) > and it works perfectly again > > Anybody have suggestions??? What OS version? 4.10-REL/-stable, 5.3-BETA, 6-current? > > > ___ > [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: Single Board Computers for FreeBSD
Am Montag, 27. September 2004 13:42 schrieb Omer Faruk Sen: > Hi, > > I need some suggestions (and maybe URL if you send) for Single Board > Computers that runs FreeBSD without any problem. > > I am sure there are lots of people here that use FreeBSD on a SBC for > different purposes. Can you point me where to start for Single Board > Computers.(To learn conceptual terms that I have to be carefull on) I want > to know what should I be carefull on if I want to use Single Board > Computers as the FreeBSD will run on it. > > > REGARDS > > PS: I have heard about Soekris. But I want to know about other producers. Soekris was my first advise, alternatively there is nexcom, I have been very satisfied in the past with (but they have lots of new products I don't know). http://www.nexcom.com/0330/NexWeb/WebEN/WebGrp.aspx?GrpIDX=5227 They also sell their boards alone, without the chassis and power supply. If you can cope with a highly contrained (no USB, no IDE connector, no PCI-Slot, only one serial port) SBC have a look at http://www.pcengines.ch/wrap.htm These are the absolutely cheapest boards I know but compared to the soekris 4801 like mentioned very contraind regarding extension. Then there is http://www.routerboard.com/, also GEODE based and very promising but I have absolutely no experience nor any report from others about their products. Best regards, -Harry > > > > --- > Omer Faruk Sen > http://www.EnderUNIX.ORG > Software Development Team @ Turkey > http://www.Faruk.NET > For Public key: http://www.enderunix.org/ofsen/ofsen.asc > > > > First Turkish FreeBSD book is out! Go check it. > Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti. > http://www.acikkod.com/freebsd.php > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpaNI72i3ur2.pgp Description: PGP signature
Re: How do I turn off "preemption" (getting "TIMEOUT - WRITE_DMA")
Am Dienstag, 28. September 2004 18:36 schrieb Kris Kennaway: > On Tue, Sep 28, 2004 at 12:15:54PM -0400, bsdfsse wrote: > > I am getting "TIMEOUT - WRITE_DMA" messages on my ad2 and ad3 > > hard-drives. I never get them on ad0 or the CD drive. I did some > > searching, and it sounds like I need to turn of "preemption" in the > > kernel. I'm running 5.3-BETA4 on the computer. > > > > I am going to guess this is turned on for the beta-testing. > > > > Any ideas? I just started running 5.x last night. %-) > > Update to the latest beta, which has a fixed ata driver. > Kris Right, but I'd also like to know how I can turn it off. Just for curiosity. Thanks, -Mano ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.3-BETAx Boot Problems
Am Mittwoch, 29. September 2004 18:53 schrieb Pratt, Benjamin E.: > Hello, I am still trying to get FreeBSD Beta to work but am running into > problems when my system boots. The boot problem appears to be occurring > just > after the IDE drives are detected but before the root file system is > mounted. > These are the last four lines of text that are displayed when I try to > boot > from either ISO or after running CVSUP: > > md0: Preloaded image 4423680 bytes at 0xc09b6c5c > ad0: 29314MB [59560/16/63] at ata0-master > UDMA66 > ATAPI_RESET time = 1630us > acd0: CDRW at ata1-master > UDMA33 It's possibly a bug in the new fdc code. I also have one system with a floppy which stops booting since beta6. Just remove device fdc from the kernel (or try to disable the Floppy Controller in the BIOS) and see if that helps. Hadn't have time yet to look at -current if this bug is known and if applicable create a PR. -Mano > > When 5.2.1 or 6.0-CURRENT are installed on the system everything boots > fine > and the next line is: > > Mounted root from ufs:/dev/ad0s1a. > > I looked at /var/log/messages and did not see any boot problems logged > when I > had CVSUPed to 5.3-BETA5 or 5.3-BETA6, attempted to boot, and then > re-booted > with the 5.2.1 kernel so that would suggest a problem mounting the file > system > for writing. > > The boot problems are occurring after I build the world, build the > kernel and > install the kernel but before I install the world. > > I looked at the GENERIC kernel from both the 5.2.1 and 5.3-BETA6 systems > and > the only options that 5.2.1 had and 5.3-BETA6 doesn't are: > > options PFIL_HOOKS > options INVARIANT_SUPPORT > > 5.3-BETA6 has two options and eight devices that 5.2.1 doesn't. The > options > are: > > options GEOM_GPT > options ADAPTIVE_GIANT > > The only two devices that I could possibly see affecting my system are: > > devicemem > deviceio > > I do have 5.3-BETAx installed on two other systems so I can't imagine > why it's > not working on this one Dell Celeron system that want it to be on. I > don't > imagine that I'm the only one having this problem as I have seen other > cases > reported but I haven't found a solution other than going to 6.0-CURRENT > which > I would like to stay away from since it'll probably be a while before > it's > considered stable. > > Any help anyone can give would be greatly appreciated. > > Thank you, > > Ben > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpU7HeRbPOBd.pgp Description: PGP signature
Re: apache - how to redirect page not found
Am Sonntag, 3. Oktober 2004 01:10 schrieb David Banning: > I notice on some web sites when you try to load a page that does not > exist, it directs the users browser to another page. How do I set > that up in apache? Three different methods: -Use .htaccess, I dont have a syntax example handy. -Use the redirect directive in httpd.conf. Example: RedirectMatch permanent /dir1/*(.*)$ http://www.yoursite.com/dir2 -Use html refresh. Create the page which should get redirected with the following content: http://www.yoursite.com/newlink";> pgp4BLexvWyuJ.pgp Description: PGP signature
Re: password files
Am Sonntag, 3. Oktober 2004 01:27 schrieb Anthony Philipp: > Hello, > Which password files do I need to copy over so that the users will still /etc/master.passwd and /etc/group, then do 'pwd_mkdb /etc/master.passwd'. -Harry > all be there, and and the passwords will all be the same. Thanks for the > help Anthony Philipp > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpU8dSVa9FHg.pgp Description: PGP signature
Re: DHCP Client
Am Montag, 4. Oktober 2004 23:18 schrieb Daniel M: > How do I configure my FreeBSD to get IP from my DHCP? > (as a DHCP client) When using sysinstall (configure -> Networking -> Interfaces -> select your physical device) answer the question "Do you want to try DHCP configuration of the interface?" with "YES" or if you don't like sysinstall edit /etc/rc.conf and make sure you have a line reading: ifconfig_fxp0="DHCP" Make sure to replace fxp0 with your physical interface name (e.g: xl0 for the first 3com card, rl1 for the second Realtek card) You may also want to add this line to /etc/dhclient.conf send host-name "yourhostname"; man dhclient is your friend. -Harry > > _ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp42QHMM92fx.pgp Description: PGP signature
Release Compiler options
I really spent some time tracing the make release, but couldn't find any way to modify the compiler flags for the release. Why do I need a populated /usr/obj if it's never touched? I really think I'm missing something. Two years ago I had no problems building specail 4.4-RELEASEs. Any hint is welcome. -Mano pgp6rMtMbVAsV.pgp Description: PGP signature
Re: Release Compiler options
Am Dienstag, 5. Oktober 2004 03:52 schrieb Haulmark, Chris: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Emanuel Strobl > > Sent: Monday, October 04, 2004 8:43 PM > > To: [EMAIL PROTECTED] > > Subject: Release Compiler options > > > > I really spent some time tracing the make release, but > > couldn't find any way > > to modify the compiler flags for the release. Why do I need a > > populated /usr/obj if it's never touched? I really think I'm missing > > something. Two years ago I had no problems building specail > > 4.4-RELEASEs. > > > > Any hint is welcome. > > There is an excellent hint for compiler flags to be found in the > 19.4.3 section of the FreeBSD handbook. Hm, this is for the world and is very well known and documented. I'm talking about /usr/src/release/Makefile > > The /usr/obj directory composes of the compiled applications from > the buildworld function. You can delete it after you did a successful > completion of the installworld on a system. That's what happens > when you do "make clean" in the /usr/src directory. Again, I'm not talking about make installworld, but 'make release' -Mano > > > -Mano > > -- > Chris Haulmark > System Admin. Freelancer > "In market for IT corrections for a salary." > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpWQJkjHlmPT.pgp Description: PGP signature
Re: Release Compiler options
Am Dienstag, 5. Oktober 2004 12:00 schrieb Matthew Seaman: > On Tue, Oct 05, 2004 at 10:45:09AM +0200, Emanuel Strobl wrote: [...] > > > There is an excellent hint for compiler flags to be found in the > > > 19.4.3 section of the FreeBSD handbook. > > > > Hm, this is for the world and is very well known and documented. > > I'm talking about /usr/src/release/Makefile > > > > > The /usr/obj directory composes of the compiled applications from > > > the buildworld function. You can delete it after you did a successful > > > completion of the installworld on a system. That's what happens > > > when you do "make clean" in the /usr/src directory. > > > > Again, I'm not talking about make installworld, but 'make release' > > If you're using 'make release' you're expected to a) have your own > local copy of the FreeBSD src CVS repository and b) know how to use > cvs(1) and make(1). 'make release' is aimed at expert users; > beginners would be well advised to steer clear of it. > > What you do is edit the /usr/src/release/Makefile, specifically the > CHROOTDIR, BUILDNAME and CVSROOT it tells you to set. Or specify them > on the command line if you prefer. > > Then you setup the ${LOCAL_PATCHES} variable to point to a file of > patches to apply to the checked out chroot'ed source tree (hint: try > applying a patch to ${CHROOTDIR}/etc/make.conf to fiddle with the make Ok, so share/examples/etc/make.conf is not evaluated like etc/defautls/make.conf was before? That's the point I guess. Thanks for your explanation, I've been building releases some years ago, so usually I'm quiet familar with cvs. Thanks, -Harry > flags). Similarly you can run a shell script ${LOCAL_SCRIPT} to do > whatever you want to the chroot'ed sources before building. > > Cheers, > > Matthew pgpFeVpm7xFMS.pgp Description: PGP signature
Re: Anyone booting from RAID
Am Mittwoch, 6. Oktober 2004 20:30 schrieb Brent Wiese: > I have an Intel motherboard with onboard SATA raid. It uses the Adaptec > ICH5 chip, which appears to be supported in the very latest 5.3-beta6. > > However, on install, it sees the individual disks (ad4 & ad6) instead of > the mirror. It's not supported by ataraid. If you want RAID1 check gmirror! -Mano > > How do I install to the mirror instead of an individual disk? > > Thanks, > Brent > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpoA8u8DRChT.pgp Description: PGP signature
Re: Does anybody...
Am Donnerstag, 7. Oktober 2004 20:24 schrieb Thomas Sparrevohn: > Hi > > Does anybody know whether the 3Ware 9500 Series work with FreeBSD with RAID > 5 - I am considering buying one and the manual page for twe only mentions > the 8000 series and RAID 0/1 Look at twa. twe is not for the 9xxx series of 3ware. There were several reports that this controller works perfectly with the twa driver and extraordinary well in RAID5 writing! -Mano > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpDOgVWGTUw4.pgp Description: PGP signature
IPv6 site local EUI-64 adresses and jails
Hi all, I'm quiet new to IPv6 so I'd like to ask some questions: So far I know how to generate s site-local address on basis of the MAC address of the interface. That's what FreeBSD does itself for INET6 enabled kernels. Now in the 24-16-24 scheme of th interface id part of the IPv6 address, the 16 bits were inserted with the value FFFE. And bit 57 was changed to one! Why What if it is alread one? Or isn't tehre any vendor who can have bit 41 of his MAC 1? Now I want to use a dedicated interface, which is in a different subnet, for 5 jails. How do I do that if I want to keep the MAC relation and if I'm not allewd to change the FFFE insert? It isn't possible then, is it? What should I do instead? Invent my own 64-bit scheme? I hope you understand my questions, thanks a lot in advance, -Harr pgpk2do0FKcxZ.pgp Description: PGP signature
Re: IPv6 site local EUI-64 adresses and jails
Am Freitag, 12. August 2005 20:53 CEST schrieb Emanuel Strobl: > Hi all, > > I'm quiet new to IPv6 so I'd like to ask some questions: > > So far I know how to generate s site-local address on basis of the MAC > address of the interface. That's what FreeBSD does itself for INET6 > enabled kernels. Ok, here I found my first error, it's in fact a link-local addres, no site-local. If I need a site-local, is it correct to just assign it another (almost similar) address, or should I disable link-local autogeneration? Thanks, -Harry > Now in the 24-16-24 scheme of th interface id part of the IPv6 address, > the 16 bits were inserted with the value FFFE. And bit 57 was changed to > one! Why What if it is alread one? Or isn't tehre any vendor who can > have bit 41 of his MAC 1? > Now I want to use a dedicated interface, which is in a different subnet, > for 5 jails. How do I do that if I want to keep the MAC relation and if > I'm not allewd to change the FFFE insert? It isn't possible then, is it? > What should I do instead? Invent my own 64-bit scheme? > > I hope you understand my questions, thanks a lot in advance, > > -Harr pgpirO64RezBs.pgp Description: PGP signature
Re: IPv6 site local EUI-64 adresses and jails
Am Freitag, 12. August 2005 20:53 CEST schrieb Emanuel Strobl: > Hi all, > > I'm quiet new to IPv6 so I'd like to ask some questions: Here are two more: How do I use the eui64 option of ifconfig? 'ifconfig fxp0 inet6 fe80:0:0:0:eui64 ' doesn't work! What's the meaning of the "%fxp0" tail of the ifconfig output for the inet6 address? Thanks, -Harry > So far I know how to generate s site-local address on basis of the MAC > address of the interface. That's what FreeBSD does itself for INET6 > enabled kernels. > Now in the 24-16-24 scheme of th interface id part of the IPv6 address, > the 16 bits were inserted with the value FFFE. And bit 57 was changed to > one! Why What if it is alread one? Or isn't tehre any vendor who can > have bit 41 of his MAC 1? > Now I want to use a dedicated interface, which is in a different subnet, > for 5 jails. How do I do that if I want to keep the MAC relation and if > I'm not allewd to change the FFFE insert? It isn't possible then, is it? > What should I do instead? Invent my own 64-bit scheme? > > I hope you understand my questions, thanks a lot in advance, > > -Harr pgpXYJzFJPq2f.pgp Description: PGP signature
Re: IPv6 site local EUI-64 adresses and jails
Am Freitag, 12. August 2005 22:48 CEST schrieb Michael W. Oliver: > On 2005-08-12T21:03:35+0200, Emanuel Strobl wrote: > > Am Freitag, 12. August 2005 20:53 CEST schrieb Emanuel Strobl: > >> Hi all, > >> > >> I'm quiet new to IPv6 so I'd like to ask some questions: > >> > >> So far I know how to generate s site-local address on basis of the > >> MAC address of the interface. That's what FreeBSD does itself for > >> INET6 enabled kernels. > > > > Ok, here I found my first error, it's in fact a link-local addres, no > > site-local. If I need a site-local, is it correct to just assign it > > another (almost similar) address, or should I disable link-local > > autogeneration? > > Don't disable link-local address auto-generation. You can assign your > own addresses, based on the /48 you have been given by your provider or > tunnel broker. Something like this > > ifconfig fxp0 inet6 3ffe:dead:beef:cafe::/64 eui64 alias Ahh, ok, this answers the question how to use eui64 with ifconfig :) And dead beef cafe is kewl ;) (first I'll use FEC0::eui64) Thanks, -Harry P.S.: Do you know what's the clue with the (mac)bit 41 change for eui64? > > That is only if you want to use auto-configured host addresses based on > the (IHMO) wasteful EUI64 junk... topic for another thread (and list, > probably!). There are lots of differing opinions about the usefulness > of EUI64-based auto-config. pgpceNS99BKvU.pgp Description: PGP signature
Re: IPv6 site local EUI-64 adresses and jails
Am Freitag, 12. August 2005 22:48 CEST schrieb Michael W. Oliver: > On 2005-08-12T21:03:35+0200, Emanuel Strobl wrote: > > Am Freitag, 12. August 2005 20:53 CEST schrieb Emanuel Strobl: > >> Hi all, > >> > >> I'm quiet new to IPv6 so I'd like to ask some questions: > >> > >> So far I know how to generate s site-local address on basis of the > >> MAC address of the interface. That's what FreeBSD does itself for > >> INET6 enabled kernels. > > > > Ok, here I found my first error, it's in fact a link-local addres, no > > site-local. If I need a site-local, is it correct to just assign it > > another (almost similar) address, or should I disable link-local > > autogeneration? > > Don't disable link-local address auto-generation. You can assign your > own addresses, based on the /48 you have been given by your provider or > tunnel broker. Something like this > > ifconfig fxp0 inet6 3ffe:dead:beef:cafe::/64 eui64 alias Hmmm, that doesn't work here (6.0-beta2): ifconfig fxp0 inet6 fec0::/64 eui64 alias ifconfig: could not determine link local address -Harry > That is only if you want to use auto-configured host addresses based on > the (IHMO) wasteful EUI64 junk... topic for another thread (and list, > probably!). There are lots of differing opinions about the usefulness > of EUI64-based auto-config. pgpK93ppA6fUk.pgp Description: PGP signature
Re: IPv6 site local EUI-64 adresses and jails
Am Samstag, 13. August 2005 00:03 CEST schrieb Michael W. Oliver: > On 2005-08-12T22:56:19+0200, Emanuel Strobl wrote: > > Am Freitag, 12. August 2005 22:48 CEST schrieb Michael W. Oliver: > >> ifconfig fxp0 inet6 3ffe:dead:beef:cafe::/64 eui64 alias > > > > Hmmm, that doesn't work here (6.0-beta2): > > > > ifconfig fxp0 inet6 fec0::/64 eui64 alias > > ifconfig: could not determine link local address > > The link-local address is automatically configured, based on the mac > address of the interface, so you can't (and wouldn't want to) configure > it manually. If you want to configure unicast addresses manually, use > the /48 from your provider/broker, broken down into whatever prefixlen > you want. Just for playing I disabled auto link-local address generation, then I found that "ifconfig fxp0 inet6 fec0::1 delete" worked after I added that one (without alias, which was my testing reason). Then I also deleted the eui64 address and wanted to reassign it. Another reason I tried to use the -eui64 option with ifconfig was because my fwe0 got no inet6 address! Either the man page of ifconfig is wrong or something else, I couldn't get a working syntax with option eui64. Thanks, -Harry > > What is your current fxp0 configuration? pgpsyRqn6jeef.pgp Description: PGP signature
Re: multiport serial reccomendations?
Am Samstag, 13. August 2005 01:14 CEST schrieb Danny Howard: > Hello, > > I'm looking to build a nanny box to provide maintenance services to my > servers. One of these services ought to be serial console access. I've > currently got an old Cyclades box in service, but I'm curious to just > sport a multiport serial card and run conserver directly on the nanny > box. > > So: > > Can anyone recommend an 8-port or so serial card that works under > FreeBSD? Or if you want to give feedback on a console server, I'm happy > to hear that as well. I don't have one of these in production, but from highly appreciated reccomendations I know that this card is really fine, and cheap: http://www.reichelt.de/inhalt.html?SID=17N3r4LqwQARIAACYRpq89daa093a6681789e0f4505628d1f64e9;ACTION=3;LASTACTION=2;SORT=artikel.artnr;GRUPPE=E7;GRUPPEA=E7;WG=0;SUCHE=8%20port;ARTIKEL=EXSYS%2520EX-41098;START=32;END=16;STATIC=0;FC=671;PROVID=0;TITEL=0 It's a dealer in germany but I'm sure you can google out a dealer near to you. I decided to go with USB-RS232 adapters and passive USB-Hubs. Not exactly as problemfree as I thought, but before I knew this card, the cheapest way. Nowaday's I would give the EXSYS a try -Harry > > I am especially curious if anyone has experienbce with Opengear, as > their hardware appears to be VERY competetively priced ... perhaps some > can confirm that MP4066R work with puc(4)? > > Thanks, > -danny pgpWeDeYKeuHd.pgp Description: PGP signature
Re: IPv6 site local EUI-64 adresses and jails
Am Samstag, 13. August 2005 10:53 CEST schrieb David Malone: > On Fri, Aug 12, 2005 at 08:53:20PM +0200, Emanuel Strobl wrote: > > Now in the 24-16-24 scheme of th interface id part of the IPv6 > > address, the 16 bits were inserted with the value FFFE. And bit 57 was > > changed to one! Why What if it is alread one? Or isn't tehre any > > vendor who can have bit 41 of his MAC 1? > > Some of the bits of a MAC address are reserved. There is a bit that > indicates if the address is the address of a group of machines (for > multicast) or the address of a single machine. The bit that is > flipped when generating IPv6 addresses is the "local/global" bit, > that indicates if the address has been assigned locally or by some > global authority. For normal ethernet cards, this bit would always > be 0. > > > Now I want to use a dedicated interface, which is in a different > > subnet, for 5 jails. How do I do that if I want to keep the MAC > > relation and if I'm not allewd to change the FFFE insert? It isn't > > possible then, is it? What should I do instead? Invent my own 64-bit > > scheme? > > I'd suggest that you use manually assigned addresses in cases like this. > You know what sort of addresses will be generated by autoconfiguration, > so it should be easy for you to choose addresses that won't clash. > > Unfortunately jails do not actually support restricting the use of IPv6 > addresses right now. Thanks a lot for your explanation! I have patches from Olivier Houchard for testing which extends jails for IPv6 :) He wrote it some time ago for RELENG_5 but wasn't sure if it is secure enough to committ it. I think more teseters are welcome, I have to solve some other IPv6 proplems first (like auto host config and DNS?), so I attach the patches here, I can't imagine why Olivier wouldn't want that. Best regards, -Harry > > David. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Index: sys/kern/kern_jail.c === RCS file: /cognet/ncvs/src/sys/kern/kern_jail.c,v retrieving revision 1.50 diff -u -p -r1.50 kern_jail.c --- sys/kern/kern_jail.c 23 Jun 2005 22:13:28 - 1.50 +++ sys/kern/kern_jail.c 12 Aug 2005 22:57:21 - @@ -12,6 +12,7 @@ __FBSDID("$FreeBSD: src/sys/kern/kern_ja #include "opt_mac.h" +#include "opt_inet6.h" #include #include #include @@ -49,7 +50,7 @@ SYSCTL_INT(_security_jail, OID_AUTO, set int jail_socket_unixiproute_only = 1; SYSCTL_INT(_security_jail, OID_AUTO, socket_unixiproute_only, CTLFLAG_RW, &jail_socket_unixiproute_only, 0, -"Processes in jail are limited to creating UNIX/IPv4/route sockets only"); +"Processes in jail are limited to creating UNIX/IP/route sockets only"); int jail_sysvipc_allowed = 0; SYSCTL_INT(_security_jail, OID_AUTO, sysvipc_allowed, CTLFLAG_RW, @@ -134,6 +135,9 @@ jail(struct thread *td, struct jail_args error = copyinstr(j.hostname, &pr->pr_host, sizeof(pr->pr_host), 0); if (error) goto e_dropvnref; +#ifdef INET6 + memcpy(&pr->pr_ip6, &j.ip6_number, sizeof(pr->pr_ip6)); +#endif pr->pr_ip = j.ip_number; pr->pr_linux = NULL; pr->pr_securelevel = securelevel; @@ -375,18 +379,82 @@ prison_remote_ip(struct ucred *cred, int return; } +#ifdef INET6 +void +prison_getip6(struct ucred *ucred, u_int8_t **ip6) +{ + + memcpy(ip6, &ucred->cr_prison->pr_ip6, + sizeof(ucred->cr_prison->pr_ip6)); +} + +int +prison_ip6(struct ucred *ucred, u_int8_t **ip6) +{ + struct in6_addr tmp; + + if (!jailed(ucred)) + return (0); + memcpy(&tmp, ip6, sizeof(tmp)); + if (IN6_IS_ADDR_LOOPBACK(&tmp) || + IN6_IS_ADDR_UNSPECIFIED(&tmp)) { + memcpy(ip6, &ucred->cr_prison->pr_ip6, sizeof(tmp)); + return (0); + } + if (IN6_ARE_ADDR_EQUAL((struct in6_addr *)ip6, + (struct in6_addr *)&ucred->cr_prison->pr_ip6)) + return (1); + return (0); +} + +void +prison_remote_ip6(struct ucred *cred, u_int8_t **ip) +{ + struct in6_addr tmp; + + if (!jailed(cred)) + return; + memcpy(&tmp, ip, sizeof(tmp)); + if (IN6_IS_ADDR_LOOPBACK(&tmp)) { + memcpy(ip, &cred->cr_prison->pr_ip6, sizeof(tmp)); + return; + } + return; +} + +#endif + int prison_if(struct ucred *cred, struct sockaddr *sa) { struct sockaddr_in *sai; +#ifdef INET6 + struct sockaddr_in6 *sa6; +#endif int ok; sai = (struct sockaddr_in *)sa; - if ((sai->sin_family != AF_INET) && jail_socket_unixiproute_only) - ok = 1; - else if (sai->sin_family != AF_INET) - ok = 0; - else if (cred->cr_p
Simple IPv6 question [Was: Re: IPv6 site local EUI-64 adresses and jails]
Am Freitag, 12. August 2005 21:24 CEST schrieb Emanuel Strobl: > Am Freitag, 12. August 2005 20:53 CEST schrieb Emanuel Strobl: > > Hi all, > > > > I'm quiet new to IPv6 so I'd like to ask some questions: > > Here are two more: > > How do I use the eui64 option of ifconfig? 'ifconfig fxp0 inet6 > fe80:0:0:0:eui64 ' doesn't work! > > What's the meaning of the "%fxp0" tail of the ifconfig output for the > inet6 address? Dear inet6 guys, I don't know the kind of addresses FreeBSD uses for autoconfigured link-local addresses. For example: fe80::20e:cff:fe34:2bf8%em0 What the hack is %em0 ??? Interestingly I can use this address, but ping6 fe80::20e:cff:fe34:2bf8 doesn't work The Handbook doesn't clarify this mysterious address. Is it FreeBSD specific? Thanks in andvance, I posted this also to current@ since I got no answer from questions@ -Harry > > Thanks, > > -Harry > > > So far I know how to generate s site-local address on basis of the MAC > > address of the interface. That's what FreeBSD does itself for INET6 > > enabled kernels. > > Now in the 24-16-24 scheme of th interface id part of the IPv6 > > address, the 16 bits were inserted with the value FFFE. And bit 57 was > > changed to one! Why What if it is alread one? Or isn't tehre any > > vendor who can have bit 41 of his MAC 1? > > Now I want to use a dedicated interface, which is in a different > > subnet, for 5 jails. How do I do that if I want to keep the MAC > > relation and if I'm not allewd to change the FFFE insert? It isn't > > possible then, is it? What should I do instead? Invent my own 64-bit > > scheme? > > > > I hope you understand my questions, thanks a lot in advance, > > > > -Harr pgptY0pgdPFKS.pgp Description: PGP signature