Re: tcp keepalive?
On Sunday 10 August 2003 15:16, Yonatan Bokovza wrote: -Original Message- From: Daniel Nielsen [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 16:04 To: [EMAIL PROTECTED] Subject: tcp keepalive? Hi. I'm behind a NAT (over which I have no control), And it seems to kill idle tcp connections quite fast. Is there anyway to make freeBSD 5.1 send tcp keepalives with smaller intervals? It was possible in linux with sysctl net/ipv4/tcp_keepalive_time=300... In freeBSD I have not been able to locate the equivalent option. Any help is appreciated. net.inet.tcp.keepintvl more info at src/sys/netinet/tcp_timer.c That did the job. Thanks /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tcp keepalive?
Hi. I'm behind a NAT (over which I have no control), And it seems to kill idle tcp connections quite fast. Is there anyway to make freeBSD 5.1 send tcp keepalives with smaller intervals? It was possible in linux with sysctl net/ipv4/tcp_keepalive_time=300... In freeBSD I have not been able to locate the equivalent option. Any help is appreciated. /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer?
On Sunday 10 August 2003 18:32, Derrick Ryalls wrote: Hi (again) I recently bought a brother 5050 laser (postscript level 3). Connected it via usb, configured cups to use it. And it worked like a charm. However, now I discover that It doesnt work unless the printer is powered on (not in standby) when the computer boots. If I power it on afterwards, the printer is detected: zits root # dmesg | grep ulpt ulpt0: Brother HL-5050, rev 2.00/1.00, addr 3, iclass 7/1 ulpt0: using bi-directional mode zits root # And when I turn off the printer also: zits root # dmesg | grep ulpt snip ulpt0: at uhub0 port 2 (addr 3) disconnected ulpt0: detached zits root # But when I try to print, the job shows up on the cups webpage as processing. And nothing happens! I get a process: zits root # ps aux | grep usb snip root 1033 0.0 0.2 2616 1168 ?? S 3:22PM 0:00.00 usb:/dev/ulpt0 24 Test Page 1 (usb) zits root # But it never finishes. What could I do to make it work proberly? If the printer enters standby after boot, then it also doesn't print, with the same symptoms. Have you tried restarting cups after the printer is detected? Yes I have, to no avail. It seems to be a USB hotplugging issue of some kind. On a side note; It works perfectly in winXP... /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nforce2 audio?
On 31/07-03 20.21, anubis wrote: [snip] Recompile the kernel in FBSD 5.1 with devicepcm in the KERNCONF file devicexl will pick up the 3com onboard nic for the deluxe model Dont know about the other onboard nic yet Thanks, I'll try that. /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nforce2 audio?
On 31/07-03 12.39, Daniel Harris wrote: On Thu, 31 Jul 2003 06:33 am, Daniel Nielsen wrote: So, what can I possibly do to make my onboard sound work? /Daniel Try snd_ich_load=YES in /boot/loader.conf. I tried this while waiting for cvsup to finish.. and it recognizes the onboard sound now... Whee! -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nforce2 audio?
Hi. It seems my nforce2 onboard audio is not detected by freebsd 5.1 plain install... dmesg says: uhub1: 3 ports with 3 removable, self powered pci0: serial bus, USB at device 2.2 (no driver attached) pci0: network, ethernet at device 4.0 (no driver attached) pci0: multimedia, audio at device 5.0 (no driver attached) pci0: multimedia, audio at device 6.0 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 8.0 on pci0 pci1: ACPI PCI bus on pcib1 sis0: NatSemi DP83815 10/100BaseTX port 0xc000-0xc0ff mem 0xee01-0xee010fff irq 11 at device 7.0 on pci1 using google, i've learned that it might be snd_pcm.ko module I should use... but no, I have snd_pcm_load=yes in /boot/loader.conf , and it is loaded... FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc06f2000. Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc06f221c. Preloaded elf module /boot/kernel/acpi.ko at 0xc06f22c8. So, what can I possibly do to make my onboard sound work? /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portinstall
Hi! I've just installed 5.1 on my home machine. It's working great, but now I've run into a small problem... I use portinstall to install ports. It was working fine, but now it seems as though only stderr is printed on the console, and not stdout. Does anyone have a clue why? I'd really like to see what is going on. I have not modified pkgtools.conf, apart from a few MAKE_ARGS for mozilla and mplayer... /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portinstall
On 29/07-03 08.42, Daniel Nielsen wrote: Hi! I've just installed 5.1 on my home machine. It's working great, but now I've run into a small problem... I use portinstall to install ports. It was working fine, but now it seems as though only stderr is printed on the console, and not stdout. Does anyone have a clue why? I'd really like to see what is going on. I have not modified pkgtools.conf, apart from a few MAKE_ARGS for mozilla and mplayer... UPDATE: It seems to be a port / random problem. portinstall xmms shows all the output it is supposed to... /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portinstall
On 29/07-03 10.44, Daniel Nielsen wrote: On 29/07-03 08.42, Daniel Nielsen wrote: Hi! I've just installed 5.1 on my home machine. It's working great, but now I've run into a small problem... I use portinstall to install ports. It was working fine, but now it seems as though only stderr is printed on the console, and not stdout. Does anyone have a clue why? I'd really like to see what is going on. I have not modified pkgtools.conf, apart from a few MAKE_ARGS for mozilla and mplayer... UPDATE: It seems to be a port / random problem. portinstall xmms shows all the output it is supposed to... /Daniel ANOTHER UPDATE: If a package is matched by a portglob in pkgtools.conf, then it will only output stderr, and not stdout to the console... Anyone know why? /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]