Long HTTP connection delays in LAN
Hello, I have a strange HTTP connectivity problem in my LAN. There is a FreeBSD 7.1 system that runs the httpd, a Vista system that I use to connect to it, and a Tomato 1.23 WRT54GL router between them. It often occurs that I can ping the FreeBSD system just fine, but HTTP connections get stuck for minutes on end. After they become unstuck, everything works normally for a while, and then the problem might come back. I know the httpd is running fine during those times because there are no delays connecting locally or from outside the LAN. It seems I also get similar delays when I try to connect to the router's web administration panel. There are so many variables that I'm not sure whether the problem lies with FreeBSD or something else. I'm hoping somebody with more networking experience could give me some hints about where to look, because I'm seriously stuck. Best, R. http://dabas.untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't upgrade to 7.1-RELEASE
Thanks, that did the trick. I commented out the chflags and the script finished successfuly. That makes sense, since the kernel security level was -1, so chflags shouldn't matter. R. http://dabas.untu.ms/ On Sun, Mar 29, 2009 at 16:04, Jerry McAllister jerr...@msu.edu wrote: On Sun, Mar 29, 2009 at 02:41:23AM +0200, Reinis Ivanovs wrote: Hello, I'm trying to upgrade a 7.0 system to 7.1-RELEASE, and it isn't working. I switch to the superuser, do freebsd-update upgrade -r 7.1-RELEASE, and then when I try running freebsd-update install, I get this: .chflags: ///.profile: Operation not supported Any hints as to what could be the problem? Well, it looks like someone set the 'schg' flag on the .profile file. You need to do 'chgflags noscgg FILENAME' on the file - probably from root. jerry Best, R. http://dabas.untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't upgrade to 7.1-RELEASE
I thought I should mention that I'm booting off of ZFS, perhaps that's related to my problem. R. http://dabas.untu.ms/ On Sun, Mar 29, 2009 at 02:41, Reinis Ivanovs da...@untu.ms wrote: Hello, I'm trying to upgrade a 7.0 system to 7.1-RELEASE, and it isn't working. I switch to the superuser, do freebsd-update upgrade -r 7.1-RELEASE, and then when I try running freebsd-update install, I get this: .chflags: ///.profile: Operation not supported Any hints as to what could be the problem? Best, R. http://dabas.untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can't upgrade to 7.1-RELEASE
Hello, I'm trying to upgrade a 7.0 system to 7.1-RELEASE, and it isn't working. I switch to the superuser, do freebsd-update upgrade -r 7.1-RELEASE, and then when I try running freebsd-update install, I get this: .chflags: ///.profile: Operation not supported Any hints as to what could be the problem? Best, R. http://dabas.untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Reversing a ZFS mistake
Hello, It seems I've made a mistake using ZFS, and now my /usr/local/ is empty. I wanted to create a snapshot of a directory inside of it, so I ran zfs create tank/usr/local and zfs create tank/usr/local/www as I had seen in the guides I'd been using. That worked, but the filesystems created were empty. As I found out later, doing what I did on Solaris would have created the filesystems but not mounted them, but on FreeBSD they were mounted automatically, and the previous contents hidden. The question now is, how do I get my files back? The system is crippled without /usr/local/ and I can't unmount or destroy it, because it says that the device is busy. Any help would be appreciated. R. -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wireless losing connection periodically
hello, I'm surprised that no one replied, but anyway, just an update: it seems I've managed to resolve the problem with this short ifstated(8) config: == # loglevel debug ping = '(ping -q -c 1 -t 1 192.168.1.1 /dev/null every 10)' state one { if !$ping set-state two } state two { init { run logger -p console.notice -t ifstated 'Restarting network!' run /etc/rc.d/netif restart ral0 } if $ping set-state one } == that's about it. cheers, reinis On Feb 3, 2008 10:17 PM, Reinis Ivanovs [EMAIL PROTECTED] wrote: hello, I've noticed that my wireless connection tends to drop once in a while and only restores itself after a relatively longish period. I'm dealing with it now by connecting a laptop by wire (the box doesn't have a screen or a keyboard) and running /etc/rc.d/netif restart ral0, but that's a bother. googling didn't bring up any useful results, so I'm wondering, what are the best ways to mitigate or fix this (aside from using a wire)? I'm considering writing a simple script that'd constantly ping my router and restart the wlan interface if it stops responding, but perhaps there's something pre-made or more simple than that available? cheers, reinis -- http://untu.ms/ -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wireless losing connection periodically
hello, I've noticed that my wireless connection tends to drop once in a while and only restores itself after a relatively longish period. I'm dealing with it now by connecting a laptop by wire (the box doesn't have a screen or a keyboard) and running /etc/rc.d/netif restart ral0, but that's a bother. googling didn't bring up any useful results, so I'm wondering, what are the best ways to mitigate or fix this (aside from using a wire)? I'm considering writing a simple script that'd constantly ping my router and restart the wlan interface if it stops responding, but perhaps there's something pre-made or more simple than that available? cheers, reinis -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wpa_supplicant not starting with /etc/rc.d/netif
Sorry, I've found the problem. I hadn't noticed that I had two ifconfig_ral0 lines in my rc.conf, and the first one said only DHCP. *bangs head* Reinis -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wpa_supplicant not starting with /etc/rc.d/netif
I forgot to mention, I'm running 6.3. On Feb 2, 2008 12:32 AM, Reinis Ivanovs [EMAIL PROTECTED] wrote: Hello, I have been following these instructions from the manual: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#NETWORK-WIRELESS-WPA-WPA-PSK However, in the step that requires me to run /etc/rc.d/netif start, instead of it starting wpa_supplicant, I see only ral0: no link giving up. I've added ifconfig_ral0=WPA DHCP to /etc/rc.conf, and it works just fine if I start it manually with wpa_supplicant -B -c /etc/wpa_supplicant.conf -i ral0. What should I do to get it working? Could it be that there's some bug in your scripts? Regards, Reinis -- http://untu.ms/ -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wpa_supplicant not starting with /etc/rc.d/netif
Hello, I have been following these instructions from the manual: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#NETWORK-WIRELESS-WPA-WPA-PSK However, in the step that requires me to run /etc/rc.d/netif start, instead of it starting wpa_supplicant, I see only ral0: no link giving up. I've added ifconfig_ral0=WPA DHCP to /etc/rc.conf, and it works just fine if I start it manually with wpa_supplicant -B -c /etc/wpa_supplicant.conf -i ral0. What should I do to get it working? Could it be that there's some bug in your scripts? Regards, Reinis -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wpa_supplicant not starting with /etc/rc.d/netif
Hi, James, It doesn't work with just DHCP, and I'm not sure you've read that correctly. All it says is that you don't have to run dhclient manually, and I'm not doing that anyway. Regards, Reinis On Feb 2, 2008 1:06 AM, James Harrison [EMAIL PROTECTED] wrote: On Sat, 2008-02-02 at 00:32 +0200, Reinis Ivanovs wrote: Hello, I have been following these instructions from the manual: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#NETWORK-WIRELESS-WPA-WPA-PSK However, in the step that requires me to run /etc/rc.d/netif start, instead of it starting wpa_supplicant, I see only ral0: no link giving up. I've added ifconfig_ral0=WPA DHCP to /etc/rc.conf, and it works just fine if I start it manually with wpa_supplicant -B -c /etc/wpa_supplicant.conf -i ral0. What should I do to get it working? Could it be that there's some bug in your scripts? Regards, Reinis I've not done this, but the documentation says: Note: If the /etc/rc.conf is set up with the line ifconfig_ath0=DHCP then it is no need to run the dhclient command manually, dhclient will be launched after wpa_supplicant plumbs the keys. As such, I don't understand why you're running the ifconfig command in /etc/rc.conf with the extra WPA flag. Try making it read ifconfig_ral0=DHCP and see if that helps. Best James -- http://untu.ms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]