Re: preventing 'watchdog timeout'
What I do is hit Ctrl-C. This is probably not the best way but it works... -Stephen If I boot FreeBSD 5.1-RELEASE with no cable attached to the NIC, I get a slew of dc0: watchdog timeout errors. Sometimes, I want to boot and run the system without being physically connected to the network. Is there any way to get rid of the timeout errors short of disabling networking all together? C. Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to tell if my ISP is blocking email web ports
Hi, From Adelphia's terms of service: You may not operate a server of any type using the Adelphia Broadband Service. Here is the link if you want to check it out: http://www.adelphia.com/esafety/Inter_Acc_Serv_Agmnt_08_27_03.pdf I use adelphia as well, last time I port scanned myself from the outside I got hit on ports 80, 25 etc. Though I do suspect Adelphia of setting up drone machines scanning for at least web (80)...maybe others. I get hit twice (within milliseconds) in a row at least every couple of hours to port 80 from addresses in Adelphia's range. The addresses change every about every two weeks, but the rate remains constant. I've tried everything to get a response from them...to no avail. Well, to get to the point, I wouldn't run any servers on their standard ports. Dyndns has something called the port redirect wizard (http://www.dyndns.org/services/mywebhop/) where you run a server on a non-standard port and the client doesn't need to know about it. -- Stephen L. Martin fbsd_user said: I am thinking about enabling my gateway's sendmail email server to receive email directly from the public internet and also installing apache to serve my own home page. I have 24/7 cable internet connection plus an registered domain name which goes no place right now. I know I can not ask my ISP's tech support if they block ports 110, 25, and 80, because they will get suspicious and monitor my account. Want to stay under their radar. So I need a way to test if the ports are blocked or not using an friends PC and my current IP address. What do you recommend? ___ [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: Is there a HOW-TO for a network install of FreeBSD?
Hello, Here are some slides to a talk a went to a while ago. http://www.chuug.org/talks/20030722/netboot.pdf -Stephen Hi- I have a server that currently has Redhat 7.3 on it, and I want to wipe the box and do a fresh install of FreeBSD 4.9. The only problem is that the box is at a colo and only has a floppy drive. But I have root access to it over the network. Is there a way for me to install a new FreeBSD OS over the network (remotely)? Can anyone assist? Thanks. _ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: forwarding with ttl=1
Alex, When posting please wrap your lines...they are easier to read and some MUA's don't deal well with them...including mine :) Thanks. This situation is kind of funny, I've never heard of an ISP doing this. I belive what you want to do is, if you are using IpFilter, use the fastroute keyword. You can find more about it at the link[1] posted below. Just do a search on the page for fastroute. There are probably options for the alternate packet filters (ipfw, pf) also. Just read the howto corresponding to the packet filters name and you should find out some more information. [1]http://www.obfuscation.org/ipf/ipf-howto.txt --Stephen Hi All I am newbie with configuring networks under FreeBSD . I have small network with gateway running on FreeBSD 5.2 Release .My ISP offers me pppoe service for connecting to Internet . I didn't have problems with configuring ppp with pppoe . I used nat option wchich works fine for masquerading the local network from the world . The problem is that the ISP's gateway returns every time packets with ttl=1 which makes further forwarding impossible . My gateway returns icmp error mesage time exceeded and discards packets . I want to know if I made some mistake with configuring nat service or if not what is the solution of the problem ? Is there any service that can increment ttl and process the packet ? I tried to avoid the checking of ttl in the ip_forward() function in ip_input.c and skipping the decrement of ttl and everything works fine but i think that this is very ugly kernel hack . Probably there is an easy and elegant solution . Any ideas ? please excuse my English ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tripwire Policy File
Hello, I'm trying to build a solid tripwire policy file. So far I have only found one resource to use: http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html Though this seems to be a good one it is written for 4.6. I'm not sure if this is a problem or not. So my questions are: How much changed (file structurally) in 4.8, is this 4.6 o.k. to use? Also if anyone else knows of any other resources to help me build this that would be great. -Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
500Mhz reported as 133Mhz w\ dmesg
Hello, I have a IBM ThinkPad 600X. 500Mhz Pentium III, 128MB RAM. Machine type is 2645-4EU http://www-3.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2645-4EUquickPathEntry.x=5quickPathEntry.y=7 When I do a dmesg it reports: CPU: Intel Pentium III (135.87-MHz 686-class CPU) Origin = GenuineIntel Id = 0x681 Stepping = 1 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP, MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE I have tried recompiling the kernel with only I686 to no avail. Thanks, Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCMCIA NIC
William, You can put pccardd_enable=YES in /etc/rc.conf. Or you can start it manually by typing pccardd -f /etc/defaults/pccard.conf SLM I have FreeBSD installed on a laptop, but I am having trouble with setting up networking. ifconfig does not show the PCMCIA NIC (3Com 10/100, pretty standard and works under Linux, so I expect it's supported), and after some looking I think that I have the necessary kernel parameters built, but I'm definitely missing something. -- yours, William ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Will my friend's computer work with FreeBSD?
On Fri, Jan 14, 2005 at 09:43:35PM -0600, Chris wrote: Hi, The computer of my friend has the following specs: Motherboard: Asus A7V8x-x, chipset VIA-KT400, with onboard sound, LAN, ATA133, USB Graphics card: Nvidia GeForce4 MX440SE with TV-out Modem: acorp-56K Printer: OKI okipage 6w Scanner: mustec1200CP So, what is supported and what is not supported by FreeBSD in his case? Thank you I have an A7V880 and everything works fine, except the sound (even the SATA RAID). There was a thread a while back on hackers on getting it to work. I haven't tried it, because I don't need sound, but here's the thread if you want to give it a shot: http://lists.freebsd.org/pipermail/freebsd-hackers/2004-December/009639.html I also have the MX440 SE running in dual head configuration and it works fine. -Stephen -- Gentlemen, you can't fight in here! This is the war room. - Merkin Muffley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to get an audio representation of packet flow?
You could do this with a small Perl script: tcpdump -nl icmp | perl -e '$|;while(){print \a;}' This will give you a beep on your PC speaker every time it sees an ICMP packet. Hope this helps. -Stephen On Tue, Jan 25, 2005 at 04:04:05AM -0500, Doug Lee wrote: Ok, this may be odd to many, but here's what I want: I like tcpdump's powerful ways of selecting and analyzing specific portions of packet traffic, but I want a real-time way to represent the results. I am blind, so graphs don't help. grin Usually all I want to know is the pattern of packet match frequency vs. time, so a little click for each matching packet would translate nicely into what I'm looking for. My normal tactic involves directing output from tcpdump to /dev/audio or even /dev/pcaudio: tcpdump -l -n [... rules for traffic ...] /dev/audio is the first trick I tried. Problem: It causes me to get kernel errors like runt packet and such, presumably because it adds too mmuch overhead to packet processing somehow. (This is a P166; maybe that problem wouldn't exist on faster hardware?) My next trick was like tcpdump -s 1 -w /dev/audio [... rules for traffic ...] No errors this time, but the output of -w is buffered regardless of -l (which normally makes a lot of sense, of course), so it wasn't very real-time. I currently run FreeBSD 4.10-STABLE, but I'd be interested in any solutions requiring 5.x features as well, for future planning. Please Cc me if you have any ideas. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- the number of UNIX installations has grown to 10, with more expected - Dennis Ritchie and Ken Thompson, June 1972 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to get an audio representation of packet flow?
D'oh...should be: tcpdump -nl icmp |perl -e '$|=1;while(){print \a;}' -Stephen On Tue, Jan 25, 2005 at 02:43:36PM -0500, Stephen L. Martin wrote: You could do this with a small Perl script: tcpdump -nl icmp | perl -e '$|;while(){print \a;}' This will give you a beep on your PC speaker every time it sees an ICMP packet. Hope this helps. -Stephen On Tue, Jan 25, 2005 at 04:04:05AM -0500, Doug Lee wrote: Ok, this may be odd to many, but here's what I want: I like tcpdump's powerful ways of selecting and analyzing specific portions of packet traffic, but I want a real-time way to represent the results. I am blind, so graphs don't help. grin Usually all I want to know is the pattern of packet match frequency vs. time, so a little click for each matching packet would translate nicely into what I'm looking for. My normal tactic involves directing output from tcpdump to /dev/audio or even /dev/pcaudio: tcpdump -l -n [... rules for traffic ...] /dev/audio is the first trick I tried. Problem: It causes me to get kernel errors like runt packet and such, presumably because it adds too mmuch overhead to packet processing somehow. (This is a P166; maybe that problem wouldn't exist on faster hardware?) My next trick was like tcpdump -s 1 -w /dev/audio [... rules for traffic ...] No errors this time, but the output of -w is buffered regardless of -l (which normally makes a lot of sense, of course), so it wasn't very real-time. I currently run FreeBSD 4.10-STABLE, but I'd be interested in any solutions requiring 5.x features as well, for future planning. Please Cc me if you have any ideas. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- the number of UNIX installations has grown to 10, with more expected - Dennis Ritchie and Ken Thompson, June 1972 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- the number of UNIX installations has grown to 10, with more expected - Dennis Ritchie and Ken Thompson, June 1972 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to get an audio representation of packet flow?
On Tue, Jan 25, 2005 at 08:09:41PM +, markzero wrote: D'oh...should be: tcpdump -nl icmp |perl -e '$|=1;while(){print \a;}' -Stephen Great stuff. I can see some exciting things emerging upon piping this into pure data! http://www-crca.ucsd.edu/~msp/software.html Perhaps it's time to dig out my soundcard and put it in my desktop machine. Cheers, Mark You actually don't even need a sound card...it should just play on the PC speaker that's plugged into the motherboard -Stephen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: problem with 2 nics in same box
Hi Scott, I am using Snort and a few other tools to decide which I'd like best. Here's the thing about Lowell's comment on Bridging. Is this necessary in this case? It certainly isn't necessary...it is an option. I don't want the interface without an IP to EVER transmit outbound. A firewall could accomplish this... snip (specifying it as such in /etc/rc.conf as ifconfig_xl1=up) Have you tried to specify ifconfig xl1 up on the command line?...I'm not sure that ifconfig_xl1=up is a legal statement in rc.conf(could be wrong). Once you get it working, (to avoid unnecessary variables) you might want to do ifconfig xl1 -arp to disable arp on that interface if it's just going to sit in promiscuous mode. For some reason, this is just not working for me at all. I've tried to configure via rc.conf and this fails to work. I've also tried assigning an RFC 1918 address to the interface I want sniffing as this traffic should not be routable, but it doesn't seem to work. This could be because your xl0 interface is already assigned a 192.168.x.x address. I don't think FreeBSD can have two interfaces on the same subnet. You could have to interfaces of different subnets (eg. 192.168.0.0/24 and 192.168.1.0/24) -Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nvidia driver install-unable to read seeprom
Hello, I am trying to install the nvidia-driver (1.0.6113_2) on 5.3-RELEASE. The installation fails and locks the computer, what looks like, right at the end. This is what happens: Install -o root -g wheel -m 555 nvidia.ko /boot/modules kldxref /boot/modules === lib === lib/GL === lib/libnvidia-tls === lib/libGLcore === lib/libXvMCNVIDIA === lib/compat === lib/compat/libGL === lib/compat/libnvidia-tls === lib/compat/libGLcore === x11 === x11/driver === x11/extension === etc === doc ahd1: Adaptec 39320 Ultra320 SCSI adapter mem 0-0x1fff at device 10.1 on pci0 Unable to read SEEPROM At this point the whole machine is locked...can't even ping it...and this happens every time I try the install. Everything else runs fine...only this install is causing problems. Here's some relevant dmesg output: da0 at ahd0 bus 0 target 0 lun 0 da0: MAXTOR ATLAS10K4_36SCA DFL0 Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) ahd0: Adaptec 39320 Ultra320 SCSI adapter port 0xed00-0xedff,0xe000-0xe0ff mem 0xfe40-0xfe401fff irq 16 at device 10.0 on pci0 ahd0: [GIANT-LOCKED] ahd1: Adaptec 39320 Ultra320 SCSI adapter at device 10.1 on pci0 device_attach: ahd1 attach returned 12 da0 at ahd0 bus 0 target 0 lun 0 And it's an Asus a7v880 board. The only strange thing I see in here is the attach returned 12. In the handbook it says to try adding hw.pci.allow_unsupported_io_range=1, but it looks like this was taken out in 5.3 Anything else to try?...Any more info needed? Thanks, Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia driver install-unable to read seeprom
On Thu, Nov 18, 2004 at 11:33:10PM -0500, Louis LeBlanc wrote: On 11/18/04 10:42 PM, Stephen L. Martin sat at the `puter and typed: Hello, I am trying to install the nvidia-driver (1.0.6113_2) on 5.3-RELEASE. The installation fails and locks the computer, what looks like, right at the end. This is what happens: Install -o root -g wheel -m 555 nvidia.ko /boot/modules kldxref /boot/modules === lib === lib/GL === lib/libnvidia-tls === lib/libGLcore === lib/libXvMCNVIDIA === lib/compat === lib/compat/libGL === lib/compat/libnvidia-tls === lib/compat/libGLcore === x11 === x11/driver === x11/extension === etc === doc ahd1: Adaptec 39320 Ultra320 SCSI adapter mem 0-0x1fff at device 10.1 on pci0 Unable to read SEEPROM At this point the whole machine is locked...can't even ping it...and this happens every time I try the install. Everything else runs fine...only this install is causing problems. Here's some relevant dmesg output: da0 at ahd0 bus 0 target 0 lun 0 da0: MAXTOR ATLAS10K4_36SCA DFL0 Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) ahd0: Adaptec 39320 Ultra320 SCSI adapter port 0xed00-0xedff,0xe000-0xe0ff mem 0xfe40-0xfe401fff irq 16 at device 10.0 on pci0 ahd0: [GIANT-LOCKED] ahd1: Adaptec 39320 Ultra320 SCSI adapter at device 10.1 on pci0 device_attach: ahd1 attach returned 12 da0 at ahd0 bus 0 target 0 lun 0 And it's an Asus a7v880 board. The only strange thing I see in here is the attach returned 12. In the handbook it says to try adding hw.pci.allow_unsupported_io_range=1, but it looks like this was taken out in 5.3 Anything else to try?...Any more info needed? Am I missing the video card you have? That would be a fairly important bit of info. :) Also, do you already have Xorg or XFree86 running? What does 'Xorg -configure' say the card is? - run that as root and it will create xorg.conf.new in /root. That will give an idea what the card claims to be. Whoops...so I did...it's a Nvidia MX440-SE Dual Head AGP card. I do have Xorg and KDE both working fine...I need the nvidia driver for the dual monitor support. Also, I've found something else that causes the problem...when I try and do a kldload snd_driver the same symptoms happen (except a new mem address): ahd1: Adaptec 39320 Ultra320 SCSI adapter mem 0-0x1fff at device 10.1 on pci0 Unable to read SEEPROM My first guess is it looks like some resource problem?...since it occurs when I load hardware modules. So I shut down, and removed my pci firewire card and disabled my on-board nic and sound in the bios. Upon reboot I received a message: Kernel trap 12 with interrupts disabled. It is now frozen and I have to do a hard shut down. When I re-add them to the system it boots up fine??? I've rinsed and repeated several times with the same results Per the ahd(4) manual page, I've also compiled in the debugging code, but I haven't seen any debugging info yet Thanks. -Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting IMAPd MAILDIR?
On Sun, Jan 02, 2005 at 03:47:37AM -0800, Leonard Chung wrote: Hi there, I recently upgraded courier-imap using portupgrade, and I've noticed that it no longer uses the proper maildir directory (./Maildir), but rather just the user home directory. This seems to have to do with the change of courier-imap to rc.subr style scripts. It uses a variable called MAILDIRPATH which isn't defined anywhere that I can find: If I delete ${MAILDIRPATH} and replace it with ./Maildir, then everything works fine. However, I imagine there is a better (i.e. recommended) place for me to put this information. This is a machine running 4.10REL. Can somebody tell me where MAILDIRPATH is supposed to be defined within this new rc.subr scheme and also if anybody has any idea why the rc script uses a variable which is undefined? $MAILDIRPATH gets defined with the MAILDIRPATH configuration option in either /usr/local/libexec/imapd or /usr/local/libexec/pop3d; dependent on which protocol you choose to run. Example: MAILDIRPATH=Maildir -Stephen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]