Re: route how to?
On 11 Nov 2005 12:29:00 -0500, Lowell Gilbert [EMAIL PROTECTED] wrote: Perttu Laine [EMAIL PROTECTED] writes: I usually do this kind of thing with a firewall, but the routing table is a good way too. man route will explain everything you need to do. I asked because I'm not very familiar with route and don't want to broke everything. :) But is this ok: route add 192.168.10.1 http://192.168.10.1 127.0.0.1http://127.0.0.1 or does it matter what I put as gateway? Try this: route add 192.168.10.1/32 localhost -reject You don't want to put those http://whatever things in there. regards, David ___ 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
You won't gain anything beyond 10baseT/UTP with your DSL line. Also because it is autodetecting at 10baseT/UTP suggests that your DSL modem only has 10baseT support built in to it, so you can't use anything higher. Same goes for your internetl interface re0. It it autodetecting 100baseTX full-duplex which suggests that you have a 10/100baseTX switch. You can't just make your NIC use gigabit if the other end doesn't support it. You won't gain any speed on the DSL side for sure. Generally speaking I find autodetect to work well most of the time. I have rarely had a problem. David FreeBSD Tutorials @ http://freebsd.vangeyn.net On Mon, 25 Jul 2005, Lane wrote: Is there any speed advatage possible beyond the (10baseT/UTP)? If not then I guess it doesn't matter. The dsl modem is on bge0, which ifconfig reports as bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING inet6 fe80::211:11ff:febd:be3a%bge0 prefixlen 64 scopeid 0x1 ether 00:11:11:bd:be:3a media: Ethernet autoselect (10baseT/UTP) My expectation (hope) is to change the 10base in the media: line to 100base or 1000base to gain any throughput advantage that is possible. The internal network is on re0, which ifconfig reports as re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::240:f4ff:feb4:841a%re0 prefixlen 64 scopeid 0x2 ether 00:40:f4:b4:84:1a media: Ethernet autoselect (100baseTX full-duplex) status: active I'd like the change the 100base in the media: line to a 1000base, if possible. thanks for your eyes! lane___ 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
Well, yeah, that would be what to do, but why do you need to? I have a 100baseTX network at home and don't need any more. ~11.5MBytes/sec works just fine. It won't speed up your DSL if you upgrade any of the equipment. Your DSL line is probably 4 Mbits/sec. So if that's all you're looking for, don't bother changing anything. David FreeBSD Tutorials @ http://freebsd.vangeyn.net On Wed, 27 Jul 2005, Lane wrote: Hey, thanks, David. So all I gotta do is (ugh) upgrade the hardware. At least on the internal side. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP Server Offline.
du /var | sort -rn | more This will sort the output with the largest directories at the top. Then you can examine what is in the directories that is taking up the space. David http://freebsd.vangeyn.net/ I Found out the Problem, The /var partation is full. How do i find out where is taking up all the space? Thanks From: Ean Kingston [EMAIL PROTECTED] To: freebsd-questions@freebsd.org CC: [EMAIL PROTECTED] Subject: Re: DHCP Server Offline. Date: Fri, 15 Jul 2005 10:18:09 -0400 On July 15, 2005 10:11 am, Stephan Weaver wrote: Hello folks, I have a Stand Alone FreeBSD Firewall / Nat / Dhcp Server. Everything seems to work fine, up until this morning. Users seem to complain they could not get on the network anymore. Further investigation revealed the dhcp server could not be contacted. Further more, only some of the users were online. I am guessing that these clients who were online had an ip address from the dhcp server at a previous time and the lease didnt expire as yet. And users who were not online, the lease expired and attempted to contact the dhcp server and failed. I Would appreciate any help or suggestions. Set the lease expire time to at least 5 days (7 to 10 is better) and the renewal time to between 4 and 12 hours. Then setup a dhcp monitoring process that will alert you if it fails to get an address or renewal. Make sure you have more addresses available than you ever expect to give out. I go with 50% more. I've known some admins that want at least double. Like what to do in the future incase this happens again. Setup 2 dhcp servers on the network. If one fails, the other will hopefully continue to serve addresses. Monitor this one as well. I Would like to find out what had happened. Start reading logs. The last thing that i had done to the server was setup, configure and install 'ntop'; dont know if this would cause a problem. Thank you in advance. Stephan Weaver P.S. Please reply to my Directly at @ [EMAIL PROTECTED] -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ 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: easy VPN config HOWTO?
You may want to take a look at 'mpd' ... I found it very easy to set up, works fine with Windows clients, and I documented it here: http://www.bsdpronto.com/tutorials/22/ Hope that helps... David - Original Message - From: darren david [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Sunday, February 06, 2005 2:39 PM Subject: easy VPN config HOWTO? Hi all- I have been searching high and low for a straightforward VPN configuration HOWTO with no luck. everything i've found is way over my head and very convoluted (to me, at least). Perhaps such is the nature of VPN. My goal is simply to allow users running Windows to VPN in to my home server and gain access to the private LAN. Sure, i can get in via ssh, but i have several less technical users who need to access to shared resources and for them, ssh is not a realistic solution. I've heard that OpenVPN is a bit simpler to set up, but it too is a complicated matter. All of the examples i've seen/googled involve unix-unix machines. I'm tracking 5.3-STABLE with pf controlling traffic. Can anyone point me in a good direction? Thanks in advance, darren david ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 200gb hard drive?
Omer, this is because a percentage of your disk space is reserved automatically by FreeBSD. I believe that it automatically reserves 8% of your disk space. You can adjust this by using 'tunefs'. Try 'man tunefs' to find out how to use tunefs. David van Geyn - Original Message - From: Omer Faruk Sen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 20, 2003 3:23 PM Subject: 200gb hard drive? Hi I have installed a new hard drive to my FreeBSD system. Hard drive is 200gb but when I fdisk and disklabel the output of df -h is something like that: /dev/ad1s1e 183G 2.0K 169G 0%/disk2 Here as you can see I can only use 169GB of it. Bios has seen my harddrive as 190GB also dmesg output is like that: ad1: 190782MB WDC WD2000JB-00DUA3 [387621/16/63] at ata0-slave UDMA100 My question is what happened to 190-169 gb or maybe after some filesystem information reservation what happened to 183-169 gb? By the way I have used default newfs parameters -b 16384 -f 2048. I don't know if that helps... REGARDS... ___ [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]