Re: What happened to /home?
On Thu, Dec 24, 2009 at 08:33:20AM +0200, Giorgos Keramidas wrote: > On Wed, 23 Dec 2009 15:40:13 -0800, Rem P Roberti > wrote: > >On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: > >>On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: > >>> Today I booted my laptop and discovered that /home was gone. > >>> Well...not exactly..but for all intents and purposes. The system > >>> isn't seeing it although I can see it when I cd to /. But if I try > >>> and cd to /home from there the system tells me "home:Not a > >>> directory." What happened, and what can I do about it? > >> > >> Usually /home is a symlink to /usr/home. Perhaps the symlink is > >> busted? What it the output of `ls -ld /home' ? If you can still login > >> as a regular user, what does `pwd -P' say just after you are logged > >> in? > > > > I can still login as regular user, and when I run 'pwd -P' the output is > > / and then it goes back to the prompt. Output of 'ls -ld /home is: > > > > lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home > > That's your problem right there. /home does not point to the absolute > path of '/usr/home' but to a *relative* path starting at whatever > happens to be your current directory when you access '/home'. Wrong. Relative paths in symlinks start at the symlink is in, not the current directory. I.e. that the symlink is relative should not be a problem. (Under AmigaOS relative symlinks worked as you describe, which made them a PITA and fairly useless, but under Unix relative symlinks have a more sane behaviour.) -- Erik Trulsson ertr1...@student.uu.se ___ 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: What happened to /home?
On Wed 23 Dec 2009 at 22:33:20 PST Giorgos Keramidas wrote: On Wed, 23 Dec 2009 15:40:13 -0800, Rem P Roberti wrote: On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: Today I booted my laptop and discovered that /home was gone. Well...not exactly..but for all intents and purposes. The system isn't seeing it although I can see it when I cd to /. But if I try and cd to /home from there the system tells me "home:Not a directory." What happened, and what can I do about it? Usually /home is a symlink to /usr/home. Perhaps the symlink is busted? What it the output of `ls -ld /home' ? If you can still login as a regular user, what does `pwd -P' say just after you are logged in? I can still login as regular user, and when I run 'pwd -P' the output is / and then it goes back to the prompt. Output of 'ls -ld /home is: lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home That's your problem right there. /home does not point to the absolute path of '/usr/home' but to a *relative* path starting at whatever happens to be your current directory when you access '/home'. Are you sure about that? On my FreeBSD 8 system, I just tried this: cd /etc ls /home/ckester and the result was a listing of my home directory, not some directory under /etc. Yet the result of ls -ld /home on my system is the same as above. The symlink named "home" is found in the root directory "/" and the relative path usr/home is apparently relative to that root directory, not the current directory. ___ 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: What happened to /home?
On Wed, 23 Dec 2009 15:40:13 -0800, Rem P Roberti wrote: >On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: >>On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: >>> Today I booted my laptop and discovered that /home was gone. >>> Well...not exactly..but for all intents and purposes. The system >>> isn't seeing it although I can see it when I cd to /. But if I try >>> and cd to /home from there the system tells me "home:Not a >>> directory." What happened, and what can I do about it? >> >> Usually /home is a symlink to /usr/home. Perhaps the symlink is >> busted? What it the output of `ls -ld /home' ? If you can still login >> as a regular user, what does `pwd -P' say just after you are logged >> in? > > I can still login as regular user, and when I run 'pwd -P' the output is > / and then it goes back to the prompt. Output of 'ls -ld /home is: > > lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home That's your problem right there. /home does not point to the absolute path of '/usr/home' but to a *relative* path starting at whatever happens to be your current directory when you access '/home'. Try replacing your current /home symlink with a link to /usr/home instead: # cd / # rm -f home # ln -s /usr/home home Then the symlink should start working in a more useful manner. ___ 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"
epair0a routes to lo0?
Hi all, I created epair devices by using ifconfig $ ifconfig epair1 create $ ifconfig epair1a inet 10.0.4.3 netmask 0xff00 broadcast 10.0.4.255 $ ifconfig epair1a inet 10.0.4.1 netmask 0xff00 broadcast 10.0.4.255 alias Thing makes me confused is that the routing table $ netstat -rantfinet DestinationGatewayFlagsRefs Use Netif Expire default192.168.0.1UGS 00em0 10.0.4.0/24link#6 U 00 epair1 10.0.4.1 link#6 UHS 00lo0 10.0.4.3 link#6 UHS 00lo0 127.0.0.1 link#5 UH 00lo0 Why are 10.0.4.1 and 10.0.4.3 routed to lo0? (I expected that it would be em0). Thank you for your replies, Regards, -- Anh Ky Huynh ___ 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: Supressing dd output
Noel Jones wrote: On Wed, Dec 23, 2009 at 10:19 PM, Rolf Nielsen wrote: Hello everyone, I'm wondering if there's a way to supress the summary output from dd. I'm working on a backup script, that encrypts the backups, and after encrypting overwrites the unencrypted file several times using dd. I've tried to redirect the output with 2>&1 > /dev/null but it doesn't work. Since I run the script from the daily_local variable in periodic.conf, and the script backs up 11 filsystems (ZFS) to separate files, the mail from periodic daily gets ridiculously long, and most of it being dd summaries. I guess I could hack the source code of dd, but I'd prefer not to have to. Has anyone got any ideas? Thanks in advance and Merry Christmas to all of you, Rolf Nielsen Order matters. dd ... >/dev/null 2>&1 -- Noel Jones Thanks Noel. I've never considered using that order before. Probably because first time I saw that construct and had it explained to me, it was ordered the way I had it, and I very rarely have any use for it, so I haven't really noticed that my way was wrong; I usually only redirect stdout if anything at all. Anyway, now it works like a charm. Thanks. :) Rolf Nielsen ___ 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: Help building/running SDL/OpenGL code
On Wednesday 23 December 2009 22:54:07 Pieter de Goeje wrote: > On Wednesday 23 December 2009 04:42:28 Richard Mace wrote: > > Incidentally, if there is anyone out there with newer hardware who is > > interested in building the code I am talking about you can find it at: > > > > http://physics.ukzn.ac.za/~richm/courses/phys110/lennard-jones-3d.html > > > > You'll need to change the following lines in the Makefile to get it to > > successfully build under FreeBSD: > > == > > CFLAGS = -Wall -Wextra -pthread -I/usr/local/include > > -I/usr/local/include/SDL -O3 -march=native > > > > LFLAGS = -Wall -L/usr/local/lib > > > > lennardjones : $(OBJS) > > $(CC) $(LFLAGS) -o lennardjones $(OBJS) -lSDL -lSDL_gfx -lGLU > > == > > > > It would be interesting to hear feedback. (Basic controls are: up-arrow > > add heat to crystal; down-arrow cool down gas/crystal. There are a bunch > > of others -- look in main.c). You are welcome to do whatever you wish > > with my code. > > Arrr. Same problem here at startup: segfault in glXGetFBConfigAttribSGIX. A > simple test case is the following: > > py...@nox:~% cat test.c > int main() {} > py...@nox:~% cc -o test test.c -L/usr/local/lib -lSDL -lGL > py...@nox:~% ./test > zsh: segmentation fault (core dumped) ./test > > Then I attempted to switch the arguments around... > > py...@nox:~% cc -o test test.c -L/usr/local/lib -lGL -lSDL > py...@nox:~% ./test > py...@nox:~% > > Voila! (Admittedly much to my surprise ;)) > > So then I changed the Makefile to use these libraries: -lGLU -lSDL > -lSDL_gfx. Result: a perfectly working ./lennardjones. The only minor > issue is that it presented me with exactly one option: > > py...@nox:~/temp/lennard-jones-gas-3d% ./lennardjones > Current pixel depth: 32 > Available Modes > 0 => 3840 x 1200 > Select your preferred video mode: > > So apparently I prefer mode 0 :D. It run fine (and smooth) though. > > It is clear something goes wrong during the runtime linking process, which > this library order works around. The actual problem is still a mystery to > me. It might be worthwhile to post a bugreport on the nvnews.net FreeBSD > forum. > > Best regards, > > Pieter de Goeje > Pieter, many, many thanks for taking the time to test and diagnose this. Your solution works perfectly: ensure that libGLU PRECEDES all the SDL libraries in the link line of the Makefile. Wow! I never would have thought About your allowable modes being only 3840 x 1200: I had the same issue at work (Linux) where I run dual monitors (2 x 1680 x 1050). Just create an NVIDIA metamode in your xorg.conf that blanks one monitor (I do not recall the exact syntax here, but I think you need to use NULL for the one monitor). It is also useful for some games ;-) Then you can use one screen and avoid staring at the crack between your monitors during simulations. Again, many thanks. This for me is proof that I can continue to do some scientific programming (with rendering in 3D) under FreeBSD . -Richard ___ 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: Supressing dd output
On Wed, Dec 23, 2009 at 10:19 PM, Rolf Nielsen wrote: > Hello everyone, > > I'm wondering if there's a way to supress the summary output from dd. I'm > working on a backup script, that encrypts the backups, and after encrypting > overwrites the unencrypted file several times using dd. I've tried to > redirect the output with 2>&1 > /dev/null but it doesn't work. Since I run > the script from the daily_local variable in periodic.conf, and the script > backs up 11 filsystems (ZFS) to separate files, the mail from periodic daily > gets ridiculously long, and most of it being dd summaries. > > I guess I could hack the source code of dd, but I'd prefer not to have to. > Has anyone got any ideas? > > Thanks in advance and Merry Christmas to all of you, > > Rolf Nielsen Order matters. dd ... >/dev/null 2>&1 -- Noel Jones ___ 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"
Supressing dd output
Hello everyone, I'm wondering if there's a way to supress the summary output from dd. I'm working on a backup script, that encrypts the backups, and after encrypting overwrites the unencrypted file several times using dd. I've tried to redirect the output with 2>&1 > /dev/null but it doesn't work. Since I run the script from the daily_local variable in periodic.conf, and the script backs up 11 filsystems (ZFS) to separate files, the mail from periodic daily gets ridiculously long, and most of it being dd summaries. I guess I could hack the source code of dd, but I'd prefer not to have to. Has anyone got any ideas? Thanks in advance and Merry Christmas to all of you, Rolf Nielsen ___ 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: Blacklisting a SourceForge mirror from ports?
On Thu, 24 Dec 2009 03:32:20 + RW wrote: > On Wed, 23 Dec 2009 11:38:01 -0600 > Kirk Strauser wrote: > > MASTER_SITE_SOURCEFORGE=http://sunet.dl.sourceforge.net/%SUBDIR%/ > > That *usually* works, but will often return a redirect, in which > > case the fetch goes back to using the list of mirrors, starting with > > heanet, which puts me back in the same predicament. > > Don't the default settings prevent fetch following redirects. If you mean that fetch refuses the redirect and the ports system moves on to the next entry then you can simply paste the entire sourceforge list with heanet removed. ___ 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: Blacklisting a SourceForge mirror from ports?
On Wed, 23 Dec 2009 11:38:01 -0600 Kirk Strauser wrote: > In my /etc/make.conf, I have: > > MASTER_SITE_SOURCEFORGE=http://sunet.dl.sourceforge.net/%SUBDIR%/ I set MASTER_SORT_REGEX instead > That *usually* works, but will often return a redirect, in which case > the fetch goes back to using the list of mirrors, starting with > heanet, which puts me back in the same predicament. Don't the default settings prevent fetch following redirects. ___ 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: whats in your /etc/security/ files ? (AUDIT subsystem)
Mike Tancsa wrote: I am looking at getting more out of the FreeBSD AUDIT system and was wondering if anyone has feedback beyond what is in the handbook or links to other resources on this topic. http://bsdmag.org/ had a nice intro article and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html is actually pretty complete. But I was looking for additional feedback from folks using it on their servers in production. What do you find useful to log on large multi user systems ? What about boxes with limited access to just administrators ? Log everything? How do you manage your audit logs to ensure integrity ? Do you run at a higher secure level and make the file flags uappnd ? Write them to an nfs mount on a separate and separately secured system ? ---Mike Mike Tancsa, tel +1 519 651 3400 Sentex Communications,m...@sentex.net Providing Internet since 1994www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike ___ 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" My experience is its “OVERKILL”. Better to invest your time in tuning your firewall rules. ___ 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: What happened to /home?
On Wednesday 23 December 2009 15:46:57 Glen Barber wrote: > On Wed, Dec 23, 2009 at 7:43 PM, Mel Flynn > > wrote: > >> What does 'file /home' say? > > > > It is a symlink. What you really want to see is ls -l /home/. Note the > > trailing slash. > > It _should_ be a symlink, which is what I am getting at. No, it _is_ a symlink. ls says so: On Wed, Dec 23, 2009 at 6:40 PM, Rem P Roberti wrote: > lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home ^ ^^^ The only thing file is gonna tell you that the symlink might be broken. # ls -l total 1 lrwxr-xr-x 1 root wheel 8 Dec 23 16:50 home -> usr/home drwxr-xr-x 3 root wheel 3 Dec 23 16:50 usr # ls -ld home/. drwxr-xr-x 2 root wheel 2 Dec 23 16:50 home/. # file home home: symbolic link to `usr/home' # chmod 000 usr/home # ls -ld home/. d- 2 root wheel 2 Dec 23 16:50 home/. # file home home: symbolic link to `usr/home' As you can see, file don't tell you much, while using ls -ld on the target will immediately show the problem. -- Mel ___ 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: What happened to /home?
On 2009.12.23 17:45:38 +, Warren Block wrote: > On Wed, 23 Dec 2009, Rem P Roberti wrote: > > >Today I booted my laptop and discovered that /home was gone. Well...not > >exactly..but for all intents and purposes. The system isn't seeing it > >although I can see it when I cd to /. But if I try and cd to /home from > >there the system tells me "home:Not a directory." What happened, and > >what can I do about it? > > /home is (usually) a link to /usr/home. If there was some problem that > prevented /usr being mounted (power failure or crash with background > fsck disabled), or you booted in single user mode, it would act that > way. > > Does df show /usr is mounted? Yep...it was mounted. Something definitely got hosed. I ran fsck on /usr and there were a number of problems. Finally was able to delete the troubled directory and reinstall. Thankfully there was nothing of importance in /home and I had everything backed up so that I could re-populate the newly created /home. Rem ___ 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: What happened to /home?
On Wed, Dec 23, 2009 at 7:43 PM, Mel Flynn wrote: >> >> What does 'file /home' say? > > It is a symlink. What you really want to see is ls -l /home/. Note the > trailing slash. It _should_ be a symlink, which is what I am getting at. Additionally, what does the output of 'mount' and 'cat /etc/fstab' ? -- Glen Barber ___ 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: What happened to /home?
On Wed, 23 Dec 2009, Rem P Roberti wrote: Today I booted my laptop and discovered that /home was gone. Well...not exactly..but for all intents and purposes. The system isn't seeing it although I can see it when I cd to /. But if I try and cd to /home from there the system tells me "home:Not a directory." What happened, and what can I do about it? /home is (usually) a link to /usr/home. If there was some problem that prevented /usr being mounted (power failure or crash with background fsck disabled), or you booted in single user mode, it would act that way. Does df show /usr is mounted? -Warren Block * Rapid City, South Dakota USA ___ 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: What happened to /home?
On Wednesday 23 December 2009 15:34:39 Glen Barber wrote: > Hi > > On Wed, Dec 23, 2009 at 6:40 PM, Rem P Roberti wrote: > > On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: > >> On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: > >> > Today I booted my laptop and discovered that /home was gone. > >> > Well...not exactly..but for all intents and purposes. The system > >> > isn't seeing it although I can see it when I cd to /. But if I try > >> > and cd to /home from there the system tells me "home:Not a directory." > >> > What happened, and what can I do about it? > >> > > >> > Rem > >> > >> Usually /home is a symlink to /usr/home. Perhaps the symlink is busted? > >> What it the output of `ls -ld /home' ? If you can still login as a > >> regular user, what does `pwd -P' say just after you are logged in? > > > > I can still login as regular user, and when I run 'pwd -P' the output is > > / and then it goes back to the prompt. Output of 'ls -ld /home is: > > > > lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home > > What does 'file /home' say? It is a symlink. What you really want to see is ls -l /home/. Note the trailing slash. -- Mel ___ 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: What happened to /home?
Hi On Wed, Dec 23, 2009 at 6:40 PM, Rem P Roberti wrote: > On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: >> On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: >> > Today I booted my laptop and discovered that /home was gone. Well...not >> > exactly..but for all intents and purposes. The system isn't seeing it >> > although I can see it when I cd to /. But if I try and cd to /home from >> > there the system tells me "home:Not a directory." What happened, and >> > what can I do about it? >> > >> > Rem >> >> Usually /home is a symlink to /usr/home. Perhaps the symlink is busted? What >> it the output of `ls -ld /home' ? If you can still login as a regular user, >> what does `pwd -P' say just after you are logged in? >> > > I can still login as regular user, and when I run 'pwd -P' the output is > / and then it goes back to the prompt. Output of 'ls -ld /home is: > > lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home > What does 'file /home' say? -- Glen Barber ___ 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: FreeBSD 8.0 not detecting hot swap drive insertion
It should be noted that my raid controller driver (htprr) is exhibiting the same issue. Before 8.0, both the ata and htprr drivers would recognize a HD insertion and the disks information would be scanned and device nodes created. On 8.0, the best I can see is that the drive insertion is detected (the htprr driver prints a message about drive insertion/removal), but the disks are never scanned for drive information nor device nodes created. Rob P.S. My apologies if I posted this twice. I didn't see it get to the list. Rob wrote: I don't have any /dev/ada* devices, so I assume I'm using the original ata driver. I haven't done any kernel customization, and am running the distribution's kernel (upgraded with the freebsd-update tool). Does the older driver no longer detect drive insertion? Rob Steve Polyack wrote: Rob wrote: I'm running a 10 hot-swap SATA disk ZFS pool and recently upgraded from 7.2 to 8. Since I upgraded, freebsd isn't spinning up or recognizing a new drive that is inserted. In freebsd 7.[0,2], I could remove a drive and insert a new one and freebsd would recognize it, spin it up, and create the device nodes. None of that is happening in 8.0, and the only way I've found to get it to recognize the disk is to reboot the system. I tried using atacontrol to force freebsd to reinit an ata channel, but that didn't have any effect. Did something change in 8.0 that prevents this auto-detection? Is there a way to re-enable it? Are you using the original (7.x) ata(4) driver or the newer enhanced SATA drivers like ahci(4) or siis(4)? If you're using the latter your devices will be labeled /dev/ada* instead of /dev/ad*. If you are indeed using the newer enhanced SATA drivers, you will need to use camcontrol to reset and rescan the associated SATA channels. ___ 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" ___ 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: Blacklisting a SourceForge mirror from ports?
Null routes work great, until the url fronts 29 VIP's located around the world. And of course if the IP's ever change, null routes need to be updated Does pf / ipfw allow url filtering, such that you could block this url and not worry about the ip's? Duh... I think that's what previous post was getting at with the hosts file... Much easier / cleaner / better than using pf! So yea, adding "heanet.dl.sourceforge.net 127.0.0.1" to your hosts file would work perfect! -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of J Sisson Sent: Wednesday, December 23, 2009 4:43 PM To: Ruben de Groot; Kirk Strauser; freebsd-questions@freebsd.org Subject: Re: Blacklisting a SourceForge mirror from ports? On Wed, Dec 23, 2009 at 3:33 PM, Ruben de Groot wrote: > > Would "route add heanet.dl.sourceforge.net 127.0.0.1" help? > > Or map heanet to a non-routable addy in /etc/hosts... ___ 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" "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ 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: What happened to /home?
On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: > On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: > > Today I booted my laptop and discovered that /home was gone. Well...not > > exactly..but for all intents and purposes. The system isn't seeing it > > although I can see it when I cd to /. But if I try and cd to /home from > > there the system tells me "home:Not a directory." What happened, and > > what can I do about it? > > > > Rem > > Usually /home is a symlink to /usr/home. Perhaps the symlink is busted? What > it the output of `ls -ld /home' ? If you can still login as a regular user, > what does `pwd -P' say just after you are logged in? > I can still login as regular user, and when I run 'pwd -P' the output is / and then it goes back to the prompt. Output of 'ls -ld /home is: lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home Rem ___ 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: What happened to /home?
On Wed, Dec 23, 2009 at 03:01:11PM -0800, Rem P Roberti wrote: > Today I booted my laptop and discovered that /home was gone. Well...not > exactly..but for all intents and purposes. The system isn't seeing it > although I can see it when I cd to /. But if I try and cd to /home from > there the system tells me "home:Not a directory." What happened, and > what can I do about it? Sounds like you may have written a file over it - an empty file maybe. Or something like that. jerry > > Rem > ___ > 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: What happened to /home?
On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: > Today I booted my laptop and discovered that /home was gone. Well...not > exactly..but for all intents and purposes. The system isn't seeing it > although I can see it when I cd to /. But if I try and cd to /home from > there the system tells me "home:Not a directory." What happened, and > what can I do about it? > > Rem Usually /home is a symlink to /usr/home. Perhaps the symlink is busted? What it the output of `ls -ld /home' ? If you can still login as a regular user, what does `pwd -P' say just after you are logged in? - Pieter ___ 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"
What happened to /home?
Today I booted my laptop and discovered that /home was gone. Well...not exactly..but for all intents and purposes. The system isn't seeing it although I can see it when I cd to /. But if I try and cd to /home from there the system tells me "home:Not a directory." What happened, and what can I do about it? Rem ___ 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: Blacklisting a SourceForge mirror from ports?
On Wed, Dec 23, 2009 at 3:33 PM, Ruben de Groot wrote: > > Would "route add heanet.dl.sourceforge.net 127.0.0.1" help? > > Or map heanet to a non-routable addy in /etc/hosts... ___ 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"
Destroying CDs (Re: (no subject))
Modulok writes: > Is there a software method (not a microwave oven) to destroy a CD-R? Not that I would trust, even if it existed. Heavy duty office shredders do the job for me. A blowtorch is more fun, though (and I actually own one). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: FreeBSD boot invalid partition
Ruben de Groot a écrit: > On Wed, Dec 23, 2009 at 09:51:39PM +0100, Michel Le Cocq typed: > > I just dump a real host and try to restore it on a virtual host under > > kvm. > > > > When booting under KVM i see this : > > Booting From hard Disk... > > Invalid partition > > Invalid partition > > No /boot/loader > > > > FreeBSD/i386/Boot > > Default: 0:ad(0,a)/boot/kernel/kernel > > boot : > > > > If i enter : > > boot : 0:ad(0,d) > > > > it's ok and then : > > Manual Root Filesystem Specification : > > Mountroot> ufs:/dev/ad0s1d > > > > and it's finaly boot. > > > > [r...@vbsdio ~]# cat /etc/fstab > > # Device Mountpoint FStypeOptionsDump Pass# > > /dev/ad0s1b none swap sw0 0 > > /dev/ad0s1d / ufs rw1 1 > > /dev/ad0s1g /local ufs rw2 2 > > /dev/ad0s1e /usr ufs rw2 2 > > /dev/ad0s1f /var ufs rw2 2 > > /dev/acd0/cdrom cd9660ro,noauto 0 0 > > linproc /compat/linux/proc linprocfs rw0 0 > > [r...@vbsdio ~]# > > > > I need to change my master boot device or anything else. > > But don't know what to do exactly. > > Not sure, but I think boot0 only boots "a" partitions. So after > you manually boot like above, go into bsdlabel and change ad0s1d > into ad0s1a. Do the same in fstab. I boot under liveFS then : bsdlabel -e ad0s1 change 'd' label to 'a'. mount /dev/ad0s1a /mnt edit /mnt/etc/fstab and change mount point of / to a. It's now ok. Thanks a lot. -- Michel ___ 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: (no subject)
On Wed, Dec 23, 2009 at 12:05:40PM -0700, Modulok typed: > List, > > Is there a software method (not a microwave oven) to destroy a CD-R? There's allways a software method ;) http://ars.userfriendly.org/cartoons/?id=20080220 Ruben ___ 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: FreeBSD boot invalid partition
Michel Le Cocq wrote: I just dump a real host and try to restore it on a virtual host under kvm. When booting under KVM i see this : Booting From hard Disk... Invalid partition Invalid partition No /boot/loader FreeBSD/i386/Boot Default: 0:ad(0,a)/boot/kernel/kernel boot : If i enter : boot : 0:ad(0,d) it's ok and then : Manual Root Filesystem Specification : Mountroot> ufs:/dev/ad0s1d and it's finaly boot. [r...@vbsdio ~]# cat /etc/fstab # Device Mountpoint FStypeOptionsDump Pass# /dev/ad0s1b none swap sw0 0 /dev/ad0s1d / ufs rw1 1 /dev/ad0s1g /local ufs rw2 2 /dev/ad0s1e /usr ufs rw2 2 /dev/ad0s1f /var ufs rw2 2 /dev/acd0/cdrom cd9660ro,noauto 0 0 linproc /compat/linux/proc linprocfs rw0 0 [r...@vbsdio ~]# I need to change my master boot device or anything else. But don't know what to do exactly. Thanks. -- Michel ___ 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" Shouldn't the root fs be on the a partition? ___ 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: freebsd-doc-en
On 23/12/2009 10:54 μ.μ., ajtiM wrote: > On Wednesday 23 December 2009 01:42:32 you wrote: > >> On 23/12/2009 2:03 π.μ., ajtiM wrote: >> >>> My system: FreeBSD 8.0 >>> > >> Something to do with the new Ghostscript version, most of the doc >> package builds are broken. I was pointed to this patch >> http://paste.lisp.org/display/92500 and it continued for a while but it >> errored out again with a different message (Bounding box not found). >> Still, you may wish to give it a try. >> >> > I didn't try a patch because there are a new version but now I have a new > problem: > > ../../share/images/articles/building-products/freebsd-branches.png > Error: no BoundingBox found. > pnmtopng: bad magic number - not a ppm, pgm, or pbm file > Error: no BoundingBox found. > *** Error code 1 > ==> Warning: BoundingBox not found! > 1 error > *** Error code 2 > Same here. The patch resolves the first problem but not this. ___ 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"
Destroying a CD-R without a sledgehammer (Was: Re: (no subject))
On Wednesday 23 December 2009 10:05:40 Modulok wrote: > List, > > Is there a software method (not a microwave oven) to destroy a CD-R? No. A CD-R is only readable once written. Rewritable CD's (CD-RW) you can reformat using your favorite burn tool, which should provide a short and long blank method. See for example the 'blank' and 'erase' command for burncd(8) for specifics. -- Mel ___ 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: FreeBSD boot invalid partition
On Wed, Dec 23, 2009 at 09:51:39PM +0100, Michel Le Cocq typed: > I just dump a real host and try to restore it on a virtual host under > kvm. > > When booting under KVM i see this : > Booting From hard Disk... > Invalid partition > Invalid partition > No /boot/loader > > FreeBSD/i386/Boot > Default: 0:ad(0,a)/boot/kernel/kernel > boot : > > If i enter : > boot : 0:ad(0,d) > > it's ok and then : > Manual Root Filesystem Specification : > Mountroot> ufs:/dev/ad0s1d > > and it's finaly boot. > > [r...@vbsdio ~]# cat /etc/fstab > # Device Mountpoint FStypeOptionsDump Pass# > /dev/ad0s1b none swap sw0 0 > /dev/ad0s1d/ ufs rw1 1 > /dev/ad0s1g/local ufs rw2 2 > /dev/ad0s1e/usr ufs rw2 2 > /dev/ad0s1f/var ufs rw2 2 > /dev/acd0 /cdrom cd9660ro,noauto 0 0 > linproc /compat/linux/proclinprocfs rw0 0 > [r...@vbsdio ~]# > > I need to change my master boot device or anything else. > But don't know what to do exactly. Not sure, but I think boot0 only boots "a" partitions. So after you manually boot like above, go into bsdlabel and change ad0s1d into ad0s1a. Do the same in fstab. ___ 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: Help building/running SDL/OpenGL code
On Wednesday 23 December 2009 04:42:28 Richard Mace wrote: > Incidentally, if there is anyone out there with newer hardware who is > interested in building the code I am talking about you can find it at: > > http://physics.ukzn.ac.za/~richm/courses/phys110/lennard-jones-3d.html > > You'll need to change the following lines in the Makefile to get it to > successfully build under FreeBSD: > == > CFLAGS = -Wall -Wextra -pthread -I/usr/local/include > -I/usr/local/include/SDL -O3 -march=native > > LFLAGS = -Wall -L/usr/local/lib > > lennardjones : $(OBJS) > $(CC) $(LFLAGS) -o lennardjones $(OBJS) -lSDL -lSDL_gfx -lGLU > == > > It would be interesting to hear feedback. (Basic controls are: up-arrow add > heat to crystal; down-arrow cool down gas/crystal. There are a bunch of > others -- look in main.c). You are welcome to do whatever you wish with my > code. Arrr. Same problem here at startup: segfault in glXGetFBConfigAttribSGIX. A simple test case is the following: py...@nox:~% cat test.c int main() {} py...@nox:~% cc -o test test.c -L/usr/local/lib -lSDL -lGL py...@nox:~% ./test zsh: segmentation fault (core dumped) ./test Then I attempted to switch the arguments around... py...@nox:~% cc -o test test.c -L/usr/local/lib -lGL -lSDL py...@nox:~% ./test py...@nox:~% Voila! (Admittedly much to my surprise ;)) So then I changed the Makefile to use these libraries: -lGLU -lSDL -lSDL_gfx. Result: a perfectly working ./lennardjones. The only minor issue is that it presented me with exactly one option: py...@nox:~/temp/lennard-jones-gas-3d% ./lennardjones Current pixel depth: 32 Available Modes 0 => 3840 x 1200 Select your preferred video mode: So apparently I prefer mode 0 :D. It run fine (and smooth) though. It is clear something goes wrong during the runtime linking process, which this library order works around. The actual problem is still a mystery to me. It might be worthwhile to post a bugreport on the nvnews.net FreeBSD forum. Best regards, Pieter de Goeje ___ 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: Blacklisting a SourceForge mirror from ports?
Would "route add heanet.dl.sourceforge.net 127.0.0.1" help? On Wed, Dec 23, 2009 at 11:38:01AM -0600, Kirk Strauser typed: > in ports/Mk/bsd.sites.mk, the list of SourceForge mirrors is defined by: > > .for mirror in heanet sunet iweb switch surfnet kent freefr \ > voxel jaist osdn nchc transact softlayer \ > internode biznetnetworks ufpr > # garr dfn ovh (redirect as of 2009-Sep-02) > MASTER_SITE_SOURCEFORGE+= \ > http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/ > .endfor > .endif > > The problem is that the first mirror, heanet, is glacially slow every > time I try to download from it. Transfers of 5-10KB/s aren't unheard > of. When I see that a large tarball is coming down from heanet, I'll > routinely kill the transfer and manually download it. > > In my /etc/make.conf, I have: > > MASTER_SITE_SOURCEFORGE=http://sunet.dl.sourceforge.net/%SUBDIR%/ > > That *usually* works, but will often return a redirect, in which case > the fetch goes back to using the list of mirrors, starting with heanet, > which puts me back in the same predicament. > > I could obviously edit bsd.sites.mk to remove that entry, but updates > could wipe out my changes. Worse, if the SF layout changes and > bsd.sites.mk is updated to reflect the new structure, a locally edited > version wouldn't have those fixes. > > All that said, is there a better way to specify SourceForge mirrors? A > blacklist would be ideal for this specific situation, but I'm open to ideas. > > -- > Kirk Strauser > > ___ > 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"
FreeBSD boot invalid partition
I just dump a real host and try to restore it on a virtual host under kvm. When booting under KVM i see this : Booting From hard Disk... Invalid partition Invalid partition No /boot/loader FreeBSD/i386/Boot Default: 0:ad(0,a)/boot/kernel/kernel boot : If i enter : boot : 0:ad(0,d) it's ok and then : Manual Root Filesystem Specification : Mountroot> ufs:/dev/ad0s1d and it's finaly boot. [r...@vbsdio ~]# cat /etc/fstab # Device Mountpoint FStypeOptionsDump Pass# /dev/ad0s1b none swap sw0 0 /dev/ad0s1d / ufs rw1 1 /dev/ad0s1g /local ufs rw2 2 /dev/ad0s1e /usr ufs rw2 2 /dev/ad0s1f /var ufs rw2 2 /dev/acd0/cdrom cd9660ro,noauto 0 0 linproc /compat/linux/proc linprocfs rw0 0 [r...@vbsdio ~]# I need to change my master boot device or anything else. But don't know what to do exactly. Thanks. -- Michel ___ 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: freebsd-doc-en
On Wednesday 23 December 2009 01:42:32 you wrote: > On 23/12/2009 2:03 π.μ., ajtiM wrote: > > My system: FreeBSD 8.0 > > Something to do with the new Ghostscript version, most of the doc > package builds are broken. I was pointed to this patch > http://paste.lisp.org/display/92500 and it continued for a while but it > errored out again with a different message (Bounding box not found). > Still, you may wish to give it a try. > I didn't try a patch because there are a new version but now I have a new problem: ../../share/images/articles/building-products/freebsd-branches.png Error: no BoundingBox found. pnmtopng: bad magic number - not a ppm, pgm, or pbm file Error: no BoundingBox found. *** Error code 1 ==> Warning: BoundingBox not found! 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. ===>>> make failed for misc/freebsd-doc-en ===>>> Aborting update Mitja http://starikarp.redbubble.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: divert socket sniffer
2009/12/23 EforeZZ > Hi guys, > > Is there any tool to capture packets from a divert socket and save the > result in a pcap format? > > Merry Christmas and best regards, > EforeZZ > ___ > 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" > if you are diverting them with pf just log them and tcpdump on pflog ___ 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: (no subject)
On Wed 2009-12-23 12:05:40 UTC-0700, Modulok (modu...@gmail.com) wrote: > Is there a software method (not a microwave oven) to destroy a CD-R? > Something like: > > dd if=/dev/random of=/dev/acd0? > > Obviously the above doesn't work, but the idea is there. I suspect most CD burners are designed to disallow overwriting of data already written to a CD-R. Otherwise the software method would already exist and you'd see lots of people treating CD-Rs as rewritable discs. Which they aren't. Personally I'd physically destroy the disc using whatever method you prefer, eg. removing the label with steel wool, or disintegrate the disc with a shredder. ___ 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: (no subject)
On Wed, 23 Dec 2009 12:05:40 -0700, Modulok wrote: > List, > > Is there a software method (not a microwave oven) to destroy a CD-R? > Something like: > > dd if=/dev/random of=/dev/acd0? > > Obviously the above doesn't work, but the idea is there. There are platform where it works. :-) What do you mean by "destroy" - make it unreadable before or after something has been burned onto the CD-R? You can use /dev/random to fill the writing process for tools like cdrdao or cdrecord, e. g. dd if=/dev/random bs=1024 count=100 | cdrecord -tao -data - Maybe you need to set specific options (dev=, speed=) for your recorder. However, after a successful recording, it's easier to destroy the CD-R physically. If the session (and media) is already closed, the same idea applies. -- 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"
whats in your /etc/security/ files ? (AUDIT subsystem)
I am looking at getting more out of the FreeBSD AUDIT system and was wondering if anyone has feedback beyond what is in the handbook or links to other resources on this topic. http://bsdmag.org/ had a nice intro article and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html is actually pretty complete. But I was looking for additional feedback from folks using it on their servers in production. What do you find useful to log on large multi user systems ? What about boxes with limited access to just administrators ? Log everything? How do you manage your audit logs to ensure integrity ? Do you run at a higher secure level and make the file flags uappnd ? Write them to an nfs mount on a separate and separately secured system ? ---Mike Mike Tancsa, tel +1 519 651 3400 Sentex Communications,m...@sentex.net Providing Internet since 1994www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike ___ 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: Packages vs Ports
On 12/23/09 18:39, Mel Flynn wrote: On Wednesday 23 December 2009 08:13:21 Adam Vande More wrote: Or set PACKAGESITE to: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ See pkg_add(1) for details. This will usually work for legacy stable branches, but you may actually need to update your system to a more recent stable version once in a while. Additionally take a look at the '-P' and '-PP' flags for portupgrade (And I guess the other port upgrade tools have similar options); this way it will use packages for upgrading your software instead of ports. -- - Frank ___ 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 subject)
List, Is there a software method (not a microwave oven) to destroy a CD-R? Something like: dd if=/dev/random of=/dev/acd0? Obviously the above doesn't work, but the idea is there. Thanks! -Modulok- ___ 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: afp+pf
Hello Danielisz: > > I'm sending you my pflog captured whiled I try to connect, maybe > somebody will figure out something: > > > # tcpdump -i rl0 -n port 548 > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes > > 19:01:31.353245 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], > seq 721406618, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val > 206874734 ecr 0,sackOK,eol], length 0 > 19:01:35.358575 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], > seq 721406618, win 65535, options [mss 1460,sackOK,eol], length 0 > Is your firewall acting as an Appletalk router? I guess I'm not understanding why you are sending AFP to the firewall and not through the firewall from host to host. When you log your block statement and tcpdump the pflog0 interface, are you seeing the blocks? Regards, Mike ___ 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: afp+pf
I'm sending you my pflog captured whiled I try to connect, maybe somebody will figure out something: # tcpdump -i rl0 -n port 548 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes 19:01:31.353245 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], seq 721406618, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val 206874734 ecr 0,sackOK,eol], length 0 19:01:35.358575 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], seq 721406618, win 65535, options [mss 1460,sackOK,eol], length 0 From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 6:35:02 PM Subject: Re: afp+pf I just tried with "flags any" but still not working. From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 5:01:41 PM Subject: afp+pf Hello, It's been a while I struggeling how to deal with apf/netatalk passing trough my pf rules. If I disable pf everything is working great (but I still do want firewall on my server). I tried the following rule but it still don't lets me in: pass in log on $int_if inet proto { tcp, udp } from $localnet to ($int_if) port=548 flags S/SA keep state When I try a telnet on port 548 I got "Operation timed out", in pflog I can see that my Mac tries to connect but I have no clue why it can't when the coresponding port is open, do you have any idea? Thank you! Laci ___ 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: Which interface to firewall when using lacp.
Paul Halliday wrote: If I have em0 and em1 comprising lagg0 which interface would I apply PF inbound rules on? lagg0 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 signature.asc Description: OpenPGP digital signature
Re: How to enable network manager in KDE?
2009/12/21 Yuri : > ill...@gmail.com wrote: >> >> Umm . . . yes? But more seriously, FreeBSD is still >> very much a server operating system, expecting it to >> be exactly like Torvalds 2.6 OS or BiGa 0.7alpha right >> now is a bit much. >> > > Really? I was using FreeBSD as a desktop system for at least 10 years and it > works quite well as a desktop. There are few defects, like the lack of > network manager. > If it was very much a server operating system, what are kde and gnome teams > doing in your opinion? They seem to be completely unaware of that either. > Nonexclusive properties. Statements tending to create a false dichotomy. Nevermind. -- -- ___ 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: Help building/running SDL/OpenGL code
On Tuesday 22 December 2009 06:36:19 Richard Mace wrote: > So, it appears that there is some conflict between the mesa libraries > (which I need to #include to build the code) and the NVIDIA-supplied > libraries, or am I on the wrong track? > > Can anyone shed some light on this? I've spent quite some time on what > first appeared to be a fairly trivial task and I am eager to see how this > runs under FreeBSD. If you want to run any OpenGL code with nvidia-driver you will need to reinstall the driver after every: - kernel update - update of x11-servers/xorg-server - update of graphics/libGL* There may be exceptions, but they're not worth figuring out or remembering. In your case you may actually have a problem with math code in libm.so.3 vs libm.so.5, but I doubt it's the case as no OpenGL app that I encountered has one. -- Mel ___ 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: Blacklisting a SourceForge mirror from ports?
I don't know about blacklisting, however you may want to look at the port called fastest_sites: /usr/ports/ports-mgmt/fastest_sites]$ cat pkg-descr Find the fastest mirror for every mirror list in bsd.sites.mk. Output is suitable for inclusion into make.conf. WWW: http://www.semicomplete.com/blog/geekery/freebsd-ports-master-sites-sorting.html -jgh On Wed, Dec 23, 2009 at 11:38:01AM -0600, Kirk Strauser thus spake: in ports/Mk/bsd.sites.mk, the list of SourceForge mirrors is defined by: .for mirror in heanet sunet iweb switch surfnet kent freefr \ voxel jaist osdn nchc transact softlayer \ internode biznetnetworks ufpr # garr dfn ovh (redirect as of 2009-Sep-02) MASTER_SITE_SOURCEFORGE+= \ http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/ .endfor .endif The problem is that the first mirror, heanet, is glacially slow every time I try to download from it. Transfers of 5-10KB/s aren't unheard of. When I see that a large tarball is coming down from heanet, I'll routinely kill the transfer and manually download it. In my /etc/make.conf, I have: MASTER_SITE_SOURCEFORGE=http://sunet.dl.sourceforge.net/%SUBDIR%/ That *usually* works, but will often return a redirect, in which case the fetch goes back to using the list of mirrors, starting with heanet, which puts me back in the same predicament. I could obviously edit bsd.sites.mk to remove that entry, but updates could wipe out my changes. Worse, if the SF layout changes and bsd.sites.mk is updated to reflect the new structure, a locally edited version wouldn't have those fixes. All that said, is there a better way to specify SourceForge mirrors? A blacklist would be ideal for this specific situation, but I'm open to ideas. -- Kirk Strauser ___ 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: Packages vs Ports
On Wednesday 23 December 2009 08:13:21 Adam Vande More wrote: > On Wed, Dec 23, 2009 at 11:06 AM, Arthur Barlow wrote: > > P.S. I'm using FreeBSD 7.2 on an old Gateway Pentium III machine with a > > 40G harddrive. > > pkg's are created at the time of release eg 7.2. They are never updated > for that release. Or set PACKAGESITE to: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ See pkg_add(1) for details. This will usually work for legacy stable branches, but you may actually need to update your system to a more recent stable version once in a while. -- Mel ___ 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"
Blacklisting a SourceForge mirror from ports?
in ports/Mk/bsd.sites.mk, the list of SourceForge mirrors is defined by: .for mirror in heanet sunet iweb switch surfnet kent freefr \ voxel jaist osdn nchc transact softlayer \ internode biznetnetworks ufpr # garr dfn ovh (redirect as of 2009-Sep-02) MASTER_SITE_SOURCEFORGE+= \ http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/ .endfor .endif The problem is that the first mirror, heanet, is glacially slow every time I try to download from it. Transfers of 5-10KB/s aren't unheard of. When I see that a large tarball is coming down from heanet, I'll routinely kill the transfer and manually download it. In my /etc/make.conf, I have: MASTER_SITE_SOURCEFORGE=http://sunet.dl.sourceforge.net/%SUBDIR%/ That *usually* works, but will often return a redirect, in which case the fetch goes back to using the list of mirrors, starting with heanet, which puts me back in the same predicament. I could obviously edit bsd.sites.mk to remove that entry, but updates could wipe out my changes. Worse, if the SF layout changes and bsd.sites.mk is updated to reflect the new structure, a locally edited version wouldn't have those fixes. All that said, is there a better way to specify SourceForge mirrors? A blacklist would be ideal for this specific situation, but I'm open to ideas. -- Kirk Strauser ___ 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: afp+pf
I just tried with "flags any" but still not working. From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 5:01:41 PM Subject: afp+pf Hello, It's been a while I struggeling how to deal with apf/netatalk passing trough my pf rules. If I disable pf everything is working great (but I still do want firewall on my server). I tried the following rule but it still don't lets me in: pass in log on $int_if inet proto { tcp, udp } from $localnet to ($int_if) port=548 flags S/SA keep state When I try a telnet on port 548 I got "Operation timed out", in pflog I can see that my Mac tries to connect but I have no clue why it can't when the coresponding port is open, do you have any idea? Thank you! Laci ___ 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: Packages vs Ports
On Wed, Dec 23, 2009 at 11:06 AM, Arthur Barlow wrote: > I've recently run into a new problem. Pkg_version show that there is a new > version of Firefox 3.5. However, when I try to recompile it, I get an > error > that the system has run out of swap space, even though I allocated a 512M > slice for a machine with 256M RAM. Anyway, when I used to recompile > Firefox > it would take over 8 hours. So I figured that I would just delete it and > download the new compiled version in a package. But, the package is still > not updated yet, and it's been over a week. How long does it usually take > for packages to catch up to ports? > > P.S. I'm using FreeBSD 7.2 on an old Gateway Pentium III machine with a 40G > harddrive. > > Also as a temp work around you could create a file backed swap. Even slower, but it would work. You sys isn't really a compiling machine though. -- Adam Vande More ___ 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: Packages vs Ports
On Wed, Dec 23, 2009 at 11:06 AM, Arthur Barlow wrote: > I've recently run into a new problem. Pkg_version show that there is a new > version of Firefox 3.5. However, when I try to recompile it, I get an > error > that the system has run out of swap space, even though I allocated a 512M > slice for a machine with 256M RAM. Anyway, when I used to recompile > Firefox > it would take over 8 hours. So I figured that I would just delete it and > download the new compiled version in a package. But, the package is still > not updated yet, and it's been over a week. How long does it usually take > for packages to catch up to ports? > > P.S. I'm using FreeBSD 7.2 on an old Gateway Pentium III machine with a 40G > harddrive. > > pkg's are created at the time of release eg 7.2. They are never updated for that release. You can easily create your own with make package or pkg_create but that requires a successful recompile -- Adam Vande More ___ 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"
Packages vs Ports
I've recently run into a new problem. Pkg_version show that there is a new version of Firefox 3.5. However, when I try to recompile it, I get an error that the system has run out of swap space, even though I allocated a 512M slice for a machine with 256M RAM. Anyway, when I used to recompile Firefox it would take over 8 hours. So I figured that I would just delete it and download the new compiled version in a package. But, the package is still not updated yet, and it's been over a week. How long does it usually take for packages to catch up to ports? P.S. I'm using FreeBSD 7.2 on an old Gateway Pentium III machine with a 40G harddrive. ___ 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: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed
Ewald Jenisch writes: > For quite some time now I'm trying to get samba 3.x installed on my > FreeBSD 7.2 System. > > The symptoms in short: > > o) 3.0 - doesn't compile > > o) 3.2, 3.3 - can't be installed because of installation dependencies > to samba4-devel-4.0.0.a8_2, talloc-1.3.1 and tdb-1.1.5. 3.0 should be listed as conflicting with 4.0 also. > However samba4-devel is needed by (pkg_info -Rx) > evolution-mapi-0.28.1 > gnome2-2.28.1 > libmapi-0.8.2 > so de-installing them is a no-go since I need gnome2 Do you need mapi? You can build gnome without it. Otherwise, you'll need to install 3.x to a non-standard prefix, or use 4.0. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed
On Wednesday 23 December 2009 04:51:24 Ewald Jenisch wrote: > Hi, > > For quite some time now I'm trying to get samba 3.x installed on my > FreeBSD 7.2 System. > > The symptoms in short: > > o) 3.0 - doesn't compile > > o) 3.2, 3.3 - can't be installed because of installation dependencies > to samba4-devel-4.0.0.a8_2, talloc-1.3.1 and tdb-1.1.5. > > System: > FreeBSD test.at 7.2-STABLE FreeBSD 7.2-STABLE #8: Mon Dec 7 12:21:59 CET > 2009 r...@test.at:/usr/obj/usr/src/sys/GENERIC amd64 > > > Ports tree is updated and all ports installed up2date. > > Now for the Samba-port(s): Depending on the version of Samba it either > can't be built at all or fails upon installation. > > In detail: > > 1) Samba3.0: > > Bails out during compilation with the following error: > > Compiling locking/locking.c > locking/locking.c: In function 'unparse_share_modes': > locking/locking.c:701: error: invalid operands to binary - > The following command failed: > cc -I. -I/usr/ports/net/samba3/work/samba-3.0.37/source -O -pipe > -DLDAP_DEPRECATED -D_SAMBA_BUILD_=3 -I/usr/local/include > -I/usr/ports/net/samba3/work/samba-3.0.37/source/iniparser/src -Iinclude > -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include > -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include > -I/usr/local/include -DLDAP_DEPRECATED > -I/usr/ports/net/samba3/work/samba-3.0.37/source/lib -D_SAMBA_BUILD_=3 > -fPIC -DPIC -c locking/locking.c -o locking/locking.o *** Error code 1 This is most likely caused by tdb-1.1.5 and the fact that -I/usr/local/include is in order before -I./tdb/include. To confirm this: 1) cd `make -C /usr/ports/net/samba3 -V WRKSRC`/locking 2) Copy the above compilation line 3) Paste but remove the first -I/usr/local/include 4) Run the result If it compiles cleanly, you need to fix it somewhere in the configure foo, but it's still no guarantee everything will work, especially when linking (though when linking removing the corresponding first -L/usr/local/lib may actually fix things too). -- Mel ___ 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"
afp+pf
Hello, It's been a while I struggeling how to deal with apf/netatalk passing trough my pf rules. If I disable pf everything is working great (but I still do want firewall on my server). I tried the following rule but it still don't lets me in: pass in log on $int_if inet proto { tcp, udp } from $localnet to ($int_if) port=548 flags S/SA keep state When I try a telnet on port 548 I got "Operation timed out", in pflog I can see that my Mac tries to connect but I have no clue why it can't when the coresponding port is open, do you have any idea? Thank you! Laci ___ 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"
Which interface to firewall when using lacp.
If I have em0 and em1 comprising lagg0 which interface would I apply PF inbound rules on? Thanks. ___ 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: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed
Ewald Jenisch wrote: > Hi, > > For quite some time now I'm trying to get samba 3.x installed on my > FreeBSD 7.2 System. > > The symptoms in short: > > o) 3.0 - doesn't compile > > o) 3.2, 3.3 - can't be installed because of installation dependencies > to samba4-devel-4.0.0.a8_2, talloc-1.3.1 and tdb-1.1.5. > > System: > FreeBSD test.at 7.2-STABLE FreeBSD 7.2-STABLE #8: Mon Dec 7 12:21:59 CET > 2009 r...@test.at:/usr/obj/usr/src/sys/GENERIC amd64 > > > Ports tree is updated and all ports installed up2date. > > Now for the Samba-port(s): Depending on the version of Samba it either > can't be built at all or fails upon installation. > > In detail: > > 1) Samba3.0: > > Bails out during compilation with the following error: > > Compiling locking/locking.c > locking/locking.c: In function 'unparse_share_modes': > locking/locking.c:701: error: invalid operands to binary - > The following command failed: > cc -I. -I/usr/ports/net/samba3/work/samba-3.0.37/source -O -pipe > -DLDAP_DEPRECATED -D_SAMBA_BUILD_=3 -I/usr/local/include > -I/usr/ports/net/samba3/work/samba-3.0.37/source/iniparser/src -Iinclude > -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include > -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include > -I/usr/local/include -DLDAP_DEPRECATED > -I/usr/ports/net/samba3/work/samba-3.0.37/source/lib -D_SAMBA_BUILD_=3 > -fPIC -DPIC -c locking/locking.c -o locking/locking.o *** Error code 1 > > Stop in /usr/ports/net/samba3/work/samba-3.0.37/source. > *** Error code 1 > > Stop in /usr/ports/net/samba3. > *** Error code 1 > > Stop in /usr/ports/net/samba3. > > > > 2) Samba3.2: > > $ make install > ===> Installing for samba-3.2.15 > > ===> samba-3.2.15 conflicts with installed package(s): > samba4-devel-4.0.0.a8_2 > talloc-1.3.1 > tdb-1.1.5 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/net/samba32. > *** Error code 1 > > Stop in /usr/ports/net/samba32. > $ > > However samba4-devel is needed by (pkg_info -Rx) > evolution-mapi-0.28.1 > gnome2-2.28.1 > libmapi-0.8.2 > so de-installing them is a no-go since I need gnome2 > > > 3) Samba 3.3: > > Similar problems as with samba 3.2 above: > > $ make install > ===> Installing for samba-3.3.9 > > ===> samba-3.3.9 conflicts with installed package(s): > samba4-devel-4.0.0.a8_2 > talloc-1.3.1 > tdb-1.1.5 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/net/samba33. > *** Error code 1 > > Stop in /usr/ports/net/samba33. > $ > > > > So, here are my questions: > > o) Anybody else seen this before? I still run 3.0.37, which has been portupgraded with each new rendition since 3.0 without any trouble. It began life on 7.2-Release and now runs on 8.0-Release after system upgrade. But it is a server and has no desktop software, e.g., Gnome, to cause problems. Has always run fine and never had any trouble compiling. > o) Anything that could be done against this problem? > This may seem dumb, but since you already have Samba4-devel ostensibly built and installed why not run that? Or, since you have these other requirements which you won't uninstall and if Samba4-devel doesn't run fix that so that it does. Either remove Gnome2 and it's MAPI stuff or fix Samba4-devel. -Mike ___ 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"
divert socket sniffer
Hi guys, Is there any tool to capture packets from a divert socket and save the result in a pcap format? Merry Christmas and best regards, EforeZZ ___ 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"
samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed
Hi, For quite some time now I'm trying to get samba 3.x installed on my FreeBSD 7.2 System. The symptoms in short: o) 3.0 - doesn't compile o) 3.2, 3.3 - can't be installed because of installation dependencies to samba4-devel-4.0.0.a8_2, talloc-1.3.1 and tdb-1.1.5. System: FreeBSD test.at 7.2-STABLE FreeBSD 7.2-STABLE #8: Mon Dec 7 12:21:59 CET 2009 r...@test.at:/usr/obj/usr/src/sys/GENERIC amd64 Ports tree is updated and all ports installed up2date. Now for the Samba-port(s): Depending on the version of Samba it either can't be built at all or fails upon installation. In detail: 1) Samba3.0: Bails out during compilation with the following error: Compiling locking/locking.c locking/locking.c: In function 'unparse_share_modes': locking/locking.c:701: error: invalid operands to binary - The following command failed: cc -I. -I/usr/ports/net/samba3/work/samba-3.0.37/source -O -pipe -DLDAP_DEPRECATED -D_SAMBA_BUILD_=3 -I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.37/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba3/work/samba-3.0.37/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c locking/locking.c -o locking/locking.o *** Error code 1 Stop in /usr/ports/net/samba3/work/samba-3.0.37/source. *** Error code 1 Stop in /usr/ports/net/samba3. *** Error code 1 Stop in /usr/ports/net/samba3. 2) Samba3.2: $ make install ===> Installing for samba-3.2.15 ===> samba-3.2.15 conflicts with installed package(s): samba4-devel-4.0.0.a8_2 talloc-1.3.1 tdb-1.1.5 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/net/samba32. *** Error code 1 Stop in /usr/ports/net/samba32. $ However samba4-devel is needed by (pkg_info -Rx) evolution-mapi-0.28.1 gnome2-2.28.1 libmapi-0.8.2 so de-installing them is a no-go since I need gnome2 3) Samba 3.3: Similar problems as with samba 3.2 above: $ make install ===> Installing for samba-3.3.9 ===> samba-3.3.9 conflicts with installed package(s): samba4-devel-4.0.0.a8_2 talloc-1.3.1 tdb-1.1.5 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/net/samba33. *** Error code 1 Stop in /usr/ports/net/samba33. $ So, here are my questions: o) Anybody else seen this before? o) Anything that could be done against this problem? Thanks much in advance for any clue, -ewald ___ 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"
BUG: tag is disappear from packet after nat
Hello, Freebsd-questions. ipfw add 100 tag 1 all from any to any ipfw add 101 nat 5 all from any to any ipfw add 102 allow all from any to any tagged 1 ipfw add 103 deny log all from any to any All packets are denied on 103 and is not allow at 102 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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"
Undefined symbol libintl_bindtextdomain
I am trying to build (FreeBSD 8.0) a bleeding edge python (latest unladen swallow) with gcc44 and am getting mostly good results. However, one of the standard modules is failing to load at runtime because of an undefined symbol libintl_bindtextdomain I looked in /user/local/lib/libintl.so and see that the symbol is there. In the module of interest we don't seem to refer to libintl $ LD_LIBRARY_PATH=`pwd` ldd _locale_failed.so _locale_failed.so: libutil.so.8 => /lib/libutil.so.8 (0x281ad000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x281bc000) libc.so.7 => /lib/libc.so.7 (0x28091000) however, there are references in the text of _locale_failed.so. Is there an implication that a library reference is missing during the build of the module? -- Robin Becker ___ 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: FreeBSD 8 as VirtualBox guest: `ngctl list` shows nothing
On Wed, 23 Dec 2009 13:26:57 +0300 Yuri Pankov wrote: > On Wed, Dec 23, 2009 at 05:18:28PM +0700, Anh Ky Huynh wrote: > > Hi all, > > > > I have a VirtualBox guest which is running FreeBSD-8.0. I > > compiled the kernel for this guest with the options NETGRAPH > > in /usr/src/sys/i386/conf/GENERIC. I did that because I expected > > I would see each Ethernet interface as a netgraph node. But ngctl > > showed nothing > > Try `kldload ng_ether`? And use your own config file, not GENERIC, > if you need to make changes. > Thank you very much, Yuri. It works after I load that module :) And I am going to use my own config file. Regards, -- Anh Ky Huynh ___ 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: FreeBSD 8 as VirtualBox guest: `ngctl list` shows nothing
On Wed, Dec 23, 2009 at 05:18:28PM +0700, Anh Ky Huynh wrote: > Hi all, > > I have a VirtualBox guest which is running FreeBSD-8.0. I compiled the kernel > for this guest with the options NETGRAPH in /usr/src/sys/i386/conf/GENERIC. I > did that because I expected I would see each Ethernet interface as a netgraph > node. But ngctl showed nothing Try `kldload ng_ether`? And use your own config file, not GENERIC, if you need to make changes. > -- > Anh Ky Huynh Yuri ___ 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 8 as VirtualBox guest: `ngctl list` shows nothing
Hi all, I have a VirtualBox guest which is running FreeBSD-8.0. I compiled the kernel for this guest with the options NETGRAPH in /usr/src/sys/i386/conf/GENERIC. I did that because I expected I would see each Ethernet interface as a netgraph node. But ngctl showed nothing $ ngctl There are 3 total nodes: Name:Type: ksocket ID: 0008 Num hooks: 1 Name: ng0 Type: iface ID: 0006 Num hooks: 1 Name: ngctl1633 Type: socket ID: 0013 Num hooks: 0 (doesnot contain em0, em1,..) This is different from the output for my real FreeBSD host $ ngctl list There are 5 total nodes: Name: re0 Type: ether ID: 0001 Num hooks: 2 Name: ngctl15142 Type: socket ID: 0006 Num hooks: 0 Name: vboxnetflt_re0 Type: vboxnetflt ID: 0004 Num hooks: 2 Name: vboxnet0Type: ether ID: 0003 Num hooks: 0 Name: wlan0 Type: ether ID: 0002 Num hooks: 0 (contains re0, wlan0) Why are they different? Thank you for replies, Regards, -- Anh Ky Huynh PS: Below the output of $ifconfig in the VirtualBox guest $ ifconfig em0: flags=8843 metric 0 mtu 1500 options=9b ether 08:00:27:d0:6e:ab inet 192.168.1.17 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active em1: flags=8802 metric 0 mtu 1500 options=9b ether 08:00:27:bf:a8:d1 media: Ethernet autoselect (1000baseT ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 epair0b: flags=8843 metric 0 mtu 1500 ether 02:c0:84:00:07:0b inet 10.0.3.1 netmask 0xff00 broadcast 10.0.3.255 inet 10.0.3.3 netmask 0xff00 broadcast 10.0.3.255 ng0: flags=88d1 metric 0 mtu 1500 ___ 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: .Xdefaults file
On Tue, Dec 22, 2009 at 10:10:26PM +, Jamie Griffin wrote: > On Tue, Dec 22, 2009 at 01:45:52PM -0800, Rem P Roberti wrote: > > > > I think case matters here, i.e. XTerm*, not Xterm or xterm. > > > Exactly the problem. Thank you! > > Curious, on my system (7.2) my ~/.Xdefaults uses lowercase 'xterm*...' > values. That would be the application name (the name by which xterm is invoked), which also is legal - for the top-level. It's all in the X manpage... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpLL3ezp5fjV.pgp Description: PGP signature
Re: I have mail, but where?
On Wed, 23 Dec 2009 09:05:04 +0100 Andrea Venturoli wrote: > Steve Randall ha scritto: > >> No mail for andrea > > Are there really two spaces in a row there? That's a vital clue. > Sure. I noticed that too, but though it might be normal. > > For > > some reason your 'USER' environment variable is set to ' andrea' (with a > > leading space). Then .cshrc sets the 'mail' shell variable to > > '(/var/mail/ andrea)'. That's now a list with two elements. Since the > > first is a directory, csh counts the files in it, assuming they are > > messages. > > > > Since you don't have this problem with console logins, look for a > > configuration error in your GUI login manager. > This is interesting... > Unfortunately (or luckily), today that message does not appear > anymore, so I can't check. Which message are you talking about? Is it a message "You have new mail"? The latter shows only once if there is a new mail. The system doesn't prompt you when there is unread mail. So you should actually read (and delete, save, etc.) your mail. -- WBR, bsam ___ 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: I have mail, but where?
Steve Randall ha scritto: No mail for andrea Are there really two spaces in a row there? That's a vital clue. Sure. I noticed that too, but though it might be normal. For some reason your 'USER' environment variable is set to ' andrea' (with a leading space). Then .cshrc sets the 'mail' shell variable to '(/var/mail/ andrea)'. That's now a list with two elements. Since the first is a directory, csh counts the files in it, assuming they are messages. Since you don't have this problem with console logins, look for a configuration error in your GUI login manager. This is interesting... Unfortunately (or luckily), today that message does not appear anymore, so I can't check. If it does, I'll try your suggestion. bye & Thanks av. ___ 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"