Wireless setups
Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Any pointers or links to howto are much appreciated. Thanks in Advance LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2003-09-28 - 2003-10-18
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vinum Offset for Swap: 265 or 281?
Hi, Sanity check whether the mirrored vinum root drive is setup correctly. Going to setup two more machines the same way, so wanted to make sure the reference machine was setup correctly. Was surprised to see that the vinum dumpconfig shows the offset for the swap partition to be 265. Remember vaguely that it was supposed to be 281. Do I have a misconfigured machine? The bsdlabel reports the offset to be 281. The vinum.conf used driveoffset of 265s for swap - would think it should have been 281s. The machine works, but have had a couple of unexplained reboots. The mirrored drives are ad4s1 and ad8s1. Thanks for any advice, Richard --- Details: --- vinum.conf: drive rootdev device /dev/ad4s1h drive rootmirrordev device /dev/ad8s1h volume root plex org concat sd len 2097152s driveoffset 4194288s drive rootdev sd len 2097152s driveoffset 4194288s drive rootmirrordev # a: 2097152 41943044.2BSD 2048 16384 28552 volume swap plex org concat sd len 4194023s driveoffset 265s drive rootdev sd len 4194023s driveoffset 265s drive rootmirrordev # b: 4194023 281 swap volume usr plex org concat sd len 10485760s driveoffset 6291440s drive rootdev sd len 10485760s driveoffset 6291440s drive rootmirrordev # d: 10485760 62914564.2BSD 2048 16384 28552 volume var plex org concat sd len 1g drive rootdev sd len 1g drive rootmirrordev volume tmp plex org concat sd len 512m drive rootdev sd len 512m drive rootmirrordev volume home plex org concat sd len 10g drive rootdev sd len 10g drive rootmirrordev volume ports plex org concat sd len 5g drive rootdev sd len 5g drive rootmirrordev volume backup plex org concat sd len 40g drive rootdev sd len 40g drive rootmirrordev volume local plex org concat sd len 10g drive rootdev sd len 10g drive rootmirrordev volume archive plex org concat sd len 30g drive rootdev sd len 30g drive rootmirrordev volume unused plex org concat sd len 0 drive rootdev sd len 0 drive rootmirrordev /etc/fstab: # DeviceMountpoint FStype Options DumpPass# /dev/vinum/swap noneswapsw 0 0 /dev/vinum/root / ufs rw 1 1 /dev/vinum/usr /usrufs rw 2 2 /dev/vinum/local/usr/local ufs rw 2 2 /dev/vinum/var /varufs rw 2 2 /dev/vinum/tmp /tmpufs rw 2 2 /dev/vinum/home /usr/home ufs rw 2 2 /dev/vinum/ports/usr/ports ufs rw 2 2 /dev/vinum/backup /usr/local/backup ufs rw 2 2 /dev/vinum/archive /usr/local/archive ufs rw 2 2 /dev/vinum/unused /unused ufs rw 2 2 /dev/ad0s1c /usr/local/backup2 ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,auto 0 0 bsdlabel ad4s1: # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 2097152 41943044.2BSD 2048 16384 28552 b: 4194023 281 swap c: 3982834170unused0 0 # raw part, don't edit d: 10485760 62914564.2BSD 2048 16384 28552 e: 2097152 167772164.2BSD 2048 16384 28552 h: 398283401 16 vinum bsdlabel ad8s1: # /dev/ad8s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] b: 4194023 281 swap c: 3982834170unused0 0 # raw part, don't edit d: 2097152 41943044.2BSD0 0 0 e: 10485760 62914564.2BSD0 0 0 f: 2097152 167772164.2BSD 2048 16384 28552 h: 398283401 16 vinum vinum dumpconfig: Drive rootdev: Device /dev/ad4s1h Created on at Tue Jul 29 15:05:34 2003 Config last updated Sun Oct 19 00:13:10 2003 Size: 203921101312 bytes (194474 MB) volume root state up volume swap state up volume usr state up volume var state up volume tmp state up volume home state up volume ports state up volume backup state up volume local state up volume archive state up volume unused state up plex name root.p0 state up org concat vol root plex name swap.p0 state up org concat vol swap plex name usr.p0 state up org concat vol usr plex name var.p0 state up org concat vol var plex name tmp.p0 state up org concat
Email consolidation
Please note that I have 3 PC's (soon to be 4) which each have an email account on them. I now wish to integrate all the accounts to the same computer as there are messages on each I do not wish to lose. They are all networked to each other and share a single net connection so transfer is possible. 2 of the machines are Linux and this one is WinXP but the new one will be FreeBSD and that is the one I want to use most of all. Any help would be appreciated. Thanks in advance. Adrian. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Email consolidation
On Sunday, Oct 19, 2003, at 00:45 US/Pacific, Adrian Fisher wrote: Please note that I have 3 PC's (soon to be 4) which each have an email account on them. I now wish to integrate all the accounts to the same computer as there are messages on each I do not wish to lose. They are all networked to each other and share a single net connection so transfer is possible. 2 of the machines are Linux and this one is WinXP but the new one will be FreeBSD and that is the one I want to use most of all. Any help would be appreciated. Install an IMAP server, and configure the various clients to access it as a single consolidated mail account. I use UW-IMAP, because of flexibility in mailbox configuration, but there are several popular ones. Keep your mail in one place, accessable and updatable by each client. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl serial port access
On Fri, Oct 17, 2003 at 02:01:50PM +0200, Perica Veljanovski wrote: Hi, What is the name of the /dev for the serial port in FreeBSD. dmesg says there are sio0 and sio1 but there are no such file names in /dev. And the sio(4) manpage says: FILES /dev/ttyd? for callin ports /dev/ttyid? /dev/ttyld? corresponding callin initial-state and lock-state devices /dev/cuaa? for callout ports /dev/cuaia? /dev/cuala? corresponding callout initial-state and lock-state devices -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: savemail panic
Thanks to all that replied. After trying all the suggestions (except the reinstall I was saving for last) I found I must have deleted the majordomo user during an upgrade. I hope this post might save someone an equal amount of trouble. I still am not thinking in unix so the pointers and things to try from this list are invaluable. On Sat, 18 Oct 2003, Dirk Meyer wrote: Hallo [EMAIL PROTECTED], This is written to messages and mailog: sendmail[74206]: h9I0iQvm074206: Losing ./qfh9I0iQvm074206: savemail panic sendmail[74206]: h9I0iQvm074206: SYSERR(majordom): savemail: cannot save rejected email anywhere The version of majordomo is 1.94.5_1. I am pretty lost here, any help is appreciated. Sendmail is no longer SUID root, you need to change the permissions for majordomo. add users daemon/mailnull to the majordom group. Have you tried to reinstall the majordomo ? kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] ___ [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: Why build INDEX ?
Adam McLaurin [EMAIL PROTECTED] writes: On 18 Oct 2003 13:35:30 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: 'pkg_version -v' and 'make search' are very useful, and depend on an up-to-date INDEX file. 'pkg_version -v' does NOT depend on an up-to-date INDEX. This is completely incorrect. Building INDEX.db is for portversion. INDEX has to be updated for pkg_version to see the updated versions of the ports skeletons (in other words, if you don't rebuild it, 'pkg_version -v won't know that your ports have been updated). Again, 'pkg_version -v' works just fine without an updated INDEX. I've done it hundreds of times; it always works. Sure it works, for some definition of works that doesn't involve using up-to-date information. It will tell you if your ports are outdated, but it will compare them to the versions that were present when the INDEX file was built, not the ones that are currently installed. So if you cvsup your ports and want to know if you just downloaded any new versions of installed ports, you have to have an updated INDEX file. That doesn't mean you have to rebuild your own INDEX file, because you can (and will, unless you specifically refuse it) download it along with the rest of the ports collection. Of course, those are only built every few weeks, so they generally won't be completely up-to-date either. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
S-ATA disks
Hello, Could you say me, if *BSD systems support S-ATA disks and DVD+-RW hardware (i cant find them in Hardware Notes)? -- Best regards, vipto mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ? getopt_long(), iopl() and ioperm() ?
# [EMAIL PROTECTED] / 2003-10-19 01:59:45 +0200: I'm hacking at a piece of code that I want to turn into a port. It's from Linux and uses libpci and some other 'strange' functions. While I think that I've managed to modify the libpci port to install the required lib, I'm more or less lost at getopt_long() which I assume is in the libgnugetopt port. However, for some reason, even if I include it explicitly (#include /usr/local/include/getopt.h), I run into problems. Please note that I'm not a programmer at all, so it's very much hacking along, so I may look for someone patient to bear with me ;-) But I am willing to learn. AFAICT you need to tell the compiler about the library. The rule in your Makefile needs to have -L /usr/local/lib -lgnugetopt. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with ordinary user permissions
Hi, I have been having a trouble getting various things to work on my new 5.1 workstation with gnome 2.x. tonight i was attemtping to get 'gtoaster' [cd buring s/w] working as i couldnt see any drives, and when i tried adding them i encountered a few errors muttering about permissions. so i logged on a root and low and behold not only did i see all the CD drives, but i could also browse my Network, something i have not been able to do. what should do? migrate to using 'root' for my everyday login, or somehow 'up' my ordinary account..? anyone have any suggestions on either idea and perhaps if i should migrate how i could go about this...? please 'CC' me directly on replys... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printer configuration with CUPs
Is this process correct to install cups in a FreeBSD 4.9 server/workstation to install my printer (HP 5150): # USB Stuff device usb device uhci device ulpt change this in the kernel (both workstation and server) usbd_enable=YES in /etc/rc.conf (server only) install: /usr/ports/print/ghostscript-gnu-nox11 (on server) and /usr/ports/print/ghostscript-gnu (on workstation) .. install CUPS from ports in both, server and workstation rm /usr/bin/lpr (on both, server and workstation) cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh (on both, server and workstation) ... Uncomment application/octet-stream in /usr/local/etc/cups/mime.types and /usr/local/etc/cups/mime.convs (both workstation and server) Uncomment BrowseAddress @LOCAL in /usr/local/etc/cups/cupsd.conf (workstation and server) is this all correct?! but when i try to print: lpr file lpr:error - scheduler not responding! or lp file exec: /usr/bin/lpr: not found # ps -wax | grep cupsd 100 ?? Ss 0:00:09 /usr/local/sbin/cupsd ... so i chek www.freebsddiary.org/cups.html and i have to configure my printer in http://localhost:631/admin, but when i try to links http://localhost:631/admin from my server, the answer is: unauthorized this server could not verify that you're authorized to access the resource so .. what i have to do to have it working ? thank u very much! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to watch films???
Hi all! I have a question: How can I watch film in divx? Do i need to download something and install? Please try to explain it to me :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless setups
- Original Message - From: Luke Kearney [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Saturday, October 18, 2003 11:38 PM Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Any pointers or links to howto are much appreciated. I haven't done this myself but I'd start with 'man wi' and 'man dhclient' HTH, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVSup supfilesrc-all question
I just finished reading the Handbook for CVSup. It appears to be a very simple process. I'm currently running FreeBSD 4.8 and from my understanding you can keep your sources up to date via CVSup. Does this mean if I were to do a fresh install of FreeBSD 4.8 and then CVSup my source all known security issues would be resolved for the particular FreeBSD I'm running? Would the following supfile update all of my sources for FreeBSD 4.8? *default tag=RELENG_4_8 *default host cvsup3.FreeBSD.org *default prefix=/usr *default base=/usr/local/etc/cvsup *default release=cvs delete use-rel-suffix compress src-all I currently update all known security issues via patch /path/to/patch method and following the instructions for each security advisor. 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]
Re: Problems with ordinary user permissions
Please check out the FreeBSD FAQ: 9.22. How do I let ordinary users mount floppies, CDROMs and other removable media? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT Pete --- Anthony Carmody [EMAIL PROTECTED] wrote: Hi, I have been having a trouble getting various things to work on my new 5.1 workstation with gnome 2.x. tonight i was attemtping to get 'gtoaster' [cd buring s/w] working as i couldnt see any drives, and when i tried adding them i encountered a few errors muttering about permissions. so i logged on a root and low and behold not only did i see all the CD drives, but i could also browse my Network, something i have not been able to do. what should do? migrate to using 'root' for my everyday login, or somehow 'up' my ordinary account..? anyone have any suggestions on either idea and perhaps if i should migrate how i could go about this...? please 'CC' me directly on replys... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ? getopt_long(), iopl() and ioperm() ?
In the last episode (Oct 19), Roman Neuhauser said: # [EMAIL PROTECTED] / 2003-10-19 01:59:45 +0200: I'm hacking at a piece of code that I want to turn into a port. It's from Linux and uses libpci and some other 'strange' functions. While I think that I've managed to modify the libpci port to install the required lib, I'm more or less lost at getopt_long() which I assume is in the libgnugetopt port. However, for some reason, even if I include it explicitly (#include /usr/local/include/getopt.h), I run into problems. Please note that I'm not a programmer at all, so it's very much hacking along, so I may look for someone patient to bear with me ;-) But I am willing to learn. AFAICT you need to tell the compiler about the library. The rule in your Makefile needs to have -L /usr/local/lib -lgnugetopt. The best way is to set USE_GETOPT_LONG=yes in your port Makefile. # USE_GETOPT_LONG - Says that the port uses getopt_long. If OSVERSION # less than 500041, automatically adds devel/libgnugeopt # to LIB_DEPENDS, and pass adjusted values of # CPPFLAGS and LDFLAGS in CONFIGURE_ENV. # Default: not set. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup supfilesrc-all question
On Sat, Oct 18, 2003 at 06:24:49PM -0400, Alden Louis-Pierre wrote: I just finished reading the Handbook for CVSup. It appears to be a very simple process. I'm currently running FreeBSD 4.8 and from my understanding you can keep your sources up to date via CVSup. Does this mean if I were to do a fresh install of FreeBSD 4.8 and then CVSup my source all known security issues would be resolved for the particular FreeBSD I'm running? Would the following supfile update all of my sources for FreeBSD 4.8? *default tag=RELENG_4_8 *default host cvsup3.FreeBSD.org *default prefix=/usr *default base=/usr/local/etc/cvsup *default release=cvs delete use-rel-suffix compress src-all You can find some example in /usr/share/examples/cvsup , personally I would change your last *default line to be the following. *default release=cvs *default delete use-rel-suffix *default compress Have fun. Grez.. -- ++ | Graham Lillico [EMAIL PROTECTED] | ++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup supfilesrc-all question
On Sat, 18 Oct 2003, Alden Louis-Pierre wrote: Does this mean if I were to do a fresh install of FreeBSD 4.8 and then CVSup my source all known security issues would be resolved for the particular FreeBSD I'm running? Not quite - it means that your sources would be up-to-date. You'd still have to build and install the updated code. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
jail + devfs + snp problem (FreeBSD 5.1-RELEASE-p10)
shell# /sbin/devfs rule -s 2 delset shell# /sbin/devfs rule -s 2 add hide shell# /sbin/devfs rule -s 2 add path random unhide shell# /sbin/devfs rule -s 2 add path urandom unhide shell# /sbin/devfs rule -s 2 add path zero unhide shell# /sbin/devfs rule -s 2 add path pty\* unhide shell# /sbin/devfs rule -s 2 add path pty\* unhide shell# /sbin/devfs rule -s 2 add path tty\* unhide shell# /sbin/mount_devfs devfs /storage0/site/dev shell# /sbin/devfs -m /storage0/site/dev ruleset 2 shell# cd /storage0/site/dev shell# ls fd ptyp6 ptypf ptypo ttyld0 ttyp7 ttypg ttypp ttyv6 ttyvf net ptyp7 ptypg ptypp ttyld1 ttyp8 ttyph ttypq ttyv7 urandom nullptyp8 ptyph ptypq ttyp0 ttyp9 ttypi ttypr ttyv8 zero ptyp0 ptyp9 ptypi ptypr ttyp1 ttypa ttypj ttyv0 ttyv9 ptyp1 ptypa ptypj random ttyp2 ttypb ttypk ttyv1 ttyva ptyp2 ptypb ptypk ttyd0 ttyp3 ttypc ttypl ttyv2 ttyvb ptyp3 ptypc ptypl ttyd1 ttyp4 ttypd ttypm ttyv3 ttyvc ptyp4 ptypd ptypm ttyid0 ttyp5 ttype ttypn ttyv4 ttyvd ptyp5 ptype ptypn ttyid1 ttyp6 ttypf ttypo ttyv5 ttyve Everything looks great, but: shell# w -n USER TTY FROM LOGIN@ IDLE WHAT root pm ??? ???- w -n shell# jexec 1 /bin/sh # cd /dev # ls -al snp* ls: snp*: No such file or directory # watch -W pm shell# id uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator) And I'm outside ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Printer configuration with CUPs
hey, i addedd succefully a printer in my workstation, but i cant add it on server with links :( but i cant print anything by my workstation .. the usb cable is connected do the server, i really dont understand anything about this, i'm completelly confused!!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Printer configuration with CUPs
Description: hp deskjet 5150 Location: home Printer State: processing, accepting jobs. Printer not connected; will retry in 30 seconds... Device URI: usb:/dev/ulpt0 it says USB, but the printer is USB connected only with the server, not to these machine :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Printer configuration with CUPs
Device URI: Examples: file:/path/to/filename.prn http://hostname:631/ipp/ http://hostname:631/ipp/port1 ipp://hostname/ipp/ ipp://hostname/ipp/port1 lpd://hostname/queue socket://hostname socket://hostname:9100 what url i should put here?! the machine name server is messiah, but i could configure the printer there yet, because links cant accesso to the homepage of configuration, what NOX11-browser i can user?! thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem/question on second NIC (SMC 9452TX) on 5.1- CURRENT
Hey all- if anyone could point me in the right direction here, I'd appreciate it. System: Asus BP6 Dual Celeron 366 768M ECC RAM 1st NIC (fxp0) in at time of install- Intel Pro/100 I'm trying to add an SMC gigabit enthernet NIC, model 9452TX into the system. Running a current snapshot from within the past few days, recompiled SMP kernel with 'sn' support (SMC 9XXX) cards. I ran /stand/sysinstall, let it re-probe devices/Configure/Networking/Interfaces, but neither it nor dmesg output seems to see the new card. I'm done the normal searching on the subject, but don't seem to be getting anywhere here- can anyone point me to documentation on how to get this NIC recognized and configured? Thanks, Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum volumes crash on reboot
On Saturday, October 18, 2003, at 04:29 PM, Danny Pansters wrote: What's that? you mount a mirror onto /, /var, and so on. Your old (single plex) vinum volumes have to be unmounted to mount the newly made mirror. I have the feeling you don't quite get the terminology. You may need to go into SU mode at the console. This wasn't the case on my 4.8-RELEASE dual Xeon testbed server here next to me. Since this is a remote box I'm working on, I made sure that I could create the new plexes in multi-user mode, remotely. Also, no where in the numerous documents relating to Vinum does it state a volume needs to be unmounted to add a plex to it. As I mentioned in a previous email, no matter what I put on drive beta it will crash on restart. I can add plexes to volumes and mirror from alpha without a problem, only to lose it all upon rebooting. I tried just creating a single volume whose plex resided on beta exclusively, and like the plexes before it, it ran fine only to crash after rebooting. Why does everything on beta work fine but crash on reboot? -aarong ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup supfilesrc-all question
David Fleck wrote: On Sat, 18 Oct 2003, Alden Louis-Pierre wrote: Does this mean if I were to do a fresh install of FreeBSD 4.8 and then CVSup my source all known security issues would be resolved for the particular FreeBSD I'm running? Not quite - it means that your sources would be up-to-date. You'd still have to build and install the updated code. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] So running my sample CVSup supfile would not patch my system for the security advisories from SA-03:08 - SA-0318(as of 10/19/03)? I'm under the impression this supfile would take care of security advisories, being that I'm updating the /usr directory. For everything to take in effect I must build and install my kernel as well? I'm looking through the FreeBSD Handbook and I don't see this extra step. 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]
IP Bandwidth Usage Monitoring Question
Heya Folks; I have a machine with several ip addresses where users run alot of different services, and I am wondeirng if anyone knows a way or some recommended software than can monitor the inbound and outbound bandwidth usage per ip-address. I have SNMPd and MRTG setup, but that just does the entire machine as a whole, which is useful also, but I need to know per ip, as its one ip per customer for the bigger users, and there the ones I need to know, so I can doing billing, etc, etc. Let me know you folks thoughts, thanks very much! (FreeBSD 4.9-RC Machines) - Jason L. Schwab [EMAIL PROTECTED] http://www.jlschwab.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
most direct way to get audio file to sound card?
What's the most direct way to cat an audio file into the sound card? The FreeBSD manual talks about wavplay or mpg123 or xmms, but what if I just want to send an audio file to the sound card without an application inbetween? (Reason why - I want to make a quick shell script to play my flac audio files. I can use sox to convert to wav or raw on the fly, but still can't get it to the sound card.) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: most direct way to get audio file to sound card?
In the last episode (Oct 19), BSD baby said: What's the most direct way to cat an audio file into the sound card? The FreeBSD manual talks about wavplay or mpg123 or xmms, but what if I just want to send an audio file to the sound card without an application inbetween? (Reason why - I want to make a quick shell script to play my flac audio files. I can use sox to convert to wav or raw on the fly, but still can't get it to the sound card.) sox file.flac -t ossdsp /dev/dsp or use the /usr/local/bin/play command installed by the sox port, which does the same thing. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sanity and /var/tmp
This may be an incredibly stupid. Nevertheless I'm gonna ask... (1) Is it safe and sane in a RELENG_5_1 system to create and use /var/ tmp via a script in /etc/rc.local: [no entry in FSTAB] mdconfig -a -t swap -s ... -u 10 newfs -O2 /dev/md10 mount /md10 /var/tmp chmod 1777 /tmp (2) Am I sane? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why build INDEX ?
On Sunday 19 October 2003 10:21 am, Erik Trulsson wrote: On Sun, Oct 19, 2003 at 10:09:59AM -0400, Lowell Gilbert wrote: Adam McLaurin [EMAIL PROTECTED] writes: That doesn't mean you have to rebuild your own INDEX file, because you can (and will, unless you specifically refuse it) download it along with the rest of the ports collection. Of course, those are only built every few weeks, so they generally won't be completely up-to-date either. There is almost never any need to rebuild INDEX. I think sysinstall might use it to get information on available packages, but I am not sure. Other than that it is not really needed. If that was true, why does the man page for portupgrade tell you to do the following o To perform upgrades effectively and correctly, remember to run pkgdb(1) with -F on occasions to fix dependency discrepancies, and run portsdb(1) with -Uu every time you CVSup the ports tree to keep your ports INDEX database up-to-date in sync with the tree. When I checked the cvsweb.cgi, I see INDEX is currently 2 weeks old and before INDEX-5 was updated recently, it was 8 weeks old. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Correcting my own msg (was Sanity and /var/tmp)
On Sunday 19 October 2003 12:36 pm, I sent a message with a few ugly typos. It should have read: This may be an incredibly stupid question. Nevertheless I'm gonna ask... Is it safe and sane in a RELENG_5_1 system to create and use /var/ tmp via a script in /etc/rc.local: [no entry in FSTAB] mdconfig -a -t swap -s ... -u 10 newfs -O2 /dev/md10 mount /md10 /var/tmp chmod 1777 /var/tmp snip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to watch films???
On Sun, Oct 19, 2003 at 06:48:11PM +0300, Alex Zivenko wrote: Hi all! I have a question: How can I watch film in divx? Do i need to download something and install? Please try to explain it to me :) Install the mplayer port. Kris pgp0.pgp Description: PGP signature
Re: CVSup supfilesrc-all question
On Sat, 18 Oct 2003, Alden Louis-Pierre wrote: So running my sample CVSup supfile would not patch my system for the security advisories from SA-03:08 - SA-0318(as of 10/19/03)? I'm under the impression this supfile would take care of security advisories, being that I'm updating the /usr directory. For everything to take in effect I must build and install my kernel as well? I'm looking through the FreeBSD Handbook and I don't see this extra step. Running cvsup will update the files in /usr/src: # prefix=/usr # This specifies where to place the requested files. A # setting of /usr will place all of the files requested # in /usr/src (e.g., /usr/src/bin, /usr/src/lib). # The prefix directory must exist in order to run CVSup. but these are the source files, not binaries. To update your system, you need to build and install the resulting binaries. Read sections 21.3 and 21.4 of the handbook. (The process is not as scary as it sounds, but you do have to be careful.) -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hacking calendar(1)
Hi, When I get my daily calendar email, there is no explanation of which entries come from which calendars. Other than hacking the source code, is there a way to get some headers like this? Music History: Oct 20 Three members of Lynyrd Skynyrd die in a plane crash, 1977 World History: Blah blah blah Computer History: Blah blah blah Thanks, Charles Got a computer with idle CPU time? Join [EMAIL PROTECTED] and help make history! http://setiathome.ssl.berkeley.edu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why build INDEX ?
On Sun, Oct 19, 2003 at 12:42:13PM -0700, Kent Stewart wrote: On Sunday 19 October 2003 10:21 am, Erik Trulsson wrote: On Sun, Oct 19, 2003 at 10:09:59AM -0400, Lowell Gilbert wrote: Adam McLaurin [EMAIL PROTECTED] writes: That doesn't mean you have to rebuild your own INDEX file, because you can (and will, unless you specifically refuse it) download it along with the rest of the ports collection. Of course, those are only built every few weeks, so they generally won't be completely up-to-date either. There is almost never any need to rebuild INDEX. I think sysinstall might use it to get information on available packages, but I am not sure. Other than that it is not really needed. If that was true, why does the man page for portupgrade tell you to do the following o To perform upgrades effectively and correctly, remember to run pkgdb(1) with -F on occasions to fix dependency discrepancies, and run portsdb(1) with -Uu every time you CVSup the ports tree to keep your ports INDEX database up-to-date in sync with the tree. Ask the people who wrote that manpage. The portupgrade port might use INDEX. I don't use portupgrade, so I neither know nor care about what it does. The utilities in the base system don't need an up-to-date INDEX. When I checked the cvsweb.cgi, I see INDEX is currently 2 weeks old and before INDEX-5 was updated recently, it was 8 weeks old. Yes, there are usually several weeks between updates of INDEX. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Monitor's picture position
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Questionaries!! :-) Need help: I have two Os-es on one PC: Win FreeBSD, in Win picture at resolution 1280x1024 is placed (by my hand's configure) in proper position (I mean each corner on my CRT monitor). Then -- in FreeBSD I see that in such resolution (and this configuration of monitor) the picture has moved to the right... I'm in doubghts what I _can_ do to solve this problem -- Is there any config tool to ``move'' the picture on the monitor? - -- CBuH. CG[CX] XVyGYjau [EMAIL PROTECTED], ICQ#70929413 GnuPG(PGP) public key is: http://ccclike.chat.ru/my_public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/kvRV5Cj3gqxcdCoRAgfZAJ9vAfu9CkaWbH5o+kWGlAZXXKOT8ACghy5G RTkfuquorl2TJFf18Dvbkfg= =YQtf -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get temperature ?
* Victor MARBACH: Do you know how to get this temperature ? I use sysutils/lmmon. -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitor's picture position
I see the same symptoms on my Desktop. When I change from Windows to FreeBSD, the picture moves quite a bit. I seriously doubt that this is a FreeBSD or Windows problem but I rather think it's something with the graphic card. Not with the hardware but with the configuration. Maybe you want to check the settings for 'HorizSync' and 'VertRefresh' in the monitor section in your XFree config file. As an alternative you could also just adjust Windows' settings, I think the only important thing is that the settings are the same. I use a TFT display and I never tested what I suggested. I'm lazy so I just hit the 'Automatic Adjustment'-button on the display ;-) Phil. CBuH wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Questionaries!! :-) Need help: I have two Os-es on one PC: Win FreeBSD, in Win picture at resolution 1280x1024 is placed (by my hand's configure) in proper position (I mean each corner on my CRT monitor). Then -- in FreeBSD I see that in such resolution (and this configuration of monitor) the picture has moved to the right... I'm in doubghts what I _can_ do to solve this problem -- Is there any config tool to ``move'' the picture on the monitor? - -- CBuH. CG[CX] XVyGYjau [EMAIL PROTECTED], ICQ#70929413 GnuPG(PGP) public key is: http://ccclike.chat.ru/my_public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/kvRV5Cj3gqxcdCoRAgfZAJ9vAfu9CkaWbH5o+kWGlAZXXKOT8ACghy5G RTkfuquorl2TJFf18Dvbkfg= =YQtf -END PGP SIGNATURE- ___ [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]
burncd ``only wrote -1...'' coasting discs.
Hi, I'm trying to use burncd to write an ISO to a blank disc. The discs are all fine, etc. and this is a new DVD drive (writes DVDs and CDs), so I'm guessing that is the problem. A simple output is as follows: [EMAIL PROTECTED] /mnt/packages/unix/isos/hurd sudo burncd -s max -f /dev/acd0 data disc1.iso fixate next writeable LBA 0 writing from file disc1.iso size 646272 KB written this track 832 KB (0%) total 832 KB only wrote -1 of 32768 bytes: Device busy fixating CD, please wait.. [EMAIL PROTECTED] /mnt/packages/unix/isos/hurd This leaves me a bit annoyed but with a shiny new mat for my glass. Problem is I have quite a collection now and I'll have to start handing them out to my friends soon. I'm wondering if it's because the drive doesn't have BurnProof (or similar)? It's a fairly hi-spec machine (XP2800) and the CPU usage at the time was around 4%. Any ideas? -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: firebird 7 in freebsd cvs appears to be broke
On Sunday 19 October 2003 04:48 pm, Kris Kennaway wrote: On Sun, Oct 19, 2003 at 02:42:55PM -0600, KroNiC~BSD wrote: I downloaded the new firebird-7 port from the freebsd cvs server. Make will run for about 20-mins then stop with these errors: I do not see this on FreeBSD 5.1-CURRENT. Didn't we already establish you had something wrong with your system (i.e. stale headers in /usr/include) that were causing your compilation failures? Kris I saw the same thing on my computer when building firebird. I am running 5-1p10. I solved the problem by lunching make install clean after each stop till final compilation. I wonder how I can check if I have stale headers in /usr/include) that were causing compilation failures. Thanks, Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
EIB devices/services
Hi, (Not quite for current@, but that's where leading edge is going on) For the new house we are building I'm looking into EIB. (European Installation Bus). And I'm searching for EIB/IP gateways and applications on FreeBSD. Has anybody used these kinds of tools with FBSD (or Linux) All suggestions are welcom. Thanx, --WjW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
buildingworld sysctl -w kern.securelevel=2 help??
After i started my make buildworld while it was building .. i noticed that the kernel sysctl was set to sysctl -w kern.securelevel=2 i tried set it back to 0 or -1 ..but it wouldnt let me. is it safe to reboot the system with the sysctl -w kern.securelevel variable set to -1 ..AFTER the OS has just done a make buildworld ? and then just pickup where i left off ?? help?!? -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com [EMAIL PROTECTED] 207-247-8330 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitor's picture position
On Mon, 2003-10-20 at 06:30, CBuH wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Questionaries!! :-) Need help: I have two Os-es on one PC: Win FreeBSD, in Win picture at resolution 1280x1024 is placed (by my hand's configure) in proper position (I mean each corner on my CRT monitor). Then -- in FreeBSD I see that in such resolution (and this configuration of monitor) the picture has moved to the right... I'm in doubghts what I _can_ do to solve this problem -- Is there any config tool to ``move'' the picture on the monitor? Try using 'xvidtune' I used it to shift and resize the screen, wrote down the sync start and end values and edited the modeline entry in XF86Config (I couldn't figure out if xvidtune could update the config file itself). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pentium 120 reboots after loading mfsroot floppy.
Thanks all for your replies, For future peoples reference. I managed to scrounge some more ram so it had 16 instead of 8 meg, and it boots prpoerly now. I had forgotten sysinstall needed more than 8MB of ram. I thrown off because it was just rebooting instead of printing an error. - Fred Frederick Bowes [EMAIL PROTECTED] writes: I was hoping to try out FreeBSD on an old machine I have been given (Pentium 120, 514MB HD, 8mb ram) and it reboots after loading the mfsroot floppy disk. You insert the disk, it goes /|\|/ for a while then reboots. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Port Based Routing Possible?
- Original Message - From: Michael C. Cambria [EMAIL PROTECTED] To: Drew Tomlinson [EMAIL PROTECTED] Sent: Sunday, October 19, 2003 4:03 PM Drew Tomlinson wrote: Is there a way to route traffic based on port? Basically, I want to have all traffic on port 8080 use the rl0 interface for its gateway and all other traffic use dc0. Here is a diagram of my network. Are you using ipfw? If so, on your FreeBSD 4.8 machine, an 'fwd' rule should let you send anything you want that matches the rule out the port you want. (This is called policy routing, where your policy bypasses the routing database and does what you explicilty tell it to for a given set of traffic.) Thanks for your reply. I'm adding my network diagram for the benefit of those that might find this message outside the context of the thread. Internet | Public IP | ADSL Modem/Router 192.168.10.1 | dc0 192.168.10.2 | FBSD 4.8 - rl0 | 192.168.100.2 dc1 | | 192.168.100.1 192.168.1.2Neighbor's AP | | Internal LAN Public IP | | 192.168.1.3 Internet Media Server I am using ipfw and I've tried 'fwd' with no success. The nat processor can only redirect packets to addresses on its own subnet so I set it fo forward to 192.168.100.2 (rl0). A 'fwd' rule here forwards the packet to 192.168.1.3 but the destination address on the packet remains 192.168.100.2 and the media server ignores the packet. Running natd with a -redirect_port switch on the rl0 interface actually rewrites the destination address to 192.168.1.3. So this gets the packets processed by the media server. The default route on the gateway is 192.168.10.1 (which is my DSL router). Thus packets from the media server go out dc0. I have added a 'fwd 192.168.100.1 from 192.168.1.3 8080 to any' rule in ipfw but no success. I've also tried 192.168.100.2 but work either. I'll have to run tcpdump on the interface and see if I can tell exactly what's going on. I suspect that 'fwd' might alter the packet so nat doesn't process it? However addiing a static entry (route add client ip 192.168.100.1) gets the connection working. Of course, once out rl0, all machines down stream will have to do likewise unless their default route sends the packets on port 8080 to the right place. After the packet leaves my FBSD gateway and is on my neighbor's network, his Linksys router (192.168.100.1) should get it to the right place so I'm OK there. Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Deleting dirs to save space.
Got a server I'm trying to reclaim some space on and I was looking for some input. I've nuked the ports tree and /usr/src, but it's still not enough. I'm looking at deleting /usr/obj/usr/src to gain another 400 megs, but I'm unsure if it's safe to do so. Can I do it or should I just leave it alone? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: virtual users for mail?
On Thursday 28 August 2003 11:18 am, Dead Line wrote: Hello All, I am on FreeBSD 4.8-R, I would like to run on the mail system virtual users mail. i just dunt want to create a _real_ users on system, and I would prefer it virtual for certain domain(s) Can someone exaplain what to install by order? can i run it under sendmail daemon? You'll want to install cyrus-sasl2, cyrus-imapd22, and cyrus-saslauthd2. Add this to your /etc/make.conf: SENDMAIL_CFLAGS+=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+=-L/usr/local/lib SENDMAIL_LDADD+=-lsasl2 recompile sendmail in the base system, and google on the cyrus setup instructions FreeBSD cyrus imapd Let me know when you get stuck, I'm in the process of writing a howto about this, but it won't be done for at least another week. Thank you. Marwan. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Anish Mistry pgp0.pgp Description: signature
Re: playing a DVD with mplayer
stan wrote: I just got a new notebook with a DVD drive. I compiled mplayer from the ports. Now I want to play a smaple VD that I have. What do I need to do to mount the DVD? 'mplayer -dvd 1 -dvd-device /dev/cd0' should do. Eventually you have to change the device. Hendrik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
poptop / pppd
Lo all, Very arb and weird problem... I've followed all the docs that google could return (they all mostly the same in any case), and yeah... My PPTP server *does* work.. As long as I don't terminate more than one connection at a time to the server *shock horror*. For some reason (and I suspect I know why), ppp insist on only using one device for all the incoming PPTP connections from poptop. Obviously not right, and err, ja.. I need to get this fixed... Very urgently as well. My streamlined ppp.conf: pptp: accept dns allow mode direct disable chap disable mschap disable mschapv2 enable lqr enable pap set device localhost:pptp set dial set dns 192.168.1.1 set ifaddr 192.168.1.1 10.255.255.1-10.255.255.254 255.255.255.255 set log Connect set login set radius /etc/ppp/ppp.radius set server /tmp/loop 0177 set timeout 0 Now, I suspect that it is only using one device (regardless of the number of connections), due to the device (socket) specification. But frankly, if I don't specify it what device to use, it won't even be able to operate a single pptp connection. Any advice is greatly appreciated. I need to get this resolved asap. I didn't send any logs from ppp PPP and the PPTP connections works 100% - even with Radius. The problem is purely that PPP always uses the same device, regardless of the amount of connections (ala tun0). My kernel does have allot of tunX devices, and ifconfig -a lists at least two available. Still, ppp only uses the one. I'm sad to say, but if I can't get this to work, I'm going to have to be forced to scrap my BSD box for a W2K Adv server... *sigh*, at least their RAS server works okish... Thanks, me ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: scripting the buildworld/installworld process
I don't think 10 is enough. Wash has a buildworld problem on current and, on his listing, you would only make it about half way through the error 1 messages and may miss the one that means something. I log for a different reason. If you had one die and I didn't, I want to be able to show you that I made it past where yours errored off. Good enough, but otherwise? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can you recomend me some C/C++ maillist?
Hi All!!! Anybody know some C/C++ maillist??? I think that here freebsd question only Do you know maillist for C or C++ programming...??? -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading self-installed X with Ports version?
On Tue, Sep 09, 2003 at 03:16:50PM +0100, Matthew Seaman wrote: On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote: I recently tried to upgrade X by installing it from Ports, and thought I had succeeded, as pkg_info and so forth are reporting that XFree86-4.3.0,1 is installed. However, I'm still running 4.2, as executing XFree86 -version informs me. First the D'Oh! question: you did restart the X server after installing the upgrade didn't you? Pressing Ctrl-Alt-Esc will kill your current X server, and depending on your setup, may cause another server instance to start up automatically. Or it may need you to run startx(1) again. Yes, I did; that was an early first worry. In fact I rebooted the machine entirely. XFree86 -version will tell you the version of the XFree86-Server port. The straight XFree86-4.3.0,1 port doesn't actually install very much itself: % pkg_info -L XFree86-4.3.0,1 Information for XFree86-4.3.0,1: Files: as it only exists to cause the other required XFree86 ports to be installed as dependencies of it: % pkg_info -r XFree86-4.3.0,1 Information for XFree86-4.3.0,1: Depends on: Dependency: expat-1.95.6_1 Dependency: png-1.2.5_2 Dependency: pkgconfig-0.15.0 Dependency: imake-4.3.0_1 Dependency: freetype2-2.1.4_1 Dependency: fontconfig-2.2.90_3 Dependency: XFree86-libraries-4.3.0_6 Dependency: XFree86-Server-4.3.0_10 Dependency: Xft-2.1.2 Dependency: XFree86-fontEncodings-4.3.0 Dependency: XFree86-fontScalable-4.3.0 Dependency: XFree86-fontDefaultBitmaps-4.3.0 Dependency: XFree86-fontCyrillic-4.3.0 Dependency: XFree86-font75dpi-4.3.0 Dependency: XFree86-font100dpi-4.3.0 Dependency: XFree86-documents-4.3.0 Dependency: XFree86-clients-4.3.0_3 Dependency: wrapper-1.0_3 Dependency: XFree86-FontServer-4.3.0_2 Essentially you need imake and all of the ports with XFree86 in their names to be at version 4.3.0 or better. portupgrade(1) will ease the pain of doing that remarkably. Right; but that's what I've already done, hence the confusion. I do have most of these to a current version: monopoly/etc/X11 $ pkg_info -r XFree86-4.3.0,1 Information for XFree86-4.3.0,1: Depends on: Dependency: expat-1.95.5 Dependency: png-1.2.5_2 Dependency: pkgconfig-0.15.0 Dependency: imake-4.3.0_1 Dependency: freetype2-2.1.4_1 Dependency: fontconfig-2.2.0 Dependency: XFree86-libraries-4.3.0_5 Dependency: Xft-2.1_8 Dependency: wrapper-1.0_3 Dependency: XFree86-fontScalable-4.3.0 Dependency: XFree86-fontCyrillic-4.3.0 Dependency: XFree86-clients-4.3.0_3 and running portupgrade(1) doesn't do much, as it apparently thinks I'm all set: monopoly/etc/X11 # portupgrade XFree86 monopoly/etc/X11 # Yet I'm still running 4.2. This is why I'm confused :-/. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Basic printing setup
I've never gotten around to setting up printing from my FreeBSD machine--the discussion in the Handbook is rather frightening--and now that I've decided I should probably give it a try, I find that the Handbook doesn't even let me get started. I have two situations for this computer (a laptop running FreeBSD-4.8). I have a home network that has an older (non-Ethernetted) HP LaserJet 6MP; this is attached to the network via an AsanteTalk AppleTalk- Ethernet bridge. The Macs on the network (OSX and 8.6) can all see the printer. What do I need to do to print to this printer from my FreeBSD machine when it's on the network? In the second case, I just have a desktop printer-- some HP color thing, the 990 I think--that only has a USB connection. The Handbook doesn't mention USB printing at all. In both cases I'm not looking to do anything fancy, none of this user-accounting or header-pages stuff. I just want to be able to send jobs to the printer and have them come out. I guess I'd also be curious how to select one or the other, or more if they were added to the network. Thanks for any pointers on how to accomplish this. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Patching source in a port
Is it possible to patch the source code in a port, and then make, make install again to get it to install the patched code? I tried applying the sendmail patch. I had previously installed 8.12.9 from ports. This is basically what I did: cd /usr/ports/mail/sendmail-sasl/work/sendmail-8.9.12/sendmail patch /path/to/patch -patch confirms that it went successfully. -I also edited version.c and changed the version number. cd ../../../ make PREFIX=/usr make PREFIX=/usr install But the patch doesn't seem to be taking effect. After restarting sendmail I: sendmail -bt -d0.11 /dev/null and it tells me that it is still version 8.12.9. Am I doing something obviously wrong? The compilation seemed to run successfully. - Jamie A friend is someone who lets you have total freedom to be yourself. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts
hi josh, thanks for the advise. it's the FIREWALL thing that don't allow my FreeBSD to access the Internet Sharing in the Windows XP. Now, its ok already. I just unchecked the option that Restricts IP hosts from Internet (external) to access the Internet Sharing Machine or something like that. Now its working. It really is not a problem with my FreeBSD LAN card or other configurations. It's the WindowsXP trick! -edwin --- Josh Paetzel [EMAIL PROTECTED] wrote: On Thu, Sep 18, 2003 at 10:04:15AM -0700, Edwin D. Vinas wrote: hi josh, see dmesg, ifconfig and netstat below... hope you can help me now. -edwin IFCONFIG dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.0.6 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::280:adff:fe00:591a%dc0 prefixlen 64 scopeid 0x1 ether 00:80:ad:00:59:1a media: Ethernet autoselect (100baseTX) status: active Nothing wrong here. DMESG dc0: Davicom DM9102A 10/100BaseTX port 0xd000-0xd0ff mem 0xef00-0xefff irq 11 at device 9.0 on pci0 dc0: Ethernet address: 00:80:ad:00:59:1a miibus0: MII bus on dc0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto There's your NIC being detected. ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode This isn't so good, looks like your hard drive is sick, although I doubt that has anything to do with your network troubles. NETSTAT -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGSc 0 0 dc0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#1 UC 1 0 dc0 192.168.0.1 link#1 UHLW 1 3 dc0 You've got the correct gateway here, and it appears to be up as well. I can browse the web using all the WinXPs but I cannot access the web via FreeBSD. FreeBSD's IP address follows the 192.198.0.x format just like the other WinXPs. When I check the FreeBSD, i can see its IP address and Subnet Mask etc via ifconfig. I can even change the IP address+ Gateway (which is WinXP2's IP add) using ifconfig or /stand/sysinstall. I even manually edited rc.conf, and even changed the setting to DHCP etc etc etc. My diagnosis tells that I cannot ping any WinXP machine in the LAN. But I can ping myself (FreeBSD) locally. When I run netstat -rn, It seems the network card is ok. When I run tcpdump, I didn't show any output. By the way, this network card is CNet PRO200. I was thinking it was not recognize or supported by the FreeBSD-4.8. When I checked FreeBSD-4.8's Hardware Compatibility Lit, I didn't see any CNet PRO200 but I saw a CNet/PRO which I suppose are just the same. So, I recompiled my Kernel again just in case FreeBSD didn't recognize this newly installed Cnet LAN card. But, nothing changed after Kernel recompilation. (But I did not change any option in the Generic kernel; just re-compiled it). The output when I ping WinXP3: ping: sendto: Host is down. It's not true coz Im typing this email right in the WinXP3 machine. I cannot also ping FreeBSD's IP add from the WinXP internet sharing server. The dmesg shows the following: pci0 (vendor=0x1106 dev=0x3059) at 17.5 irq 5. By the way, this machine where FreeBSD is installed also has WinXP which works fine when in Windows. So Im sure my LAN card is really ok. It's only a problem of FreeBSD. What should I do? I don't want to make FreeBSD machine as my Internet sharing server as of now (although its the best option). Im testing/running a Unix program that needs to be connected to the Internet via Windows XP gateway. Please help me make my FreeBSD be part of my LAN -Edwin The output of dmesg and ifconfig would be helpful in diagnosing this. I suppose that's major PITA though considering you're LAN isn't working. At the very least, the first entry that comes up with ifconfig would be very helpful. Josh Two things come to mind. One is that you don't have correct nameservers in /etc/resolv.conf. The other is that your WinXP box has it's native firewall turned on and is not playing nicely with FreeBSD. Other than that, from what I can tell everything looks ok on the FreeBSD side of things, but I agree it's odd that the same box with WinXP on it can access the network and internet just fine. One last thing I can recommend is to try arp -a and see if you are connected below the TCP level. You should get an output similar to: (10.0.0.1) at 00:02:b3:c0:a9:c9 on xl0 [ethernet] Sorry I can't be of
RE: Postfix problems
You missed the most obvious point. The basic FBSD install is delivered with sendmail active. To get postfix to be the active mail server you have to disable sendmail and reboot FBSD. ADD this statement to your rc.conf file sendmail_enable=NONE # Totally disable sendmail, allowing Postfix # to become the primary MTA. # (Mail transport agent) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Guy Van Sanden Sent: Saturday, September 20, 2003 10:08 AM To: [EMAIL PROTECTED] Subject: Postfix problems I tried to install postfix on my system (FreeBSD 5.0). It compiles and installs fine (from ports), but it does not seem to work. nc host 25 gives a connection, but nothing else Sending mail completely fails. Am I missing something? Is there a sendmail to postfix migration howto or something? Googling did not provide me mucht helpful information. Thanks Guy ___ [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: error with mysql when doing mysql -u root
On Sat, 20 Sep 2003 10:31:43 -0700 Shawn Guillemette [EMAIL PROTECTED] wrote: is there a way to reset the mysql root user passwd? I'm starting to wonder if I finger mumbled the passwd or something.. Start mysql with --skip-grant-tables Please red the docs. IOnut -- IOnut FreeBSD unregistered ;) user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cat a directory
Karlsson Mikael HKI/SOSV wrote: And while we're on the subject of different file types why doesn't ls support coloring of different file types like in Linux. As it would make finding certain files easier by coloring them differently depending on their ending. Try http://www.mandrakelinux.com/en/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
COM2 Problems
I am running 4.8-RELEASE and I am having issues getting COM2 setup. We have a need to connect to another machine's console with this machine. In the BIOS COM2 is setup for IRQ3, not auto. Yet on boot I get the following: sio1: configured irq 3 not in bitmap of probed irqs 0 COM1 on this machine is working and I can console from the other machine back to the this machine. A few searches indicate that I could put something in the /boot/kernel.conf to some how get this to work, but they did not go into detail on what to place in there. In my kernel I have the following: device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 Which I think is the default. Getting someone to actually be on keyboard with this machine is a little hard so hopefully I can get this fixed at the OS level. Is there a method I can have the system check to see what is at what IRQ? I have access via console to the boot loader.. Perhaps the person who configured the BIOS for me actually set the wrong IRQ and I need to change it in my kernel? Any idea's would be greatly appreciated.. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.8 v/s 5.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Two more questions. 4.8-RELEASE or 4.8_STABLE? I lost my 4.8-stable cd and need to burn another one. What is the easiest way to burn an iso file from freebsd? On Mon, 29 Sep 2003 14:34:38 -0400 C. Ulrich [EMAIL PROTECTED] wrote: On Mon, 2003-09-29 at 03:51, Bryan Cassidy wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was just wondering what people on the list thought. I don't want to know any details on which is better or whatever just in general which is better for whatever reasons people use it. Short answer: use 4.8 for anything remotely critical such as a firewall, web server, etc, especially if it's going to talk to the outside world and/or uptime is important. That's why they call it 4.8-STABLE. For learning purposes or a personal system that you don't mind tinkering with every now and again, you might as well go with 5.1. For what it's worth, most releases that aren't necessarily -STABLE are plenty stable enough for normal use. They just aren't officially supported by the FreeBSD team if you run into a snag. See the handbook and/or FAQ for more info. C. Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/eQifKjx9X0nK5vwRAkpPAKCNPpuZHehVLxfsnNDfH1pD1pS1kwCePpK2 02UJPIOIm4hgtkzQRCA6tWs= =ilRe -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with audio recording
On Mon, 29 Sep 2003 21:59:53 + Daniela [EMAIL PROTECTED] probably wrote: On Monday 29 September 2003 09:21, Sergey DoubleF Zaharchenko wrote: On Sun, 28 Sep 2003 18:45:39 + Daniela [EMAIL PROTECTED] probably wrote: Probably a stupid question: I need to record sound and it just won't work. I set the recording level to 75:75 and the recording source to Line (I'm not sure this is correct) This depends on what you are actually trying to record. If you are recording from a microphone, it should be mic,if you are recording from line input - line. So my recording source is correct. Is there a way to get more information? I haven't got a single useful message out of the programs I used. Could this be a hardware problem (I'm not a hardware expert)? Are there any diagnostic tools? Daniela cat /dev/dspfile was meant to be one... Can you record sound from a microphone (trying to find out if it's hardware)? -- DoubleF Should old bootloaders be forgot and never brought to mind... pgp0.pgp Description: PGP signature
Problems with latest update and network
Hi! I just CVSup'd (last Thursday) and upgraded my system to RELENG_4. I now cannot connect (seemingly) to the network. Whenever I try to ping and outside system, I get ping: sendto: no route to host. I can't ping my router, or even hosts with known IP addresses. I don't see anything odd in `netstat -a` or `ifconfig`, but I'm not the worlds greatest networker, so I'm not sure that I would know what is odd. uname reports the system as 4.9_PRERELEASE. The ethernet card is (I think) and Intel card -- the device is 'ep'. Any suggestions on what I can look at to figure out what is going wrong? Thanks, Ricky Morse ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw with four interfaces
- Original Message - From: Arvinn Lokkebakken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 7:24 AM Subject: Re: ipfw with four interfaces snip Haven't been able to try them out yet, but I don't feel allowing The first 300 rule will probably help me having the firewall allowing traffic for me, but I wasn't really planning to allow everything in. And will deny rules have effect when the traffic allready is allowed? Arvinn Disregard my firewall ruleset for the time being. Do you have this system configured to be a gateway unit? If not, no traffic will pass interface boundaries.If your interface setup is this: fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet w.x.y.81 netmask 0xfff0 broadcast w.x.y.95 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 172.16.0.1 netmask 0xff00 broadcast 172.16.0.255 xl2 is the interface that is connected back-to-back with the router. Also, from the info above, xl2 connects to the router via a crossover cable. If so, does it pull and IP? If so, it needs to be something other than the x.w.y.81, 192.168.0.1 or 172.16.0.1 network. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logs of sftp-server.
Hello everybody, Ask helps on the question of sftp-server logs. I have FreeBSD 4,8 and want to get full logs of operations which users make, such as mkdir, cp and etc. In daemon ftpd are used keys -l -l, but in SFTP I find nothing like that. Thank you for attention, and sorry for my bad english :). -- With love from RUSSIA --- Best regards, analitic1983 mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: digicam on ugen0
You should be able to mount it as you would a usb hard drive, these are reffered to as USB mass storage. This is what I get when I connect my panasonic digicam da0: MATSHITA DMC-LC20 Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 29MB (60801 512 byte sectors: 64H 32S/T 29C) (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. now if I look at my /dev directory I can see da0 da0s1 Of course theres a lot more in my /dev/ directory but this is the only part thatt is relevant. I do this logged in as root, however it should be possible to do this whilst logged in as user by putting an entry in /etc/fstab # mount -t msdos /dev/da0s1 /mnt # cd /mnt # ls DCIMP1010685.JPGP1010694.JPGP1010703.JPGP1010712.JPG MISCP1010686.JPGP1010695.JPGP1010704.JPGP1010713.JPG P1010678.JPGP1010687.JPGP1010696.JPGP1010705.JPGP1010714.JPG P1010679.JPGP1010688.JPGP1010697.JPGP1010706.JPGP1010715.JPG P1010680.JPGP1010689.JPGP1010698.JPGP1010707.JPGP1010716.JPG P1010681.JPGP1010690.JPGP1010699.JPGP1010708.JPGP1010717.JPG P1010682.JPGP1010691.JPGP1010700.JPGP1010709.JPGP1010718.JPG P1010683.JPGP1010692.JPGP1010701.JPGP1010710.JPGignore_my_docs P1010684.JPGP1010693.JPGP1010702.JPGP1010711.JPG # There you go, that is my digital camera sd card contents After looking in http://www.teaser.fr/~hfiguiere/linux/digicam.html it appears that your digital camera also uses the USB mass storage protocal, Therefore your procedure shouild be very similar to mine. Hope this helps David L I plugged my digicam HP Photosmart 618 into my FreeBSD-4 and it was recognised immediately. Great. It's on /dev/ugen0 But how can I access the camera- or rather the pictures on it? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
user restriction with login.conf
I've been trying for some time now to figure out a way how to use the right syntax in /etc/login.conf to add a class that will restrict some users who will have that class to their home directory only. Some users have the nologin because they are only ftp users and they are chroot'ed with /etc/ftpchroot. But some users should have the ability to use sftp or ssh but they should stay restricted in their home. I've implemented jail on other machines, and I understand it's what comes to mind first. but on this machine I need to use something like login.conf to do the restriction. I don't want also to use ports such as flash or scponly. Anyone can give a hand how to add that class in login.conf to restrict some users in something like. /home/untrusted/ after specifying that class when using adduser ? The scenario is some users will have shell access to use sftp or ssh but they will be a member of a class that will be defined in login.conf they should be restricted in their home directory. and they are in /etc/ftpchroot. PS. please Cc me because I'm not subscribed to the list, due to mail server maintenance. _ Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lol!
http://meisterdieb.b3cks.com/?37766 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD SPAM
On Fri, 3 Oct 2003, Joseph Koenig wrote: I know this is an issue that comes up a lot, but I wanted to get an opinion from some people on the list. We, along with everyone else, have TONS of SPAM hit our server. Unfortunately, we haven't found any good way to reduce it. We're using ORDB and SpamCop, but neither are really doing the job. These have been very effective for me: sbl.spamhaus.org list.dsbl.org blackholes.easynet.nl dynablock.easynet.nl dnsbl.sorbs.net Naturally, you should check the web pages for each before using them to make sure you understand their listing policies. Commercial DNSBL... no experience there. Some are quite conservative, and some are toothless. The free ones seem better to me. In combination with DNSBL, I have a large /etc/mail/access file of rejects. Bad ISPs, rogue providers, and even much of some countries. Bandwidth-wise, it's hard to beat--mail from known-bad origins is rejected outright. The Windows virus-of-the-week attacks have become so common that I've also written a little script to add those by /24. I'll manually expire them by removing that section from the access file, whenever it seems like it's rejecting real mail. Actually, I haven't seen that yet. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: explain annoying You have XXX mail messages
+[ Lowell Gilbert [EMAIL PROTECTED] (03.Oct.2003 20:44): | | Fernan Aguero [EMAIL PROTECTED] writes: | | The default mailbox (/var/mail/fernan) is empty, since I | use procmail to deliver messages to several different | mailboxes under ~/mail. | | Still, I keep receving this message all the time. Right now | it says I have 50 messages. What are they? Where are they? | | # echo $MAIL | | should tell you... | +] Hi! Thanks for your reply, [EMAIL PROTECTED] echo $MAIL /var/mail/fernan [EMAIL PROTECTED] ls -l $MAIL -rw-rw 1 fernan mail 0 Oct 4 09:56 /var/mail/fernan As I said, the default mailbox (/var/mail/fernan, aka $MAIL) is empty, since I use procmail to deliver to ~/mail/inbox (default) and other mailboxes under ~/mail. I've just sent a reply to another suggestion I got. I've CC'ed @questions. Fernan, still intrigued. -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terminal emulation
On Sunday, Oct 5, 2003, at 14:35 US/Pacific, Alexey Koptsevich wrote: I would like to use FreeBSD machine as a serial console to another FreeBSD machine. Server part is described in the Handbook, but I have found nothing about client part. Which program should I use for terminal emulation? How can I make, for instance, xterm to communicate to the serial port? tip com1 man tip for more info. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPF and Routing
Hi There, Yes I have read it several times. I have set up an ipnat.conf file that looks a lot like this bimap192.168.1.10 - 10.0.0.3 bimap192.168.1.11 - 10.0.0.4 and so on and so forth I need to ensure that each internal address gets the same external address each time. I have aliased all of the external addresses to the external interface so I was wondering if this would work or did there need to be additional physical interfaces for this to work properly. I am thinking that there would be no need to have multiple interfaces but I am wondering if it is indeed all that simple. The reason for static NAT is that each internal client needs to connect to a remote VPN server which requires one unique IP for each address ( broken damned M$ VPN server ). Mapping static is not a great problem given that each internal client will get it's address via DHCP. Does this make sense ? TIA LukeK On Tue, 7 Oct 2003 18:23:00 +0800 Michael Lee [EMAIL PROTECTED] granted us these pearls of wisdom: Hi, Have you checked the How-to of ipf ? Mapping Many Addresses Into a Pool of Addresses. http://www.obfuscation.org/ipf/ipf-howto.html#TOC_31 - Original Message - From: Luke Kearney [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 10:12 AM Subject: IPF and Routing Hello, I have question regarding IPNat and routing. The situation is that I need to setup a network where each machine gets a unique global IP address from behind a firewall which performs NAT. I have 16 addresses so my question is can I alias 14 addresses to the primary nic and then config each private address to map directly to one global address or have I missed something fundamental about this ? Any advice is appreciated. TIA LukeK ___ [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: redirect.pl - where is it ?
On Tue, Oct 07, 2003 at 08:42:58AM -0500, Darryl Hoar wrote: Greetings, I have FreeBSD 4.7 stable installed on a machine. In addition, I have apache 1.13 installed an configured. I'm trying to locate redirect.pl for my cgi-bin directory. Where is this file located ? % grep ScriptAlias /usr/local/etc/apache/httpd.conf but it's usually /usr/local/www/cgi-bin Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
root passwd change
Is there other way to change the root password that been lost without shutting down the computer. Old way shutdown space barboot -s #mount -t ufs -a #passwd # exit to multiusers. Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
FreeBSD- Do AMD Duron processors fall under the AMD64 release category, because on your website it only says that AMD Opteron and Athlon prcoessors are the AMD64 architecture. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
screen font size
Greetings I recently installed FreeBSD 4.5 with desk top KDE using a CD that came with the book, FreeBSD Unleashed, by Michael Urban and Brian Tiemann. Everything seemed to go fine until I executed startx. The desktop environment on my screen seems to be at least four times as big as it should be, displaying only the top left portion of the desktop. The strange part of this problem is that during the install process, program option screens are the correct size and font. Any advice to get me going will be appreciated. C. W. Talbot [EMAIL PROTECTED] _ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Client from Behind Filtering Bridge/Firewall
Quoting Khalil Khozeimeh [EMAIL PROTECTED]: I have configured a FreeBSD 4.8 system as a filtering bridge/firewall using the IPFW. I am interested in enabling FTP clients from inside the firewall to access FTP servers on the outside. It will be appreciated if somebody can point me in the proper direction to configure IPFW (procedure and/or the applicable rules) properly to achieve my goal. I do not anticipate to run a FTP server inside the firewall. I don't know if ipfw has this feature, but with ipfilter (included in FreeBSD) and ipnat, you can run an ftp proxy in addition to nat and filter, and that does exactly what you want. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Best place to start a misc program at bootup
Hello again, So there's /etc/rc, and etc/rc.local, and then there's the fancy rc.conf scripts which stat programs. /etc/rc and /etc/rc.local don't appear to be designated places for starting up misc. programs, so where do we put these misc programs which we want to run at startup? Thanks, -Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netstat options
On Thu, Sep 18, 2003 at 03:24:29PM +0200, dick hoogendijk wrote: On Thu, 18 Sep 2003 07:10:24 -0500 Peter Elsner [EMAIL PROTECTED] wrote: You're probably getting the connection refused because you didn't enable telnet in /etc/inetd.conf. It's turned off by default. Has nothing to do with netstat. Peter Elsner At 01:01 PM 9/18/2003 +0200, you wrote: I want a kind of list you get with (linux) netstat -atun Active Internet connections (servers and established) Proto Recv-Q Send-Q Local AddressForeign Address State tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:9930.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5150.0.0.0:* LISTEN tcp 0 0 0.0.0.0:9950.0.0.0:* LISTEN tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN I'm trying to find out why my courier mta gives me a connection refused on a 'telnet localhost 25' Courier is running; mail is received and delivered. Still I get these 'refused' messages.. So, if anybody knwo how to get a list like above in FreeBSD-4.8? I'm getting the connection refused *not* because telnet is not running. I'm not that stupid you know ;-)) What I wanted to know is the equivalent for the LINUX netstat -atun netstat -an|grep LISTEN which gives the output above (on the LINUX server). I want to test my FreeBSD machine the same way but netstat -atun gives me an output I don't want (on fbsd). -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody) + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist Office: 434-982-2975 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts
On Thu, Sep 18, 2003 at 10:04:15AM -0700, Edwin D. Vinas wrote: hi josh, see dmesg, ifconfig and netstat below... hope you can help me now. -edwin IFCONFIG dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.0.6 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::280:adff:fe00:591a%dc0 prefixlen 64 scopeid 0x1 ether 00:80:ad:00:59:1a media: Ethernet autoselect (100baseTX) status: active Nothing wrong here. DMESG dc0: Davicom DM9102A 10/100BaseTX port 0xd000-0xd0ff mem 0xef00-0xefff irq 11 at device 9.0 on pci0 dc0: Ethernet address: 00:80:ad:00:59:1a miibus0: MII bus on dc0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto There's your NIC being detected. ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode This isn't so good, looks like your hard drive is sick, although I doubt that has anything to do with your network troubles. NETSTAT -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGSc 0 0 dc0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#1 UC 1 0 dc0 192.168.0.1 link#1 UHLW 1 3 dc0 You've got the correct gateway here, and it appears to be up as well. I can browse the web using all the WinXPs but I cannot access the web via FreeBSD. FreeBSD's IP address follows the 192.198.0.x format just like the other WinXPs. When I check the FreeBSD, i can see its IP address and Subnet Mask etc via ifconfig. I can even change the IP address+ Gateway (which is WinXP2's IP add) using ifconfig or /stand/sysinstall. I even manually edited rc.conf, and even changed the setting to DHCP etc etc etc. My diagnosis tells that I cannot ping any WinXP machine in the LAN. But I can ping myself (FreeBSD) locally. When I run netstat -rn, It seems the network card is ok. When I run tcpdump, I didn't show any output. By the way, this network card is CNet PRO200. I was thinking it was not recognize or supported by the FreeBSD-4.8. When I checked FreeBSD-4.8's Hardware Compatibility Lit, I didn't see any CNet PRO200 but I saw a CNet/PRO which I suppose are just the same. So, I recompiled my Kernel again just in case FreeBSD didn't recognize this newly installed Cnet LAN card. But, nothing changed after Kernel recompilation. (But I did not change any option in the Generic kernel; just re-compiled it). The output when I ping WinXP3: ping: sendto: Host is down. It's not true coz Im typing this email right in the WinXP3 machine. I cannot also ping FreeBSD's IP add from the WinXP internet sharing server. The dmesg shows the following: pci0 (vendor=0x1106 dev=0x3059) at 17.5 irq 5. By the way, this machine where FreeBSD is installed also has WinXP which works fine when in Windows. So Im sure my LAN card is really ok. It's only a problem of FreeBSD. What should I do? I don't want to make FreeBSD machine as my Internet sharing server as of now (although its the best option). Im testing/running a Unix program that needs to be connected to the Internet via Windows XP gateway. Please help me make my FreeBSD be part of my LAN -Edwin The output of dmesg and ifconfig would be helpful in diagnosing this. I suppose that's major PITA though considering you're LAN isn't working. At the very least, the first entry that comes up with ifconfig would be very helpful. Josh Two things come to mind. One is that you don't have correct nameservers in /etc/resolv.conf. The other is that your WinXP box has it's native firewall turned on and is not playing nicely with FreeBSD. Other than that, from what I can tell everything looks ok on the FreeBSD side of things, but I agree it's odd that the same box with WinXP on it can access the network and internet just fine. One last thing I can recommend is to try arp -a and see if you are connected below the TCP level. You should get an output similar to: (10.0.0.1) at 00:02:b3:c0:a9:c9 on xl0 [ethernet] Sorry I can't be of more help but it looks like you've configured FreeBSD correctly. Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: update confusion 4.8-STABLE to STABLE = 4.9-PRERELEASE !?
On Thu, Oct 02, 2003 at 12:29:20PM +0300, Alin-Adrian Anton wrote: Hey guys, Look what happened to me. I had a nice (cute) 4.8-STABLE. From time to time, I update it via cvsup. Ports to CURRENT, system sources to STABLE. Last time I updated from cvsup2.freebsd.org (I tried another one closer too, same result), and hah , after a buildworld, i had a brand new 4.9-PRERELEASE installed. This question gets asked several times for each release cycle - the short answer is that you are confused about the FreeBSD branch structure. I recommend you consult the archives and the FreeBSD handbook for extensive discussion. Kris pgp0.pgp Description: PGP signature
Re: openssl ASN bug?
Gabriel Ambuehl [EMAIL PROTECTED] writes: There was a security advisory about openssl 0.9.7b having a bug in the ASN encoding code on 30th Sept 03 and now I'm wondering what to do about it? Install the port? Wait some more and do another cvsup (currently, nothing shows up in UPDATING)? The security officer announced (on the 30th) that he was going to import 0.9.7c over the next few days. That's complete, but there hasn't been an announcement or FreeBSD SA release. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with perl versions
I am runing freebsd 5.1 I have a problem with perl versions I need to use perl 5.8.0 but everytime I install from ports a application which depends from perl 5.6 something is overwritten and perl 5.8.0 is not avalaible and I have to make reinstall perl 5.8.0 every time. Is there a way to set a system variable for perl5.8.0 as default? I also tryed with this in /etc/make.conf PERL_VER=5.8.0 PERL_VERSION=5.8.0 but it is useless. if I then install an application from ports which uses perl5.6 the default perl becomes perl 5.6 regardless of make.conf settings. thank you very much Rick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable console notifications
This will stop all the syslog generated messages, but it will not stop kernel generated messages like device timeouts, hardware errors, lock warnings etc, as they are actually printed by the kernel not syslog. If all you want is to use the console without the messages clobbering your output, just swap to a different vty (eg. ALT+F2) as only vty 1 gets this output. Seeya...Q On Fri, 2003-10-17 at 13:11, Sunil Sunder Raj wrote: Hi, Remove the line #*.err;kern.debug;auth.notice;mail.crit /dev/console from /etc/syslog.conf OR redirect it to a file *.err;kern.debug;auth.notice;mail.crit /var/log/console.log Regards SSR From: Rus Foster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Disable console notifications Date: Thu, 16 Oct 2003 12:22:50 +0100 (BST) Hi, What is the quick way to disable console notifications? i.e. to stop the kernel putting up messages? Rgds Rus -- w: http://www.jvps.com | Virtual Dedicated Servers from $15/mo e: [EMAIL PROTECTED]| Dontations made to Debian, FreeBSD t: +44 7919 373537 | and Slackware t: 1-888-327-6330| email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Get Married! http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Search from 7 lakh Brides Grooms. ___ [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: Why build INDEX ?
Erik Trulsson [EMAIL PROTECTED] writes: (Things used to work as you describe, but that was changed a long time ago.) Yep. I'm seriously out of date on that. My apologies. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleting dirs to save space.
Dragoncrest [EMAIL PROTECTED] writes: Got a server I'm trying to reclaim some space on and I was looking for some input. I've nuked the ports tree and /usr/src, but it's still not enough. I'm looking at deleting /usr/obj/usr/src to gain another 400 megs, but I'm unsure if it's safe to do so. Can I do it or should I just leave it alone? If you removed /usr/src, you can remove /usr/obj with impunity. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleting dirs to save space.
In the last episode (Aug 10), Dragoncrest said: Got a server I'm trying to reclaim some space on and I was looking for some input. I've nuked the ports tree and /usr/src, but it's still not enough. I'm looking at deleting /usr/obj/usr/src to gain another 400 megs, but I'm unsure if it's safe to do so. Can I do it or should I just leave it alone? If you've removed /usr/src, /usr/obj isn't going to do you any good. Remove it too. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleting dirs to save space.
You can safely delete /usr/src but if you need to redo the world or recompile the kernel you wount be able too same with ports but in your case it would be fine to remove /usr/ports,/usr/src, Got a server I'm trying to reclaim some space on and I was looking for some input. I've nuked the ports tree and /usr/src, but it's still not enough. I'm looking at deleting /usr/obj/usr/src to gain another 400 megs, but I'm unsure if it's safe to do so. Can I do it or should I just leave it alone? ___ [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: Deleting dirs to save space.
On Sun, Aug 10, 2003 at 11:06:11PM -0400, Dragoncrest wrote: Got a server I'm trying to reclaim some space on and I was looking for some input. I've nuked the ports tree and /usr/src, but it's still not enough. I'm looking at deleting /usr/obj/usr/src to gain another 400 megs, but I'm unsure if it's safe to do so. Can I do it or should I just leave it alone? You can safely delete everything under /usr/obj/ The files there are created by a 'make buildworld'/'make buildkernel' and are only used for updating the system. Once a 'make installworld'/'make installkernel' is finished /usr/obj/* can be deleted. If you haven't a /usr/src around there is absolutely no reason to have /usr/obj around. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_perl, mod_ssl: fine in isolation, install woes when together
I've isolated this pretty well... hope someone has some insight: After a fresh* install of FreeBSD 4.8, I can build Apache with mod_ssl, and (separately) Apache with mod_perl (static). However, I'm getting link errors when trying to install both together. Here are my steps: tar -xzf apache_1.3.28.tar.gz tar -xzf mod_ssl-2.8.15-1.3.28.tar.gz tar -xzf mod_perl-1.29.tar.gz cd mod_ssl-2.8.15-1.3.28 ./configure --with-apache=../apache_1.3.28 cd ../mod_perl-1.29 perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \ EVERYTHING=1 PREP_HTTPD=1 USE_APACI=1 make make install cd ../apache_1.3.28 setenv SSL_BASE SYSTEM ./configure --with-layout=FreeBSD \ --activate-module=src/modules/perl/libperl.a \ --enable-module=ssl make It's during the make that things go south. The make successfully finishes both the ssl and perl sections (i.e., I see === src/modules/ssl and === src/modules/perl). Immediately after, I get two successful 'gcc' lines, then the following: --- gcc -funsigned-char -DMOD_SSL=208115 -DMOD_PERL -DUSE_PERL_SSI -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/lib-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -lcrypt -lssl -lcrypto -Wl,-E /usr/local/lib/perl5/5.8.1/i386-freebsd/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl -lm -lcrypt -lutil -lc modules/perl/libperl.a(mod_perl.o): In function `perl_restart_handler': mod_perl.o(.text+0x23b): undefined reference to `Perl_get_sv' modules/perl/libperl.a(mod_perl.o): In function `perl_restart': mod_perl.o(.text+0x2c7): undefined reference to `Perl_get_sv' mod_perl.o(.text+0x2fe): undefined reference to `Perl_eval_pv' mod_perl.o(.text+0x31a): undefined reference to `Perl_sv_setsv_flags' modules/perl/libperl.a(mod_perl.o): In function `mod_perl_set_cwd': mod_perl.o(.text+0x3c0): undefined reference to `Perl_eval_pv' mod_perl.o(.text+0x3d0): undefined reference to `Perl_sv_setsv_flags' [pages and pages more of similar errors...] Ideas? ___ *no packages, upgraded to Perl 5.8.1, installed Bundle::LWP via CPAN utility ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing library that an ELF loads or...
How would I change a library that an ELF loads to look for a particular set of symbols? (location, but has same name). or (b), is there a way to statically bind an *.so to a ELF that requires it so that it doesn't try and load it dynamically? (merge them into a single executable?) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Virtual Console Keyboard Layout
Hi everyone, I have been using FreeBSD 4.9 for almost a month now, and I have to admit that I am presently in a very slow process in learning everything that I should be in using my new OS... I have been reading some articles, on UNIX in the internet...and it is only now that I have discovered the power of Virtual Console(s)... I am using an IBM R40e Thinkpad...which has a Japanese Keyboard layout...I have configured my keyboard layout to 105 when using X Windows System...No problems encountered yet... My problem is that when I switch to another virtual console...my keyboard layout is no longer 105 International... My shell is the default Bourne Shell...can anyone help or give me advice on where to search in the man pages about setting my virtual console keyboard layout to 105... Any help and advices are really needed... Thank you in advance... Rommel B. Ikeda ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: poptop / pppd
Please use the port mpd instead. Chris Knipe wrote: Lo all, Very arb and weird problem... I've followed all the docs that google could return (they all mostly the same in any case), and yeah... My PPTP server *does* work.. As long as I don't terminate more than one connection at a time to the server *shock horror*. For some reason (and I suspect I know why), ppp insist on only using one device for all the incoming PPTP connections from poptop. Obviously not right, and err, ja.. I need to get this fixed... Very urgently as well. My streamlined ppp.conf: pptp: accept dns allow mode direct disable chap disable mschap disable mschapv2 enable lqr enable pap set device localhost:pptp set dial set dns 192.168.1.1 set ifaddr 192.168.1.1 10.255.255.1-10.255.255.254 255.255.255.255 set log Connect set login set radius /etc/ppp/ppp.radius set server /tmp/loop 0177 set timeout 0 Now, I suspect that it is only using one device (regardless of the number of connections), due to the device (socket) specification. But frankly, if I don't specify it what device to use, it won't even be able to operate a single pptp connection. Any advice is greatly appreciated. I need to get this resolved asap. I didn't send any logs from ppp PPP and the PPTP connections works 100% - even with Radius. The problem is purely that PPP always uses the same device, regardless of the amount of connections (ala tun0). My kernel does have allot of tunX devices, and ifconfig -a lists at least two available. Still, ppp only uses the one. I'm sad to say, but if I can't get this to work, I'm going to have to be forced to scrap my BSD box for a W2K Adv server... *sigh*, at least their RAS server works okish... Thanks, me ___ [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]
a few questions about rebuilding a system?
1. Make world. is it really necessary to follow this step? 21.4.2 Check /etc/make.conf Examine the files /etc/defaults/make.conf and /etc/make.conf. The first contains some default defines - most of which are commented out. To make use of them when you rebuild your system from source, add them to /etc/make.conf. Keep in mind that anything you add to /etc/make.conf is also used every time you run make, so it is a good idea to set them to something sensible for your system. A typical user will probably want to copy the CFLAGS and NOPROFILE lines found in /etc/defaults/make.conf to /etc/make.conf and uncomment them. Examine the other definitions (COPTFLAGS, NOPORTDOCS and so on) and decide if they are relevant to you. I mean if i installed 5.1 and was upgrading to 5-current would i really need to alter this, i would think the one from the orig. 5.1 install would be OK. The reason i ask is because i did this per. the instructions and uncommented these lines and the one for athlon-xp processors ...which i have but i am experiencing some compiler issues with some ,not all, apps during the make or gmake proccess such as segmentation fault errors. 2. If i update my src and ports via cvs, run make world and then install the binaries does this affect currently installed apps? for ex. if i have the newest version of xmms etc.. installed and then rebuild my system does xmms get replaced with the version from the ports or src. I have some apps i have compiled my self from the authors src.. and the version is not always the same as that of the freebsd cvs src. I don't want to have my ver. 3.3.1 of xmms replaced by 2.9.1 when i rebuild. versions used as ex. 3. rebuilding the kernel. The handbook shows how to go into single user mode to run make world which works very well for me as the speed gained is a great increase. Is it ok to compile the kernel in this mode to or does the system need to be in multi-user mode? If its ok i think i would compile all my src from now on in single user mode if this is acceptable. Also is it ok to compile the kernel and other src with the -j4 option on a single proc. machine or is this only for buildworld? Thanks and have a good night. -- Sweetleaf [EMAIL PROTECTED] -- http://www.fastmail.fm - Access your email from home and the web ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
udp packets drop
hi, i have a radius server running p3/1GB ram called yoyo. below is what has happened to it... [EMAIL PROTECTED]:~]$ netstat -s -s -p udp udp: 5397 datagrams received 186 dropped due to full socket buffers 5198 delivered 5207 datagrams output [EMAIL PROTECTED]:~]$ netstat -i -b -d Name Mtu Network AddressIpkts Ierrs IbytesOpkts Oerrs Obytes Coll Drop fxp0 1500 Link#100:c0:4f:01:15:9d 149570 0 1001808013882 0 7040614 0 0 fxp0 1500 yyy.yyy.yyy.yyy yoyo 12807 -161235513732 - 6840464 - - fxp1 1500 Link#200:90:27:e5:bc:d4 596777 0 40928713 111791 0 10794960 0 0 fxp1 1500 192.168.192 192.168.192.13111913 - 10269671 111726 - 9227484 - - fxp2 1500 Link#300:90:27:e5:b5:5a0 0 01 0 42 0 0 fxp2 1500 192.168.193 192.168.193.13 0 - 00 - 0 - - lo0 16384 Link#4 133 0 74619 133 0 74619 0 0 lo0 16384 your-net localhost133 - 74619 133 - 74619 - - [EMAIL PROTECTED]:~]$ netstat -m 202/624/131072 mbufs in use (current/peak/max): 200 mbufs allocated to data 2 mbufs allocated to packet headers 198/406/32768 mbuf clusters in use (current/peak/max) 968 Kbytes allocated to network (0% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines since yoyo needs to be tuned for udp performance, here is what i got in /etc/sysctl.conf kern.ipc.maxsockbuf=2097152 net.inet.udp.recvspace=65535 net.inet.udp.maxdgram=57344 net.inet.udp.blackhole: 1 and compiled the kernel with these options machine i386 cpu I686_CPU ident yoyo maxusers1024 options NSFBUFS=1024 options NMBCLUSTERS=32768 ok. now the question is... yoyo complains that 186 udp packets dropped due to full socket buffers. so how to avoid loosing any packet? please help this freebsd newbie. S H A N ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless setups
Luke Kearney [EMAIL PROTECTED] writes: Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Doesn't WEP have to be configured *before* you can communicate with the DHCP server in the first place? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless setups
On 19 Oct 2003 21:53:15 -0400 Lowell Gilbert [EMAIL PROTECTED] spake thus: Luke Kearney [EMAIL PROTECTED] writes: Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Doesn't WEP have to be configured *before* you can communicate with the DHCP server in the first place? Hi, You are of course absolutely correct, so I am kinda wondering how to manage this. Without connecting using the correct WEP it is a bit tough to get an IP. Again, any insights into this are appreciated. Thanks -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with latest update and network
Please spit out and attach as plain text tht outputs of ifconfig netstat -rn ps ax | grep dh Richard Morse wrote: Hi! I just CVSup'd (last Thursday) and upgraded my system to RELENG_4. I now cannot connect (seemingly) to the network. Whenever I try to ping and outside system, I get ping: sendto: no route to host. I can't ping my router, or even hosts with known IP addresses. I don't see anything odd in `netstat -a` or `ifconfig`, but I'm not the worlds greatest networker, so I'm not sure that I would know what is odd. uname reports the system as 4.9_PRERELEASE. The ethernet card is (I think) and Intel card -- the device is 'ep'. Any suggestions on what I can look at to figure out what is going wrong? Thanks, Ricky Morse ___ [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]
Half-Life
Hey, I am trying to get Half-Life working so I chould play some Counterstrike. I cant seem to get the setup.exe to run with wine from ports, or winex3. And I have no more ideas what to do to try to get it working. Thanks, Chad H. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with latest update and network
I've posted a bad experience with 4.9_PRERELEASE (networking issue) (same ping: sento error) way back when they had it for cvs tag=RELENG_4. I had that machine downgraded back to cvs tag=RELENG_4.8 (4.8-RELEASE-p4) and it went well again. I wanted to try the RC but when I have just burned by RC2, I read that RC3 was already out isn't that frustrating? :D Hi! I just CVSup'd (last Thursday) and upgraded my system to RELENG_4. I now cannot connect (seemingly) to the network. Whenever I try to ping and outside system, I get ping: sendto: no route to host. I can't ping my router, or even hosts with known IP addresses. I don't see anything odd in `netstat -a` or `ifconfig`, but I'm not the worlds greatest networker, so I'm not sure that I would know what is odd. uname reports the system as 4.9_PRERELEASE. The ethernet card is (I think) and Intel card -- the device is 'ep'. Any suggestions on what I can look at to figure out what is going wrong? Thanks, Ricky Morse ___ [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]