Replacing a failing HD
So, clearly dd'ing the drive to another drive won't work. How can I replicate the boot block and partition table from my existing drive onto a new one in freebsd? In solaris, I'd use prtvtoc | fmthard, then dd... Thanks :) -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing a failing HD
I have used dd to image a drive many times before in freebsd. It works like a champion and will boot up just fine. I may have misunderstood your mail but if not then it will work. Well, maybe my weird over ssh calling a setuid program that calls a script dd was flawed somehow. I'll do it again with both drives in the same machine. Thanks for the response! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: let me just throw this out there..
On 1/25/2005 8:46 PM, SigmaX wrote: Used to happent o me all the time w/ Windows 2000. That's the reason I switched to FreeBSD ;-) (e pluribus unim). Cheerio, SigmaX And windows is normally more tolerant of flaky hardware/power. Heh. :) -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IP Block
Lady Amalara wrote: My Question is...how can I block my IP address so others won't see it??? ___ The only way is to stop using 205.206.1.11 to connect to anything. Really, you can't hide.. else nothing will work. The only way is to not use the Internet. i.e. you don't want to. -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection via proxy
Mervin McDougall wrote: Ummm what do you suggest that I do to get it connected to the proxy server? Well obviously you'll need an IP address first. Remember the ifconfig you pasted? The netstat -rn? You have no IP address assigned to an interface. Try reading http://www.onlamp.com/pub/a/bsd/2004/05/13/FreeBSD_Basics.html and then the handbook. -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TCPDUMP performance
James Kilton wrote: Hello, We've installed some FreeBSD machines as Gigabit sniffers, and I'm wondering if there are any things I can tweak (e.g., buffer size) to help TCPDUMP capture better (we often see packets dropped by the kernel). Any advice would be appreciated. This: sysctl debug.bpf_bufsize=8388608 sysctl debug.bpf_maxbufsize=8388608 As a general rule, you need a decent Pentium 4 to capture 20K packets/sec without drops. -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail, simple mail list problem
Alan Curtis wrote: 553 You are not authorized to send mail as [EMAIL PROTECTED] 501 5.6.0 Data format error So [EMAIL PROTECTED] and [EMAIL PROTECTED] can send mail to the list but not [EMAIL PROTECTED]. Any suggestions on how to fix this? Sounds like your ISP published SPF records, and sites that do SPF checking are blocking. This shouldn't happen if you're sending all mail through your ISP's mail server... unless you're ..well I don't know. Not enough info. Use real domain names in your questions. This isn't a freebsd question, though. -Charlie. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: resolv.conf - hosts
Brian Henning wrote: Greetings All: Is it possible to add a line above that name server entries in the resolv.conf file that will tell the system to check the hosts file for a resolution before querying the dns server(s)? Thanks, Depending on your version of freebsd, nsswitch.conf will have: hosts: files dns If you don't have /etc/nsswitch.conf ...I don't know how it was done before that was introduced/brought back. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: malloc in 5.3
UPDATING does mention libmap.conf... adding the suggested values was required once I got gaim rebuilt. So *shrug* nevermind I guess :) -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
malloc in 5.3
So... lots of things are crashing since updating to 5.3, and a google search revealed something about malloc() debugging options. UPDATING mentions no such thing. :( The 5.3 release notes mention it, however. Crashing apps: fluxbox: recompiled boxtools and fluxbox. Worked. gaim: tried to recompile. got an ld error... when it was trying to link to something to do with gtkspell. Tried to update those libs.. got error. Updating all gnome libs now. er, s/updating/recompiling in most cases, since I was already at the current version. Is everyone else seeing lots of X apps crash? google said people were having trouble with firefox, but that was OK for me. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Maximum uptime 497 days?
Rob wrote: Hi, By accident I happen to come across this remarkable limit of uptime registration for FreeBSD systems. After 497 days, the timer jumps to zero again. Not here.. 8:00AM up 1074 days, 11:58, 0 users, load averages: 0.57, 0.26, 0.10 That's on 2.1.0-RELEASE, BTW :) -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and Grub
On my laptop, I have one hard drive. Slice 4 holds my FreeBSD partition. I used the defaults during the install of 5.2, so /boot lives on slice 4, part a. I have Grub configured as such: root(hd0,3,a) kernel /boot/loader Upon boot attempt, I see: Filesystem type unknown, partition type 0xa5 Error 17: Cannot mount selected partition. Any ideas? Thanks :) Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Grub
Charlie Schluting wrote: root(hd0,3,a) kernel /boot/loader Upon boot attempt, I see: Filesystem type unknown, partition type 0xa5 Error 17: Cannot mount selected partition. OOPS! Ignore that question... I see someone was asking the same thing :) Someone replied: And it will load the MBR from the BSD partition, which will load the loader, which will load the kernel (the best way, really). I'll try to install the MBR in the FreeBSD partition and use 'chainloader'. Thanks! -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Grub
Joe Lewis wrote: Try : root (hd0,3) chainloader +1 This causes the grub program to load the first sector of the BSD partition, which is a subMBR and handles loading the OS. Joe I'm posting this to the list, because I couldn't find it documented anywhere. I was looking around about how to install the fbsd boot manager to the boot sector of this partition, but it seems it is done by default. Removing 'kernel /boot/loader' and adding 'chainloader +1' (instead of keeping both, like some docs suggest) worked perfectly. Thanks Joe! Charlie Schluting wrote: root(hd0,3,a) kernel /boot/loader Upon boot attempt, I see: Filesystem type unknown, partition type 0xa5 Error 17: Cannot mount selected partition. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vhost
Mr Kitt wrote: To whom it may concern, pls provide me the cmds as well... u may give me an example so that i can learn faster n understand better... Nobody is going to give you commands for basic things. It would just take too long. Read the manual. It sounds like you're wanting to set up apache. It wasn't clear from your request. Ok, read the Apache documentation. Don't ask the same question more than once. Please wrap your lines at 72 chars. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.2 upgrade failed..
I'm a moron. I didn't follow the directions. I did: make buildworld; make buildkernel; make installkernel; make installworld. Note: there was no booting into single user mode :( The installworld failed 1/2 was through.. I rebooted into single user mode, tried to re-run installworld. It failed. I booted up, rm'd /usr/src, and now buildworld fails. I'm assuming its because I have part 5.1 binaries, and part 5.2 binaries. Any ideas? Is it possible to run the CD install, and tell it to only install the base system? Suprisingly, everything is working except mountd segfaults, and my soundcard doesn't work :) -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: calcru negative-time messages 4.X vs 5.X
Please help if you can. I am not the only one with this problem, I wonder if others have given up and gone back to versions 4.X... Thank you all, Roy I wish there was a solution to this.. I've search for many moons. My problem is that I can't upgrade my firewall, because I have bad RAM. Make buildworld always fails in different places :( 10:41PM up 193 days, 1:16, 5 users, load averages: 0.00, 0.00, 0.00 Not shabby for bad memory, huh? Once this box crashes, I may pull a stick or two and try a buildworld with fewer modules installed... but I think I'm stuck with 5.0 until then. Of course, if you find a solution, please let me/us know! -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS access on private (RFC 1918) network
Kenneth W Cochran wrote: Hello: I get messages like the following in my syslog all the time: Jan 20 09:00:40 kern.info localhost /kernel: Connection attempt to UDP 192.168.0.1:1990 from 192.168.0.1:53 Jan 20 09:02:48 kern.info localhost /kernel: Connection attempt to UDP 192.168.0.1:2052 from 192.168.0.1:53 WOW! Someone else with this problem! Its doing this because you're logging connection attempts to ports that aren't listening. I don't know why the attempts happens. I get hundreds of these a day: Connection attempt to UDP 127.0.0.1:50675 from 127.0.0.1:53 Connection attempt to UDP 127.0.0.1:54731 from 127.0.0.1:53 Connection attempt to UDP 127.0.0.1:54730 from 127.0.0.1:53 Connection attempt to UDP 127.0.0.1:54807 from 127.0.0.1:53 Strangely enough, mine are all to - from locahost. Possibly because this box has a real address? net.inet.udp.log_in_vain: 1 Whomever solves this one is my hero for life ;) I think its a feature. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS access on private (RFC 1918) network
Gautam Gopalakrishnan wrote: udp:53 is DNS. Maybe your apps are looking a named on your machine... Just my newbie guess. Gautam Actually, its named looking to connect to a port that is no longer listening for it to respond there... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
saslauthd not working?
Hi, Trying to configure sasl with postfix.. and I keep getting Login Failed Here's what I have: telnet localhost 25: AUTH PLAIN Y2hhcm... 535 Error: authentication failed The maillog simply shows: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed /etc/rc.conf: sasl_saslauthd_enable=YES sasl_saslauthd_flags=-a getpwent /usr/local/lib/sasl2/smtpd.conf pwcheck_method: saslauthd mech_list: plain login I'm not using pam for anything else, so I figured that this method had the best chance of working :) Postfix is NOT chrooted, and postfix is in group mail. Postfix config: smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = broken_sasl_auth_clients = yes Here's the perms on saslauthd: drwxrwx--- 2 cyrus mail 512 Sep 23 17:27 saslauthd/ Am I missing anything? I tried adding -d to saslauthd_flags in rc.conf. When I started saslauthd, it just hung there, like I expected, only, I didn't get any output when I tried to login to postfix. help would be greatly appreciated. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: saslauthd not working?
On Wed, 24 Sep 2003, Jez Hancock wrote: On Tue, Sep 23, 2003 at 05:32:33PM -0700, Charlie Schluting wrote: Hi, Trying to configure sasl with postfix.. and I keep getting Login Failed Run test utility: ./testsaslauthd -u igor -p secret 0: OK Success. If you get output other then Success, check the auth.* syslog facility. Hopefully this will give you enough information to make adjustements in the startup and/or configuration files. -snip- No idea about postfix I'm afraid - saslauthd works very nicely with Exim though :) -- Jez Unfortunately, I got: 0: OK Success. Thanks much though.. at least I know how to test that part now :) -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bind query logging stops after a logrotate.
FBSD 5.1: Using Bind9.2.2, and I have query logging turned on: logging { channel querylog { file /var/log/query.lo~g; print-time yes; }; category queries { querylog; }; }; After a logrotate, it stops logging completely. The permissions are correct, and all I have to do to make it start logging again is: rndc reload. Anyone heard of this? Any ideas? TIA, -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind query logging stops after a logrotate.
On Mon, 8 Sep 2003, John Ekins wrote: Hello Charlie, On Mon, 8 Sep 2003 12:04 , Charlie Schluting [EMAIL PROTECTED] sent: After a logrotate, it stops logging completely. The permissions are Yes, I meant after a run of newsyslog. You could use the built in log rotation in Bind. Change your log line to, for example: file /var/log/query.log print-time yes; versions 5 size 10m; THANKS! That will do nicely. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: RE: [JunkMail] IPF DHCP request
On Mon, 18 Aug 2003, geek wrote: i read it already, but i have a problem with it # # Allow bootp traffic in from your ISP's DHCP server only. # pass in quick on ed0 proto udp from X.X.X.X/32 to any port = 68 keep state My IP changes every time i reboot the machine, how i can make this works ?! If your IP is changing, then you ARE able to DHCP. In other words, it does works. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing webmin 1.100
On Tue, 19 Aug 2003 [EMAIL PROTECTED] wrote: I tried to install webmin by the instructions and ended up with a no-go on it. Would you be so kind as to walk through, step by step, installing a tar.gz? converted it into a tar easy enough but this is where the instructions break down, I think Thanks If you don't mind webmin 1.100_9, then do this: cd /usr/ports/sysutils/webmin/ make install Otherwise: tar -xzf will extract the tar.gz file for you.. --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp0 only 300Kbits/sec ?
Nothing is mentioned in /var/log/messages. The switch claims the port is running at 100Mbits, full-duplex, as does the output of ifconfig. Suggestions? - Mike Hogsett Does ifconfig show any errors? Does the switch show any errors? That's where I'd start.. --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD tool for network bandwidthmeasure ?
If you have perl installed, 'perl curnet.pl' Or, you can do: chmod 744 curnet.pl and the just run it: ./curnet.pl The output should look like this: Current Bandwidth Utilization: IN: [ 46.10 Kb/sec] OUT: [ 23.95 Kb/sec] --Charlie On Wed, 6 Aug 2003, DanB wrote: How do you run this scriipt? Dan Charlie Schluting wrote: On Mon, Aug 04, 2003 at 10:34:20PM -0700, dt wrote: Is there any standard (or non) FreeBSD tool that is used to measure a current network throughput/bandwidth? And also, what are the requirements to do so, and do I need to be root to run, or do I need to load a special kernel module? A great person in #freebsd gave me a neat little script once.. sorry, I don't remember who it was. I edited it a tiny bit, to attempt Solaris support and to make the results easier to read, but it still doesn't like the solaris netstat. Anyways, it doesn't require any super user access. http://cheshire.cat.pdx.edu/curnet.pl Oh, and while you're there, check this out: (it updates every 30 secs) http://ourmon.cat.pdx.edu/ourmon/ --Charlie ___ [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: POP Before SMTP
http://www.google.com/search?q=pop+before+smtp+sendmail On Fri, 8 Aug 2003, FreeBSD wrote: Does anyone have any URL's for POP Before SMTP setup for sendmail? I'm on Fbsd4.8 with the current Sendmail 8.12.8. I havent used pop and smtp on my server in 4 years now so none of my old information or configurations work anymore. =/ ___ [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]
watch: fatal: cannot open snoop device
ssia, I can't run watch since adding more restrictive firewall rules. I don't see how that would stop watch from working.. I don't have a snp0 device..but I'm running 5.0 so I can't run MAKEDEV. I'm a bit confused about devfs and how it makes devices. In my searches, making the device seems to be the solution most of the time. How do I make the device, or is there something else it could be? Thanks :) --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD tool for network bandwidthmeasure ?
On Mon, Aug 04, 2003 at 10:34:20PM -0700, dt wrote: Is there any standard (or non) FreeBSD tool that is used to measure a current network throughput/bandwidth? And also, what are the requirements to do so, and do I need to be root to run, or do I need to load a special kernel module? A great person in #freebsd gave me a neat little script once.. sorry, I don't remember who it was. I edited it a tiny bit, to attempt Solaris support and to make the results easier to read, but it still doesn't like the solaris netstat. Anyways, it doesn't require any super user access. http://cheshire.cat.pdx.edu/curnet.pl Oh, and while you're there, check this out: (it updates every 30 secs) http://ourmon.cat.pdx.edu/ourmon/ --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD tool for network bandwidthmeasure ?
This is what I get from: systat if 1 /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average | /0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 idle X root idle: cpu0 root idle: cpu1 This is on 5.0. This seems to be the same as running systat by itself. On Wed, 6 Aug 2003, beni brinckman wrote: Here on my 4.8 stable it works without the -, so : systat if 1 and not systat -if 1 HTH. Beni. Kenneth Culver wrote: Is there any standard (or non) FreeBSD tool that is used to measure a current network throughput/bandwidth? And also, what are the requirements to do so, and do I need to be root to run, or do I need to load a special kernel module? Just run systat -if 1 That will tell you what you want to know. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding user and group on redhat.
You sent email to: [EMAIL PROTECTED] On Wed, 6 Aug 2003, Anil Garg wrote: hi, On red hat ..commands 'adduser' and '/stand/sysinstall' doesnt work. Can someone help me by telling how to add user and group in redhat. No. Point and click ... point and click Thanks and Regards Anil. ___ [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: booting in graphical mode in fluxbox
On Mon, 28 Jul 2003, marlon corleone wrote: how do i boot graphically in fluxbox? im booting up fluxbox in startx method, if i want to boot it in graphical mode, should i COMMENT this entry: exec /usr/X11R6/bin/fluxbox in my .xinitrc and put the entry in .xsession, is that all i have to do? Just try it and find out! But yes, you only need to put it in your .xinitrc. I don't even have a .xsession.. so I'm not sure what its for. I've never actually used exec to start a wm, just put: fluxbox in .xinitrc, along with other things I want to start. --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startx wont load anymore as root
On Mon, 28 Jul 2003, marlon corleone wrote: startx wont load anymore running it as root. the problem started when i got a improper shutdown, and when i reboot i saw this error message dmesg /var /usr was not properly dismounted, so what i did, is boot in single user and do a fsck then when i boot the error is gone i can do startx in normal user, but not as ROOT. [EMAIL PROTECTED]:/root startx -bash : start: command not found [EMAIL PROTECTED]:/root anyone help Try: /usr/X11R6/bin/startx But you shouldn't run X as root anyways... You could have also done: which startx as yourself, noted the path, and then ran /usr/X11R6/bin/startx as root. --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I want using FreeBSD, but...
Your comment is insulting, unfair, hostile to encouraging the spread of BSD, and hostile to those who both happen to be Christian and need to use BSD. (note: I am atheist, and would say the same if you had labeled any religion - Muslim, Hindi, Marxism, etc, as stupid. ) Please let this thread die. I never said any religion was stupid. I appologized to the parties involved. For the love of god (heh) die thread die! --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/psm0
On Sun, Jul 27, 2003 at 08:52:39AM -0400, DJ Landreneau wrote: I am running 5.0 that came with FreeBSD Unleashed by Sams. Can you point me into the correct direction for enabling kernel support for psm0? Read the chapter in the handbook about kernel configuration, and take it from there. Kris I am sure the psm device is built in the generic kernel though. Nick Then... your original question was answered.. by yourself. I don't know what you are trying to ask. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw intricacies?
Hi, I have a fbsd box that runs its own firewall.. and tonight I learned my lesson about trying to configure it remotely :) Anyways, I'm trying to find some better documentation. The manpage says nothing about what options it can take in this example: 00903 allow igmp from any to any 00904 allow udp from any to any dst-port 520 I found out that I can allow igmp becuse I just tried it and it worked... and as you can see on the next line, I'm allowing RIP by the port because allow rip doesn't work. I have not been able to find a list of commands that it can take, so I was hoping someone had a link :) #2: I converted to stateful filtering. If anyone sees anything wrong with my config, I'd be grateful for some feedback. Basically, I'm trying to allow anything out of this box, and allow anything in below port 1024, with the few exceptions show below. 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00800 check-state 00900 allow ip from any to any out xmit fxp0 keep-state 00901 allow ip from any to any via fxp0 established 00902 allow pim from any to any 00903 allow igmp from any to any 00904 allow udp from any to any dst-port 520 01001 allow icmp from any to any 01002 allow ip from any to any in dst-port 1-1024 keep-state 01003 allow ip from my.block.0.0/16 to any dst-port 2049 07000 deny tcp from any to any dst-port 6001 08000 deny udp from any to any dst-port 1985 3 deny log ip from any to any whining One weirdness that really drove me crazy was when I tried to keep my allow rule in place like this: [ normal rules go here, without the 3 deny ] 6 allow log ip from any to any keep-state My purpose was to log anything that actually hit that rule, and try to figure out what I wasn't covering above (before actually using the 'deny' rule). I put the keep-state on there so I could see what was happening with `ipfw -d show`. BAD idea :) It seems the check-state will skip all other rules and first look for any limit or keep-state rules? Very odd. When I removed the keep-state, it started working as I'd hoped, and rule 6 was never hit. I really don't fully understand what was happening there. IP filter on my home firewall seemed much simpler for some reason. /whining --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I want using FreeBSD, but...
On Fri, 25 Jul 2003, Roger 'Rocky' Vetterberg wrote: Rissland, Thorsten wrote: ...i'm a christian. I hope this helps, freebsd is really a great operating system and I hope you wont let religion or politics stop you from using it. I thought this was a joke the first time I read it.. People are really this stupid? Wow. I guess ...i'm a christian speaks for itself. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem recreating Virtual Hosts settings from Windows to BSD
william nova wrote: I was using Apache 2 on Windows 2003 server. I had 2 virtual hosts running, using no-ip for DNS resolution along with a NO-IP referral entry for each (since my ISP blocks port 80) The virtual hosts config portion of httpd.conf looked like: NameVirtualHost * VirtualHost * DocumentRoot C:\Program Files\Apache Group\Apache2\htdocs\site1 ServerName site1.no-ip.com /VirtualHost VirtualHost * DocumentRoot C:\Program Files\Apache Group\Apache2\htdocs\site2 ServerName site2no-ip.com /VirtualHost Very simple. And it worked. Now I'm using Apache 1.3.27_4 on FreeBSD 4.8 I am trying to recreate the same exact configuration on my new box. It just won't work, even though the config is identical, barring the path to the files. NameVirtualHost * VirtualHost * DocumentRoot /usr/local/www/data/site1 ServerName site1.no-ip.com /VirtualHost VirtualHost * DocumentRoot /usr/local/www/data/site2 ServerName site2.no-ip.com /VirtualHost This looks fine to me. Exactly what mine looks like.. only a few more domains. Take a look at the httpd* logs in /var/log as you try to navigate to the pages. Make sure the permissions are correct. Make sure that you aren't getting any warnings when you start httpd. Sorry, that's probably not very helpful ;) --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error in buildworld.
michael Corleone wrote: hi i received this error when im about to do a buildworld after upgrading my src and ports collection. im running 4.8-RELEASE, heres the logs of the errors: i hope anyone can explain what and where is the the line that causes the error, thanks all. === bin/ln === bin/ls cc -O -pipe -DCOLORLS -Wall -Wformat -static -o ls cmp.o ls.o print.o util.o -lm -ltermcap /usr/obj/usr/src/i386/usr/lib/libtermcap.a: could not read symbols: Malformed archive The line that you pasted is the one causing the error. With the limited information you provided, I would say that you need to either run make cleandir (two times) in /usr/src and delete /usr/src/obj, or to be safe, cd /usr/src mrm -rf * After that, you'll have to run cvsup again, then attempt the make buildworld again. If that doesn't work, please include the following info: Hardware, the lines in your cvsup file that say tag= --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE VNC server crashes
Rik Scarborough wrote: I'm having a problem with KDE's VNC server under FreeBSD. I can connect to one machine that is running KDE and set to allow uninvited guests, but when I disconnect from that machine the VNC server (krfb) crashes with the following message. The Application unknown (krfb) crashed and caused the signal 11 (SIGSEGV). My guesses: 1. Bad memory? 2. VNC sucks. Try tightVNC, I've had the best luck with that. Sometimes on some computers I have to muck with the compression setting.. but for the most part it works well. Come to think of it, VNC doesn't really suck, but its pretty hard on bad hardware ;) (I seem to remember the NIC on that box was found to be flakey). --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Make buildworld fails (many times)
Ok, I must be doing something wrong. This is my firewall box (5.0) and it has the calcru negative time of blah for pid blah issue. So, I decided to rebuild the world. Here's what I did: rm -rf /usr/src/* cvsup'd with this: *default release=cvs tag=RELENG_5_0 src-all The first time, I did make -j4 buildworld, and it failed on something similar to this: cc1 in free(): warning: junk pointer, too high to make sense /usr/src/crypto/openssl/crypto/conf/conf_mod.c: In function `module_init': /usr/src/crypto/openssl/crypto/conf/conf_mod.c:414: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. This was actually the most recent error, produced after I cvsup'd tag=. The 2nd try, I did it with tag=RELENG_5_1, and I got a similar error; this time it was talking about something to do with kerberos (its always failing in the crypto stuff). I never did the -j4 after the first time because I thought maybe it was messing up (at times I saw a 7 load avg). Any Ideas? I stopped relying on make cleandir, and I just delete the src directory before cvsup-ing. Maybe its a gcc thing? su-2.05b# gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) Other info: AMD K6-2 450MHz, 192MB. Current install: 5.0-RELEASE-p7 TIA, Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld fails (many times)
On Sun, 22 Jun 2003, Kris Kennaway wrote: On Sun, Jun 22, 2003 at 02:15:46PM -0700, Charlie Schluting wrote: Other info: AMD K6-2 450MHz, 192MB. Current install: 5.0-RELEASE-p7 This is likely to be a hardware issue. AMD k6's are very sensitive to temperature and require lots of CPU cooling. Or maybe you have bad RAM or other failing hardware. Kris Well, I tried to run make again, and it stopped in another place. Unfortunately, it wasn't a signal 11: cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DHAVE_CONFIG_H=1 -DSTDC_HEADERS=1 -DHAVE_TEMPNAM=1 -DNO_EOF_CHAR_CHECK=1 -DRETSIGTYPE=void -DSkip_f2c_Undefs=1 -DIEEE_drem=1 -DAllow_TYQUAD -DPedantic -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libF77 -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libI77 -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libU77 -I/usr/src/gnu/lib/libg2c -c -DLperror -o perror.So /usr/src/gnu/lib/libg2c/../../../contrib/libf2c/f2cext.c *** Signal 10 Stop in /usr/src/gnu/lib/libg2c. *** Error code 1 Does this still sound like hardware issues? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld fails (many times)
Kent Stewart wrote: It doesn't matter. My rule is that if you are the only one with problems, it is your computer that has the problem. There haven't been a number of complaints of buildworld failures in -current, which is where they would be if 5.x was failing. In the past, IIRC, many of the K6 450 users had to underclock them to get them stable. Kent Thanks for the help. I also found some info in the Sig11 doc about having to run these POS procs @ 400MHz (still more than enough for my NAT router / firewall). Oh well, that will have to wait for another weekend :) --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lost Passwd (was: )
On Sat, 21 Jun 2003, Paige King wrote: forgot my login and password. what do I do to bypass the login. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Are you using an OpenBoot PROM? My response is about as vague as your question was, huh? Try asking the person who owns the root account to reset your password. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW NATD access www server by name from the LAN side ?
FreeBSD 4.7 firewall with 3 nics. Public, DMZ, and LAN. DNS,Bind is not running here. www Public address is redirected to it's DMZ address. The www server in the DMZ can be accessed by name from the Internet but only by it's private DMZ IP address from the LAN side. Attempt to access it by name from the LAN results in a 'page not found'. When attempting to access the www by name from the LAN side tcpdump shows traffic getting to the firewall but not redirected out DMZ nic. So it's the firewall answering with the 'page not found'. Well, actually your web browser is saying that... because it can't find the page. How can I redirect traffic to the WWW server from the LAN side ? Thanks, Jay. This is in the howto I followed (but I don't remember how)... there's about 5 good ones that can be found via google. Basically, you need to add a rdr rule to natd, if I remember correctly. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help :) Kernel compile fails.
I was wondering if anyone could help: I'm using 5.0, and I just updated src-base and src-all with cvs. The make command fails when it starts linking everything together.. and it stopped in the same place before I did a make buildworld. Whether I delete the src tree and start over, or I just try and recompile, it fails. Here's the errors, and below that is my kernel config: Any help would be VERY much appreciated :) (I noticed some mention of mutexes in the below errors... so I think I'm going to enable spinlock and deadlock detection in the kernel, and try another compile while I wait for a response... just a hunch, it probably won't work) linking kernel init_main.o: In function `proc0_init': init_main.o(.text+0x2b9): undefined reference to `kse0_sched' init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched' init_main.o(.text+0x2cd): undefined reference to `proc0_sched' init_main.o(.text+0x2d7): undefined reference to `thread0_sched' kern_clock.o: In function `statclock': kern_clock.o(.text+0x584): undefined reference to `sched_clock' kern_condvar.o: In function `cv_wait': kern_condvar.o(.text+0x145): undefined reference to `sched_sleep' kern_condvar.o: In function `cv_wait_sig': kern_condvar.o(.text+0x354): undefined reference to `sched_sleep' kern_condvar.o: In function `cv_timedwait': kern_condvar.o(.text+0x5f4): undefined reference to `sched_sleep' kern_condvar.o: In function `cv_timedwait_sig': kern_condvar.o(.text+0x8a4): undefined reference to `sched_sleep' kern_exit.o: In function `wait1': kern_exit.o(.text+0x104a): undefined reference to `sched_exit' kern_fork.o: In function `fork1': kern_fork.o(.text+0xb65): undefined reference to `sched_fork' kern_idle.o: In function `idle_proc': kern_idle.o(.text+0xa9): undefined reference to `sched_runnable' kern_mutex.o: In function `propagate_priority': kern_mutex.o(.text+0x7a): undefined reference to `sched_prio' kern_proc.o: In function `procinit': kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc' kern_proc.o: In function `fill_kinfo_proc': kern_proc.o(.text+0x116b): undefined reference to `sched_pctcpu' kern_resource.o: In function `donice': kern_resource.o(.text+0x7e8): undefined reference to `sched_nice' kern_subr.o: In function `uio_yield': kern_subr.o(.text+0x4ac): undefined reference to `sched_prio' kern_switch.o: In function `choosethread': kern_switch.o(.text+0x9): undefined reference to `sched_choose' kern_switch.o: In function `kse_reassign': kern_switch.o(.text+0xea): undefined reference to `sched_add' kern_switch.o: In function `adjustrunqueue': kern_switch.o(.text+0x168): undefined reference to `sched_rem' kern_switch.o(.text+0x170): undefined reference to `sched_add' kern_switch.o(.text+0x19e): undefined reference to `sched_rem' kern_switch.o: In function `setrunqueue': kern_switch.o(.text+0x293): undefined reference to `sched_rem' kern_switch.o(.text+0x34d): undefined reference to `sched_add' kern_synch.o: In function `msleep': kern_synch.o(.text+0x351): undefined reference to `sched_sleep' kern_synch.o: In function `mi_switch': kern_synch.o(.text+0xa22): undefined reference to `sched_switchout' kern_synch.o(.text+0xa3d): undefined reference to `sched_switchin' kern_synch.o: In function `setrunnable': kern_synch.o(.text+0xb3b): undefined reference to `sched_wakeup' kern_synch.o: In function `yield': kern_synch.o(.text+0xd4a): undefined reference to `sched_prio' kern_thread.o: In function `threadinit': kern_thread.o(.text+0x1107): undefined reference to `sched_sizeof_thread' kern_thread.o(.text+0x1151): undefined reference to `sched_sizeof_ksegrp' kern_thread.o(.text+0x119b): undefined reference to `sched_sizeof_kse' subr_trap.o: In function `userret': subr_trap.o(.text+0x18): undefined reference to `sched_userret' subr_trap.o: In function `ast': subr_trap.o(.text+0x451): undefined reference to `sched_prio' ksched.o: In function `ksched_attach': ksched.o(.text+0x2e): undefined reference to `sched_rr_interval' ksched.o: In function `ksched_setscheduler': ksched.o(.text+0x2b3): undefined reference to `sched_prio' ksched.o(.text+0x363): undefined reference to `sched_prio' vm_zeroidle.o: In function `vm_pagezero': vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable' vm_pageout.o: In function `vm_pageout_scan': vm_pageout.o(.text+0x164c): undefined reference to `sched_nice' kbd.o: In function `kbd_register': kbd.o(.text+0x350): undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x356): undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x384): undefined reference to `__stop_set_kbddriver_set' kbd.o: In function `kbd_get_switch': kbd.o(.text+0x47a): undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x480): undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x4b5): undefined reference to `__stop_set_kbddriver_set' kbd.o: In function `kbd_configure': kbd.o(.text+0x763): undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x769): undefined reference
Re: Help :) Kernel compile fails.
Ah, sorry about that. In my cvsup file I said: src-all release=cvs for the sources, because it wouldn't take anything else. I tried saying current and release, but to no avail. Maybe I should be trying release, but I can't seeme to get the release src.. On Sun, 23 Mar 2003, taxman wrote: On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote: I was wondering if anyone could help: I'm using 5.0, and I just updated src-base and src-all with cvs. To what? If you're going to -current you need the read the appropriate documentation. If you're refering to 5.0 Release, similiar questions get asked a lot so see: http://mired.org:8080/5.0-not-production.html You've missed a few items noted there. Goo luck, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Help :) Kernel compile fails.
Thank you everyone :) I started reading about how the tags work just before you sent that email taxman :) So, now I understand. Thanks again. -Charlie On Sun, 23 Mar 2003, taxman wrote: On Sunday 23 March 2003 02:31 pm, Charlie Schluting wrote: Ah, sorry about that. In my cvsup file I said: src-all release=cvs for the sources, because it wouldn't take anything else. I tried saying current and release, but to no avail. Maybe I should be trying release, but I can't seeme to get the release src.. ahh then your question is really about cvs tags and cvsup. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html and the other pages noted in the link i sent you It seems you have the skills to run -current or whatever, but you need to read more documentation to see how it all works. Skim the *whole* handbook table of contents and familiarize yourself with all the links on the FreeBSD hompage. You'll find an amazing amount of stuff for what you're trying to do. You'll get a lot more help if you read the available docs first. Tim On Sun, 23 Mar 2003, taxman wrote: On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote: I was wondering if anyone could help: I'm using 5.0, and I just updated src-base and src-all with cvs. To what? If you're going to -current you need the read the appropriate documentation. If you're refering to 5.0 Release, similiar questions get asked a lot so see: http://mired.org:8080/5.0-not-production.html You've missed a few items noted there. Goo luck, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message