Re: Urgent!. Problem with / etc / rc.conf
On 06/11/2011 04:10, Zantgo wrote: Without wanting to erase all contents of / etc / rc.conf, by running echo slim_enable = YES / etc / rc.conf. Please help!. You could have used the following: echo slim_enable = YES /etc/rc.conf The appends the line instead of replacing the existing contents. -- Bruce Cran ___ 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: Urgent!. Problem with / etc / rc.conf
Le Sun, 6 Nov 2011 01:52:36 -0300, Zantgo zan...@gmail.com a écrit : Hello, Two other things, use rather than to append to the file (better yet, learn vi, it's much safer), and always backup any changes from default you make to config files. I keep them all on pastebin.com for convenience, but you can keep them anywhere, even scribbled on a postit note stuck to the front of the server in question (what I used to do). Rob I gave up, and now reinstall everything again :( You really don't need to reinstall. All the default rc.conf settings are in /etc/default/rc.conf You may also use sysinstall(8), Configure|Do post-install configuration (networking) and Keymap. It will update rc.conf Regards. ___ 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: zfs file names (inodes) without files (ENOENT)
On 05.11.2011 23:13, Martin von Gagern wrote: Is there any tool to check or rebuild the inode data structures of zfs? zpool scrub doesn't seem to fit the bill, as its manpage indicates a computation of file content checksums. Ran a scrub anyway, no errors reported there, problem persist. Makes me wonder whether I'd be better off with either some OpenSolaris descendant (hoping that the problem only lies in the FreeBSD port of ZFS) or with Linux (and either btrfs or some more mature fs). Unless I can find out what's happening here and how to avoid it from happening again in the future, that is. Short of paying for ECC RAM and fancy top-grade HDDs. I still doubt it's hardware failure, and even if it were I'd rather be able to fix any problems that occur than cling to the vain hope that I could ever completely avoid them by spending money. Martin signature.asc Description: OpenPGP digital signature
Looking for a simple HOW-TO
Hi, This is perhaps not the right mailinglist so I'm sorry. I'm looking for a simple how to to install Aterisk 1.8 on FreeBSD 7.4-STABLE from the ports. Compiling is not the problem but what to choose from the config before compiling, realizing that I'm only using SIP, so no hardware attached. It would be nice to see the minimum config I have to use from asterisk. Thanks Jack Raats ___ 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: OpenVPN - what configuration do I need/want
From: Ryan Coleman edi...@d3photography.com To: Bill Tillman btillma...@yahoo.com Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Saturday, November 5, 2011 9:32 PM Subject: Re: OpenVPN - what configuration do I need/want So... basically you've just set up servers that utilize the host connection or doesn't route? On Nov 5, 2011, at 5:35 AM, Bill Tillman wrote: From: Ryan Coleman edi...@d3photography.com To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Friday, November 4, 2011 10:22 AM Subject: OpenVPN - what configuration do I need/want I have a PE 2450 with dual NICs and I want to turn it into a bridging VPN for the guys in the office to utilize. Our configuration: My office: 192.168.46.0/24 Server IPs: 192.168.46.2 [8.2-RELEASE] + public IP Corporate office: 192.168.45.0/24 My VPN: 192.168.47.0/24 [preferred] There's a NetVanta VPN between my office and the corporate office and I presume that will still work to route 47.0/24 to 45.0/24 when all is said and done. I am going to be supporting Windows and Mac clients (well, all windows and then my mac) and I'd like to test it from my 8.2 server at home before pushing this over to my MacBook Pro (using Tunnelblick) and then to my Windows users. I've tried the FreeBSD handbook and the Section6.net walkthroughs to no avail. Any help would be appreciated. Thanks, Ryan ___ 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 I can't say that I'm familiar with your setup which uses bridging. But I setup OpenVPN to work on a server inside my LAN which is behind my FreeBSD firewall server. The setup wasn't that hard, you just have to forward the right ports and get the certificates copied to the clients correctly. The docs on the OpenVPN site were very helpful in this for me. The trouble you may find is that this other VPN appliance you reference, NetVanta, may or may not be compatible with OpenVPN. I tried this several years ago with a remote company I was working for and found out quite dissappointingly that the protocol used by OpenVPN would not work whatsoever with Cisco equipment. That may have changed now but at the time all the advice I got was forget about it. Cisco equipment would not work with OpenVPN period. Luckily at the time I had a small Cisco appliance at my house and that is the only way I could get that setup to work. These days I happily connect to my LAN with encrypted tunnels from most places like hotels, etc... There is a problem sometimes at places like Starbucks or McDonalds where they have equipment which is blocking ports needed to run VPN. And in most cases it's not that they are blocking specific ports, it's that they are blocking everything except port 80 to only let their freebie users surf web content. YMMVcheck the docs on the OpenVPN site. Many HOWTOs and examples will help you get going. ___ 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 Yes, but the setup is very similar. The docs available on the OpenVPN website give HOWTOs on both setups and they are very similar. I would check these as I found them to be very helpful. OpenVPN also has a great mailing list where I got some additional help. ___ 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: Urgent!. Problem with / etc / rc.conf
From: Zantgo zan...@gmail.com To: Robert Simmons rsimmo...@gmail.com Cc: freebsd-questions@FreeBSD.org freebsd-questions@freebsd.org Sent: Sunday, November 6, 2011 12:52 AM Subject: Re: Urgent!. Problem with / etc / rc.conf El 06-11-2011, a las 1:29, Robert Simmons rsimmo...@gmail.com escribió: On Sun, Nov 6, 2011 at 12:10 AM, Zantgo zan...@gmail.com wrote: Without wanting to erase all contents of / etc / rc.conf, by running echo slim_enable = YES / etc / rc.conf. Please help!. Well, the absolute basics would be: hostname=YourHostNameHere ifconfig_NameOfNicCardDeviceHere=inet IPADDRESS netmask NETMASK defaultrouter=IPOfGateway/Router You may also have had: sshd_enable=YES You can also look at dmesg -a and get a grasp over what other services you had started. Two other things, use rather than to append to the file (better yet, learn vi, it's much safer), and always backup any changes from default you make to config files. I keep them all on pastebin.com for convenience, but you can keep them anywhere, even scribbled on a postit note stuck to the front of the server in question (what I used to do). Rob I gave up, and now reinstall everything again :( ___ 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 Wow, to reinstall everything is like throwing the baby out with the bath water. Rather drastic. There are some simple steps you could have taken to get things back to normal but without knowing what you had in your original rc.conf file that's probably oversimplifying things. I keep a little script in my /root/bin folder to backup my config files periodically to another server. This is something you should look into. We all make mistakes and when we do, a backup copy can make the difference between oh wow and oh f***. ___ 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: recursive copy with spaces in descendants
On Sat, 5 Nov 2011 15:47:20 -0400, Chris wrote: I'm having difficulty copying a directory tree from my FreeBSD server to USB storage. The problem is that the tree contains file and folder names which have spaces, similar to the following: The thing you're intending to name are properly called directories, not folders. :-) ./foo bar/some name.tar.gz ./foo bar/child dir/some other name.tar.gz I've tried various combinations of cp with enclosing the top level directory in quotations, along with other commands like tar or xargs to no avail. The problem seems to be with creating the destination directories and folders, where mkdir/cp terminates with an invalid argument response. That's a typical problem caused by those who put spaces into filenames: Scripting requires more work to do what you intend. I may point you to the following articles that deal with the _result_ of your problem: David A. Wheeler Filenames and Pathnames in Shell: How to do it correctly http://www.dwheeler.com/essays/filenames-in-shell.html David A. Wheeler: Fixing Unix/Linux/POSIX Filenames: Control Characters (such as Newline), Leading Dashes, and Other Problems http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html However, if you _can_, solve the _cause_ of your problem, i. e. educate those who create that kind of trouble-carrying file and directory names _not_ to use spaces! Any ideas would be greatly appreciated, since I'm pretty much out of them at this point. The articles should help you to deal with the problem, as they present properly working solutions. Good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Urgent!. Problem with / etc / rc.conf
On Sun, 6 Nov 2011 05:23:54 -0800 (PST), Bill Tillman wrote: Wow, to reinstall everything is like throwing the baby out with the bath water. Rather drastic. There are some simple steps you could have taken to get things back to normal but without knowing what you had in your original rc.conf file that's probably oversimplifying things. The defaults in /etc/defaults/rc.conf should be fully sufficient to bring the system up. From this state, running sysinstall could be used to choose settings that will cause /etc/rc.conf to be updated. Furthermore /etc/defaults/rc.conf can be used as a template for settings. Depending on what a system actually will be used for, there can be some strange settings required, such as keymap or services to be enabled at boot. Using some web web search, usabe /etc/rc.conf templates can also be revealed. Of course they need changes to conform to local needs. I keep a little script in my /root/bin folder to backup my config files periodically to another server. This is something you should look into. We all make mistakes and when we do, a backup copy can make the difference between oh wow and oh f***. I also have a copy /root/etc for the files I have changed, and I keep my changes in a CVS repository. I know this may sound overcomplex at _this_ particular problem, but it helps when you have to deal with various systems and sometimes need to undo changes. From that repository, I can restore any version from any system. Even in worst case obtaining a complete set of configuration files is possible. The difference in the RESULT between and can be immense, and having a backup you can _quickly_ access is really a happy oh wow, which is more pleasant than oh f***, especially if the last one is expressed by others. :-) Politely I'd also like to mention that there are no things called folder on FreeBSD in particular, and on operating systems in general. Those things are properly called directories. ;-) PS. Please wrap your lines 72. Some MUAs don't do that automatically. Thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: recursive copy with spaces in descendants
On Sun, Nov 6, 2011 at 6:35 AM, Polytropon free...@edvax.de wrote: However, if you _can_, solve the _cause_ of your problem, i. e. educate those who create that kind of trouble-carrying file and directory names _not_ to use spaces! Amen, Brother. Just because you *can*, doesn't mean you should. I blame Mac users. ;-) - M ___ 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: Looking for a simple HOW-TO
2011-11-06 10:37, Jack Raats skrev: Hi, This is perhaps not the right mailinglist so I'm sorry. I'm looking for a simple how to to install Aterisk 1.8 on FreeBSD 7.4-STABLE from the ports. Compiling is not the problem but what to choose from the config before compiling, realizing that I'm only using SIP, so no hardware attached. It would be nice to see the minimum config I have to use from asterisk. cd /usr/ports/net/asterisk make showconfig / ___ 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
Problem with X
The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist___ 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: Problem with X
On Sun, 6 Nov 2011 13:42:48 -0300, Zantgo wrote: The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist That message is _not_ in relation to the problems you're experiencing. Depending on how you setup X (full autodetecion, no config file, HAL and DBOS -or- xorg.conf file with proper settings), you should make sure everything is in place. See chapter 6.4 of the FreeBSD Handbook: http://www.freebsd.org/doc/handbook/x-config.html For the Synaptics touchpad: http://wiki.freebsd.org/SynapticsTouchpad The (missing) presence of the X authority file has nothing to do with keyboard or mouse problems. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Problem with X
2011/11/6, Zantgo zan...@gmail.com: The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist___ you have many errors, i don't understand, i think that you should choose a interface, for example gnome, xfce4, kde..., i recomend to read xrog, and desktop enviroments, check it: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html I remember when i started to use freebsd i was nervious, but i read the handbook and all was easy, do you want to install freebsd and to use freebsd?, read and try to do it 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 -- Edguitar ;) http://cybernautape.blogspot.com ___ 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: Problem with X
On 11/06/2011 06:42 PM, Zantgo wrote: The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist___ 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 did you put this in your /etc/rc.conf: hald_enable=YES dbus_enable=YES see 6.4.2 Configuring X11 of the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html, for details. sasha ___ 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: Problem with X
El 06-11-2011, a las 14:31, Alexander Kapshuk alexander.kaps...@gmail.com escribió: On 11/06/2011 06:42 PM, Zantgo wrote: The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist___ 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 did you put this in your /etc/rc.conf: hald_enable=YES dbus_enable=YES Yes but does not yet work see 6.4.2 Configuring X11 of the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html, for details. sasha ___ 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: Problem with X
on the console keyboard and mouse do work ___ 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: Problem with X
On 11/06/2011 07:36 PM, Zantgo wrote: El 06-11-2011, a las 14:31, Alexander Kapshukalexander.kaps...@gmail.com escribió: On 11/06/2011 06:42 PM, Zantgo wrote: The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist___ 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 did you put this in your /etc/rc.conf: hald_enable=YES dbus_enable=YES Yes but does not yet work see 6.4.2 Configuring X11 of the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html, for details. sasha ___ 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 did you restart 'hald' and 'dbus' after putting hald_enable=YES dbus_enable=YES in your /etc/rc.conf? ___ 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: Problem with X
El 06-11-2011, a las 14:48, Alexander Kapshuk alexander.kaps...@gmail.com escribió: On 11/06/2011 07:36 PM, Zantgo wrote: El 06-11-2011, a las 14:31, Alexander Kapshukalexander.kaps...@gmail.com escribió: On 11/06/2011 06:42 PM, Zantgo wrote: The synaptics mouse and the keyboard not found when I tap startx in my user, this is the mensaje: xauth: file /home/user/.Xauthority does not exist___ 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 did you put this in your /etc/rc.conf: hald_enable=YES dbus_enable=YES Yes but does not yet work see 6.4.2 Configuring X11 of the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html, for details. sasha ___ 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 did you restart 'hald' and 'dbus' after putting hald_enable=YES dbus_enable=YES in your /etc/rc.conf? Yes I restart the system but not found, but in the console found ___ 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
8-STABLE And fxp Driver
Is there are known recent problem with the fxp driver and 8-STABLE. I buildworld/kernel every 7-10 days and I have recently begun to see a bunch of Link Down/Link Up messages. Before I tear through cables, switches, and other hardware, I want to make sure this isn't some recently introduced driver artifact... Thanks, -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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
rpcbind/rpc.umntall error on boot
I'm getting the following error on a new install with NFS: kernel: Starting rpcbind. kernel: NFS access cache time=60 kernel: rpc.umntall: kernel: fileserver: MOUNTPROG: RPC: Program not registered kernel: kernel: rpc.umntall: kernel: localhost: MOUNTPROG: RPC: Program not registered kernel: kernel: rpc.umntall: kernel: fileserver: MOUNTPROG: RPC: Program not registered My /etc/rc.conf contains the following: nfs_server_enable=YES nfs_client_enable=YES rpcbind_enable=YES and /etc/exports is the following (for testing): /storage -maproot=root 127.0.0.1 This problem does not seem to affect mounting or NFS functions. What is causing this error? ___ 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
painful binary upgrade from 8.1 to 8.2
When following the instructions at http://www.freebsd.org/releases/8.2R/announce.html to go from 8.1 to 8.2, I'm presented during the command: freebsd-update upgrade -r 8.2-RELEASE with no less than *** 322 *** files that differ only by the CVS tag. After hitting about 150 of these with ret ret ret dd dd dd ret dd : wq ret, I'm really frustrated, because I made a mistake and now apparently have to start over. Why doesn't the freebsd-update command invoke mergemaster with -F? Or is there some step that I'm leaving out? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion ___ 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: painful binary upgrade from 8.1 to 8.2
On Sun, 06 Nov 2011 13:25:30 -0600, Randal L. Schwartz mer...@stonehenge.com wrote: Why doesn't the freebsd-update command invoke mergemaster with -F? Or is there some step that I'm leaving out? Does freebsd-update follow /etc/mergemaster.rc? # Automatically install files that do not exist AUTO_INSTALL='yes' # Automatically upgrade files that have not been edited AUTO_UPGRADE='yes' # Ignore files that I don't want changed IGNORE_FILES='/etc/motd' # Do not display changes that only affect whitespace #DIFF_FLAG='.Bub' # Ignore CVS id lines to stop replacing files where only that line has changed DIFF_OPTIONS='-I$FreeBSD:.*[$]' This is precisely why I still do source upgrades most of the time. But I haven't tried since I started using mergemaster.rc. Regards, Mark ___ 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: painful binary upgrade from 8.1 to 8.2
Mark == Mark Felder f...@feld.me writes: Mark Does freebsd-update follow /etc/mergemaster.rc? No, apparently it just calls classic merge, which doesn't have any kind of ignore CVS tags. No wonder it's painful. But surely, I'm not the only one using freebsd-update. Does everyone else put up with this, or is there some additional tool I'm missing? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion ___ 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
8.2-STABLE GENERIC kernel will not build
I updated the sources on one of my FreeBSD-8.2-STABLE servers and rebuilt the GENERIC kernel just last night. All went well. This morning I updated the sources on another machine and rebuilt a custom kernel and all went well. This evening I updated the sources on a 3rd server and the make buildworld went well, but when I tried to build the GENERIC kernel on this one I get: /usr/src/sys/dev/usb/usb_process.c:104: error: too few argument to function 'kthread_suspend_check' *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I tried the build twice and both times it failed this way. Any suggestions? ___ 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: 8-STABLE And fxp Driver
From: Tim Daneliuk tun...@tundraware.com To: FreeBSD Mailing List freebsd-questions@freebsd.org Sent: Sunday, November 6, 2011 1:03 PM Subject: 8-STABLE And fxp Driver Is there are known recent problem with the fxp driver and 8-STABLE. I buildworld/kernel every 7-10 days and I have recently begun to see a bunch of Link Down/Link Up messages. Before I tear through cables, switches, and other hardware, I want to make sure this isn't some recently introduced driver artifact... Thanks, -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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 I run 8.2-STABLE on my system and have fxp0 nic on it. No problems thus far with mine. I updated src about 1 week ago. ___ 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: painful binary upgrade from 8.1 to 8.2
On Sun, Nov 06, 2011 at 11:54:27AM -0800, Randal L. Schwartz wrote: Mark == Mark Felder f...@feld.me writes: Mark Does freebsd-update follow /etc/mergemaster.rc? No, apparently it just calls classic merge, which doesn't have any kind of ignore CVS tags. No wonder it's painful. But surely, I'm not the only one using freebsd-update. Does everyone else put up with this, or is there some additional tool I'm missing? I had the exact same problem when going from 7.3 to 7.4 The result: I don't use freebsd-update any longer and update the traditional way from source. AFAIK, I followed the instructions to the letter. I would be interested to see if there is a workaround, otherwise it seems that freebsd-update is the long way of updating; assuming you've got the ignore CVS tags flag enabled in mergemaster.rc Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgpXpCJhNGo0U.pgp Description: PGP signature
Deprecated ifconfig_interface_aliasn
Hello, according to the rc.conf(5) manual page, the ifconfig_interface_alias_n mechanism has been deprecated: And so on. For each ifconfig_interface_aliasn entry that is found, its contents are passed to ifconfig(8). Execution stops at the first unsuccessful access, so if something like this is present: ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x ifconfig_ed0_alias4=inet 127.0.0.254 netmask 0x Then note that alias4 would not be added since the search would stop with the missing `alias3'' entry. Due to this difficult to manage behavior, the ifconfig_interface_aliasn form is deprecated. I can't see any further hints by what it has been deprecated, and the net is full of examples using this mechanism. Can someone point me to whereever some equivalent functionality has been implemented? Should I file a PR, or am I just being blind? (Machine is running 9.1-RC1, maybe it has been deprecated after 8) Best regards, Moritz ___ 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: Deprecated ifconfig_interface_aliasn
On Sun, Nov 06, 2011 at 22:46:24 +0100, Moritz Wilhelmy wrote: according to the rc.conf(5) manual page, the ifconfig_interface_alias_n mechanism has been deprecated: And so on. For each ifconfig_interface_aliasn entry that is found, its contents are passed to ifconfig(8). Execution stops at the first unsuccessful access, so if something like this is present: ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x ifconfig_ed0_alias4=inet 127.0.0.254 netmask 0x Then note that alias4 would not be added since the search would stop with the missing `alias3'' entry. Due to this difficult to manage behavior, the ifconfig_interface_aliasn form is deprecated. I can't see any further hints by what it has been deprecated, and the net is full of examples using this mechanism. Can someone point me to whereever some equivalent functionality has been implemented? Should I file a PR, or am I just being blind? (Machine is running 9.1-RC1, maybe it has been deprecated after 8) Silly me, I guess that would be ipv4_addrs_interface? It would still be nice to mention that ipv4_addrs_interface should be used in place of ifconfig_interface_aliasn, and that they are both entirely equivalent, I guess. Best, Moritz ___ 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: Deprecated ifconfig_interface_aliasn
On Sun, Nov 06, 2011 at 23:21:10 +0100, Moritz Wilhelmy wrote: Silly me, I guess that would be ipv4_addrs_interface? It would still be nice to mention that ipv4_addrs_interface should be used in place of ifconfig_interface_aliasn, and that they are both entirely equivalent, I guess. While this looks like a great and comfortable feature, it doesn't look like there's an equivalent for IPv6. Can someone clarify? Sorry for the noise or spam, whatever you classify it. Thanks a lot, Moritz ___ 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: Urgent!. Problem with / etc / rc.conf
On Sun, Nov 06, 2011 at 01:10:28AM -0300, Zantgo wrote: Without wanting to erase all contents of / etc / rc.conf, by running echo slim_enable = YES / etc / rc.conf. Please help!. First, please learn to break your lines at about 70 characters. It makes it easier to reply appropriately. Second, you should learn to use a text editor - most particularly the vi(1) editor wihch is distributed in /usr/bin/vi That will help your system administration a whole lot. Here is a web page with simplified info on using vi on a basic level. http://z2.cl.msu.edu/~jerrymc/project/editvi/ Third, to append to a file instead of replacing it when using echo double the '' character - as in In your example, it would be: echo 'slim_enable=YES' /etc/rc.conf jerry ___ 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: Problem with X
On Sun, Nov 06, 2011 at 02:40:10PM -0300, Zantgo wrote: on the console keyboard and mouse do work Did you run X config It is one of the steps in the Handbook You can fake a .Xauthority and get rid of the message by doing touch .Xauthority in your home directory (and in roots home) jerry ___ 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: Deprecated ifconfig_interface_aliasn
On Sun, 6 Nov 2011, Moritz Wilhelmy wrote: Hello, according to the rc.conf(5) manual page, the ifconfig_interface_alias_n mechanism has been deprecated: And so on. For each ifconfig_interface_aliasn entry that is found, its contents are passed to ifconfig(8). Execution stops at the first unsuccessful access, so if something like this is present: ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x ifconfig_ed0_alias4=inet 127.0.0.254 netmask 0x Then note that alias4 would not be added since the search would stop with the missing `alias3'' entry. Due to this difficult to manage behavior, the ifconfig_interface_aliasn form is deprecated. I can't see any further hints by what it has been deprecated, and the net is full of examples using this mechanism. Can someone point me to whereever some equivalent functionality has been implemented? Should I file a PR, or am I just being blind? (Machine is running 9.1-RC1, maybe it has been deprecated after 8) I'd say there isn't one. You're expected to use /etc/start_if.interface, accordingly. The next paragraph in the rc.conf(5) man page states: If the /etc/start_if.interface file is present, it is read and executed by the sh(1) interpreter before configuring the interface as specified in the ifconfig_interface and ifconfig_interface_aliasn variables. The wording might be a bit misleading here. Actually, there's no need to have any ifconfig_* statements in rc.conf, unless you need or want to make use of the facilties provided by network startup scripts. Just drop any ifconfig and possibly other shell commands to configure the interface in question into /etc/start_if.interface. Maybe opening a PR, asking for different wording or an additional paragraph is a good idea, nonetheless. MfG CoCo ___ 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
Get list of ethernet devices
Moin, I'm setting up a system on an external USB drive, serving as fallback in case of a server failure: Customer takes USB drive, plugs it into any of his PCs and boots of it. Now I am looking for a good method to configure the network: I could just start dhclient on any NIC which could possibly be there, thus cramming rc.conf with ifconfig_em0=DHCP ifconfig_em1=DHCP ifconfig_fxp0=DHCP and so on. Or I could grep ifconfig or dmesg output for ethernet interfaces and dhclient these. Both sound like a very messy solution. So I would step beyond my current area of expertise, grep some source from sysinstall, bsdinstall or somewhere and do it in C. But I'm kind of hoping anybody can point me to a readymade solution yet unknown to me. Regards, Michael ___ 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
No color on CUPS
Hey everyone, I hope this is FreeBSD-specific enough for this list... Ever since moving to FreeBSD, I haven't been able to use color on my color laserjet. I've tried selecting just about every color laserjet model from the web interface to CUPS that I can think of, and the only color models available are grayscale and inverted grayscale. I was always able to get color no problem on my Linux box. I know there's something stupid that I'm missing, but I'm not really knowledgeable about CUPS, much less CUPS on FreeBSD. Has anyone else had this problem, and if so, how did you fix it? Thanks so much! James ___ 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: Get list of ethernet devices
On Mon, 7 Nov 2011, Michael Ross wrote: I'm setting up a system on an external USB drive, serving as fallback in case of a server failure: Customer takes USB drive, plugs it into any of his PCs and boots of it. Now I am looking for a good method to configure the network: I could just start dhclient on any NIC which could possibly be there, thus cramming rc.conf with ifconfig_em0=DHCP ifconfig_em1=DHCP ifconfig_fxp0=DHCP and so on. Or I could grep ifconfig or dmesg output for ethernet interfaces and dhclient these. Both sound like a very messy solution. So I would step beyond my current area of expertise, grep some source from sysinstall, bsdinstall or somewhere and do it in C. But I'm kind of hoping anybody can point me to a readymade solution yet unknown to me. ifconfig_DEFAULT=DHCP It's not well documented. I'd also suggest using SYNCDHCP as more likely to work predictably on unknown equipment. ___ 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: Get list of ethernet devices
On Mon, 7 Nov 2011, Michael Ross wrote: Moin, Morsche, I'm setting up a system on an external USB drive, serving as fallback in case of a server failure: Customer takes USB drive, plugs it into any of his PCs and boots of it. Now I am looking for a good method to configure the network: I could just start dhclient on any NIC which could possibly be there, thus cramming rc.conf with ifconfig_em0=DHCP ifconfig_em1=DHCP ifconfig_fxp0=DHCP and so on. Or I could grep ifconfig or dmesg output for ethernet interfaces and dhclient these. Both sound like a very messy solution. So I would step beyond my current area of expertise, grep some source from sysinstall, bsdinstall or somewhere and do it in C. But I'm kind of hoping anybody can point me to a readymade solution yet unknown to me. No readymade solution, just a hint for possibly keeping the mess down a bit: The l (lower case letter L) flag to ifconfig lists all available interfaces in a more scripting friendly fashion: % ifconfig -l em0 dc0 plip0 lo0 vboxnet0 % I'd be interested in testing the results (or possible steps thereto) of your efforts in creating a customized, bootable FreeBSD USB stick image, if that's feasible. MfG CoCo ___ 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: Get list of ethernet devices
On Mon, 07 Nov 2011 01:46:14 +0100, Michael Ross wrote: Moin, I'm setting up a system on an external USB drive, serving as fallback in case of a server failure: Customer takes USB drive, plugs it into any of his PCs and boots of it. Now I am looking for a good method to configure the network: I could just start dhclient on any NIC which could possibly be there, thus cramming rc.conf with ifconfig_em0=DHCP ifconfig_em1=DHCP ifconfig_fxp0=DHCP and so on. Or I could grep ifconfig or dmesg output for ethernet interfaces and dhclient these. Both sound like a very messy solution. So I would step beyond my current area of expertise, grep some source from sysinstall, bsdinstall or somewhere and do it in C. But I'm kind of hoping anybody can point me to a readymade solution yet unknown to me. You could look at how FreeSBIE does it - it contains autodetect magic also for graphics and sound. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
issue with IPF firewall state tables
Back Story: Old Server (X32 system, probably FreeBSD 4.3-ish) New Server (Dual core, X64 with plenty of RAM) running 8.1-RELEASE New Server was put in production last night as a core router, with the same rc.conf, firewall rule set and config from the old router that has been working for years. At around 12 Lunchtime we had reports of no internet connectivity, I've jumped onto the router and seen that it is blocking a whole heap of internal to external DNS server traffic, along with other would-be allowed traffic. I promptly flushed the firewall ruleset with ipf -Fa, and noted that the rules did clear - Issue still existing. I re-loaded the rule set, no change. Upon restart, the router began to behave itself again... I have been using ipfstat -ts | grep active to get a count of state entries, and comparing to the 4013 default. We are sitting on around ~2000 state entries. I am aware I can flush the state table, but until the router breaks itself again, I cannot clear it. Does this sound like a full state table? Am I using the best method to check? Is there any form of notification that this is happening anywhere? -- Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 5168 F: +61 3 9238 5140 |_|0|_|Absence of evidence |_|_|0|is not evidence of absence |0|0|0|Carl Sagan --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ 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: recursive copy with spaces in descendants
In freebsd-questions Digest, Vol 387, Issue 10, Message: 34 On Sat, 5 Nov 2011 18:49:29 -0400 Chris cpubur...@gmail.com wrote: On Sat, Nov 5, 2011 at 6:20 PM, Michael Sierchio ku...@tenebras.com wrote: On Sat, Nov 5, 2011 at 3:15 PM, Chris cpubur...@gmail.com wrote: I apologize for the lack of detail. The command I'm using is: ( cd /usr/local/etc/transmission/home/Downloads/ ; tar cf - . ) | ( cd /mnt/usb ; tar xf - ) Show, don't tell. What does tar report when you run it? Indeed this helps, especially now we also know it's msdosfs .. The following messages display: ./: Can't set user=921/group=921 for . ./Reboot S1 - 01 [3FD6C4B2].mkv: Can't create 'Reboot S1 - 01 [3FD6C4B2].mkv' The last message (can't create) repeats for all files in the directory. Running 'ls -al /mnt/usb' yields: drwxr-xr-x 1 rootwheel 32768Dec 31 1979 . drwxr-xr-x 1 rootwheel 512Nov 5 03:04 .. Where /mnt/usb was originally empty in the first place. Something I've seen noone mention is that msdosfs has no concept of user or group, so Can't set user=921/group=921 for . makes perfect sense. Your 'ls -al' above showing root wheel indicates permissions related to the mount point. If you'd mounted it as a normal user it could show user user ownerships, unrelated to what msdosfs stores on the disk. Similarly, mount_msdosfs(8) -u, -g and -m switches don't affect what's written to the disk, but only how the filesystem appears to FreeBSD. For example, a 'cp -pR /etc /mnt/usb also complains about not being able to set the ownership or permissions (other than DOS' read-only attribute) on target files, but it will still copy them ok, including filenames with spaces - but not with ',+' or other non-DOS characters. So maybe tar gives up before writing, because the ownership is wrong? Perhaps the -o and -p options to tar(1) might help here, but the bottom line is that msdosfs is not really a suitable target for UFS files. I tend to use zip(1) - which keeps perms and ownership, though not hard links - to stash dirs and files on msdosfs, but format flash disks - or at least one or more slices on them - as UFS for real backup purposes. cheers, Ian ___ 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