RE: Why can't ping
Hello! I configure ed0 when I install FreeBSD7.0,like follows: Host:test.example.com Domain:test.com IPv4 GateWay: 172.18.0.1 Name server: 172.18.0.250 IPv4 Address: 172.18.0.19 Netmask:255.255.255.0 I noticed you are using ed0 as the interface? There is no ed in FreeBSD. Then I Ping itself,like follows: #ping 172.18.0.19 Then result is failure: ping: sendto: No route to host Why? I use ifconfig -a to show my ip,like follows: le0: flags=8843 UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 This is your interface - le0. options=8 VLAN_MTU either 00:0d:18:23:32:7a inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 It shows that your le0 interface has not been assigned with the network information that you listed. Try again but use le0 as your interface instead. Chris Haulmark media: Ethernet autoselect status: active plip0:flags=108810 POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 1500 lo0:flags=8049 UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 Where is my following configure information, I can't find them! Host:test.example.com Domain:test.com IPv4 GateWay: 172.18.0.1 Name server: 172.18.0.250 IPv4 Address: 172.18.0.19 Netmask:255.255.255.0 What raise to lost my configure information? How to configure my ip and how to ping successly? I am a newer to BSDUnix,please give me detail steps. Thanks in advance! Best regards, Edward --- --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Example uses of bsnmp-ucd?
Hello, I have discovered that bsnmp-ucd provides the ability to monitor FreeBSD by gathering memory, load average, cpu usage and other system statistics. I wonder if anyone else have any examples of how they graph those statistics? I am currently using cacti and it seems difficult for me to create a template to gather those gathered data. I am looking for help. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: living with freebsd
Hello! i'd like to know how people live with freebsd. do you use only ports or only packages or a mixture? Some uses just ports...while others use packages only if they exist in the first place or they cross compiled. Hell, a lot of people use both ports and packages. The reasons vary and it is not restrictive to pick either one. do you upgrade from version to version using freebsd tools or do it manually? Manually is the traditional way. The freebsd tools (if you meant the binary upgrade method) is just a new way. Few are switching over as the time progresses. There are some in the production environment that prefer using binary upgrades as it will provide lower downtimes. do you have a different approach regarding the above depending on whether it is for a server or a desktop? Yes, avoid GUI stuff when using server or vice verse. That's just one example out of millions of examples. the handbook tells you what you can do, but i'd like to know what is actually done and why. The way it should work: You find out what you want your FreeBSD computer to do, you look into the available documentations on how to do it. Not the other way around. Chris -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Question on Hardware support
Hello fella, I am trying to find the hardware support list for the releases and have been unsuccessful. Any ideas where to look for this? My reason is that I have a new computer with the ASUS motherboard in an Intel Core2 Duo configuration. This board has an ATTANSIC Technology Corp. L1 Gigabit Ethernet Adapter on it which apparently is fairly new and may not be supported. I have found with Linux that the Debian distros, the Gentoo distros and the SUSE distros all support this (Ubuntu, Mepis, Open SUSE, Sabayon, OpenGEU) while the Slackware ones will in the next release. I would like to use the BSD release if it can support this ethernet adapter but the older PC-BSD did not. Is there a release that does include this ethernet device? I have been looking for something that lists the hardware supported and I keep running into something that says check the release to see the hardware support info but so far all I find is that notice. I don't find the hardware support list anywhere. You can see here for the hardware release notes: http://www.freebsd.org/releases/7.0R/relnotes.html However, your NIC is not included but there is development pending it in freebsd-current@ The direct link is to: http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084174.htm l Chris Thanks. Dick Thompson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: dedicated server specs / 7.0-Release
hello, 2008/3/18, Christian Zachariasen [EMAIL PROTECTED]: Depending on what you're doing you might clarify what you are planning on doing with the disks. Are you running them in any form of RAID? In a some cases it might be smarter to go for better drives (made for operating 24/7). That being said, I've often used shitty drives myself on servers that have been up for ages at a time. Right! It will be used for hosting a couple of domains and quite extensive email service. I was planning to use the second HD to replicate data in case of emergency. What would you advise instead or is there a way to make the two drives operate in RAID? I do not know much abaout RAIDs I am afraid. Without a hardware RAID controller card, you can run a software RAID 1 array. That is mirroring capabilities. There is a howto in the FreeBSD handbook on setting up the RAIDs based on the FreeBSD's built in features. I would strongly suggest that you add more disks for more IO resources to be available if you are going to run a medium sized mail server. SAS disks will be way much better. Those extra disks (or faster ones) and two more GB of RAM will be more useful if you are going to use a type of SQL database for your hosts websites. Better safe than to be overloaded. Chris Thanks! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: TikiWiki Thumbnails
Ladies and Gentlemen, Please excuse the off topic post. I have installed TikiWiki, but I have not been able to get the software to generate thumbnails at all. The images are always displayed at their original size. This happens with gd from the ports collection, or compiling from source. Any suggestions would be greatly appreciated. It would be useful if you posted errors or what settings you used. Someone else will help you once you provided those information. My first assumption is..did you check the permissions on the directory where the images are to be written to? Chris Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mfsbsd
remotely. it is already running freebsd? no need any extra tool to reinstall it. Are you implying to reinstall via sysinstall with new created slices with proper labels over ssh? you didn't say you want repartition. this way - not. Sorry about this. Anyone else got advice to do that? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mfsbsd
Hello, Anyone used mfsbsd to do remote install of a dedicated server with success? Summary: A dedicated server has FreeBSD 6.x running with / as the entire partition of the entire disk. Hoping to find a solution to do reinstall remotely. depenguinator seems incompatible with the current latest FreeBSD releases. Advices other than DRAC, IPKM or hire a tech are welcome. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mfsbsd
Anyone used mfsbsd to do remote install of a dedicated server with success? Summary: A dedicated server has FreeBSD 6.x running with / as the entire partition of the entire disk. Hoping to find a solution to do reinstall remotely. it is already running freebsd? no need any extra tool to reinstall it. Are you implying to reinstall via sysinstall with new created slices with proper labels over ssh? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Connecting networks
Hello Alaor: Guyz, that's my doubt, if I have two separated networks, and a freebsd connected in the two of them, I'm supposed to be able to ping to a machine in 10.10.0 network from a machine in 192.168.1 network, for example, byonly setting gateway_enable=YES? I know private networks are for private use, but I have to connect one of my private networks to the private network of other school because they share their database with us. (they are 10.10.0, we're 192.168.1). All I want is that when I ping from a machine in 192.168.1 to a machine in 10.10.0 it work. That's all I need. Sorry my bad english. It sounds like you are wanting a router to function between two different subnets. Take a reading under 29.2.5 at this link: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routin g.html Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP5 Gzip support
Hello Robert: Can someone please explain how I install gzip support into a running version of PHP5 ? gzip is enabled by default for encoding. Did you mean bzip? When you are installing php5 extensions on FreeBSD systems from the ports tree, normally you would install the the lang/php5-extensions port. You will be prompted with a config menu. In your situation, you can choose bzip and get that installed. If you want to add any other extensions after doing the install, you can use make config to bring that menu back up and then do the reinstall. Chris - Yahoo! Answers - Get better answers from someone who knows. Tryit now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD pam.d proftpd problem
[EMAIL PROTECTED]/usr/local/etc(112): ftp localhost Trying 127.0.0.1... Connected to localhost.chroot.eu. 421 Service not available, remote server has closed connection. ftp That i've got also on external interfaces. Can someone help me with some ideas? Thank you in advance, best regards, Riccardo Giuntoli Why not enable logging for ProFTPD and read the logs after the attempts again? Do the same for debugging too. Chris -- Name: Riccardo Giuntoli Email: [EMAIL PROTECTED] Homepage: http://www.luxoro.org/ Location: Genova, Italy PGP Key: 0x67123739 PGP Fingerprint: CE75 16B5 D855 842FAB54 FB5C DDC6 4640 6712 3739 Key server: hkp://wwwkeys.eu.pgp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD pam.d proftpd problem
On Nov 11, 2007 4:59 PM, Chris Haulmark [EMAIL PROTECTED] wrote: [snip] Why not enable logging for ProFTPD and read the logs after the attempts again? Do the same for debugging too. [snip] Got this: [EMAIL PROTECTED]/usr/local/etc(107)# proftpd -4 -n -d10 - mod_tls/2.1.2: using OpenSSL 0.9.7e-p1 25 Oct 2004 - retrieved UID 65534 for user 'nobody' - retrieved GID 65533 for group 'nogroup' tsunami.chroot.eu - tsunami.chroot.eu - Config for Chroot tsunami hosting: tsunami.chroot.eu - Limit tsunami.chroot.eu - DenyAll tsunami.chroot.eu - DefaultServer tsunami.chroot.eu - Umask tsunami.chroot.eu - UserID tsunami.chroot.eu - UserName tsunami.chroot.eu - GroupID tsunami.chroot.eu - GroupName tsunami.chroot.eu - DefaultRoot tsunami.chroot.eu - AllowOverwrite tsunami.chroot.eu - TimeoutIdle tsunami.chroot.eu - TimeoutLinger tsunami.chroot.eu - TimeoutLogin tsunami.chroot.eu - TimeoutNoTransfer tsunami.chroot.eu - TimeoutStalled tsunami.chroot.eu - ROOT PRIVS at mod_delay.c:307 tsunami.chroot.eu - RELINQUISH PRIVS at mod_delay.c:309 tsunami.chroot.eu - retrieved group ID: 65534 tsunami.chroot.eu - setting group ID: 65534 tsunami.chroot.eu - SETUP PRIVS at main.c:2849 tsunami.chroot.eu - ROOT PRIVS at main.c:1926 tsunami.chroot.eu - RELINQUISH PRIVS at main.c:1933 tsunami.chroot.eu - ROOT PRIVS at main.c:2257 tsunami.chroot.eu - opening scoreboard '/var/run/proftpd.scoreboard' tsunami.chroot.eu - RELINQUISH PRIVS at main.c:2283 tsunami.chroot.eu - ROOT PRIVS at inet.c:250 tsunami.chroot.eu - RELINQUISH PRIVS at inet.c:267 tsunami.chroot.eu - ROOT PRIVS at inet.c:343 tsunami.chroot.eu - RELINQUISH PRIVS at inet.c:406 tsunami.chroot.eu - getnameinfo error: ai_family not supported tsunami.chroot.eu - ProFTPD 1.3.1 (stable) (built Sun Nov 11 06:25:49 EST 2007) standalone mode STARTUP tsunami.chroot.eu - ROOT PRIVS at pidfile.c:42 tsunami.chroot.eu - RELINQUISH PRIVS at pidfile.c:44 tsunami.chroot.eu - getnameinfo error: ai_family not supported tsunami.chroot.eu - ROOT PRIVS at main.c:1054 tsunami.chroot.eu - RELINQUISH PRIVS at main.c:1058 tsunami.chroot.eu - getnameinfo error: ai_family not supported tsunami.chroot.eu - no matching vhost found for (null)#21, using DefaultServer 'Chroot tsunami hosting' tsunami.chroot.eu - getnameinfo error: ai_family not supported tsunami.chroot.eu - getnameinfo error: ai_family not supported ^Ctsunami.chroot.eu - ProFTPD terminating (signal 2) tsunami.chroot.eu - ROOT PRIVS at main.c:1789 tsunami.chroot.eu - ROOT PRIVS at mod_delay.c:1095 tsunami.chroot.eu - RELINQUISH PRIVS at mod_delay.c:1097 tsunami.chroot.eu - RELINQUISH PRIVS at main.c:1811 tsunami.chroot.eu - ProFTPD 1.3.1 standalone mode SHUTDOWN tsunami.chroot.eu - ROOT PRIVS at main.c:1818 tsunami.chroot.eu - deleting existing scoreboard '/var/run/proftpd.scoreboard' tsunami.chroot.eu - RELINQUISH PRIVS at main.c:1820 [EMAIL PROTECTED]/usr/local/etc(108)# Any suggestions? I will point out some things out for you to read up on. You did not enable PAM in proftpd.conf. There is no vhosts configured in the proftpd.conf either. Did you intend to use vhosts? Also are you using inetd to serve the FTP connections? If so, why configure ProFTPD as your standalone server. Did you read any documentations on how to enable pam for ProFTPD? If so, which documentations? I found that there's a bug that might have been fixed back in Jan but it gave out similar errors. It is located at: http://bugs.proftpd.org/show_bug.cgi?id=2877 Chris Best Regards, Riccardo Giuntoli. -- Name: Riccardo Giuntoli Email: [EMAIL PROTECTED] Homepage: http://www.luxoro.org/ Location: Genova, Italy PGP Key: 0x67123739 PGP Fingerprint: CE75 16B5 D855 842FAB54 FB5C DDC6 4640 6712 3739 Key server: hkp://wwwkeys.eu.pgp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Beastie 3D-rendered
Look what happened to Beastie: http://www.tilolit.de/images/tb/wallpapers/teufel.jpg Very nice! It's my wallpaper now! Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Determine FreeBSD version of binary
Hi, I was wondering if it was possible to determine for what version of FreeBSD a binary was compiled, purely by examining the binary? Try using strings to examine the binary file for clues. Chris Any and all help and suggestions are greatly appreciated, Thanks, john Smith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: List of sites using FreeBSD?
On Tue, 2007-11-06 at 10:15 +0100, Ewald Jenisch wrote: Hi, Does anybody out there know where I can find a list of sites running FreeBSD? I expected it on www.freebsd.org, but couldn't find it (maybe overlooked?) Thanks in advance for any pointer. -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] If you're looking for *large* installs, yahoo! is a freebsd shop, as is kodak. If you're looking for *everything*, well, shoot. You're not gonna find it. You could always check what a site is running on at netcraft.net. Even though, few may not be accurate. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.2.1 to 6.2 Migration.
Kevin Kinsey [EMAIL PROTECTED] writes: Lowell Gilbert wrote: Chris Haulmark [EMAIL PROTECTED] writes: Grant Peel wrote: I thought I would ask the question before I do it the hard way 1. Can FreeBSD be upgraded from 5.2.1 to 6.2 ? Yes. 2. Can it be done through an ssh connection, or MUST I make the trip to the farm and do it from the console? I've done 5.x to 6.x upgrades via ssh. It is possible. In the handbook, you will see mentions of booting into single user mode and I can tell you that it is not required. It's a good safety precaution; if your updated kernel won't boot, you will need to reinstall most of the system. That is over the board. Only times that I have made the mistakes in the past are: 1. Misconfiguring the kernel options such as disabling the meeded network driver built in the kernel. 2. Anything related to having kernel panics to occur. 3. Enabling firewall and getting locked out via network. That sounds a tad alarmist; if the new kernel won't boot, you'll have to be at (or have someone at) the console who can boot kernel.old (I stand open for correction, but last time I did it, 'twas that way). And, possibly, that person (you?) will also have to be able to do some other magic. Magic such as having other remote possibilities. DRAC access for example. But the phrase reinstall most of the system doesn't, at the very least, *sound* like the BSD Way(tm). Granted, sometimes it's quicker --- I know that's why it's used so often on that Other System ;-) If you have reinstalled a userland that depends on a kernel that doesn't boot, you are quite likely to be in trouble. I always do buildworld/installworld as part of my kernel build/installs. That is to ensure staying in sync. I reboot after the installworld then again after the installkernel. The BSD way does not necessarily involve easy recovery from making up procedures that haven't been worked out or tested by the release engineers. In fact, I don't think any operating system guarantees that you will have an easy time after making up your own upgrade procedures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.2.1 to 6.2 Migration.
But the phrase reinstall most of the system doesn't, at the very least, *sound* like the BSD Way(tm). Granted, sometimes it's quicker --- I know that's why it's used so often on that Other System ;-) If you have reinstalled a userland that depends on a kernel that doesn't boot, you are quite likely to be in trouble. I always do buildworld/installworld as part of my kernel build/installs. That is to ensure staying in sync. I reboot after the installworld then again after the installkernel. You should do it the other way around. That way if the new kernel doesn't boot you aren't stuck with an out of sync userland which may not play nicely with your old kernel. Also, depending on the changes booting an old kernel with a new userland may (and has) result in your system not booting at all. The proper sequence is: # make buildworld # make buildkernel # make installkernel # reboot # mergemaster -p # make installworld # mergemaster # reboot I prefer to do [build|install]world prior to building the kernel with the new installed tools. Even with an outsynced system, the most common tools to be affected are ps and top. Even when a kernel fails to boot all the way through, you can still rebuild a new kernel after booting with the old kernel. Having the new system tools will not hurt. The OP's primary goal was to discuss about if it was possible to upgrade 5.x to 6.x remotely via ssh. I provided that it was possible and what my method is. Chris The BSD way does not necessarily involve easy recovery from making up procedures that haven't been worked out or tested by the release engineers. In fact, I don't think any operating system guarantees that you will have an easy time after making up your own upgrade procedures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ipfw rule question ... all possible interfaces ?
Is there a way to tell ipfw: all interfaces currently configured on this system ? I have a laptop and at any time I could plug in a USB NIC or plug in a pccard, in addition to the onboard LAN and WIFI, either of which may or may not be configured at boot time. So the point is, the active, configured interfaces changes regularly. So if I have a rule like: allow ip from any to any via iwi0 that won't work well, and neither will: allow ip from any to any via iwi0,abc0 So is there any way to say all interfaces currently configured and have that rule apply to new interfaces automatically as they are added and subtracted from the system ? Try this: allow ip from any to any Just leave out via __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Is there a way to compare what is in the ports tree with what is installed?
ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? pkg_info can be used to see what ports are currently installed. Chris -- Brett Davidson Systems Engineer -- Net24 Limited Web: www.net24.co.nz Phone: 0800 5000 24 | DDI: +64 3 962 9518 -- // web hosting / email hosting / data backup // our reputation for reliability precedes us This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.2.1 to 6.2 Migration.
Hi all, I thought I would ask the question before I do it the hard way 1. Can FreeBSD be upgraded from 5.2.1 to 6.2 ? Yes. if so ... 2. Can it be done through an ssh connection, or MUST I make the trip to the farm and do it from the console? I've done 5.x to 6.x upgrades via ssh. It is possible. In the handbook, you will see mentions of booting into single user mode and I can tell you that it is not required. Chris -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Official mirror source
Hello, I am one of the sys admin looking after mirror.aarnet.edu.au which is also ftp2.au.freebsd.org. We have had issues with upstream mirrors we have used locally. Can you suggest a good mirror to rsync from internationally? Did you see the rsync mirrors on the freebsd.org site? Chris Thanks, Alex Alex Dodson System Administrator AARNet Pty Ltd Ph: 61 7 3317 9550 Mob: 61 434 306 682 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba over VPN
On Thu, 2005-07-28 at 20:06 +0200, cell wrote: Hello , i have created a VPN ( with openvpn-2.0_3 on freebsd 5.4 ) between my network who has a gateway on freebsd 5.4 and others computer on win xp, and a network who has windows xp home as gateway.Windows xp home gateway used openvpn 2 too and i have created a bridge in my freebsd gateway and the windows xp gateway have created a bridge too.Now , i have configured samba on my freebsd gateway and i must see normally (in my computers on windows xp ) the windows xp gateway of the other network in my workgroup but i just see this computer for ten minutes !!! After that , i don't see it any more and i don't understand why !!! Anyone have an idea for this problem ? Turn on word wrap please. Draw a diagram of what your network looks like. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script for adding a samba-user
On Thu, 2005-07-28 at 12:02 -0700, Glenn Dawson wrote: At 11:25 AM 7/28/2005, [EMAIL PROTECTED] wrote: hi, been working on a script to add a samba-user, below an example which is not working, can someone provide the fix here to make it work properly ? It's difficult to help since you didn't provide a description of the problem beyond not working. Taking a guess, I'd say that your problem is related to your use of the -s option to adduser. That option specifies the shell for the user you are trying to add. Even if you have a shell called scponly you would need to include the full path to that shell. I also suspect not using -a for smbpasswd to add a new user. Someone needs to read up on the manpages for those commands. Chris -Glenn #!/bin/sh adduser -G data -s scponly $1 smbpasswd $1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba over VPN
On Thu, 2005-07-28 at 15:44 -0400, cell wrote: The VPN network is look like http://www.linux-win.org/reseau.png Which of those machines are configured to be a bridge device? Please don't top post. Reply under the original poster's lines. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pppOe 1000baseTX config
On Mon, 2005-07-25 at 15:30 -0500, Lane wrote: On Monday 25 July 2005 15:11, Tobias Fendin wrote: Lane wrote: Notice that bge0 media is 10baseT/UTP and re0 is 100baseTX What kind of network cables are you using? UTP stands for unshielded twisted pair, which doesn't work so well with higher bandwidths. I think 1000baseTX requiers CAT6 cables. Cat5e supports gigabit speeds. -Tobias ___ Thanks, Tobias. I think that explains it. The box my cable spool came in says Cat 5E rats! Shoulda gone with the more expensive stuff (again). Lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dropped fragment GRE
On Fri, 2005-06-10 at 15:24 +0800, STST wrote: Hi all, I am currently running ipfw from FreeBSD-5.3-RELEASE on my box. The box passes GRE packets from the external to the internal network. We run Microsoft RDP over PPTP through the firewall. After upgrading to FreeBSD 5.3, we realised that the RDP connections never get initiated. When I did a tcpdump on the internal and external interfaces of the FW, I realised that there were fragmented GRE packets arriving at the FW, but however, these packets do not leave the FW. I also observed the SEQ no. in the GRE packets ingress/egress, and there were missing GRE packets on the egress. My deduction was that ipfw was dropping these fragmented GRE packets, but however, these events were shown on syslog. How do I make ipfw log dropped/silently rejected packets? How to I prevent ipfw from dropping these packets? GRE would need a rule. ipfw add allow gre from any to any To turn off your logging abilities, don't use log or logmount in your rule bodies. Chris Haulmark Appreciate all help given, Thank you. J.W. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Traffic Shapping (IPFW + DUMMYNET) Question
On Thu, 2005-04-14 at 09:53 -0400, Timothy Radigan wrote: Hi all, I'm new to the entire idea of traffic shaping and I came up with some rules for my BSD firewall/router/VoIP gateway and I just wanted to make sure that what I am trying to accomplish is actually going to happen with these rules in place. Currently, my broadband connection is a 4Mb down and 384Mb up pipe. My VoIP service requires 90Kb up and down. I have 3 separate internal networks at my house. I have my wired 100Mb switched LAN (192.168.15.0/24), I have my IPSec enabled Wireless LAN (192.168.20.0/24), and I have my VoIP LAN (192.168.10.0/30). What I want to do with these traffic shaping rules, is dedicate 100Kb up and down to the VoIP LAN, and then I want to have equally shared bandwidth (the remaining speeds of my broadband connection) for the wired and wireless LANs. Here are the rules I have come up with so far: Can you post your ifconfig output of your BSD box? How about the output of this: sysctl -a | grep net.inet.ip.fw.one_pass Chris --- (START) /etc/ipfw.rules # flush all rules ipfw -f flush # configure the pipe main pipes - have 4000kbits/s down 384kbits/s up # define 200kbits/s for the voip pipes ipfw pipe 1 config bw 100Kbits/s ipfw pipe 2 config bw 100Kbits/s # wired / wifi lans - get all but 100kbits/s for both up and down ipfw pipe 3 config bw 3900Kbits/s ipfw pipe 4 config bw 284Kbits/s # wired/wifi LAN internal transmission ipfw pipe 5 config bw 100Mbits/s mask dst-ip 0x ipfw pipe 6 config bw 100Mbits/s mask dst-ip 0x ipfw pipe 7 config bw 100Mbits/s mask dst-ip 0x ipfw pipe 8 config bw 100Mbits/s mask dst-ip 0x # make sure the voip gets all of the bandwidth for the pipes ipfw add 1 pipe 1 ip from 192.168.10.2 to any ipfw add 1 pipe 2 ip from any to 192.168.10.2 # make sure the wired and wifi lans get all of the bandwidth for those pipes ipfw add 2 pipe 5 ip from 192.168.15.0/24 to 192.168.0.0/16 ipfw add 2 pipe 6 ip from 192.168.0.0/16 to 192.168.15.0/24 ipfw add 3 pipe 7 ip from 192.168.20.0/24 to 192.168.0.0/16 ipfw add 3 pipe 8 ip from 192.168.0.0/16 to 192.168.20.0/24 # the wired / wifi lans will split the up and down pipes ipfw queue 3 config weight 50 pipe 3 mask dst-ip 0x00ff ipfw queue 4 config weight 50 pipe 3 mask dst-ip 0x00ff ipfw queue 5 config weight 50 pipe 4 mask dst-ip 0x00ff ipfw queue 6 config weight 50 pipe 4 mask dst-ip 0x00ff # add inbound/outbound queues for the wired lan ipfw add 100 queue 3 ip from any to 192.168.15.0/24 ipfw add 105 queue 5 ip from 192.168.15.0/24 to any # add inbound/outbound queues for the wifi lan ipfw add 200 queue 4 ip from any to 192.168.20.0/24 ipfw add 205 queue 6 ip from 192.168.20.0/24 to any (END) /etc/ipfw.rules - Does this seem like it will perform as I am thinking it will? Thanks --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: more than one IP address in a jail (?)
Either on a webpage somewhere, once, or in here in the list, at one time, I remember seeing some patches that allowed a jail to have more than one IP address. I have been googling all day (not really, but a good amount of time at least) and can't seem to find it again. Anyone have any pointers? Thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Perhaps this link, http://garage.freebsd.pl/ is what you are seeking for? Otherwise, post what FreeBSD version you are wanting to enable usage of multiple ip addresses in a jail system. .::. Chris Haulmark chaulmark -at- idefense.com System Administrator iDefense, Inc. Disclaimer: This post or any type of personal participation that you read from this individual does not represent the views of iDefense, its affiliates, its employees, nor the trashman unless this post is to be stated official. What you read represents my personal opinion(s) or view(s) and is my sole responsibility. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Text parsing?
Hello group, For what purposes will I find I need to use all these tools you write about? I'm talking about awk, ed, ex, etc. I haven't found the need to do so, yet, but I'd like to possibly learn this stuff before I really do need it. -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 Many of us all learn from several books, online articles, and other forms of documentations. For you, perhaps, you should have your own system with an UNIX/Linux operating system to experiment with. If you are going to mess with FreeBSD, you can use http://www.freebsd.org/handbook (a shortcut link to the famed handbook). That would help you to get started into the FreeBSD basics. For your listed commands, the learning documents can be found at http://www.google.com with certain words such as replace sed to discover what the proper usage of sed to replace strings. Also, on your UNIX/Linux systems, you should have manpages to help you. You could simply type in man sed to learn what you could do with sed. Best place to learn more about manpages is by typing in man man :) .::. Chris Haulmark chaulmark -at- idefense.com System Administrator iDefense, Inc. Disclaimer: This post or any type of personal participation that you read from this individual does not represent the views of iDefense, its affiliates, its employees, nor the trashman unless this post is to be stated official. What you read represents my personal opinion(s) or view(s) and is my sole responsibility. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]