Re: Home Automation?
Jon Hamilton wrote: Jack Barnett [EMAIL PROTECTED], said on Wed Dec 05, 2007 [04:48:55 AM]: } } Anyone know of any Home automation type of devices that work with FreeBSD? } Basically all I need to do is to toggle a power outlet from within } FreeBSD (from off to on and vice-versa) There's X-10 and its derivatives; it's a powerline communication protocol which has pretty widely available plug-in modules (outlets/switches with the receiver built-in are available too). Most of the computer-side controllers these days seem to be USB-based; my setup is so old it predates widespread USB availability so I am not personally familiar with free software to drive the newer generation of controllers. There's also xtend which will drive a plug-in card, but those are pretty antique these days and hard(ish) to find. www.smarthome.com is one online source of X-10 compatable hardware online. Hopefully someone else has/will share more current hardware experiences. The senna rhio is also very nice, you can connect it to your network, I have some sample programs in python. it has 12 outputs, 4 analog inputs and 10 digital input (i think), it cost about 250 $ I use it to control my music (amp on/off,next song etc.) with voip phones and asterisk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multihome network
alexus wrote: i dont see any difference as at the end i still get this 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 in my netstat -rn, and no its still doesn't work... On Nov 16, 2007 12:07 PM, Steve Bertrand [EMAIL PROTECTED] wrote: alexus wrote: my private IP that eventually resolves to public IP through PIX is different then coming from my other public IP that assigned on my fxp1 that comes from another ISP, the fxp1 IP already configured this way so it pass everything to my box what i've tried is adding route on my box route add 216.112.241.24 216.112.241.25 255.255.255.248 Wait a minute...this doesn't look right... Try this: # route add $homeIP/$netmask $gateway Where: - if you have a static IP at 'home', $netmask should be /32, otherwise, you'll need to shorten the prefix (such like /24) This will depend on your 'home' Internet provider setup - $gateway is the next hop upstream on the interface that has 216.112.241.x address on it. Steve I'm kind of new to freebsd so forgive me if I'm wrong but I thought this was not possible with freebsd in a simple way. On linux you can create a default route for each interface thus packet get routed properly, on freebsd you can only have one default route (I think) so this is not really possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TCP/IP questions
Nikos Vassiliadis schreef: On Wednesday 07 November 2007 18:02:44 Bram wrote: Hi all, Can you change the timeout for a tcp connection ? I need to do the following: start a tcp connection , unplug the network cable (it's actually wifi but the effect is the same),send some data over the connection,wait 20 seconds , reinsert the network cable and just keep working. When you normally do this the connection will be dead. Is there a way in freebsd to change this ? are there parameters wich you can set so that the above would work (20 seconds without network can happen) ? TCP using the default FreeBSD settings, can survive 20 secs of inactivity. It can be an application forced timeout. What application/protocol are talking about? Nikos This is the more full explanation: I have setup a mobile pc to roam across our building. By reducing the dwell time and changing the channel list to only the channels I use roaming now works within ten seconds en sometimes within one or two seconds. The previous configuration was with fedora and there I was unable to get roaming time under 25 seconds. I do have one very annoying problem however and I have no idea how to solve it. The software uses psycopg (a python postgresql module) wich uses the standard system parameters for connections (At least that is what I think). -On fedora if the connection gets lost and it takes 30 seconds to remake a new connection operation is not interupted, after the 30 seconds you get the data you've been waiting for. -On freebsd however we get it a lot that the connection is lost, you can easily start a new connection wich works fine, but the old connection you wore using stops working and the app. hangs (If I had to guess I would say that roaming works about 95% of the time and the connection is lost about 5% of the time). I also get a lot of IFDOWN IFUP messages but this seems normal to me. I am now going to program something in twisted using udp to see if this works better. kind regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TCP/IP questions
Hi all, Can you change the timeout for a tcp connection ? I need to do the following: start a tcp connection , unplug the network cable (it's actually wifi but the effect is the same),send some data over the connection,wait 20 seconds , reinsert the network cable and just keep working. When you normally do this the connection will be dead. Is there a way in freebsd to change this ? are there parameters wich you can set so that the above would work (20 seconds without network can happen) ? If not is there a common way to tunnel these tcp connections over udp so that the problem doesn't happen. I found a perl script http://www.jankratochvil.net/project/tcpoverudp but it behaves kind off strange on freebsd, with this script I was able to get the behaviour I wanted. Sorry for my poor english, this is very difficult to explain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
roaming questions
Hi list, I have setup a mobile pc to roam across our building. By reducing the dwell time and changing the channel list to only the channels I use roaming now works within ten seconds en sometimes within one or two seconds. The previous configuration was with fedora and there I was unable to get roaming time under 25 seconds. I do have one very annoying problem however and I have no idea how to solve it. The software uses psycopg (a python postgresql module) wich uses the standard system parameters for connections (At least that is what I think). -On fedora if the connection gets lost and it takes 30 seconds to remake a new connection operation is not interupted, after the 30 seconds you get the data you've been waiting for. -On freebsd however we get it a lot that the connection is lost, you can easily start a new connection wich works fine, but the old connection you wore using stops working and the app. hangs (If I had to guess I would say that roaming works about 95% of the time and the connection is lost about 5% of the time). I also get a lot of IFDOWN IFUP messages but this seems normal to me. Is there some way to tune sysctl values so that it doesn't lose the connection or how should I proceed in debugging this problem ? Sorry about my poor english Tkanks in advance ___ 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 dump over SSH: Operation timed out
Op vrijdag 10 augustus 2007, schreef u: Hi, This really looks like a broken PMTU discovery. Is this still the case? After the firewall changes you did? Things may be different now. But, if a router in the path is filtering all ICMP traffic then the problem will remain. Try this on both hosts: sysctl net.inet.tcp.path_mtu_discovery=0 sysctl net.inet.tcp.mssdflt=1000 (just to be safe, the default on 4.x is 1400, which can be big on 6.x is just 512) Please, just use scp to do your testing. When you rule out the possibility of a problematic network, you will add the (gzip|bzip2) dump parts. Nikos Thank you for those suggestions, it's appreciated. Although I get the same results with setting those values both on the server and on the client. SCP starts full speed, but at 20% of the 200 MB file it starts to stall. All ICMP traffic was open on both firewalls at that time. Hmmm Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ 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 dump over SSH: Operation timed out
Op vrijdag 10 augustus 2007, schreef Nikos Vassiliadis: Hi, Some more info: But, if a router in the path is filtering all ICMP traffic then the problem will remain. No most probably not. I live a few 100m from the office, having the same type of internet connection and the same provider. The traceroute from the client to office/my house is identical until the last but one hop. And I just succeeded to dump it to my own computer (running Gentoo Linux, I think the same modem, and a pretty default router in between). So either the cable modem or the server (running IPF) at the office is the culprit then. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with dump over SSH: Operation timed out
Dear list, There is a problem with performing a dump from our webserver at the data centre to a backup machine at the office. Everytime we try to perform a dump, the SSH tunnel dies: # /sbin/dump -0uan -L -h 0 -f - / | /usr/bin/bzip2 | /usr/bin/ssh [EMAIL PROTECTED] \ dd of=/backup/webserver/root.0.bz2 DUMP: Date of this level 0 dump: Wed Aug 8 20:58:51 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1a (/) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 60746 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] Read from remote host office.example.com: Operation timed out DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Here are some facts about the situation: * The client (where the dup takes place) runs FreeBSD 6.2-RELEASE-p4 * The server (at the office) runs FreeBSD 6.1-RELEASE * Both hosts have ipf installed * Some IPF rules from the client: pass out quick on bge0 proto tcp from any to any flags S keep state pass out quick on bge0 proto udp from any to any keep state pass out quick on bge0 proto icmp from any to any keep state pass out quick on bge0 proto gre from any to any keep state pass out quick on bge0 proto esp from any to any keep state pass out quick on bge0 proto ah from any to any keep state block out quick on bge0 all pass in quick on bge0 proto tcp from any to any port = 22 flags S keep state block return-rst in log quick on bge0 proto tcp from any to any block in quick on bge0 proto tcp all flags S block return-icmp-as-dest(port-unr) in log quick on bge0 proto udp from any to any block in log quick on bge0 all * Some IPF rules from the server: pass out quick on re0 proto tcp from any to any flags S keep state pass out quick on re0 proto udp from any to any keep state pass out quick on re0 proto icmp from any to any keep state pass out quick on re0 proto gre from any to any keep state pass out quick on re0 proto esp from any to any keep state pass out quick on re0 proto ah from any to any keep state pass out quick on re0 proto tcp from any to any port = 22 keep state pass in quick on re0 proto tcp from any to any port = 22 flags S keep state block return-rst in quick on re0 proto tcp all flags S block in quick on re0 proto tcp all flags S block return-icmp-as-dest(port-unr) in log quick on re0 proto udp from any to any block in log quick on re0 all * I've tried with TCPKeepAlive off * Setting ClientAlive{Interval,CountMax} on the server did not improve things. * Setting ServerAlive{Interval,CountMax} on the client neither, although I got a different error: DUMP: Date of this level 0 dump: Wed Aug 8 21:05:26 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1f (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 429177 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] Received disconnect from xxx.xxx.xxx.xxx: 2: Timeout, your session not responding. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. * A dump from the client machine to another server works fine. The receiving host has a similar internet connection as the office (cable). * A dump from another webserver of ours, running FreeBSD-4.10-RELEASE in another data centre can dump fine to the office with the same construction. This webserver uses IPFW. * Uploading a big file (200M) over SFTP to the 6.2 webserver causes no problems. * Downloading the very same big file over SCP causes problems too, below some SCP debug output. The connection drops quickly after it gained a reasonable download speed. Read from remote host office.example.com: Connection reset by peer debug1: Transferred: stdin 0, stdout 0, stderr 77 bytes in 103.3 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.7 debug1: Exit status -1 lost connection * Maybe the MTU value was the cause, but setting them to 1472 on both sides didn't improve the situation as well. So as you may see I've tried a lot of things in order to make the dump work, but so far no luck. Probably I'm missing something crucial. I think it has something to do with the statetables in the firewall, but I was not able to succeed with that assumption. Any suggestion is very welcome. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ 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 dump over SSH: Operation timed out
Op donderdag 09 augustus 2007, schreef u: Try using a much lower MTU, something like 1400 or perhaps lower, just for testing. You should configure this, on both client and server. I'm not familiar with ipf to give the exact rule, but I would allow ALL ICMP traffic, at least for testing purposes. I think this is correct: pass out quick proto icmp from any to any pass in quick proto icmp from any to any somewhere above the block in log quick on re0 all rule. Hope this helps a bit Nikos Thank you for your answer. I have added the 'pass in for icmp' rule to the firewall (pass out did already exist). There was a noticable improvement, the /usr dump came much further than before. But at about 80% there was the timeout again. I tried lowering the MTU value at the server side, but nearly all other network traffic stopped working, so that is not the way to go. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ 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 dump over SSH: Operation timed out
Op donderdag 09 augustus 2007, schreef Alex Zbyslaw: Hello, Bram Schoenmakers wrote: # /sbin/dump -0uan -L -h 0 -f - / | /usr/bin/bzip2 | /usr/bin/ssh [EMAIL PROTECTED] \ dd of=/backup/webserver/root.0.bz2 bzip2 is darned slow and not always much better than gzip -9. It might be that ssh is just timing out in some way (I've seen that but not with ethernet dumps specifically). Can you try the test using gzip -9 instead of bzip? If that works, then look for ssh options that affect timeouts, keepalives etc. In particular, ServerAliveInterval 60 in a .ssh/config stopped xterm windows dying on me to certain hosts. YMMV :-( If you have the disk space then you could try without any compression at all; or try doing the compression remotely: /sbin/dump -0 -a -C 64 -L -h 0 -f - / | \ /usr/local/bin/ssh [EMAIL PROTECTED] \ gzip -9 /backup/webserver/root.0.gz Otherwise: Nikos Vassiliadis wrote: 1) Can you dump the file locally? 2) Is scp working? If you can write (and compress if short of disk space) the dump locally and try an scp to your remote host as Nikos is suggesting, that will narrow down the problem a bit. Any other large file will do: doesn't have to be a dump. As I wrote in my initial mail: == * Downloading the very same big file over SCP causes problems too, below some SCP debug output. The connection drops quickly after it gained a reasonable download speed. Read from remote host office.example.com: Connection reset by peer debug1: Transferred: stdin 0, stdout 0, stderr 77 bytes in 103.3 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.7 debug1: Exit status -1 lost connection == That was just a file generated with 'dd if=/dev/zero of=zeroes bs=1024k count=200' . So no, SCP doesn't work. I haven't tried gzip -9 yet, although it looks like a workaround than a solution to the real problem. Kind regards, -- Bram Schoenmakers You can contact me directly on Jabber with [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php4 to php5 means exit session functions?
Hi all, I am trying to update php4 to php5 on my FreeBSD 6.1-server, by using the following 'manual': http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html However, now I get error messages like *Fatal error*: Call to undefined function session_start()*. This is strange, because I _did_ also update php5-session and php5-extensions. I did restart apache, so what else can be wrong? This is the configure command I used: *'./configure' '--enable-versioning' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' * anyone a clue how to get the session functionality back? thanks. Bram * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
updating multiple freebsd desktops
Hi list, The company I work for is linux based, we work with our own app written in wxPython. I am having a lot of trouble finding a suitable desktop OS, I've just went with redhat but I think I am having second thoughts about it . Freebsd (wich we use for some servers) would be an option but: I find it really difficult to keep freebsd up to date in a desktop situation, recompiling things like gnome can take a lot of time. So what I would really like is to make one machine the build/test machine and keep this machine up to date with the ports and portmanager or so. Can I then set up some kind of repo with the packages from this machine and run something like yum upgrade on every desktop we have ? I know something like sharing (thus building it only once and installing it on multiple pc's) /usr/ports could be done but it is still to much work and I would like something that also works over the internet. Ideas anyone ? kind regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
updating multiple freebsd desktops
Hi list, The company I work for is linux based, we work with our own app written in wxPython. I am having a lot of trouble finding a suitable desktop OS, I've just went with redhat but I think I am having second thoughts about it . Freebsd (wich we use for some servers) would be an option but: I find it really difficult to keep freebsd up to date in a desktop situation, recompiling things like gnome can take a lot of time. So what I would really like is to make one machine the build/test machine and keep this machine up to date with the ports and portmanager or so. Can I then set up some kind of repo with the packages from this machine and run something like yum upgrade on every desktop we have ? I know something like sharing (thus building it only once and installing it on multiple pc's) /usr/ports could be done but it is still to much work and I would like something that also works over the internet. Ideas anyone ? kind regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 to php5 means exit session functions?
OK, I finally found at what had been going wrong: In my php.ini file there is the variable extension_dir. This was still pointing at the old extension dir, located at /usr/local/lib/php/2002something after I changed it to /usr/local/lib/php/20060613 everything worked fine. thanks, Bram Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bram Kuijper wrote: Hi all, I am trying to update php4 to php5 on my FreeBSD 6.1-server, by using the following 'manual': http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html However, now I get error messages like *Fatal error*: Call to undefined function session_start()*. This is strange, because I _did_ also update php5-session and php5-extensions. I did restart apache, so what else can be wrong? This is the configure command I used: *'./configure' '--enable-versioning' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' * anyone a clue how to get the session functionality back? thanks. If you're correctly following the instructions I wrote in the message you quoted, then you would never run configure directly. The ports system does it all for you. Do you have a php-session port installed? Does /usr/local/etc/php/extensions.ini contain the line: extension=session.so What do you get if you run this command? % php -r 'phpinfo();' | grep -i session Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGr2an8Mjk52CukIwRCPvdAJ9jY2Gq0hTmoLimhhNZF73/WTfAZACfYE68 WZ97WG94IeHeqj2F6Y7quyI= =+3C3 -END PGP SIGNATURE- ___ 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: what's the easiest way to de-html-ize files?
Op zaterdag 12 mei 2007, schreef Gary Kline: This is for those of us who appreciate ASCII or straight ISO_8859-15 rather than marked up files. I have slapped together a crude C program that does scotch (or *cleanse*) text of B/B and so on. Still... is there some standalone converter that gets rids of markup more elegantly? Something where i can say % cmd file_1.html ... file_N.html and output file_1.text ... file_N.text? thanks, gents, gary textproc/html2text Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Security Patches using freebsd-update(8)
Op maandag 07 mei 2007, schreef Guido Demmenie: I'm really glad the FreeBSD team brought freebsd-update(8) in the base system. Now I can do my security patches with much less hassle. But i have one question about this great tool. When do I have to reboot? I know that most of the time you just restart a daemon and your finished. But with the security patches I'm not sure when it is a kernel module or just a daemon that I updated, so even if it is a daemon I don't know which one to restart. I cannot find any information on the web about this. So can anyone tell me how I can figure out if I have to reboot my machine. Bumping... since I'm interested in the answer as well. On Google there's almost no additional info about freebsd-update, only the 'official' page describing what the tool is. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STABLE + KEXI 1.1.2 (koffice 1.6.2) + KDE 3.5.6 = no sql?
Op vrijdag 11 mei 2007, schreef Drew Sanford: Hi, I am using Kexi to track various things in my office, including time off. This works well because I can write queries for each employee showing me how much time they have requested off, etc. - however it appears that after a recent upgrade of all ports, which included a KDE update, SQL no longer works. For instance, I have a table called time_off that has many records in it, but even a simple query such as SELECT * FROM time_off; yields an empty result. Does anyone have any pointers on what it might take to get this working again? I have about 30 saved queries, none of them work any more. What kind of database? Native (SQLite), MySQL, Postgres? Kind regards, -- Bram Schoenmakers You can contact me directly with Yahoo Instant Messenger with bramschoenmakers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network interface restart
Hi, I tried to reduce the MTU of a network interface on a remote FreeBSD 6.2 machine. So that means changing this line in rc.conf: ifconfig_bge0=inet xxx.xxx.xxx.xxx netmask 255.255.255.128 to ifconfig_bge0=inet xxx.xxx.xxx.xxx netmask 255.255.255.128 mtu 1472 Of course, there's a real IP address set. Then, I tried to restart the network interface: /etc/rc.d/netif restart which went horribly wrong. I lost connection and wasn't able to reconnect. I tried to run this in some 'fallback' script, which automatically should restore the old configuration and restarting the network interface again after 5 minutes. Even if that failed, it should reboot the machine. But somehow the script was aborted, although I ran it in a 'screen' session over SSH. So the last resort was a manual reboot, which started the interface with MTU 1472 just fine. Could someone please point out where I made the mistake? Thanks in advance, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network interface restart
Op woensdag 09 mei 2007, schreef Sam Lawrance: Hi, Could someone please point out where I made the mistake? When your network interface went down, you lost the connection, your shell lost the terminal and your script was terminated before it could finish doing what it was supposed to. Possibly you need to use something like nohup or screen (from ports), or have some other form of terminal available. Thanks for your answer. But as I said, I ran the script from a screen session, so that makes me wonder why the execution was aborted. But is running '/etc/rc.d/netif restart'' known to cause problems? I think I shouldn't have to use scripts like these just to change a setting on the network interface. Kind regards, -- Bram Schoenmakers BOFH Excuse #8: static buildup ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I like Ubuntu
Op zondag 15 april 2007, schreef Gary Kline: I like both Gnome and KDE; altho parts of KDE work better for my mindset. SO nutshell, can I upgrade my present default Gnome Desktop (aka: wm:) to be KDE?? Or equally, is there some magic command to install more KDE-ware? Acouple weeks ago here someone recommended kmplayer and the KDE browser. And, YES, it's almost like push button. The KDE CD burner is also easier to use. But the Gnome Terminal is much more intuitive than the KDE write of xterm. (blah, [bar] :) (I find that I have tons of KDE games, and I'm not rreally a gamer. No, I haven't a clue where the games came from.) Probably the kdegames package. You can safely remove it without compromising your system :) Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The OX laptop...
Sergio Lenzi schreef: Here in my country is happening the FISL http://fisl.softwarelivre.org/8.0/www/?q=en they finally show the $100 dollar laptop for children.. the machine have 512mb of memory, more 512mb of flash rom, resolution of about 1000x900 keyboard and mouse . they have been in testing for some months now... the children sure approve ... Red Hat has yet the operating system, and expect a small footprint of gnome to run on the unit.http://www.escolabr.com/portal/uploads/img462041309c410.jpg.. The govern is expect to buy and distribute the machine by the milions (about 3milion units/year)... only in Brazil May be I will have 2 in my hands next week.. With a market of about 8 milion units (in -3 years) of a machine that does not runs windows.. I think it will run BSD (netbsd/freebsd) have wireless sound and camera, small footprint, lightweight It is the dawn of an era of market where only open source software... Any educational program or thing that fits on that computer will be bought by the govern in milion units... and of course will cost much less than the commercial solution we have today... Comments pleaase take a look - http://pt.wikipedia.org/wiki/Imagem:OLPC-Drawing75c.png http://www.escolabr.com/portal/uploads/img462041309c410.jpg http://www.escolabr.com/portal/uploads/img46204318a876a.jpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I thought it ran on a slimmed down version of fedora, I think you can find the info on the red hat site. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: time problems [SOLVED ?]
Hi It's been running for 7 days without a problem after disabling acpi. It is not so that it loses track of time, it lost 5 hours time in a period of 12 hours while the machine was powered on. I believe that time just stopped for the machine, because sometimes the time command did not return anything. For me the problem is solved but their might be others with the same problem. kind regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice on how to memorize images
Vittorio schreef: I'm now moving my first steps in trying to memorize my many digital photos (for the time being some 700 pictures but rapifdly growing, average size among 800-900kb) in a centralised system easy to deal with. I'm now successfully (but still in an experimental level) using a postgresql 8.0.2 db with its wonderful lo_creat, lo_export, etc functions. Unfortunately I've read in the internet many criticism on the use of mysql or pgsql db to memorize images, that this is not an efficient way to do the job (no alternatives seem to be proposed anyway!) because the db easily becomes cumbersome (isn't that the core business of a great db such as mysql or pgsql?). Could someone out there tell an almost definite word on this subject with some suggestions (other applications?) based on real experience? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I'm not a db guru but I have done some experimenting with pictures in postgres and was quiet happy with it. I do however prefer to keep the data and the pictures separate because some programs have difficulty with pictures in postgres, or it's just very hard to program. I now use an http server secured with digest authentication, I then up and download the pictures from python. The main advantages for me are: -easy to work with, you view your picture from any programming language with url support or from any web based solution. -the pictures are stored on a different raid wich is not as fast as the primary but a lot larger. -database backups remain fast while I can use lots of different methods to backup the pics. I think pictures in the db is not such a problem but if you have a lot of pictures (eg 100 gig) it could become a little bit clumsy. It also depends on the rest of the application. just my toughts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice on how to memorize images
Op dinsdag 10 april 2007, schreef Bill Moran: Hi, I was at a LUG meeting where a number of these were presented recently, and I'll be damned if I can remember any software names ... Here are some that I found during some googling: http://gpc.sourceforge.net/ http://appliworks.jondesign.net/ http://f-spot.org/Main_Page Digikam should be capable of that as well (frontend for gphoto and with album management) -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem that both FreeBSD and OS X can read/write
mal content schreef: Hello. I have a small USB hard disk enclosure and would like to start using it to transfer files between OS X and FreeBSD machines. Is there a filesystem that both OS X and FreeBSD can reliably read and write to? I've heard that OS X supports UFS, but there's no clear definition on what UFS actually is. I mean Free/Open/Net/ DragonFly all seem to have slightly differing definitions... Any ideas? MC I have done this frequently. In my experience the only way is FAT32, for large drives you need to compile the freebsd kernel with the MSDOSFS_LARGE option. You should be able to read/write the drive in OSX 10.3 and upwards, I do not think it works with 10.2 and 10.1 Formatting the drive is easy in OSX so I would do it there I beleive the reason for UFS not being compatible is an endian (big vs small) issue, maybe solved now with the new intel macs. I have not tried it with usb, but it worked with firewire. If both machines are connected through a network you may also want to take a look at netatalk kind regards bram (please cc: as I'm not subscribed) ___ 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]
time problems
Hi all, I am running 6.1-RELEASE-p2-AMD64 on a dual AMD opteron system. Lately (after installing a twa-3ware raid controller I think) time just stops. We leave at work one evening and the clock is set ok. The next morning the clock is set at 3 o'clock instead of 8 o'clock, sometimes there is no clock anymore, when we type date, it just returns to the next line without any output whatsoever. This is very annoying, I've set a crontab task every 5 minutes to re-update the date but it does not help (wich leads to my believe that time has stopped). So, what could this be, and can I work around the problem ? Every service this machine runs stops working at such a time (no ssh etc), the local keyboard still works. kind regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sample cds
Op dinsdag 27 maart 2007, schreef stefan broos: I'm organising a linux/opensource day in my school. Is it possible to get some saple freeBSD cds for those who want to try it? Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There's a Dutch webshop [1] providing all kinds of Linux distributions and FreeBSD on CD. The website tells me he has 6.1 available, but I'd assume 6.2 should be available as well if you contact the shop owner. I have good experience with the shop (and the owner is a good fellow :) [1] http://www.munnikes.nl Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broken binary detection
Hi, I have tried Google, FBSD handbook and the archives in advance for the following, but without luck. I did a portmanager databases/phpmyadmin -f because installing it normally (make install clean) resulted in errors. With portmanager, phpmyadmin is successfully installed. However, portmanager upgraded libintl as well to a newer version, which in turn broke fetchmail still referring to the old libintl library. Question is: is there a way to detect broken binaries and libraries? As a Gentoo Linux user I know the command revdep-rebuild, which scans each binary and library for broken dependencies and rebuilds the corresponding packages then. Is there something similar for FreeBSD? Thanks in advance, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 'nodump' on directories: new contents still dumped
Op maandag 19 maart 2007, schreef Alex Zbyslaw: Hi, 1) There is a bug in whatever version of FreeBSD you are running and -h 1 is somehow *not* the default. 6.2 Release? It's a FreeBSD 4.10 (I know, I know, no need to tell me, we're going to migrate to something newer :) It's strange, since I've checked the CVS logs for dump(8) and couldn't find a commit which would have solved that problem in the meantime. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 'nodump' on directories: new contents still dumped
Op vrijdag 16 maart 2007, schreef Alex Zbyslaw: Can you try explicitly putting a -h 0 into your incremental command line and see if that makes a difference? I've done that and now dump behaves like it should. I don't understand why, because the man page says that -h 1 is default (and shouldn't be supplied then). But with -h 0 on every incremental dump it's OK now. Thanks for the ideas. -- Bram Schoenmakers You can contact me directly with Yahoo Instant Messenger with bramschoenmakers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
'nodump' on directories: new contents still dumped
Hi, I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to decrease the resulting file size, I flagged some directories like /usr/ports and /usr/src with 'nodump'. I adjusted the dump level 0 script to have -h 0, so that worked fine. The other scripts for dumps 0 do not have a -h flag set, because -h 1 is default. The problem is that new files appearing in the /usr/ports tree (daily portsnap cron) do not have the 'nodump' flag set. But despite the 'nodump' flag on the /usr/ports directory, the new files in the tree are still dumped. I understood that dump does not enter directories with 'nodump' flag set, so it shouldn't see the new files inside, right? Or is this behavior implemented in a newer version than FreeBSD 4.10? I have scanned the CVS logs for dump, but couldn't find anything relevant. One 'hack' is to run a script prior to the dump to recursively set all 'nodump' flags where appropriate, but I'm hoping that someone can enlighten me what is going on. Thanks in advance, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 'nodump' on directories: new contents still dumped
Op donderdag 15 maart 2007, schreef John Nielsen: Hi, On Thursday 15 March 2007 13:57, Bram Schoenmakers wrote: I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to decrease the resulting file size, I flagged some directories like /usr/ports and /usr/src with 'nodump'. I adjusted the dump level 0 script to have -h 0, so that worked fine. The other scripts for dumps 0 do not have a -h flag set, because -h 1 is default. The problem is that new files appearing in the /usr/ports tree (daily portsnap cron) do not have the 'nodump' flag set. But despite the 'nodump' flag on the /usr/ports directory, the new files in the tree are still dumped. I understood that dump does not enter directories with 'nodump' flag set, so it shouldn't see the new files inside, right? Or is this behavior implemented in a newer version than FreeBSD 4.10? I have scanned the CVS logs for dump, but couldn't find anything relevant. Read the dump manpage more carefully, and pay particular attention to the -h flag. You probably want '-h0'. -h 0 just works fine, that is not the problem. I may have forgotten one detail in case that was not clear. The level 0 backup does not contain any folder marked with 'nodump' (so it's all OK, despite the -h0 you mentioned). New contents (which have no flags set) in these folders emerge in higher level dumps. The problem is that dump(8) enters directories with 'nodump' flags set while it shouldn't. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux equivalent to freebsd
Hi I'm not really pro-linux and I really like freebsd but if have to use linux (because I need things not available on bsd). I always use fedora, it's fast to install lot's of info on the net and it is not time consuming (1 hour to install). Danny Pansters schreef: If you have a (Free)BSD mindset and like your rc.conf but don't mind typing pacman instead of pkg_* or portupgrade -P * and you don't mind using something called ABS for src packages, which is like ports, only with a stage install before live-system install, then you may just like ArchLinux. I tried many but besides Debian, Arch is the only one I really enjoyed toying with. Haven't used Arch on serious production system, but it appears that other people do. Gentoo is nice (and keeps you busy/entertained) until it blows up on you. Just my 0.02 as a long time FreeBSD user. The linux I used most was Debian but that was long ago before I landed at BSD. Dan ___ 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]
forcing re driver to a card
Hi all, I've been having some trouble getting my nic's to work under freebsd 6.1. it's a jetway mini-itx board with a daughterboard with 3 rtl8110S chips on. two out of the three appear when doing pciconf -lv [EMAIL PROTECTED]:11:0:class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' class= network subclass = ethernet [EMAIL PROTECTED]:12:0:class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' class= network subclass = ethernet I think these should be supported by the re driver, so my questions are: -Is there a way to force the re driver to recognize these cards ? -Can the source of the re driver be changed so it recognizes the card (if yes please some guidance, don't know C) ? kind regards Bram ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb storage device mounting problems
Hi, still cannot seem to get usb device working as an ordinary user between multiple reboots, without doing /etc/rc.d/devfs start as root every time. did the following things described under 4.3.3. from http://www.gphoto.org/doc/manual/permissions-usb.html added this to devfs.rules: [usb_devices=10] add path 'da*s*' mode 0666 group usb add path 'ugen*' mode 0666 group usb added this to rc.conf: devfs_system_ruleset=usb_devices removed this from devfs.conf: own /dev/fd0 root:operator perm /dev/fd0 0666 then, I restarted my rc.conf: /etc/rc.d/devfs start now, it is possible to mount the device as described, however only during this login. If I reboot, I have to do devfs start again as root. anybody knows how to retain these settings between multiple reboots? TIA, Bram ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb storage device mounting problems
Hi all, I got some problems with mounting my usb device. I did all the stuff according to point 9.22 in the FreeBSD FAQ, but I still cannot mount my usb storage key (a sandisk cruzer mini 256 MB) as an ordinary user, without having to change the group owner as a root. Adding the needed lines to devfs.conf doesn't seem to help in retaining the settings across multiple reboots. I run FreeBSD-stable 6.1 in /etc/sysctl.conf I added: vfs.usermount=1 I added to my etc/devfs.conf the following lines: own /dev/da0s1 root:usb perm/dev/da0s1 0666 I added myself, the ordinary user to the group usb and checked if that worked out by doing id $myusername: uid=1002($myusername) gid=0(wheel) groups=0(wheel), 1002(usb), 1004(cvs) so I am in the group usb, and if everything went allright, also the folder /dev/da0s1 should now owned by the group usb. So I'll reboot and plugin the device. I reboot and plugin my usb key. Check if things are recognized using usbdevs: $ devfs addr 1: UHCI root hub, Intel addr 2: product 0x3108, vendor 0x04b3 addr 1: UHCI root hub, Intel addr 2: Cruzer Mini, SanDisk Corporation seems it has been recognized. Now I check the user rights on dev/da0s1 $ su $ ls -aln /dev | grep da0 crw-r- 1 0 5 0, 107 Jul 8 15:17 da0 crw-r- 1 0 5 0, 108 Jul 8 15:17 da0s1 crw-r- 1 0 5 0, 108 Jul 8 15:17 da0s1 alas, despite the changes made in devfs.conf, the group in which da0s1 is in, is still another one than the usb-group (which has 1002) as a group identifier. So still not able to mount the device as an ordinary user. anybody advice on how to tweak my devfs.conf, so that it works? thanks, Bram ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kdm restart and back into root shell from KDE
Hi all, I got two KDE-related newby questions: 1. How do I restart a KDE session after I changed some config files? In Linux this is /etc/init.d/kdm restart But since there is no init.d on FreeBSD, I'm stuck. 2. Is there any way I can shutdown KDE and get back to a root shell? If I choose 'log out' from KDE, I am still in the KDE environment and fixed to choose another user to login again. If I choose 'shutdown KDE', it issues a shutdown command to shutdown my PC, and that's also not what I want. I just want to shutdown KDE and get back into a root shell. Think it's an easy thing to configure, but where? btw, I'm running KDE 3.5.1 on FreeBSD 6.0. any help would be appreciated, %Bram ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Extremely slow authentication via SSH on FreeBSD 6.0
Boy, talk about good timing! I just joined this list yesterday. The reason I joined was to see if I could get any help solving what appears to have been (approximately) this same problem. I also had the problem of extremely slow SSH authentication. In fact, it was so slow that at first I thought is was simply dead, because most often it would time out and give up. In my case, I had not made any changes to the system whatsoever. SSH had been working fine since I originally installed FreeBSD 5.4 a few months ago. But then a few days ago it just suddenly started having this problem. In my case, Apache did _NOT_ seem to be suffering from the same problem. I changed my sshd configuration to set UseDNS to no, and that seems to have fixed the problem. So I'm quite happy, and grateful. However, it does leave me curious ... Something must have changed in my network (a small home network on a DSL router), I guess, but I don't know what. I posted a similiar problem on Sunday but didn't get any responses. I turned off DNS in the sshd_config file and the sshd time out problem went away for me as well. Actually I had to turn off dns lookup up for apache and proftpd as well because those services were running extremely slow or not responding. If you've not made any modifications to your system, why would this happen? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't start Mozilla
I think I once saw this before when I had upgraded Mozilla while I had an older theme applied. The upgrade went just fine but because of the theme which was intended for the older version, Mozilla would start but immediately crash with errors that looked similiar to those you had. Somehow I got rid of the old theme and everything ran just fine. I don't remember how I removed it though (sorry), maybe it was in the Mozilla directory somewhere? Hello all, Ever since I upgraded to KDE 3.1 and all the relevant packages and ports, I've been unable to use Mozilla. It will not even start. Here's the error message. --- No running window found. (process:1119): GLib-GObject-CRITICAL **: gtype.c:1875:g_type_register_static(): initialization assertion failed, use g_type_init() prior to this function (process:1119): GLib-GObject-CRITICAL **: file gobject.c: line 615 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed (process:1119): GLib-GObject-CRITICAL **: file gobject.c: line 1319 (g_object_ref): assertion `G_IS_OBJECT (object)' failed Segmentation fault To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message