Re: How to correctly use 2 on board nics
Bob wrote: The most common configuration for using two nic's is one nic is used for your dsl or cable modem connection to your ISP and the second nic services your local LAN. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ivan Carey Sent: Tuesday, June 05, 2007 6:55 AM To: freebsd-questions@freebsd.org Subject: How to correctly use 2 on board nics Hello I have a server board with 2 onboard nic's I have set them up in rc.conf as follows defaultrouter=192.168.1.1 network_interfaces=em0 em1 lo0 ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0 ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0 The question, is this the correct configuration? If I have both nic's connected to the switch I can ping 192.168.1.1 and 192.168.1.3 and 192.168.1.4 If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3 If I have only em1 connected I can ping 192.168.1.3. What could the 2 onboard nic's be best used for. I was thinking that in the event on was to fail then the other would still be ok. Any ideas would help. Thanks, Ivan ___ 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] I guess the 'correct' way of using two NICs is really dependent upon what your goal of using two NICs is. Do you want to be able to serve two networks out of the NICs, one from each interface? Do you want to create a gateway of some sort? What is it, exactly, you are trying to accomplish by doing this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple issues (FreeBSD 6.2 RELEASE)
Lucas (a.k.a T-Bird or bsdfan3) wrote: Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 1) I am not sure. 2) What secure you need to check your secure level. 3) I am not sure. 4) /etc/sysctl.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple issues (FreeBSD 6.2 RELEASE)
Lucas (a.k.a T-Bird or bsdfan3) wrote: Securelevel == 1 and thanks for the answer to the fourth question magikman wrote: Lucas (a.k.a T-Bird or bsdfan3) wrote: Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 1) I am not sure. 2) What secure you need to check your secure level. 3) I am not sure. 4) /etc/sysctl.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Drop the level down to 0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant get the damn bandwidth limiter working
[EMAIL PROTECTED] wrote: RW wrote: On Sat, 26 May 2007 16:52:56 +0200 [EMAIL PROTECTED] wrote: pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s download. I want to use half of that. What should pf.conf contain, to limit my computer's upload and download speeds? I've tried: altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download } queue lan bandwidth 1000Kb cbq(default) queue upload bandwidth 64Kb cbq queue download bandwidth 512Kb cbq block in all pass in quick on sk0 from 192.168.0.0/16 queue lan pass in all on sk0 queue download block out all pass out quick on sk0 to 192.168.0.0/16 queue lan pass out all on sk0 queue upload AFAIK ALTQ only queues outgoing traffic, and pass in quick on sk0 from 192.168.0.0/16 queue lan means: send the packet to the lan queue if it's routed out via the interface to which queue lan is attached, i.e. back out via sk0 - which isn't going to happen. That would explain. So is there any way to limit the speed at which i'm downloading? Come on I've seen a bunch of software like this for Windows on the net! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] IPFW and dummynet will allow this. I came up with this from a short google search: http://www.askbjoernhansen.com/2004/09/22/mini_tutorial_f.html good luck! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blown Up /Usr files
Jack Schneider wrote: Hi, Anyone. My /Usr directory/slice is now over 5.2 GB for a basic workstation 6.2 install. thats 90%+ of the slice. I need help with a procedure to clean it up. The machine is: FreeBSD Growler.maplebend.net 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #2: Wed Apr 18 11:16:35 CDT 2007 KDE 3.5.1 Updated /ports Sources via CVSUP. I have no idea where to start. Where should I look for redundant or obsolete files? Thanks, in advance Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You could use the find command to find all files over a specific size and display the size of the files. du -sh $(find /usr -f -size +1000k) You could also pipe this to sort or something to give sorted list of sizes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Net/Force Install
Hello, The co-host that i use to host my email, web and DNS doesn't offer the option of using FreeBSD. This isn't really a problem per-se, but i would *really* rather use FreeBSD as it is what i am accustomed to and most comfortable using. So, off to my question. They offer a rescuemode where i can boot into and have full access to the disks. Do you think it would be possible to maybe create an image of an existing BSD install with the same disk makeup, etc. and dd it to the remote disk? Have any of you ever attempted this before? The procedure that i was planning to use involved using dd to pipe the image over a netcat connection. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Net/Force Install
Hello, The co-host that i use to host my email, web and DNS doesn't offer the option of using FreeBSD. This isn't really a problem per-se, but i would *really* rather use FreeBSD as it is what i am accustomed to and most comfortable using. So, off to my question. They offer a rescuemode where i can boot into and have full access to the disks. Do you think it would be possible to maybe create an image of an existing BSD install with the same disk makeup, etc. and dd it to the remote disk? Have any of you ever attempted this before? The procedure that i was planning to use involved using dd to pipe the image over a netcat connection. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Net/Force Install
magikman wrote: Hello, The co-host that i use to host my email, web and DNS doesn't offer the option of using FreeBSD. This isn't really a problem per-se, but i would *really* rather use FreeBSD as it is what i am accustomed to and most comfortable using. So, off to my question. They offer a rescuemode where i can boot into and have full access to the disks. Do you think it would be possible to maybe create an image of an existing BSD install with the same disk makeup, etc. and dd it to the remote disk? Have any of you ever attempted this before? The procedure that i was planning to use involved using dd to pipe the image over a netcat connection. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Sorry for the multiple posts. For anyone reading, don't let your 5 year old play with your computer with the email client open. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd max users
Sean Murphy wrote: It seems I cannot connect to my server through sshd when there are 10 processes running of sshd. My ssh client immediately terminates. If I kill one of the ssh processes I am able to login through ssh. Is there a max user setting? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] grep -i max /etc/ssh/sshd_config ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make.conf and Nocona Xeon
Hi, I am trying to setup a server with two Nocona Xeons and can't decided what flags I should use in my make.conf. I have looked at the example make.conf that comes with FBSD-5.4, however, this has left me a tad bit confused. I have also checked google for a possible answer, but some people are using amd64 some are using nocona and some are just using pentium4 for their CLFAGS. Do any of you know what the best combination of flags would be for this processor? Or if any of you could post your make.conf as an example i would greatly appreciate it. Thanks, Me ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]