Texas Instruments Laptop
Hi, I am trying to install freebsd from a cdrom onto my Texas Instruments Laptop Model Extensa 650 CD. It has a 133Mhz processor(intel), a 5Gbyte HD and 32 Megs Ram. The problem I run into is that when booting from the CDROM, after going past the page where it asks you if you want to continue with the installation(Sorry I forget the name of that page, it only has three options and to install you need to press q or enter) it reboots. I dont know how not to get it to reboot so I am asking if there is anyone who might know how to get past this problem. Thanks David PS. Its free bsd version 4.6(I know its a bit older but still, it should work right?) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd com/non-com user list
I'm trying to find out where the hyperlink to the commercial and regular users of FreeBSD went! This is where I found the HungryProgrammers I'm not looking for their site but the link you guys had that listed many many many com/non-com users who use FreeBSD? I've looked at it in the past but can not find it now. Where's it located? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network configuration in FreeBSD
Hello Am new to FreeBSD... just installed it for 2nd time today, but don't know what I did that it didn't ask me for the network configuration (ip, domain, etc)... once installed, is there a command to perform that task? I'm linux user, so am familiar to *nix systems, but don't know how to configure the network specifically on freebsd... Thanks for any comment, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network configuration in FreeBSD
Miguel Cardenas wrote: Hello Am new to FreeBSD... just installed it for 2nd time today, but don't know what I did that it didn't ask me for the network configuration (ip, domain, etc)... once installed, is there a command to perform that task? I'm linux user, so am familiar to *nix systems, but don't know how to configure the network specifically on freebsd... Thanks for any comment, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html The FreeBSD Handbook literally covers everything basic to FreeBSD. Give that a try. :) Michael -- Michael D. Whities [EMAIL PROTECTED] http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vinum shows 0% space used
Hi, Im running 5-CURRENT on a machine with vinum enabled, its works perfectly but the command vinum ld gives only this output: vinum - ld D tecdigital2 State: up /dev/da3s1e A: 0/35016 MB (0%) D tecdigital1 State: up /dev/da2s1e A: 0/35016 MB (0%) D var2 State: up /dev/da1s1d A: 0/256 MB (0%) D jails2State: up /dev/da1s1e A: 0/1600 MB (0%) D usr2 State: up /dev/da1s1f A: 0/2600 MB (0%) D home2 State: up /dev/da1s1g A: 0/3707 MB (0%) D var1 State: up /dev/da0s1d A: 0/256 MB (0%) D jails1State: up /dev/da0s1e A: 0/1600 MB (0%) D usr1 State: up /dev/da0s1f A: 0/2600 MB (0%) D home1 State: up /dev/da0s1g A: 0/3707 MB (0%) As if there was no data in those drives. But, if I do: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a 248M 68M160M30%/ devfs1.0K1.0K 0B 100%/dev /dev/md0 28M1.0K 28M 0%/tmp-php /dev/vinum/home 3.5G463M2.8G14%/home /dev/vinum/jails 1.5G721M703M51%/jails /dev/vinum/usr 2.5G1.4G879M62%/usr /dev/vinum/var 248M 47M181M21%/var /dev/vinum/tecdigital 66G 34G 27G55%/tdigital Everything is in order, the partitions have data and it works perfectly. All volumes are mirrored configurations, except one where it is only two concatenated plexes to have a bigger volume (tdigital). Is something wrong with my config or just an error with vinum reporting data? Thanks Mario Doria [EMAIL PROTECTED] Send spam here - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum shows 0% space used
On Thursday, 8 July 2004 at 1:57:35 -0500, Mario Doria wrote: Hi, Im running 5-CURRENT on a machine with vinum enabled, its works perfectly but the command vinum ld gives only this output: vinum - ld D tecdigital2 State: up /dev/da3s1e A: 0/35016 MB (0%) D tecdigital1 State: up /dev/da2s1e A: 0/35016 MB (0%) D var2 State: up /dev/da1s1d A: 0/256 MB (0%) D jails2State: up /dev/da1s1e A: 0/1600 MB (0%) D usr2 State: up /dev/da1s1f A: 0/2600 MB (0%) D home2 State: up /dev/da1s1g A: 0/3707 MB (0%) D var1 State: up /dev/da0s1d A: 0/256 MB (0%) D jails1State: up /dev/da0s1e A: 0/1600 MB (0%) D usr1 State: up /dev/da0s1f A: 0/2600 MB (0%) D home1 State: up /dev/da0s1g A: 0/3707 MB (0%) As if there was no data in those drives. A stands for Available, i.e. not allocated. In this case, it's showing that all drives are fully allocated. Is something wrong with my config or just an error with vinum reporting data? Just a misunderstanding. FWIW, there *have* been problems in this area. But not in your case. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgpAuTF7NHm7S.pgp Description: PGP signature
truss command on 5.2.1-p9
Hello all, I need to truss command on FreeBSD 5.2.1-p9. But, if I want to run the command truss says me: # truss /usr/sbin/sshd truss: cannot open /proc/8668/mem: No such file or directory truss: cannot open /proc/curproc/mem: No such file or directory sshd process is running, and in the proc directory, i have the number 8668 and mem too. What is the problem? How can I fix that? (I dont know that this is a bug or not :( ) Regards, Murat ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vinum panic on boot
Hi, Another vinum question. I have a machine running 5-CURRENT sources from yesterday (yes I know the dangers of running CURRENT and I did read the mailing list archives). I think I found a bug, if I add start_vinum=YES to /etc/rc.conf, at boot I get a panic with a message saying: panic: vinum: dangling vnode snip Im sorry I do not have the complete message, it is the machine I am using as a gateway and I prefered to get online and find some more information. I'd be happy to compile a debugging kernel if necessary. The problem does not happen if after booting I do a vinum start, vinum works great. Has anybody else experienced this? Thanks Mario ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WPC11 ver 3 or bust...
On Wed, 7 Jul 2004, Eric Crist wrote: wi0: wi_cmd: busy bit won't clear What firmware are you using on the card ? You propably want: wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary 1.01.01, Station 1.05.06 or higher. And in your kernel you are just using device pccard # PC Card (16-bit) bus device wlan device wi and have switched off cbb, pcic and cardbus ? Dw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum panic on boot
Hi again, Sorry for replying to my own post, I wanted to add some more details. Here's a more detailed message about the panic on boot: Mounting root from ufs:/dev/ad0s1a Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart. vinum: loaded panic: unmount: dangling vnode syncing disks, buffers remaining... 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 220 Giving up on 183 buffers uptime: 18s And that's it Mario ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
frontpage compile error
tring to install frontpage from the ports get this error get the same error when i try to intall compat3x Patching for frontpage-5.0.2.2623_1 === Applying FreeBSD patches for frontpage-5.0.2.2623_1 === frontpage-5.0.2.2623_1 depends on shared library: c.3 - not found ===Verifying install for c.3 in /usr/ports/misc/compat3x === compat3x-i386-4.4.20020925 is forbidden: FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath - not fixed / no lib available. *** Error code 1 Stop in /usr/ports/misc/compat3x. *** Error code 1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: frontpage compile error
On Thu, Jul 08, 2004 at 01:29:59AM -0600, RYAN vAN GINNEKEN wrote: tring to install frontpage from the ports get this error get the same error when i try to intall compat3x Patching for frontpage-5.0.2.2623_1 === Applying FreeBSD patches for frontpage-5.0.2.2623_1 === frontpage-5.0.2.2623_1 depends on shared library: c.3 - not found ===Verifying install for c.3 in /usr/ports/misc/compat3x === compat3x-i386-4.4.20020925 is forbidden: FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath - not fixed / no lib available. *** Error code 1 Yes. Kris pgpAXGDllmZwS.pgp Description: PGP signature
X servers
What is the differnce really between x.org and xfree86 and all the others? I know there are 3 or 4 differnt servers atleast, what are the advantages and disavantages to each and so on? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
free bsd4.4 lite
Hello, We have ported TCP/IP Stack from FreeBSD4.4 Lite to OS/2. We would like to know, if the TCP/IP reset spoofing vulnerability has been taken care in FreeBSD4.4 Lite? We are aware that this vulnerability affects 2.2-stable systems from before September 16, 1998. -stable systems after that date do not suffer from this problem. It will also apply to FreeBSD 2.2.6 and 2.2.7. We would like to know if the patch given in FreeBSD-SA-98_07_rst_asc.htm applies to FreeBSD4.4lite as well? Please help! Regards, Amith __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup behind windows xp
On Thu, Jul 08, 2004 at 12:33:18AM +0200, Grant Speelman wrote: I got the small problem, I would like to keep my ports collection update using cvsup but I don't have a direct connection to the internet. My Computer is on a network with my Fathers computer which is running windows xp. Lets say I have full access to my fathers computer as long I don't remove windows xp. What would I have to do to my fathers computer and my in order to keep my ports collections updated. I read the man pages something about cvsup using a socks proxy but where do I find this runsock(I look in the ports and try the 'which' command) and how do I use it. You can enable 'connection sharing' on your Father's XP box which should permit your FreeBSD machine sufficient network access to run cvsup(1). Connection Sharing simply makes the XP machine into a NAT gateway for your home network, and enables a DHCP+DNS service on the XP box, so that other home machines can autoconfigure themselves against it. A FreeBSD machine should be able to do that without too much trouble. There's plenty of previous traffic on this topic on the FreeBSD lists -- start with these, for example http://freebsd.rambler.ru/srch?words=%22Connection+sharing%22 Good luck. Oh, and good luck in the near future when you start trying to persuade your Father that having a FreeBSD box to do the Internet Gateway stuff would be a better idea -- somehow I can sense that one coming... 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 pgp4n9sZTbQ2P.pgp Description: PGP signature
Re: Freebsd com/non-com user list
On Thu, Jul 08, 2004 at 01:33:33AM -0500, jim wrote: I'm trying to find out where the hyperlink to the commercial and regular users of FreeBSD went! This is where I found the HungryProgrammers I'm not looking for their site but the link you guys had that listed many many many com/non-com users who use FreeBSD? I've looked at it in the past but can not find it now. Where's it located? I think you're talking about the FreeBSD Gallery pages -- unfortunately, that area of the web site proved to be almost impossible to maintain, and it was removed in March: http://lists.freebsd.org/pipermail/cvs-doc/2004-March/004571.html http://lists.freebsd.org/pipermail/freebsd-doc/2004-March/003721.html (see also the whole thread deriving from that). If it wasn't the gallery you were asking about, then maybe you meant the 'Commercial Vendors' page (which is most certainly still there, and not going to be removed any time soon): http://www.freebsd.org/commercial/ 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 pgpCu1W2mFwBC.pgp Description: PGP signature
Re: X servers
On Thu, Jul 08, 2004 at 02:01:21AM -0700, Jammet wrote: What is the differnce really between x.org and xfree86 and all the others? I know there are 3 or 4 differnt servers atleast, what are the advantages and disavantages to each and so on? X.org forked from XFree86 (recently), because XFree86 changed their license in 4.4. The differences (now) are very small, but of course they may diverge more in the future. FreeBSD, as well as most Linux distributions, have adopted X.org instead of XFree86 4.4. I upgraded from XFree86 4.3 to X.org 6.7.0, and I haven't noticed any difference (yet), except that XF86Config is now xorg.conf :-). They did include some new video-drivers though. I don't know about any other (free) X-servers. GH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free bsd4.4 lite
amith bc [EMAIL PROTECTED] writes: We have ported TCP/IP Stack from FreeBSD4.4 Lite to OS/2. There is no such thing as FreeBSD 4.4 Lite. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: WPC11 ver 3 or bust...
-Original Message- From: Dirk-Willem van Gulik [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 2:15 AM To: Eric Crist Cc: 'FreeBSD Mailing List' Subject: Re: WPC11 ver 3 or bust... On Wed, 7 Jul 2004, Eric Crist wrote: wi0: wi_cmd: busy bit won't clear What firmware are you using on the card ? You propably want: wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary 1.01.01, Station 1.05.06 or higher. And in your kernel you are just using device pccard # PC Card (16-bit) bus device wlan device wi and have switched off cbb, pcic and cardbus ? Dw Actually, I have not switched anything off. I generally wait to tweak down my kernel config until I have everything working. I will check and make certain I have that stuff in my config. Is there anything I could have in there that would cause problems, that I should make certain I take out? Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SPARC2
Is there a distro available that will run on an old SPARCstation2? Thanks! George C. Hamparson II NCON 559.252.6266 fax.433.1282 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
support
i have P4 3Ghz.can i use bsd in my system? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network configuration in FreeBSD
On 8 Jul 2004 at 1:52, Miguel Cardenas wrote: Hello Am new to FreeBSD... just installed it for 2nd time today, but don't know what I did that it didn't ask me for the network configuration (ip, domain, When you got to the HD partitioning in the beginning of setup you should have deleted the entire disk, then repartitioned it. If you kept the partitioning from your first install the setup routine will look in the excisting folders and use what it finds there etc)... once installed, is there a command to perform that task? It all goes into the /etc/rc.conf file. Use your editor to make changes if you do not like what you find. I'm linux user, so am familiar to *nix systems, but don't know how to configure the network specifically on freebsd... Thanks for any comment, Mike kjell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AW: support
you can use freebsd on any x86-machine as far as i know :) and that includes p4 -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von panos Gesendet: Donnerstag, 8. Juli 2004 00:18 An: [EMAIL PROTECTED] Betreff: support i have P4 3Ghz.can i use bsd in my system? ___ [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: support
Check out http://www.freebsd.org/releases/4.10R/hardware-i386.html . Just check your other hardware, but you should be good. --Brian On Thu, 8 Jul 2004 01:18:10 +0300, panos [EMAIL PROTECTED] wrote: i have P4 3Ghz.can i use bsd in my system? ___ [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: SPARC2
On Wed, Jul 07, 2004 at 07:16:18AM -0700, George Hamparson wrote: Is there a distro available that will run on an old SPARCstation2? Not FreeBSD anyway. The only SPARC-machines FreeBSD runs on are 64-bit CPUs. You might wish to take a look at NetBSD (www.netbsd.org) - they support lots of old hardware. -- 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]
Re: allowing users to mount cdrom again
On Thu, 8 Jul 2004 00:41:59 +0200 Grant Speelman [EMAIL PROTECTED] wrote: Hi I read in the previous post about allowing users to mount cdrom and wanted to try it for myself I did the follow : added vfs.usermount=1 to /etc/sysctl.conf changed the permissions on /dev/acd0 to include the user restarted freebsd (It's amazing what a restart does for me sometimes) but this happens: Grant mount /mnt/cdrom1 cd9660: /dev/acd1: Operation not permitted I suspect that you may be trying to mount (as a user) to a mount point that the user (Grant) does not own. I am working in Kde usings Kde's Konsole and have two cdroms on FreeBSD 5.2.1 Please help The FAQ has an entry about this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT Its easy to overlook that the ordinary users have to own the mount point to be used. Follow the steps outlined there and see if that takes care of your problem. HTH, Randy -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free bsd4.4 lite
Hi, Thanks for your early response. But what about the solution for TCP reset spoofing? I also do not see any sequence number checking being done in the code I am using. The tcp_input.c that I am using is dated 8.12 (Berkeley) 5/24/95. Can you please help us in finding which BSD level/version this belongs to?As far as I know, we use FreeBSD4.4. Please correct us if we are wrong. And how is TCP Reset spoofing vulnerability taken care in BSD? Pl. refer this site which talks of this vulnerability. http://www.osvdb.org/displayvuln.php?osvdb_id=4030. Related issue to this is http://www.osvdb.org/displayvuln.php?osvdb_id=6094 for which BSD has given patches. Please help as this is critical to our project. Regards, Amith --- Dag-Erling_Smørgrav [EMAIL PROTECTED] wrote: amith bc [EMAIL PROTECTED] writes: We have ported TCP/IP Stack from FreeBSD4.4 Lite to OS/2. There is no such thing as FreeBSD 4.4 Lite. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free bsd4.4 lite
On Thu, Jul 08, 2004 at 05:48:37AM -0700, amith bc wrote: And how is TCP Reset spoofing vulnerability taken care in BSD? Pl. refer this site which talks of this vulnerability. http://www.osvdb.org/displayvuln.php?osvdb_id=4030. Related issue to this is http://www.osvdb.org/displayvuln.php?osvdb_id=6094 for which BSD has given patches. Please help as this is critical to our project. Do you work for IBM, or under contract to IBM? I remember when I used OS/2 about 7 years ago that the people at IBM in North Carolina had ported their TCP stack from BSD Unix. IBM's port may be earlier than when FreeBSD 4.4 was released. You may be using the 4.4 BSD Lite version, which would map to FreeBSD 2.2 or so. Look at: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/misc/bsd-family-tree?rev=1.81 for a comprehensive list of BSD versions out there. For a CVS log of the FreeBSD version of the file which you are interested in, look at: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_input.c There have been some TCP reset changes since FreeBSD 2.2 (which is quite an old version). -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free bsd4.4 lite
amith bc [EMAIL PROTECTED] writes: Thanks for your early response. But what about the solution for TCP reset spoofing? I also do not see any sequence number checking being done in the code I am using. The tcp_input.c that I am using is dated 8.12 (Berkeley) 5/24/95. Can you please help us in finding which BSD level/version this belongs to?As far as I know, we use FreeBSD4.4. Please correct us if we are wrong. If you really have FreeBSD 4.4, then tcp_input.c should contain the following line: $FreeBSD: src/sys/netinet/tcp_input.c,v 1.107.2.16 2001/08/22 00:59:12 silby Exp $ If there is no such line in your tcp_input.c (or a similar one that starts with $NetBSD: or $OpenBSD:), you must be looking at the original 4.4BSD Lite2 sources from the CSRG. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bacula installation problems
Hi all, I'm having a problem installing Bacula from ports, which have been updated today : # portinstall -v bacula . . . c++ -L/usr/local/lib -pthread -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o mountreq.o msgchan.o next_vol.o newvol.o recycle.o restore.o run_conf.o scheduler.o sql_cmds.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o verify.o -lsql -lbac -lfind -lm -lcrypt -L/usr/local/lib -lpq -D_THREAD_SAFE -lwrap -lxpg4 /usr/local/lib/libintl.so.6: undefined reference to `nl_langinfo' *** Error code 1 Stop in /usr/ports/sysutils/bacula/work/bacula-1.34.5/src/dird. *** Error code 1 Seems like a possible gettext problem but I've upgraded both gettext and gmake however that doesn't seem to help. Any ideas? : Byron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SPARC2
George Hamparson writes: Is there a distro available that will run on an old SPARCstation2? Thanks! George C. Hamparson II NCON 559.252.6266 fax.433.1282 [EMAIL PROTECTED] netbsd,linux,solaris, openbsd http://open.bsdcow.net/config/machines/sun-ss2-40 freebsd http://people.freebsd.org/~obrien/freebsd-sparc/status.html swexpert.com/C3/SE.C3.AUG.97.pdf DVV ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI disk not available in 5.2.1-RELEASE while 4.10-RELEASE can use it
Dear FreeBSD-questions people, Short desc.: FreeBSD 5.2.1-RELEASE doesnt see scsi disks, very early still at bootloader, while FreeBSD 4.10-RELEASE does. Long: Hardware being used is a Supermicro 6013P8 with a onboard Adaptec AIC-7902 with an Adaptec 2015S raid module. The system has two internal disks being mirrored raid1. An external raid cabinet, a Infortrend Eonstor A08, is attached as two scsi-3 disk devices. The Adaptec bios does show the devices everytime we reboot. When 4.10 starts it directly gives the list of bios exported devices disk A: till D: while 5.2.1 doesnt list B:. We also tried upgrading from 5.2.1-RELEASE to 5.2-CURRENT without luck. Any help would be greatly appriciated. -- Leroy van Logchem ### Output of camcontrol devlist -v on FreeBSD 4.10-RELEASE: localhost# camcontrol devlist -v scbus0 on asr0 bus 0: ADAPTEC RAID-1 3B05 at scbus0 target 0 lun 0 (pass0,da0) SUPER GEM318 0 at scbus0 target 6 lun 0 (pass1) at scbus0 target -1 lun -1 () scbus1 on asr0 bus 1: IFT ES A08U-G 331J at scbus1 target 0 lun 0 (pass2,da1) IFT ES A08U-G 331J at scbus1 target 0 lun 1 (pass3,da2) at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) ### Output of dmesg on FreeBSD 4.10-RELEASE: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-RELEASE #0: Wed Jul 7 10:58:02 CEST 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/MYKERNEL07072004 Timecounter i8254 frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.70-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 1073217536 (1048064K bytes) avail memory = 1039151104 (1014796K bytes) Preloaded elf kernel kernel at 0xc054d000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 24 entries at 0xc00fde40 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pci0: unknown card (vendor=0x8086, dev=0x2541) at 0.1 pcib1: PCI to PCI bridge (vendor=8086 device=2543) at device 2.0 on pci0 pci1: PCI bus on pcib1 pci1: unknown card (vendor=0x8086, dev=0x1461) at 28.0 pcib2: PCI to PCI bridge (vendor=8086 device=1460) at device 29.0 on pci1 pci2: PCI bus on pcib2 em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.25 port 0x3000-0x303f mem 0xf820-0xf821 irq 5 at device 3.0 on pci2 em0: Speed:N/A Duplex:N/A em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.25 port 0x3040-0x307f mem 0xf822-0xf823 irq 5 at device 3.1 on pci2 em1: Speed:N/A Duplex:N/A pci1: unknown card (vendor=0x8086, dev=0x1461) at 30.0 pcib3: PCI to PCI bridge (vendor=8086 device=1460) at device 31.0 on pci1 pci3: PCI bus on pcib3 asr0: Adaptec Caching SCSI RAID mem 0xfc00-0xfdff,0xfb00-0xfbff,0xf830-0xf83f irq 5 at device 3.0 on pci3 asr0: major=154 asr0: ADAPTEC 2015S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0x2000-0x201f irq 11 at device 29.0 on pci0 usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port 0x2020-0x203f irq 10 at device 29.1 on pci0 usb1: Intel 82801CA/CAM (ICH3) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port 0x2040-0x205f irq 7 at device 29.2 on pci0 usb2: Intel 82801CA/CAM (ICH3) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib4: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0 pci4: PCI bus on pcib4 pci4: ATI Mach64-GR graphics accelerator at 1.0 irq 11 isab0: PCI to ISA bridge (vendor=8086 device=2480) at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH3 ATA100 controller port 0x2060-0x206f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: unknown card (vendor=0x8086, dev=0x2483) at 31.3 irq 0 orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcafff,0xcb000-0xd0fff,0xe-0xe3fff on isa0 pmtimer0 on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq
[no subject]
I have a question. One of the new guys went into one of our BSD servers and changed the root environment from the default to /bin/bash and bash isn't installed on this box, therefore we are having trouble su'ing in and even logging in at the console. Anyone have any ideas on how to get in. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No subject
Boot in single usermode from the bootloader and use /bin/sh as shell. Then just vipw. ( Don't forget to r/w mount the / filesystem ) Goodluck, Leroy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AW:
you could try su -m thats the only think i can think of atm :) oh wait another thing would be sudo if you have it configured properly just do a sudo sh or something like that -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Mike J Gesendet: Donnerstag, 8. Juli 2004 15:55 An: [EMAIL PROTECTED] Betreff: I have a question. One of the new guys went into one of our BSD servers and changed the root environment from the default to /bin/bash and bash isn't installed on this box, therefore we are having trouble su'ing in and even logging in at the console. Anyone have any ideas on how to get in. Mike ___ [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: where o where is it starting from
Never mind. I found it. /etc/defaults/rc.conf I thought /etc/rc.conf overrode the other. In /etc/rc.conf I put sendmail and inetd to NO but they were still starting up. Shouldn't they be set to 'NONE' rather than 'NO' if you don't want them to come up at all?Maybe I am remembering wrong, but it seems like that is the way it goes. Yes. 'NONE' disables sendmail entirely. I believe that 'NO' means disable the smtp daemon, and only run submit. All changes should be done in /etc/rc.conf only, as per the large warning in /etc/defaults/rc.conf. Steve jerry Mark - Original Message - From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 6:32 PM Subject: where o where is it starting from Howdy, I replaced the sendmail with postfix. However on boot up I get a error: Starting Standard daemons : inetd cron sshd sendmail-submitsendmail: illegal option --0 sendmail: fatal usage : sendmail [options] Jul 7 18:38:40 spiderman postfix/sendmail[83]: fatal:usage: sendmail [options} sendmail-clientmqueue I looked in rc.local , /usr/local/etc/rc.d and didn't find anything. Not freebsd savy yet to figure it out more. Any help appreciated. THanks Mark ___ [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] ___ [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:
Easiest way would be to reboot into single user mode, start the /bin/csh shell from the prompt, mount all the file systems and edit the /etc/passwd file back to a sensible shell. Following that, keep your linux administrator away from it, or put him on a course. ;-) I have a question. One of the new guys went into one of our BSD servers and changed the root environment from the default to /bin/bash and bash isn't installed on this box, therefore we are having trouble su'ing in and even logging in at the console. Anyone have any ideas on how to get in. Mike ___ [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: Bacula installation problems
In the last episode (Jul 08), Byron Schlemmer said: I'm having a problem installing Bacula from ports, which have been updated today : # portinstall -v bacula c++ -L/usr/local/lib -pthread -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o mountreq.o msgchan.o next_vol.o newvol.o recycle.o restore.o run_conf.o scheduler.o sql_cmds.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o verify.o -lsql -lbac -lfind -lm -lcrypt -L/usr/local/lib -lpq -D_THREAD_SAFE -lwrap -lxpg4 /usr/local/lib/libintl.so.6: undefined reference to `nl_langinfo' *** Error code 1 nl_langinfo has been provided by libc ever since FreeBSD 4.5. If you're running something older, you will have to build a newer libc (preferably a new world). I'm not sure why your gettext build decided that the system had nl_langinfo, though. -- 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:
On Thu, 8 Jul 2004 08:54:45 -0500, Mike J [EMAIL PROTECTED] wrote: I have a question. One of the new guys went into one of our BSD servers and changed the root environment from the default to /bin/bash and bash isn't installed on this box, therefore we are having trouble su'ing in and even logging in at the console. Anyone have any ideas on how to get in. If you have a login, try su -m which just continues to use your current shell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bacula installation problems
On Jul 8, 2004, at 16:20, Dan Nelson wrote: nl_langinfo has been provided by libc ever since FreeBSD 4.5. If you're running something older, you will have to build a newer libc (preferably a new world). I'm not sure why your gettext build decided that the system had nl_langinfo, though. Ah! Thanks, I think I know what it might be then : /etc/make.conf NOLIBC_R= true# do not build libc_r (re-entrant version of libc) This was a 4.4 machine thats been slowly upgraded over the years without LIBC_R so that might be the problem. Thanks, : Byron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network configuration in FreeBSD
Miguel Cardenas wrote: Hello Am new to FreeBSD... just installed it for 2nd time today, but don't know what I did that it didn't ask me for the network configuration (ip, domain, etc)... once installed, is there a command to perform that task? I'm linux user, so am familiar to *nix systems, but don't know how to configure the network specifically on freebsd... Thanks for any comment, Mike As another person suggested, try checking out the FreeBSD Handbook at freebsd.org, which pretty much describes everything you need to know when getting started w/FBSD. Since, no one has suggested this yet, I will: you can go back into the installer utility by running /stand/sysinstall. The installer comes in handy quite a bit when you don't know the actually commands to do something (ie setting up a network interface or partitioning a disk). Once you run /stand/sysinstall, you can scroll all the way to the bottom and select 'Index' and then select 'Network Interfaces'. HTH -- Don't you wish that all the people who sincerely want to help you could agree with each other? /* Aaron Walker * http://butsugenjitemple.org/~ka0ttic/ */ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network configuration in FreeBSD
Am new to FreeBSD... just installed it for 2nd time today, but don't know what I did that it didn't ask me for the network configuration (ip, domain, etc)... once installed, is there a command to perform that task? I'm linux user, so am familiar to *nix systems, but don't know how to configure the network specifically on freebsd... I certainly agree with the suggestions to RTFM (Handbook), as well as sysinstall, but just for the record, the following is how you can do it from the command line. Let's assume that your network adapter is using the device name vr0 (you can look this up using the # ifconfig command), your IP address will be 192.168.0.10, your subnet mask is 255.255.255.0 your hostname is mybox.example.com, your DNS servers are 10.0.0.1 and 10.0.0.2 and finally, your default gateway is 192.168.0.1: First, edit /etc/rc.conf and add the following lines (include the quotes): ifconfig_vr0=inet 192.168.0.10 netmask 255.255.255.0 defaultrouter=192.168.0.1 hostname=mybox.example.com Next, edit /etc/resolv.conf and add these lines: search example.com nameserver 10.0.0.1 nameserver 10.0.0.2 Now, to enable things as to not have to reboot, run the following commands: # ifconfig vr0 192.168.0.10/24 # route add default 192.168.0.1 Unless you have a firewall, you should now be able to connect to other hosts. Regards, Steve As another person suggested, try checking out the FreeBSD Handbook at freebsd.org, which pretty much describes everything you need to know when getting started w/FBSD. Since, no one has suggested this yet, I will: you can go back into the installer utility by running /stand/sysinstall. The installer comes in handy quite a bit when you don't know the actually commands to do something (ie setting up a network interface or partitioning a disk). Once you run /stand/sysinstall, you can scroll all the way to the bottom and select 'Index' and then select 'Network Interfaces'. HTH -- Don't you wish that all the people who sincerely want to help you could agree with each other? /* Aaron Walker * http://butsugenjitemple.org/~ka0ttic/ */ ___ [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]
freebsd does freebsd 4.10 support Atheros wireless
Will freebsd 4.10 support Atheros wireless ABG cards. Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network configuration
Hi, I have been busy setting up a network the last 3 days, but I cannot get it working. Basically I have no clue what has to be setup etc. and if I need bridging or not. The situation is as follows: -- | SDSL Modem | | Bridged | -- | -- |xl0: 217.1.1.155| || |Freebsd Box | || | xl1 | -- | -- |---| SWITCH |---| | -- | || | --- --- --- | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | --- --- --- The FreeBSD box has full internet connectivity and I can also get NAT working, but the thing is that I need those non-private IP's bound to the clients and I need ipfw between the clients and the modem. Also I need the FreeBSD machine to have a non-private IP address. I have no clue as to getting the packets from those clients to the internet. I tried bridging xl0 and xl1 and using 217.1.1.155 as gateway, but that didn't work. Maybe someone that knows how to do something like this can shed some light on it for me? Thanks in advance. -- Regards, Terrence Koeman MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie ACPI questions
Hi all. I'm just getting my feet wet with using basic ACPI functionality. Up until my FreeBSD release and/or hardware only supported APM, so that's all I have used until now. I have a Dell Precision 650n running RELEASE-5.2.1p9, and it seems that ACPI works as far as I can tell, but I'm not clear on how to use it correctly in all circumstances. My first problem was that I could not do a power off (halt -p or shutdown now -p) -- ACPI would tell me that it could not do it then I would have to hit the power button or a key on the keyboard to reboot. I solved this by adding hw.acpi.disable_on_poweroff=0 to /etc/sysctl.conf. Now I can either type halt -p/shutdown now -p or just hit the power button on the Dell and FreeBSD will gracefully shutdown and power off. Now I'm trying to get my arms around suspend functionality, and I'm not so clear as to the best way of suspending. If I type 'zzz' (which appears to the equivelent of 'acpiconf -s 3'), the Dell does suspend, and the power button green LED blinks, which according the Dell manual, means the hardware thinks it is suspended. But I can't get it out of suspend. Pressing any key on the keyboard or mouse has no effect. If I press the power switch (which the Dell manual says should bring it out of suspend), then the system reboots. I have also tried 'acpiconf -s 1', which seems to work better than s3. I can bring the system out of suspend by hitting the power button. However, when in suspend, the screen does not go blank. I can still see whatever was on the console, plus some output from acpiconf: fwohci0: fwochi_pci_suspend 'acpiconf -s 1' also seems to work when I'm within X as well (using XFCE4). I can type 'acpiconf -s 1' from an xterm, and X will blank, return me to the console, and suspend -- but I can still see whatever is on the console. If I hit the power button (keyboard/mouse does not work), then I resume and X comes back to where it should be. I have also tried '-s 4', and that just shuts down the whole computer. I guess S1 would be fine for me suspending, but would S3 be better (if I can get it to resume correctly)? If S1 is all I can use, what can I do to blank the screen as well as suspend the system? Any feedback would be greatly appreciated. Following is info I thought would be pertainent. Thanks, Duane Winner [EMAIL PROTECTED] System: Dell Precision 650n (option in BIOS to set power mgmt to S1 or S3) FreeBSD: 5.2.1 p9 -su-2.05b# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 96654/0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie ACPI questions
I also have a precision 650 at home. What is acpi's setting in the bios? You can set it to s3 or s1 in there. I would check that. I just got my system on refurb from dell and haven't had a chance to play much yet. :) On Thu, 8 Jul 2004, Duane Winner wrote: Hi all. I'm just getting my feet wet with using basic ACPI functionality. Up until my FreeBSD release and/or hardware only supported APM, so that's all I have used until now. I have a Dell Precision 650n running RELEASE-5.2.1p9, and it seems that ACPI works as far as I can tell, but I'm not clear on how to use it correctly in all circumstances. My first problem was that I could not do a power off (halt -p or shutdown now -p) -- ACPI would tell me that it could not do it then I would have to hit the power button or a key on the keyboard to reboot. I solved this by adding hw.acpi.disable_on_poweroff=0 to /etc/sysctl.conf. Now I can either type halt -p/shutdown now -p or just hit the power button on the Dell and FreeBSD will gracefully shutdown and power off. Now I'm trying to get my arms around suspend functionality, and I'm not so clear as to the best way of suspending. If I type 'zzz' (which appears to the equivelent of 'acpiconf -s 3'), the Dell does suspend, and the power button green LED blinks, which according the Dell manual, means the hardware thinks it is suspended. But I can't get it out of suspend. Pressing any key on the keyboard or mouse has no effect. If I press the power switch (which the Dell manual says should bring it out of suspend), then the system reboots. I have also tried 'acpiconf -s 1', which seems to work better than s3. I can bring the system out of suspend by hitting the power button. However, when in suspend, the screen does not go blank. I can still see whatever was on the console, plus some output from acpiconf: fwohci0: fwochi_pci_suspend 'acpiconf -s 1' also seems to work when I'm within X as well (using XFCE4). I can type 'acpiconf -s 1' from an xterm, and X will blank, return me to the console, and suspend -- but I can still see whatever is on the console. If I hit the power button (keyboard/mouse does not work), then I resume and X comes back to where it should be. I have also tried '-s 4', and that just shuts down the whole computer. I guess S1 would be fine for me suspending, but would S3 be better (if I can get it to resume correctly)? If S1 is all I can use, what can I do to blank the screen as well as suspend the system? Any feedback would be greatly appreciated. Following is info I thought would be pertainent. Thanks, Duane Winner [EMAIL PROTECTED] System: Dell Precision 650n (option in BIOS to set power mgmt to S1 or S3) FreeBSD: 5.2.1 p9 -su-2.05b# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 96654/0 ___ [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]
max mount points
Does FBSD enforce a maximum number of mounted file systems? If so, is it configurable? Jon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
max mount points
Does FBSD enforce a maximum number of mounted file systems? If so, is it configurable? Jon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free bsd4.4 lite
On Thu, 8 Jul 2004, amith bc wrote: done in the code I am using. The tcp_input.c that I am using is dated 8.12 (Berkeley) 5/24/95. Can you please help us in finding which BSD level/version this belongs to?As far as I know, we use FreeBSD4.4. What's the NEXT line in the code? For example: * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95 * $FreeBSD: src/sys/netinet/tcp_input.c,v 1.107.2.8 2001/04/18 17:55:23 kris Exp $ --- david raistrickhttp://www.netmeister.org/news/learn2quote.html [EMAIL PROTECTED] http://www.expita.com/nomime.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB port won't recognize any-thang, in FBSD
Under FreeBSD 4.9-RELEASE, my USB port doesn't seem to work with my printer, my scanner, or my external CD-R burner. The printer is what I most wish were working. I dual-boot, and under Win98SE all three seem to work fine. And FreeBSD seems to work fine as long as there's nothing plugged into the USB port. Can anyone give me some advice on how to get the printer (or anything USB) working? I have never done anything with /etc/usbd.conf -- am I supposed to? If so, how do I find out all those parameters (device ID, manufacturer...) ? Here's a snippet of dmesg for a normal (quick, happy, printerless) boot: (((NORMAL BOOTUP DMESG))) ... ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xfedde000-0xfeddefff irq 9 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered orm0: Option ROM at iomem 0xc-0xcb7ff on isa0 ... (((UNHAPPY BOOT))) If the printer is plugged in to the USB port, there is a pregnant pause (20-30 seconds) after the last uhub0 message, then an extra error message (below). Also, to research this problem, in my kernel I enabled options INVARIANTS, INVARIANT_SUPPORT, and DIAGNOSTIC and fished out one additional error message during the boot-up (also below) (((UNHAPPY DMESG + DIAGNOSTIC STUFF))) ... ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xfedde000-0xfeddefff irq 9 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci_close_pipe: pipe not empty sed=0xc08d27a0 hd=0x3dc87d0 tl=0x3dc8650 pipe=0xc08d0a00, std=0xc08d47d0 ohci_close_pipe: pipe still not empty uhub0: device problem, disabling port 1 ... Usually the ohci_close_pipe messages do not appear -- they are there thanks to the additional kernel options I enabled. (And if there are some other options I should turn on, or other switches to twiddle, so as to get more debug info, tell me and I'll try it.) When I try my scanner or the CD-R burner I get the same schpiel: a long pause, then the message: uhub0: device problem, disabling port 1 Does anybody know what is going on here? How can I debug this? (((MY COMPUTER'S DETAILS))) I'm running 4.9-RELEASE on a Toshiba Satellite 1625CDT. I have usbd_enable=YES in /etc/rc.conf. The printer (hpdeskjet 940c) is listed under linprinters.org as working with CUPS, hpijs, and so on, so I'd think it could be convinced to work. The scanner is an HP ScanJet 3300C, which is listed in /usr/src/sys/dev/usb/usbdevs.h, so someone somewhere must have gotten it to work. Again, my USB peripherals work under that otherOS whichwas newin '98 . . . perhaps they all signed a treaty with resident of /dev/ad0s1 not to cooperate with any other OS ;-) I notice there's some dodgy stuff (disabled with #if 0) in /usr/src/sys/dev/usb/ulpt.c -- a chunk of code in USB_ATTACH() with the comment that, for unknown reasons, printing fails (just grep for sigh in that directory). I also notice the usb_quirks files. Perhaps my peripherals have some quirks that needs to be registered there? Or was the USB-attach code still a bit squishy when 4.9 was released? Would it help to upgrade to 5.X ?? Also, would this question be more appropriate for -mobile? I didn't say anything about lpd or cups, because I presume there's nothing those programs can do until the printer is recognized (and CUPS is installed and runs but it sure enough doesn't see any printer). Thanks for any and all advice! Andrew Predoehl Bishkek, Kyrgyzstan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where o where is it starting from
For future reference: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html The first thread listed below, maybe of interest as well: http://groups.google.ca/groups?hl=enlr=ie=UTF-8q=changing+mta+freebsdbtnG=Search ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: max mount points
In the last episode (Jul 08), Incoming Mail List said: Does FBSD enforce a maximum number of mounted file systems? If so, is it configurable? I haven't found anyplace that puts a hard limit on it, but you will hit some internal limit eventually. Try running this shell script: #! /bin/sh i=0 mkdir /tmp/test cd /tmp/test while : ; do echo $i mkdir $i mount localhost:/ $i || break i=$((i+1)) done echo Removing mountpoints for i in * ; do echo $i ; umount $i ; rmdir $i ; done At the 377th mount, I got this error: [udp] localhost:/: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak If I restart mountd with the -n flag to allow use of unprivileged ports, the error just changes: mount_nfs: /tmp/test/0377: Can't assign requested address -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ksh
Hi, I installed ksh on my 5.2.1 system. In my .profile I have: set -o vi set -o vi-tabcomplete However, the 'set -o vi' doesn't seem to work. When I log in, ksh is still in emacs mode. Anybody know how to make it work? Thanks -- Chris Sechiatano [EMAIL PROTECTED] PGP Key 0x0021EFA0 pgpu0fhYRxIdd.pgp Description: PGP signature
IP Aliasing Question
Hey, What I'm trying to do involves FreeBSD and IP aliases. Hopefully someone has some ideas. Here's the general idea of what I'm trying to do: I've got vr0, which is assigned to some IP address... let's say: 192.168.1.90 with a subnet mask of 255.255.255.0. This is all fine, and everything works. I'm implementing a protcol called ArtNet (which I didn't design) which uses 10.x.x.x network for controlling lighting. It's all UDP, and uses broadcast packets to 10.255.255.255. IP addresses of hosts are determined by a sort of shitty algorithm based on the MAC address, and can appear anywhere in the class A. This allows: a) IPv4 (yes, I know IPv6 would be better) and b) autoconfiguration without the need for a DHCP server. I didn't make it up, I'm just trying to make my stuff work with it. So, here's the deal I want to add 2 aliases to vr0 so that I can run 2 ArtNet services on the same machine. So, the aliases would look something like this: 10.0.38.237 netmask 255.0.0.0 10.255.38.237 netmask 255.0.0.0 Adding the first one like this works: ipconfig vr0 inet 10.0.38.237 netmask 255.0.0.0 alias However, adding the second fails, I'm assuming because the netmasks overlap. I can understand why this is so, but for my application I actually want this. Because programs listening on both addresses both need to receive broadcast packets sent to 10.255.255.255. So, how can this be done? Adding a second NIC is not an option. Cheers, Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Network configuration
I haven't got any real config right now as I'm not sure about how to start with this. -- Regards, Terrence Koeman MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. -Original Message- From: JJB [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 17:58 To: [EMAIL PROTECTED] Subject: RE: Network configuration Post the full content of your rc.conf file and your ipfw rule set. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Terrence Koeman Sent: Thursday, July 08, 2004 11:10 AM To: [EMAIL PROTECTED] Subject: Network configuration Hi, I have been busy setting up a network the last 3 days, but I cannot get it working. Basically I have no clue what has to be setup etc. and if I need bridging or not. The situation is as follows: -- | SDSL Modem | | Bridged | -- | -- |xl0: 217.1.1.155| || |Freebsd Box | || | xl1 | -- | -- |---| SWITCH |---| | -- | || | --- --- --- | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | --- --- --- The FreeBSD box has full internet connectivity and I can also get NAT working, but the thing is that I need those non-private IP's bound to the clients and I need ipfw between the clients and the modem. Also I need the FreeBSD machine to have a non-private IP address. I have no clue as to getting the packets from those clients to the internet. I tried bridging xl0 and xl1 and using 217.1.1.155 as gateway, but that didn't work. Maybe someone that knows how to do something like this can shed some light on it for me? Thanks in advance. -- Regards, Terrence Koeman MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. ___ [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: IP Aliasing Question
Have you tried using: ifconfig vr0 alias 10.0.38.237 netmask 255.0.0.0 broadcast 10.255.255.255 ifconfig vr0 alias 10.255.38.237 netmask 255.255.255.255 broadcast 10.255.255.255 -- Regards, Terrence Koeman MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Kilpatrick Sent: Thursday, July 08, 2004 18:58 To: [EMAIL PROTECTED] Subject: IP Aliasing Question Hey, What I'm trying to do involves FreeBSD and IP aliases. Hopefully someone has some ideas. Here's the general idea of what I'm trying to do: I've got vr0, which is assigned to some IP address... let's say: 192.168.1.90 with a subnet mask of 255.255.255.0. This is all fine, and everything works. I'm implementing a protcol called ArtNet (which I didn't design) which uses 10.x.x.x network for controlling lighting. It's all UDP, and uses broadcast packets to 10.255.255.255. IP addresses of hosts are determined by a sort of shitty algorithm based on the MAC address, and can appear anywhere in the class A. This allows: a) IPv4 (yes, I know IPv6 would be better) and b) autoconfiguration without the need for a DHCP server. I didn't make it up, I'm just trying to make my stuff work with it. So, here's the deal I want to add 2 aliases to vr0 so that I can run 2 ArtNet services on the same machine. So, the aliases would look something like this: 10.0.38.237 netmask 255.0.0.0 10.255.38.237 netmask 255.0.0.0 Adding the first one like this works: ipconfig vr0 inet 10.0.38.237 netmask 255.0.0.0 alias However, adding the second fails, I'm assuming because the netmasks overlap. I can understand why this is so, but for my application I actually want this. Because programs listening on both addresses both need to receive broadcast packets sent to 10.255.255.255. So, how can this be done? Adding a second NIC is not an option. Cheers, Andrew ___ [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]
Samba 3 does not print
Hi! I have installed 5.2-CURRENT and samba 3 from the ports. Now, my old setup for printers which i have used on 4.8 with samba 2.x does not work. I see how files from windows client spooled into /var/spool/samba and after several seconds they just disappear from samba spool but printer does not print anything. Doing lpr -Php1200 somefile.txt works fine. Samba logs and lpd-err log do not contain any usefull information on what goes wrong. Any idea why files from spoll do not get printed? Anything with permisions or access setup? Could give me an example? Doing lpr -Php1200 under not root works fine too. Please, help! Artem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make search oddity
This isn't a life or death situation but it's the first time I've noticed this oddity. I've always used make search name= from /usr/ports to find a particular port to install but it seemed to fail finding phpMyAdmin. This is on a 5.2.1-RELEASE-p9 box where I cvsup the ports tree nightly. # cd /usr/ports # make search name=phpmyadmin # make search name=php | grep phpmyadmin -B 1 -A 4 Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Info: A set of PHP-scripts to administer MySQL over the web Maint: [EMAIL PROTECTED] B-deps: R-deps: apache-1.3.31_2 expat-1.95.7 mod_php4-4.3.7_3,1 mysql-client-4.0.20 perl-5.8.4 Then I thought about the possibility of case sensitivity: # make search name=phpMyAdmin Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Info: A set of PHP-scripts to administer MySQL over the web Maint: [EMAIL PROTECTED] B-deps: R-deps: apache-1.3.31_2 expat-1.95.7 mod_php4-4.3.7_3,1 mysql-client-4.0.20 perl-5.8.4 I didn't think this used to be case sensitive so I tried it on a 5.2-RELEASE development box that hasn't had anything, ports or otherwise, updated since January. # make search name=phpmyadmin Port: phpMyAdmin-2.5.4 Path: /usr/ports/databases/phpmyadmin Info: A set of PHP-scripts to adminstrate MySQL over the web Maint: [EMAIL PROTECTED] Index: databases www B-deps: R-deps: apache-1.3.29_1 expat-1.95.6_1 mysql-client-4.0.16 perl-5.6.1_15 php4-4.3.4_2 Hmmm. Not case sensitive. I notice /usr/ports/README mentions make search key= but not make search name=. Has something changed or is it just me? Mark -- Mark Frank The fix is only temporary...unless it works. - Red Green ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Logging user root activities
Sysadmins: I am developing a habit of keeping a record what I am doing on the system. The best solution I have come with to run script(1) in the .login file. Here is the line in the .login: /usr/bin/script -q $HOME/adminlog/`last | head -1 | awk '{print $3}'`- `date +%Y-%m-%d-%Hh-%Mm-%Ss.log` It create a file ip.add.re.ss-2004-07-08-13h-03m-59s.log in the $HOME/adminlog directory. I guess that I need to know my IP, date and time and activities. This works ok this far. The only thing I can not avoid is to have two times control-D when I need to exit the system as said even in the man of script(1), see below: The script ends when the forked shell (or command) exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-D (if ignoreeof is not set) for the C-shell, csh(1)). How other admins are doing to have a record of their activities while on the system? I looked on ports in the sysutils and could not find port matching this object. S. Mohammad [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ksh
On Thu, 8 Jul 2004 09:44:11 -0700 Chris Sechiatano [EMAIL PROTECTED] wrote: Hi, I installed ksh on my 5.2.1 system. In my .profile I have: set -o vi set -o vi-tabcomplete However, the 'set -o vi' doesn't seem to work. When I log in, ksh is still in emacs mode. Anybody know how to make it work? Check your $HOME/.shrc. By default there is line 'set -o emacs' and ksh executes that file after $HOME/.profile. I was bitten by the same problem and it took me a week to figure out what was going on, especially since on OpenBSD/NetBSD similar $HOME/.profile worked perfectly (I had no $HOME/.shrc there). -- Tero Koskinen - http://iki.fi/tero.koskinen/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ksh
Thanks that did it. It seems weird that ksh would use .shrc as its startup file, especially when it says bourne shell startup file inside of it. On Thu, Jul 08, 2004 at 08:53:59PM +0300, Tero Koskinen [EMAIL PROTECTED] wrote: On Thu, 8 Jul 2004 09:44:11 -0700 Chris Sechiatano [EMAIL PROTECTED] wrote: Hi, I installed ksh on my 5.2.1 system. In my .profile I have: set -o vi set -o vi-tabcomplete However, the 'set -o vi' doesn't seem to work. When I log in, ksh is still in emacs mode. Anybody know how to make it work? Check your $HOME/.shrc. By default there is line 'set -o emacs' and ksh executes that file after $HOME/.profile. I was bitten by the same problem and it took me a week to figure out what was going on, especially since on OpenBSD/NetBSD similar $HOME/.profile worked perfectly (I had no $HOME/.shrc there). -- Tero Koskinen - http://iki.fi/tero.koskinen/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Chris Sechiatano [EMAIL PROTECTED] www.chris-s.com PGP Key 0x0021EFA0 pgpNHtObZn995.pgp Description: PGP signature
DHCPD 2 mac adresses for one host
I have a server running FreeBSD 5.0 with bind 9.2.2 and dhcpd 3.0pl2 For security I made it to where unless your host name and Mac address are defined in the dhcpd.conf file you don't get a lease. I have 3-5 hosts that are laptops with a network adapter that they connect with and also a vpn adapter that they use to connect with from home. I put the hardware ethernet mac address statement twice in a row and dhcpd starts but only recognizes the first hardware ethernet statement. does anyone know how to assign 2 mac addresses to one host or a better way of doing this. dhcpd.conf file # domain /etc/dhcpd.conf # (add your comments here) default-lease-time 2592000; max-lease-time 3456000; option subnet-mask 255.255.0.0; option routers x.x.x.x; option domain-name-servers x.x.x.x, x.x.x.x; option domain-name domain.com; option netbios-name-servers x.x.x.x, x.x.x.x; ignore client-updates; ddns-update-style interim; subnet 172.16.0.0 netmask 255.255.0.0 { range 172.16.3.1 172.16.3.239; range 172.16.4.1 172.16.4.254; deny unknown-clients; } # John Smith host jsmith { hardware ethernet 00:08:74:bf:14:07; } # Derrick Smith host derrick { hardware ethernet 00:d0:b7:3e:c2:5d; } # Travis Young host tyoung { hardware ethernet 00:90:27:ea:24:8b; } # Allison West host Allison { hardware ethernet 00:08:a1:14:be:12; } # Creightons Laptop This is the entry not working host chues { # onboard NIC hardware ethernet 00:0b:db:e7:2a:06; # VPN Virtual NIC hardware ethernet 00:60:73:ea:3f:60; } ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network configuration
On Thu, Jul 08, 2004 at 05:10:28PM +0200, Terrence Koeman wrote: Hi, I have been busy setting up a network the last 3 days, but I cannot get it working. Basically I have no clue what has to be setup etc. and if I need bridging or not. The situation is as follows: -- | SDSL Modem | | Bridged | -- | -- |xl0: 217.1.1.155| || |Freebsd Box | || | xl1 | -- | -- |---| SWITCH |---| | -- | || | --- --- --- | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | --- --- --- The FreeBSD box has full internet connectivity and I can also get NAT working, but the thing is that I need those non-private IP's bound to the clients and I need ipfw between the clients and the modem. Also I need the FreeBSD machine to have a non-private IP address. I have no clue as to getting the packets from those clients to the internet. I tried bridging xl0 and xl1 and using 217.1.1.155 as gateway, but that didn't work. Maybe someone that knows how to do something like this can shed some light on it for me? Thanks in advance. -- Regards, Terrence Koeman You could make the FreeBSD box a bridge and still use IFPW. It really depends on whether you will have other clients that will NOT have public IP addresses that will need NAT - you don't specify whether this is the case. For FreeBSD to be setup as a bridge/IPFW machine you will minimally need a kernel compiled with the following options: options IPFIREWALL options BRIDGE After you have built and installed this kernel add the following entries to /etc/sysctl.conf: net.link.ether.bridge=1 net.link.ether.bridge_cfg=xl0,xl1 net.link.ether.bridge_ipfw=1 net.inet.ip.fw.enable=0 You will probably want to add the following lines to /etc/rc.conf so that some IPFW rules will be loaded at boot: firewall_enable=YES firewall_type=your fw type Read the firewall(7) manpage for more information. If you don't have console access to the FreeBSD machine beware that the default rule is to deny packets. Therefore if you build IPFW into the kernel and don't allow for some basic rules to be added at boot you will likely be locked out from anything but console access. Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49 pgpeFbfUdRh20.pgp Description: PGP signature
Re: Network configuration
Terrence Koeman [EMAIL PROTECTED] writes: Hi, I have been busy setting up a network the last 3 days, but I cannot get it working. Basically I have no clue what has to be setup etc. and if I need bridging or not. The situation is as follows: -- | SDSL Modem | | Bridged | -- | -- |xl0: 217.1.1.155| || |Freebsd Box | || | xl1 | -- | -- |---| SWITCH |---| | -- | || | --- --- --- | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | --- --- --- The FreeBSD box has full internet connectivity and I can also get NAT working, but the thing is that I need those non-private IP's bound to the clients and I need ipfw between the clients and the modem. Also I need the FreeBSD machine to have a non-private IP address. I have no clue as to getting the packets from those clients to the internet. I tried bridging xl0 and xl1 and using 217.1.1.155 as gateway, but that didn't work. I can't be sure without knowing the netmask, but it sounds like that's exactly the right idea. There's no way to tell why it went wrong when you gave neither the system configuration details or what actually happened when it didn't work. You will probably find the FreeBSD Handbook documentation on this topic useful: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org:8088/~lowell/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search oddity
On Thu, Jul 08, 2004 at 01:29:16PM -0400, Mark Frank wrote: This isn't a life or death situation but it's the first time I've noticed this oddity. I've always used make search name= from /usr/ports to find a particular port to install but it seemed to fail finding phpMyAdmin. This is on a 5.2.1-RELEASE-p9 box where I cvsup the ports tree nightly. # cd /usr/ports # make search name=phpmyadmin # make search name=php | grep phpmyadmin -B 1 -A 4 Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Info: A set of PHP-scripts to administer MySQL over the web Maint: [EMAIL PROTECTED] B-deps: R-deps: apache-1.3.31_2 expat-1.95.7 mod_php4-4.3.7_3,1 mysql-client-4.0.20 perl-5.8.4 You called? Actually, yes,the search capability in ports was updated and expanded quite a bit recently. Read all about it in the /usr/ports/CHANGES file. You can now do: % make search icase=1 name=phpmyadmin display=name,path,maint Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Maint: [EMAIL PROTECTED] 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 pgpmeKdCbegiz.pgp Description: PGP signature
RE: Network configuration
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: Thursday, July 08, 2004 2:17 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Network configuration Terrence Koeman [EMAIL PROTECTED] writes: Hi, I have been busy setting up a network the last 3 days, but I cannot get it working. Basically I have no clue what has to be setup etc. and if I need bridging or not. The situation is as follows: -- | SDSL Modem | | Bridged | -- | -- |xl0: 217.1.1.155| || |Freebsd Box | || | xl1 | -- | -- |---| SWITCH |---| | -- | || | --- --- --- | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | --- --- --- One thing I noticed is that there isn't an IP address assigned to xl1. This needs to be done, afaik. If you're out of IP addresses, NAT is going to be your thing, on a third interface perhaps. Here's what I'm getting at: As an example, set the IP address of xl1 to 217.1.1.154. Then, set up the routing table on the freebsd box so that all outgoing packets get passed to xl0, and any packet destined for 156, 157, or 158 get passed back to xl1. Set the default gateway on your machines to .154. This should have you up and running. If this doesn't make sense to you, send me an email and I'll try to explain further. HTH Eric Crist ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: WPC11 ver 3 or bust...
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew L. Gould Sent: Wednesday, July 07, 2004 10:10 PM To: [EMAIL PROTECTED] Subject: Re: WPC11 ver 3 or bust... How are you configuring the wireless card? I'm using the same card on 5.2.1 Release on a Dell Inspiron 8100. The only change I had to make to the scripts I used on FreeBSD 4.10 was to delete: authmode shared (I don't know why the change was needed since the wireless lan and access point stayed the same.) Here's the contents of the script (I've changed the addresses and codes): ifconfig wi0 inet 192.168.0.2 netmask 255.255.255.0 ssid mywan nwkey 0x1234567890 #(everything above should be on one line) route add default 192.168.0.1 echo domain cablelynx.com /etc/resolv.conf echo nameserver 24.204.0.4 /etc/resolv.conf echo nameserver 24.204.0.5 /etc/resolv.conf echo wi0 If you try the script above and still get the error message, try adding the following to the beginning of the script so the script gets a clean start on the card: ifconfig wi0 remove Best of luck, Andrew Gould This is in reply to both Andrew and Dirk's messages, btw. Andrew, I have tried your script, and I still get no functionality of my wifi card. Dirk, I have tried removing cbb, pcic, and cardbus, but I get an error when I reboot about there being no pccard devices. If I have pccard and cbb, I have the same functionality as before (or lack thereof). The lights on the card seem to indicate that it can connect to the wireless network, but I cannot even ping the wifi AP. That tells me there is a problem. Any further advice would be appreciated. TIA Eric F Crist ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCPD 2 mac adresses for one host
Have you tried separating the MAC definitions? host chues { hardware ethernet 00:0b:db:e7:2a:06; } host chues { hardware ethernet 00:60:73:ea:3f:60; } Jon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NIS server selection
I have NIS running on a few servers. I have had them configured with the -S option with only their host name so they would use the local resolver. However, after a few problems with ypserv dying I tried adding additional servers to the -S list. Everything was as normal till I killed ypserv on the local machine. Then it switched to the first host listed after the local name in the -S list. Access to NIS records worked fine. Then I tried to revert back to the local server. Restarting ypserv had no effect. NIS requests were still sent to the other server. I killed ypbind and restarted it with the full list. All requests were still sent to the other server. I killed ypbind again and restarted it with just the local server in the -S list. The request then were split about half and half with the local server and other server. How does ypbind know about the other server anymore? I had to kill ypserv on the other server, wait for some requests to timeout (ypbind is a persistent bugger) and then it switched. Surely there has to be an easier way to do this. I am trying to have ypbind use the local server if its working and otherwise one of the other servers. If the local ypbind gets restarted i would like it to revert back to using it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search oddity
* On Thu, Jul 08, 2004 at 08:22:45PM +0100 Matthew Seaman wrote: On Thu, Jul 08, 2004 at 01:29:16PM -0400, Mark Frank wrote: This isn't a life or death situation but it's the first time I've noticed this oddity. I've always used make search name= from /usr/ports to find a particular port to install but it seemed to fail finding phpMyAdmin. This is on a 5.2.1-RELEASE-p9 box where I cvsup the ports tree nightly. Actually, yes,the search capability in ports was updated and expanded quite a bit recently. Read all about it in the /usr/ports/CHANGES file. You can now do: % make search icase=1 name=phpmyadmin display=name,path,maint Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Maint: [EMAIL PROTECTED] I've (now) read /usr/ports/CHANGES but the behavior for me isn't matching. # pwd /usr/ports # make search icase=1 name=phpmyadmin display=name,path,maint # make search icase=1 name=phpMyAdmin display=name,path,maint Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Maint: [EMAIL PROTECTED] Am I being dense here? Mark -- Mark Frank The fix is only temporary...unless it works. - Red Green ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie ACPI questions
I did try to set the BIOS to S1 (from S3) and it appears that all that does is limit the capability of ACPI. After changing, hw.acpi no longer shows S3 in the list of supported sleep states, and if I try 'zzz' or 'acpiconf -s 3', acpi reports that as unsupported. (supported states after changing the bios from S3 to S1 are: S1 S4 S5) -Duane User LAFFER1 wrote: I also have a precision 650 at home. What is acpi's setting in the bios? You can set it to s3 or s1 in there. I would check that. I just got my system on refurb from dell and haven't had a chance to play much yet. :) On Thu, 8 Jul 2004, Duane Winner wrote: Hi all. I'm just getting my feet wet with using basic ACPI functionality. Up until my FreeBSD release and/or hardware only supported APM, so that's all I have used until now. I have a Dell Precision 650n running RELEASE-5.2.1p9, and it seems that ACPI works as far as I can tell, but I'm not clear on how to use it correctly in all circumstances. My first problem was that I could not do a power off (halt -p or shutdown now -p) -- ACPI would tell me that it could not do it then I would have to hit the power button or a key on the keyboard to reboot. I solved this by adding hw.acpi.disable_on_poweroff=0 to /etc/sysctl.conf. Now I can either type halt -p/shutdown now -p or just hit the power button on the Dell and FreeBSD will gracefully shutdown and power off. Now I'm trying to get my arms around suspend functionality, and I'm not so clear as to the best way of suspending. If I type 'zzz' (which appears to the equivelent of 'acpiconf -s 3'), the Dell does suspend, and the power button green LED blinks, which according the Dell manual, means the hardware thinks it is suspended. But I can't get it out of suspend. Pressing any key on the keyboard or mouse has no effect. If I press the power switch (which the Dell manual says should bring it out of suspend), then the system reboots. I have also tried 'acpiconf -s 1', which seems to work better than s3. I can bring the system out of suspend by hitting the power button. However, when in suspend, the screen does not go blank. I can still see whatever was on the console, plus some output from acpiconf: fwohci0: fwochi_pci_suspend 'acpiconf -s 1' also seems to work when I'm within X as well (using XFCE4). I can type 'acpiconf -s 1' from an xterm, and X will blank, return me to the console, and suspend -- but I can still see whatever is on the console. If I hit the power button (keyboard/mouse does not work), then I resume and X comes back to where it should be. I have also tried '-s 4', and that just shuts down the whole computer. I guess S1 would be fine for me suspending, but would S3 be better (if I can get it to resume correctly)? If S1 is all I can use, what can I do to blank the screen as well as suspend the system? Any feedback would be greatly appreciated. Following is info I thought would be pertainent. Thanks, Duane Winner [EMAIL PROTECTED] System: Dell Precision 650n (option in BIOS to set power mgmt to S1 or S3) FreeBSD: 5.2.1 p9 -su-2.05b# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 96654/0 ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting disks
hi. my computer has two disks with 1.5 GB each. during instillation, i created four slices: ad0s1,ad0s2,ad1s1,and ad1s2. how do i mount all these slices using Mount pt. in FreeBSD Disklabel Editor? what letter shoud i type when it ask for mount pt.? thank u jake _ Check out the latest news, polls and tools in the MSN 2004 Election Guide! http://special.msn.com/msn/election2004.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS server selection
In the last episode (Jul 08), Doug Hardie said: I have NIS running on a few servers. I have had them configured with the -S option with only their host name so they would use the local resolver. However, after a few problems with ypserv dying I tried adding additional servers to the -S list. Everything was as normal till I killed ypserv on the local machine. Then it switched to the first host listed after the local name in the -S list. Access to NIS records worked fine. Then I tried to revert back to the local server. Restarting ypserv had no effect. NIS requests were still sent to the other server. I killed ypbind and restarted it with the full list. All requests were still sent to the other server. I killed ypbind again and restarted it with just the local server in the -S list. The request then were split about half and half with the local server and other server. How does ypbind know about the other server anymore? Running processes will talk to the server they originally made a connection to, until that connection fails. Only then will they contact their local ypbind and ask for another server. ypbind is not contacted on every lookup. I had to kill ypserv on the other server, wait for some requests to timeout (ypbind is a persistent bugger) and then it switched. Surely there has to be an easier way to do this. I am trying to have ypbind use the local server if its working and otherwise one of the other servers. If the local ypbind gets restarted i would like it to revert back to using it. The best you can do is make sure ypwhich points to the local machine so that subsequent processes will use it. You can't force existing processes to switch. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fatal Server error
Hi, I'm getting the following when I try to startx from another user besides root: Fatal server error: Cannot move old logfile /var/log/XFree86.0.log.old I searched the mailing lists, but aside from a couple of references, I didn't find any solutions. Any help would be appreciated. Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhclient.conf and DDNS via TSIG to Bind 9.2.3
Howdy, I have a backup connection on an ADSL line with an IP address provided by DHCP. My main line, which has static IPs, hosts my Bind 9.2.3 DNS server. I don't have control of the DHCP server for the backup line, it's simply provided by the ISP. I'm using dhclient from -CURRENT on i386, dated June 17 2004. I'd like to have dhclient on the backup line update a DNS entry in one of my zones so that I can always reach my network via the backup line at the same name. I'm following http://ops.ietf.org/dns/dynupd/secure-ddns-howto.html as well as a similar thread from the freebsd hackers lsit from last November: http://groups.google.ca/groups?hl=enlr=ie=UTF-8th=86443cc1d80de8darnum=2 I set up the named.conf on the DNS host as follows (IPs aren't mangled ... they're dyanmic, after all :-)): key adsl.seekingfire.com. { algorithm hmac-md5; secret my secret generated from dnssec-keygen; }; view us { match-clients { MyNets; }; // Master zones zone seekingfire.com { type master; file master/seekingfire.com; allow-transfer { MyNets; AccessComm; }; // for dynamic DNS allow-update { key adsl.seekingfire.com.; }; // Note: I've also tried: //update-policy { // grant adsl.seekingfire.com. name // adsl.seekingfire.com. A TXT; //}; }; And I've set up dhclient.conf as follows: ### Keys and DDNS (see http://ops.ietf.org/dns/dynupd/secure-ddns-howto.html) send fqdn.fqdn adsl.seekingfire.com.; send fqdn.encoded on; send fqdn.server-update off; key adsl.seekingfire.com. { algorithm HMAC-MD5; secret my secret generated from dnssec-keygen; } zone seekingfire.com { key adsl.seekingfire.com.; } interface xl0 { send dhcp-client-identifier adsl; send host-name adsl; } When I add dhclient_flags=-v to /etc/rc.conf and run /etc/rc.d/dhclient restart, I get: Releasing DHCP leases: xl0. Starting dhclient. Internet Software Consortium DHCP Client V3.0.1rc12 Copyright 1995-2002 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Listening on BPF/xl0/00:01:02:2d:17:47 Sending on BPF/xl0/00:01:02:2d:17:47 Sending on Socket/fallback DHCPDISCOVER on xl0 to 255.255.255.255 port 67 interval 6 DHCPOFFER from 64.110.241.254 DHCPREQUEST on xl0 to 255.255.255.255 port 67 DHCPACK from 64.110.241.254 bound to 142.165.192.118 -- renewal in 6982 seconds. xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=9RXCSUM,VLAN_MTU inet6 fe80::201:2ff:fe2d:1747%xl0 prefixlen 64 scopeid 0x2 inet 142.165.192.118 netmask 0xff00 broadcast 142.165.192.255 ether 00:01:02:2d:17:47 media: Ethernet 10baseT/UTP (10baseT/UTP half-duplex) status: active So, yeah, I get my new lease just fine. But it doesn't mention anything about DNS ... and when I run a tcpdump on the adsl host, I don't see any traffic on port 53. It's like it's just ignoring that part of dhclient.conf completely. Is there something I missing or have messed up in my dhclient.conf configuration? -T -- Page 12: Unix is a set of tools for smart people. - Harley Hahn, _The Unix Companion_ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting disks
On 2004-07-08 16:38, Jake Zhen [EMAIL PROTECTED] wrote: hi. my computer has two disks with 1.5 GB each. during instillation, i created four slices: ad0s1,ad0s2,ad1s1,and ad1s2. how do i mount all these slices using Mount pt. in FreeBSD Disklabel Editor? what letter shoud i type when it ask for mount pt.? In FreeBSD disks have slices and then each slice has partitions. In general, you don't mount slices. There are -- of course -- exceptions but let's not make things too difficult to grasp :-). If you're confused about formatting and mounting media (disks, floppies, cdroms) in FreeBSD you should probably skim through the article: Formatting Media For Use With FreeBSD http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/index.html HTH, Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search oddity
On Thu, Jul 08, 2004 at 04:23:14PM -0400, Mark Frank wrote: * On Thu, Jul 08, 2004 at 08:22:45PM +0100 Matthew Seaman wrote: On Thu, Jul 08, 2004 at 01:29:16PM -0400, Mark Frank wrote: This isn't a life or death situation but it's the first time I've noticed this oddity. I've always used make search name= from /usr/ports to find a particular port to install but it seemed to fail finding phpMyAdmin. This is on a 5.2.1-RELEASE-p9 box where I cvsup the ports tree nightly. Actually, yes,the search capability in ports was updated and expanded quite a bit recently. Read all about it in the /usr/ports/CHANGES file. You can now do: % make search icase=1 name=phpmyadmin display=name,path,maint Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Maint: [EMAIL PROTECTED] I've (now) read /usr/ports/CHANGES but the behavior for me isn't matching. # pwd /usr/ports # make search icase=1 name=phpmyadmin display=name,path,maint # make search icase=1 name=phpMyAdmin display=name,path,maint Port: phpMyAdmin-2.5.7.1 Path: /usr/ports/databases/phpmyadmin Maint: [EMAIL PROTECTED] Am I being dense here? Most odd. The search target works by substituting the values you give on the make command line into an awk script, which pulls the data out of /usr/ports/INDEX (or INDEX-5 on 5.x) and formats it as required. It's all in /usr/ports/Mk/bsd.port.subdir.mk Do you have PORTSEARCH_IGNORECASE defined in your environment or in /etc/make.conf ? Not that that would make any difference to the result above, as using icase on the command line will override that value. Hmmm... what awk(1) program is first on your path? And if it isn't the default version supplied with the system (/usr/bin/awk -- in 4.10 this is actually GNU Awk 3.0.6) does it support 'IGNORECASE'? There's this little snippet in the awk(1) man page: NOTE: In versions of gawk prior to 3.0, IGNORECASE only affected regular expression operations. It now affects string comparisons as well. 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 pgpGcmJ3x3ltS.pgp Description: PGP signature
Re: Fatal Server error
On Thu, Jul 08, 2004 at 12:49:34PM -0800, Beecher Rintoul wrote: Hi, I'm getting the following when I try to startx from another user besides root: Fatal server error: Cannot move old logfile /var/log/XFree86.0.log.old I searched the mailing lists, but aside from a couple of references, I didn't find any solutions. Any help would be appreciated. Install the x11/wrapper port if you want to be able to run startx as a mortal user. 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 pgp7hbJTmQJH6.pgp Description: PGP signature
Re: Turning off submission (587) port
Gregory Neil Shapiro [EMAIL PROTECTED] schrieb: AFAIK, it is sufficient to edit /etc/mail/sendmail.cf and comment or delete the follwoing line: O DaemonPortOptions=Port=587, Name=MSA, M=E and restart sendmail afterwards. Hand editing the sendmail.cf is a bad idea. You're right. Bad habit. Sorry for advising this. Thomas -- Thomas Wolf Wiener Software Fabrik Dubas u. Wolf GMBH 1050 Wien, Mittersteig 4 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting disks
hi. my computer has two disks with 1.5 GB each. during instillation, i created four slices: ad0s1,ad0s2,ad1s1,and ad1s2. how do i mount all these slices using Mount pt. in FreeBSD Disklabel Editor? what letter shoud i type when it ask for mount pt.? If you are really using the regular disklabel editor you do not name mount points with it. You create partitions. Mount points are named in /etc/fstab. Mount points must be directory names and the directories must be created before attempting the mount. Anyway, you do not mount slices in FreeBSD. You mount partitions. At the very least, you must use disklabel to create at least one partition in each slice. Then you would mount ad0s1a, ad0s2a, ad1s1a, ad1s2a (presuming you use 'a' to name the partitions). But, probably you really don't want 4 slices. You might really want to create 1 slice in each disk that takes up all of the available disk and then use disklabel to create 2 partitions in each slice. Then you would have ad0s1a, ad0s1e, ad1s1a, ad1s1e You need to create directories on which to mount the partitions. They can be anywhere that is available when the mount is done. The final thing is that you need to create entries in /etc/fstab that tell it where to do the mounts. You can then mount the partitions You can also use /stand/sysinstall to do the work, but fdisk/disklabel aren't hard if you are just doing simple stuff. If you are already using /stand/sysinstall and don't know what it means when it asks for a mount point, then that means you give it the name of a directory on which you want it to mount the partitions. If the directory does not exist, /stand/sysinstall will create it. Also, /stand/sysinstall will write the entries in /etc/fstab for you. Once you have all this correct, the partitions will be mounted at boot, but you can use the mount(8) command to do it before a reboot. jerry thank u jake _ Check out the latest news, polls and tools in the MSN 2004 Election Guide! http://special.msn.com/msn/election2004.armx ___ [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: Fatal Server error
On Thursday 08 July 2004 01:08 pm, Matthew Seaman wrote: On Thu, Jul 08, 2004 at 12:49:34PM -0800, Beecher Rintoul wrote: Hi, I'm getting the following when I try to startx from another user besides root: Fatal server error: Cannot move old logfile /var/log/XFree86.0.log.old I searched the mailing lists, but aside from a couple of references, I didn't find any solutions. Any help would be appreciated. Install the x11/wrapper port if you want to be able to run startx as a mortal user. Cheers, Matthew Thanks for replying. I had the wrapper installed, but it wasn't working properly. A reinstall fixed everything. Once again thanks for the hint. Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
add route called from script
Hi all, I am experimenting with openvpn-2 and so far it looks promosing. As this version of openvpn can assign client addresses similar to dhcp, I need to find out how to assign a route from a script, like (this is the client end, running FreeBSD): [simplifed example] #!/bin/sh openvpn --daemon --config my-vpn.conf route add 192.168.0.0/16 adress from tun{if} here How/from where can I get the dynamically assigned tun ip to insert into script? It is not known before openvpn is started. Thanks, Per olof ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
symlink
Hello; I'm new to this list. I've looked and still can't find the path to the command symlink. It has a man page, but I can't find it. Any suggestions? Thanks, Andrew Andrew Musselman [EMAIL PROTECTED] (509) 963-2995 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail
On Thu, Jul 08, 2004 at 08:54:45AM -0500, Mike J wrote: I have a question. One of the new guys went into one of our BSD servers and changed the root environment from the default to /bin/bash and bash isn't installed on this box, therefore we are having trouble su'ing in and even logging in at the console. Anyone have any ideas on how to get in. Boot into single user (just hit the reset button when all is quite and hit the space bar during the appropriate boot-prompt), and it will allow you to specify the shell to use in single user mode (/bin/sh by default). # fsck -y # mount -a # vipw should do the trick. -- Jonathan Chen [EMAIL PROTECTED] -- Opportunity does not knock, it presents itself when you beat down the door - W.E. Channing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disk space question
Hi again-- I'm stumped on this problem, and I'm sure lots of people have encountered the same thing: I would like more space in /usr. I've installed another drive and set it to mount to /mnt. I would like to make FreeBSD(5.2.1) think that /usr also includes this new drive. Is there a way to do what I want to do? Thanks, Andrew Andrew Musselman [EMAIL PROTECTED] (509) 963-2995 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: symlink
On Thu, Jul 08, 2004 at 02:40:30PM -0700, Andrew Musselman wrote: Hello; I'm new to this list. I've looked and still can't find the path to the command symlink. It has a man page, but I can't find it. Any suggestions? symlink has a manpage entry in Section 2, which relates to FreeBSD System Calls Manual, ie you use it in C code. Stuff in Section 1 relate to General Commands, which you can use on the command line. -- Jonathan Chen [EMAIL PROTECTED] -- Jesus saves. Allah forgives. Cthulu thinks you'd make a nice sandwich. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: symlink
In the last episode (Jul 08), Andrew Musselman said: I've looked and still can't find the path to the command symlink. It has a man page, but I can't find it. Any suggestions? That manpage is for the C library function symlink(). The shell command is ln, which handles both hard and symbolic links. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
need a good 32-bit ata/100 raid
are there any good 32-bit ata/100 raid cards for Freebsd 5.2.1? that are natively supported? I only need raid1 capability. -- Brad Tarver, CCNA Network Administrator Forman Perry Watkins Krutz Tardy 188 East Capitol Street Suite 200 Jackson, MS 39201 United States Ph: 601-960-8600 Fax: 601-960-8613 A bad day on UNIX is better than a good day on Windows Brad Tarver LUGOJ.org mailing list, 6/17/2004 Important Confidentiality And Limited Liability Notice This email and any attachments may be confidential and protected by law. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the email or any attachment is prohibited. If you have received this email in error, please notify us immediately by replying to the sender and deleting this copy and the reply from your system. Please note that any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of Forman Perry Watkins Krutz Tardy LLP. (FPWKT). The recipient should check this email and any attachments for the presence of viruses. FPWKT accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation. smime.p7s Description: S/MIME Cryptographic Signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: symlink
Andrew Musselman [EMAIL PROTECTED] wrote: Hello; I'm new to this list. I've looked and still can't find the path to the command symlink. It has a man page, but I can't find it. Any suggestions? As already described, symlink is for use in code. If you look at the SEE ALSO section of that man page, you'll see a reference to ln(1), which is the user command commonly used to create symlinks. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk space question
Hi again-- I'm stumped on this problem, and I'm sure lots of people have encountered the same thing: I would like more space in /usr. I've installed another drive and set it to mount to /mnt. I would like to make FreeBSD(5.2.1) think that /usr also includes this new drive. Is there a way to do what I want to do? Maybe, but you don't really want to do quite what you said. What you need to do is move some of the things in /usr to the new partition that you currently have mounted on /mnt and then create a symlink to it. I would suggest that you move /usr/ports and /usr/local and maybe /usr/src. I would also suggest you might want to think of another name to mount the extra disk on. The only reason is /mnt is often used as a sort of temporary mount point and this will, no doubt be a more permanent mount. I tend to usr /work, but others have their own favorites. So, basically, tar up the stuff, untar it in the new place and create the symlink, check it out. Then rm the old stuff. for /usr/ports for example, using your /mnt mount point. cd /usr/ports tar cvf /mnt/ports.tar * cd /mnt mkdir usr.ports cd usr.ports tar xvf ../ports.tar cd /usr mv ports ports.old ln -s /mnt/usr.ports ports Check everything out to make sure you did it right cd /usr rm -rf ports.old cd /mnt rm ports.tar voila it is in the new space. Do the same for other big directories. use du(1) do check for big ones. cd /usr du -sk * jerry Thanks, Andrew Andrew Musselman [EMAIL PROTECTED] (509) 963-2995 ___ [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: disk space question
Andrew Musselman [EMAIL PROTECTED] wrote: Hi again-- I'm stumped on this problem, and I'm sure lots of people have encountered the same thing: I would like more space in /usr. I've installed another drive and set it to mount to /mnt. I would like to make FreeBSD(5.2.1) think that /usr also includes this new drive. Is there a way to do what I want to do? There are multiple ways. The most classic way would be to make a bunch of symlinks from various directorys in /usr to space in /mnt. A better way would be to back up /usr, then reformat the /usr and /mnt partitions as vinum partitions, and create a concatenated volume of the resulting space, then restore /usr to that. This takes a little know-how, so you'd be well advised to try it out on a test system to get acquianted with vinum first. ... although, I'm not sure what the status of Vinum is in 5.x ... last I asked, it wasn't reliable on 5.x yet, but that's been a while. I'm sure others will present other options as well. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: symlink
Hello; I'm new to this list. I've looked and still can't find the path to the command symlink. It has a man page, but I can't find it. Any suggestions? Probably what you are looking for is:a link -s as in: link -s file_to_link name_of_link symlink is a library routine callable from a progran, not a stand-alone command. jerry Thanks, Andrew Andrew Musselman [EMAIL PROTECTED] (509) 963-2995 ___ [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: symlink
Hello; I'm new to this list. I've looked and still can't find the path to the command symlink. It has a man page, but I can't find it. Any suggestions? Oops, I think I just wrote link -s in the last message and it should be ln -s Am hurrying trying to leave, sorry, jerry Thanks, Andrew Andrew Musselman [EMAIL PROTECTED] (509) 963-2995 ___ [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: add route called from script
Per olof Ljungmark [EMAIL PROTECTED] wrote: Hi all, I am experimenting with openvpn-2 and so far it looks promosing. As this version of openvpn can assign client addresses similar to dhcp, I need to find out how to assign a route from a script, like (this is the client end, running FreeBSD): [simplifed example] #!/bin/sh openvpn --daemon --config my-vpn.conf route add 192.168.0.0/16 adress from tun{if} here I'm no guru for either of these commands, but I'm guessing this is a canonical job for sed and/or awk. Something like: IPADDR = `ifconfig | awk 'awk magic to extract the IP'` route add 192.168.0.0/16 $IPADDR I hope this is helpful, sorry I don't have a more precise answer. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disk space question
Andrew Musselman writes: I would like more space in /usr. I've installed another drive and set it to mount to /mnt. I would like to make FreeBSD(5.2.1) think that /usr also includes this new drive. Is there a way to do what I want to do? man ccd. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk space question
On Thu, Jul 08, 2004 at 02:50:03PM -0700, Andrew Musselman wrote: Hi again-- I'm stumped on this problem, and I'm sure lots of people have encountered the same thing: I would like more space in /usr. I've installed another drive and set it to mount to /mnt. I would like to make FreeBSD(5.2.1) think that /usr also includes this new drive. Is there a way to do what I want to do? Thanks, Andrew You cannot merge the new disk into your current /usr partition, but you could mount the disk somewhere on /usr, such as /usr/home, or some other place where you expect the majority of data will be going. You could also use dump/restore to dump your current /usr partition to your new disk and then alter /etc/fstab to mount the new disk at /usr instead of the old partition. This might only be useful if the new disk is significantly larger than your current /usr partition. Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49 pgpliRcskZge2.pgp Description: PGP signature
Re: add route called from script
On Friday 09 July 2004 00:20, Bill Moran wrote: Per olof Ljungmark [EMAIL PROTECTED] wrote: Hi all, I am experimenting with openvpn-2 and so far it looks promosing. As this version of openvpn can assign client addresses similar to dhcp, I need to find out how to assign a route from a script, like (this is the client end, running FreeBSD): [simplifed example] #!/bin/sh openvpn --daemon --config my-vpn.conf route add 192.168.0.0/16 adress from tun{if} here I'm no guru for either of these commands, but I'm guessing this is a canonical job for sed and/or awk. Something like: IPADDR = `ifconfig | awk 'awk magic to extract the IP'` route add 192.168.0.0/16 $IPADDR If you know the number of the interface, ie tun0: IPADDR=`ifconfig tun0 | awk '$1~/inet/$1!~/inet6/{print $2}'` hth ch I hope this is helpful, sorry I don't have a more precise answer. -- Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgprHU2ZNEX2W.pgp Description: signature
AW: need a good 32-bit ata/100 raid
www.3ware.com :) 64 bit cards but they run fine in 32 bit slots.. but they might be too expensive since they are for professional solutions :) -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Brad Tarver Gesendet: Freitag, 9. Juli 2004 00:08 An: [EMAIL PROTECTED] Betreff: need a good 32-bit ata/100 raid are there any good 32-bit ata/100 raid cards for Freebsd 5.2.1? that are natively supported? I only need raid1 capability. -- Brad Tarver, CCNA Network Administrator Forman Perry Watkins Krutz Tardy 188 East Capitol Street Suite 200 Jackson, MS 39201 United States Ph: 601-960-8600 Fax: 601-960-8613 A bad day on UNIX is better than a good day on Windows Brad Tarver LUGOJ.org mailing list, 6/17/2004 Important Confidentiality And Limited Liability Notice This email and any attachments may be confidential and protected by law. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the email or any attachment is prohibited. If you have received this email in error, please notify us immediately by replying to the sender and deleting this copy and the reply from your system. Please note that any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of Forman Perry Watkins Krutz Tardy LLP. (FPWKT). The recipient should check this email and any attachments for the presence of viruses. FPWKT accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail
Jonathan Chen wrote: On Thu, Jul 08, 2004 at 08:54:45AM -0500, Mike J wrote: I have a question. One of the new guys went into one of our BSD servers and changed the root environment from the default to /bin/bash and bash isn't installed on this box, therefore we are having trouble su'ing in and even logging in at the console. Anyone have any ideas on how to get in. Boot into single user (just hit the reset button when all is quite and hit the space bar during the appropriate boot-prompt), and it will allow you to specify the shell to use in single user mode (/bin/sh by default). # fsck -y # mount -a # vipw should do the trick. if u have a user that is a memeber of the wheel group you can try and copy bash to /bin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba3 and NIS
My goal here is to be able to migrate a list of existing system user accounts AND there samba credentials over to a brand new machine, which runs a newer version of samba (3.0.4). Im assuming I'll be able to have to vipw's open, side by side.. one of the old machine and the other on the new machine and copy and paste over the user accounts, but this doesn't help me migrate over samba user accounts and there passwords(?). My old machine is a NIS + Samba server (2.2.6), runs great. Here are some relevant parts of it's smb.conf; [global] message command = csh -c 'xedit %f - %s;rm %s' domain master = True local master = yes time server = Yes logon home = \\%L\%U domain logons = Yes passwd program = /usr/bin/yppasswd %u encrypt passwords = Yes password level = 4 logon script = LOGON.BAT update encrypted = Yes passwd chat = *New* %n\n *password* %n\n *changed* unix password sync = Yes username level = 5 add user script = /usr/local/samba/bin/smbadduser %u:%u username map = /usr/local/samba/lib/users.map When I add a system user (pw useradd...) it sets up the system user account, and immediately asks me to set the new users samba password. tada. Awesome. The user has been both added to the system and able to mount there home directory via samba. However, at the end of compiling Samba3 from ports I get this message: ** Starting from Samba 3.0.3 this port doesn't create 'smbpasswd' file automatically. Users are encouraged to use 'tdbsam' backend instead: [global] passdb backend = tdbsam, smbpasswd You can use pdbedit to migrate accounts from 'smbpasswd' to 'tdbsam', see the Samba-HOWTO-Collection. You still can create 'smbpasswd' file with the supplied 'make_smbpasswd' script: cat /etc/passwd | grep -v ^# | make_smbpasswd smbpasswd chmod 600 smbpasswd But the usage of it is deprecated. -- NOTICE: *.tdb files have been moved from /var/run/samba/ to /var/db/samba/! NOTICE: Please, move them manually, if necessary, at least winbind_*.tdb. ** Im a little confused as I do not see any use of smbpasswd in my old samba configure, but rather yppasswd... but im still not sure how I would migrate the samba user names over to the new machine (and new samba version). It's this what /usr/local/samba/lib/users.map ? If anyone on this list can share with me there NIS/Samba migration experiences, that'd be very helpful. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]