Re: ISC-DHCP6 does not send replies
On 29/08/2010 04:10:24, Indexer wrote: subnet6 fe80:1::216:e6ff:fe7f:972e/128 { That's your problem. That's a link-local address. It should be your network address -- which I think is probably 2001:44b8:7988:c60::/64 For testing purposes, I'd also take out the host {} block giving mai a fixed address. Once mai is picking up an address successfully, then try again with the fixed address stuff. Finally, you do know about SLAAC? (StateLess Address AutoConfiguration) An IPv6 machine can automatically pick up the local network prefix and create itself an address from that range by combining it with its MAC address. To enable, you simply need to run rtadvd on your server, and rtsold on your client. It only deals with IP address and default gateway -- other things you'll have to either configure manually, or use DHCP for, or even set up Bonjour/Avahi. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: change file creation time on msdosfs
From d...@dan.emsphone.com Fri Aug 27 23:38:08 2010 Date: Fri, 27 Aug 2010 22:51:47 -0500 From: Dan Nelson dnel...@allantgroup.com To: Robert Bonomi bon...@mail.r-bonomi.com Cc: freebsd-questions@freebsd.org, kamik...@bsdforen.de Subject: Re: change file creation time on msdosfs In the last episode (Aug 27), Robert Bonomi said: From owner-freebsd-questi...@freebsd.org Thu Aug 26 14:33:04 2010 Date: Thu, 26 Aug 2010 21:06:04 +0200 From: Dominic Fandrey kamik...@bsdforen.de To: freebsd-questions@freebsd.org Subject: change file creation time on msdosfs I need to change the file creation time of some files on an msdosfs file system. Is there any other way to do this than copying the file and deleting the original? There are _always_ alternative ways. With suffficient knowledge, oue could, for example, use 'dd' to copy the required two bytes to the appropriate position on the raw device holding the filesystem. This approach is, however, not likely to be at all 'reasonable' for the average user. The usual suspects like touch and mv do not work. yup. 'creation' timestamp is intended to be more-or-less immutable in the Unix world. And that 'viewpoint' carries over to other kinds of filesysems grafted onto a Unix host. No; the utimes() syscall can be used to easily set the creation time (called birth time so it doesn't get confused with the ctime file metadata change time). More likely is that whoever added birthtime to ufs didn't bother updating the msdosfs code. If one of the other BSD's has implemented it, it should be relatively easy to import the changes. Otherwise you'll probably have to look at how birthtime is currently handled in ufs, and make it work in msdosfs. I repeat my previous. it is intended to be 'more-or-less' immutable. The FFS designers recognized that there would be occasions where it was _necessary_ to do so, and built the capability into the OS. The *omission* of user-tools that use that hook is/was =intentional=. A means of saying 'you really *shouldn't* do this, without absolutely prohibiting it. It _isn't_ impossbile, but the 'bar' is deliberately/intentionally out of the reach of the casual user. A backup/resture utility has good reason to muck with the 'birth date', but hardly anything else does. ___ 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: ports database
On 29-8-2010 0:59, per...@pluto.rain.com wrote: Polytropon free...@edvax.de wrote: tar -cf ports.tar /usr/port It should be, better suited: # cd /usr # tar cf ports.tar ports So one could do tar xf ports.tar in the target machine's /usr ... Better put the created tarfile somewhere other than in the directory that is being tarred :) That's the case in the above example... and it might as well be compressed, something like: # cd /usr # tar cf - ports | gzip /var/tmp/ports.tgz how about: tar zcf ports.tar.gz ports ;-) Peter -- http://www.boosten.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: ISC-DHCP6 does not send replies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/08/2010, at 4:28 PM, Matthew Seaman wrote: On 29/08/2010 04:10:24, Indexer wrote: subnet6 fe80:1::216:e6ff:fe7f:972e/128 { That's your problem. That's a link-local address. It should be your network address -- which I think is probably 2001:44b8:7988:c60::/64 For testing purposes, I'd also take out the host {} block giving mai a fixed address. Once mai is picking up an address successfully, then try again with the fixed address stuff. Finally, you do know about SLAAC? (StateLess Address AutoConfiguration) An IPv6 machine can automatically pick up the local network prefix and create itself an address from that range by combining it with its MAC address. To enable, you simply need to run rtadvd on your server, and rtsold on your client. It only deals with IP address and default gateway -- other things you'll have to either configure manually, or use DHCP for, or even set up Bonjour/Avahi. Cheers, Matthew Yes, i already run radvd at home. I have temporarily disabled it because i wanted to experiment with DHCP6 for some business work ( and general curiosity ). When i change the subnet block to subnet6 2001:44b8:7988:c60::/64 { The client still sends solicits to the server, but now the server no longer receives them. Checking wether the client could connect to ff02::1:2 came back with UDP connect: No route to host -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW William Brown pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJMeg/OAAoJEHF16AnLoz6Jx4MP/2eDRe6+DzU4yxABaPDs7eGz OdNasU2HTN/tqW0UM9yk5uDCLXvBjhQcgEy8TrYuv9c0CiY5nptvfuKg/9d2citB Kns5lVtLZw7km+wU8QDHC83BB6PfkH/xAbj9n3ViCtQ977aC71cLqBe8cEyEwxHj lyV969JY2zVAYdBTdi3W0N4DtCkmG/GG4arT+gyYs5bGch3yEb6pE0pu7qmpQFiB dnJHVrjTIFenYuxWd0Ilw3ZzrfO28g2B1bxeOyGOuJ4sHHK0iJq36d/pbkBLWVaS lv/Dvq48LGV4hgsMxtYBZlL81B8SDASMpqM82y2NDnSfD969rPBaGbNhituuYd2r phmqtE0Bl6tBIAunFLE9eCpn+6InSXw3nBgdZaZMju+UaFbjfcoLLF6pjVV8i5Me 9O9T5LdbVH/v4OKKJv8y3Jcs+mPXkhwRAG1rGQt8B7OfywZKCj0GeJ0kVPnLfnn3 GU1IgsKdCYiRJ0zTnJUtwhfblwSpGRy6qN0WRtZLNWk95wZpzpguFnnEz1+8UnA6 YlirNlSTkmqPu4AtE+sCxB6JWQITj+2kHeua7i90XAYX33FPzw9jzxkpwaYI2fd8 Iz/o/OHd9Ec8awwGaKeTd/4En0+sCA+JPOQYTV8X2oSgf3EEMdhQRV8OS8zw9SIw n51EFA6oRTyK5mBjRkPN =KRG7 -END PGP SIGNATURE- ___ 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
HeroTec training courses
Hero Tec training center is serving Egypt and Arab market via a set of training programs with the aim of preparing professional IT people up to the international Standards to compete with the major players in the international market whether you are searching for basic training or anyone needs to go in depth in training experience that will lead to a certification. Exams MCITP: Enterprise Administrator Hours Fees 70-680 Windows 7 Configuration 220 2500 70-640 Windows Server 2008 Active Directory Configuration 70-642 Windows Server 2008 Network Infrastructure Configuration 70-643 Windows Server 2008 Applications Infrastructure Configuration 70-647 PRO: Windows Server 2008, Enterprise Administrator Workshop Exams Microsoft Exchange Server 2010 Hours Fees 70-662 TS: Exchange Server 2010, Configuring 24 650 Exams ForeFront TMG 2010 Hours Fees Microsoft Forefront TMG 2010 24 600 Exams Microsoft Windows SharePoint 2007 Hours Fees 70-631 TS: Microsoft Windows SharePoint Services 3.0, Configuring 32 1000 Exams CCNA Hours Fees 640-802 Interconnecting Cisco Networking Devices 60 900 Interconnecting Cisco Networking Devices Exams Linux Hours Fees RH033 Linux Essential 30 1300 RH131 Linux Administration 35 1600 RH253 Linux network Security 35 1600 Web Design Hours Fees HTML 40 500 Dream Weaver JAVA SCRIPT CSS Photoshop for web Web Develop Hours Fees Introduction 30 500 PHP My sql Tel: 22751834 - 0107988776 Email: i...@herotec.nethttp://www.herotec.net ___ 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: ISC-DHCP6 does not send replies
On 29/08/2010 08:44:08, Indexer wrote: When i change the subnet block to subnet6 2001:44b8:7988:c60::/64 { The client still sends solicits to the server, but now the server no longer receives them. Checking wether the client could connect to ff02::1:2 came back with UDP connect: No route to host As far as I can tell, the subnet6 statement was the only error in the config you posted. Hmmm... I'm thinking the problem is perhaps your firewall. ... but you've tried disabling the firewall completely. Probably not that then. Connecting to [ff02::1:2]:547 (link-scoped All_DHCP_Relay_Agents_and_Servers) or [ff05::1:3]:547 (site-scoped All_DHCP_Servers) should get some sort of answer. Check the routing table on server and client -- on a FreeBSD box, I get: % netstat -r | grep ff02 ff02::%re0 fe80::e2cb:4eff:fe U re0 ff02::%fwe0fe80::1e:8cff:fec2 U fwe0 ff02::%fwip0 fe80::21e:8c00:c2: U fwip0 ff02::%lo0 localhost U lo0 ff02::%gif0fe80::e2cb:4eff:fe U gif0 (ie. a route for all network interfaces known on the system, whether active or not) The next step in debugging is to start capturing packet traces (tcpdump(1), wireshark(1)) on both client and server and hunting in there for clues. I know some IPv6 traffic won't get through my wireless router, but that device is IPv4 only and the poor thing gets easily confused by all this new-fangled IPv6 stuff... Cheers, Matthew PS. On the off chance that it is the firewall. A good debugging trick with pf is to add a 'log' clause to any rule that has a block or reject action. Eg. in lines like the following: block log all block in log quick from no-route to any block in log quick from urpf-failed to any antispoof log quick for lo0 block in log quick on $ext_if from ssh-bruteforce etc. etc. Then run tcpdump on the pflog0 interface: # tcpdump -i pflog0 -vv and make your client request a new lease. In the IPv4 case, the first packets the client sends are not *IP* packets -- they are pure ethernet packets, sent to the broadcast MAC address ff:ff:ff:ff:ff:ff, and don't necessarily have any IP address data (either IPv4 or IPv6) in them at all. If MAC-broadcast fails, then dhcp client will fall back to using the IPv4 link-local address range 169.254.0.0/16 (RFC3927). However, if your dhcp client does that, then it's usually an indication you aren't going to get an address. Now, with IPv6, link-local addresses are always configured, and there are a whole new set of prefixes for local-, site- and global- scope addresses. I don't know if dhcp client tries using MAC-broadcast at all in the IPv6 case (I would think dhcpd should answer if it does) but the link-local address stuff is possibly what's being blocked somewhere. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
oss settings
My system: FreeBSD 8.0-RELEASE-p4 #0, KDE 4.4.5 I installed oss from ports, sound works but problem is with microphone. Settings in Kmix are very low 1:1. If I put higher than I get very loud sound from speakers. ossmix shows: Selected mixer 0/SB Live (EM28028) Known controls are: line [leftvol:rightvol] (currently 40:40) line.rec ON|OFF (currently OFF) mic monovol (currently 1) mic.rec ON|OFF (currently ON) cd [leftvol:rightvol] (currently 75:75) cd.rec ON|OFF (currently OFF) igain [leftvol:rightvol] (currently 49:49) aux1 [leftvol:rightvol] (currently 1:1) aux1.rec ON|OFF (currently OFF) phone [leftvol:rightvol] (currently 26:26) phone.rec ON|OFF (currently OFF) rear [leftvol:rightvol] (currently 71:71) center [leftvol:rightvol] (currently 63:63) autorese ON|OFF (currently ON) spkmode FRONT|SURR|FRONT+SURR|DISCRETE (currently FRONT+SURR) pcm.main monovol (currently 100) vmix0-enable ON|OFF (currently ON) vmix0-rate decimal value (currently 48000) (Read-only) vmix0-src High|OFF (currently Fast) vmix0-outvol monovol (currently 24.7 dB) vmix0-invol monovol (currently 25.0 dB) vmix0.pcm1 [leftvol:rightvol] (currently 25.0:25.0 dB) vmix0.pcm2 [leftvol:rightvol] (currently 25.0:25.0 dB) vmix0.pcm3 [leftvol:rightvol] (currently 25.0:25.0 dB) vmix0.pcm4 [leftvol:rightvol] (currently 25.0:25.0 dB) pcm2 [leftvol:rightvol] (currently 60:60) vol [leftvol:rightvol] (currently 38:38) equalizer.prescale monovol (currently 100) equalizer.lo monovol (currently 128) equalizer.mid monovol (currently 128) equalizer.hi monovol (currently 128) equalizer.xhi monovol (currently 128) equalizer.bypass ON|OFF (currently OFF) front.spdif monovol (currently 100) front.digcd monovol (currently 100) front.ac97 monovol (currently 0) front.pcm monovol (currently 100) front.aux monovol (currently 100) front.vol [leftvol:rightvol] (currently 100:100) surr.spdif monovol (currently 0) surr.digcd monovol (currently 0) surr.ac97 monovol (currently 0) surr.pcm monovol (currently 100) surr.aux monovol (currently 0) surr.vol [leftvol:rightvol] (currently 100:100) record.spdif monovol (currently 100) record.digcd monovol (currently 100) record.ac97 monovol (currently 100) record.pcm monovol (currently 0) record.aux monovol (currently 100) record.vol [leftvol:rightvol] (currently 100:100) ossinfo shows:ossinfo -v3 Version info: OSS 4.2 (b 2003/201008282217) (0x00040100) BSD Platform: FreeBSD/i386 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 12 20:22:27 UTC 2010 r...@i386- builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC (athena.wi.rr.com) Number of audio devices:5 Number of audio engines:9 Number of MIDI devices: 1 Number of mixer devices:1 Device objects 0: oss_sblive0 SB Live interrupts=2446043 (2632294) MIDI devices (/dev/midi*) 0: SB Live external MIDI (MIDI port 1 of device object 0) Device file /dev/oss/oss_sblive0/mid0, Legacy device /dev/midi00 Modes: IN/OUT , Available for use Caps: Minimum latency: Not indicated Device handle: OSS-PCI-md01 Mixer devices 0: SB Live (EM28028) (Mixer 0 of device object 0) Device file /dev/oss/oss_sblive0/mix0, Legacy device /dev/mixer0 Priority: 2 Caps: Device handle: OSS-PCI-mx01 Device priority: 2 Audio devices SB Live main /dev/oss/oss_sblive0/pcm0 (device index 0) Legacy device /dev/dsp0 Caps: DUPLEX TRIGGER MMAP Modes: IN/OUT Engine 1: 0/SB Live main Available for use Engine 2: 1/SB Live main (vmix) Available for use Engine 3: 2/SB Live main (vmix) Available for use Engine 4: 3/SB Live main (vmix) Available for use Engine 5: 4/SB Live main (vmix) Available for use Input formats (0x0010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x0418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: OSS-PCI-au01 Related mixer dev: 0 Sample rate source: 0 Preferred channel configuration: Not indicated Supported number of channels (min - max): 1 - 2 Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated SB Live front out /dev/oss/oss_sblive0/pcm1 (device index 1) Legacy device /dev/dsp1 Caps: TRIGGER MMAP Modes: OUTPUT Out engine 1: 5/SB Live front out Available for use Input formats (0x0010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x0418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: OSS-PCI-au02
Re: ports database
On Sat, Aug 28, 2010 at 08:36:18PM +0200, Polytropon wrote: On Sat, 28 Aug 2010 11:07:45 -0600, Chad Perrin per...@apotheon.com wrote: Is that supposed to say this? tar -cf ports.tar /usr/port I think the - infront of the options string isn't neccessary for tar, but it's optional in this case. So it is. All these years, I've completely overlooked the COMPATIBILITY section of the tar manpage. Thanks for the wake-up call. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpejCC5Ls3av.pgp Description: PGP signature
Re: ports database
On Sat, 28 Aug 2010 15:59:25 -0700, per...@pluto.rain.com wrote: Polytropon free...@edvax.de wrote: tar -cf ports.tar /usr/port It should be, better suited: # cd /usr # tar cf ports.tar ports So one could do tar xf ports.tar in the target machine's /usr ... Better put the created tarfile somewhere other than in the directory that is being tarred :) In thic case, the tarfile is created outside ports/, so it's not within the directory it is created in. But of course it's right: the resulting archive can be better picked up from a directory like /tmp, it should just have enough space available (allthough a compressed ports tree should be less than 500 MB). and it might as well be compressed, something like: # cd /usr # tar cf - ports | gzip /var/tmp/ports.tgz That is possible - if space is an issue (and not time); it is also possible to do like this: # cd /usr # tar cjf /tmp/ports.tar.bz2 ports I think it will even be better compression ratio using the BZip2 algorithm (tar option j instead of z). One thing worth mentioning: The ports tree should be clean before transfering (which is not a problem if it has just been fetched). If you have already worked with it, make sure to have been running # make clean in the ports main directory, or simply delete all work/ subdirs that might contain tons of files not needed. The directories ports/distfiles/ and ports/packages should also be checked. As they contain compressed stuff, compressing them won't be much helpful. -- 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: how do i scp .dotfiles??
On Sat, 28 Aug 2010 18:05:31 -0700, 'Gary Kline' kl...@thought.org wrote: at least for me, gtar fails to pick up dotfiles. rsynx copies =everything=, and it looks like the test rsync script i posted last night was working all along. it was So fast that i assumed it was bombing entirely. i will 2-ck a few more files before i am sure. a question to the list is how can i copy ALL of /home to my new server? If it is the 1st copy, I'd suggest using dump + restore. This of course will only work if your /home is a separate partition on both systems. Partition size doesn't matter as long as the size of the target partition is at least the size of the used data on the source partition. You basically umount /home and then use # dump -Lauf0 home.dump /dev/ad0s1f to obtain the data; you can also use - instead of the actual file home.dump to pipe the data directly to a transfer via scp. On the target machine, # cd /home # restore -rf /where/is/home.dump You can connect both commands with ssh so you can directly dump + restore from machine A to machine B, given that SSH is possible. It then would be something like this: # dump -0Lauf - /dev/ad0s1f | ssh 10.0.0.10 cd /home cat | restore -rf - In this example, 10.0.0.10 is the IP of the target machine, and you're issuing the command from the source machine, with /home unmounted. Note that dump requires the DEVICE NAME of the device where /home is mounted on, and restore will put everything into the CURRENT DIRECTORY. The source device must NOT be mounted, but the target directory must be mounted and accessible. You CAN, however, leave /home mounted, and dump will create a snapshot that identifies /home as at the starting point in time; changes during backup won't be reflected in the target. It CAN be possible get inconsistencies during creation of the snapshot if there's heavy activity on /home, so it's usually the safe way to umount /home before reading from the device file. This method makes sure you will get ALL files with their exact properties (permissions, flags, dates). See 18.2.1 here: http://www.freebsd.org/doc/en/books/handbook/backup-basics.html For any further synchronisation, I would go with rsync. There is also another interesting tool in ports: It is called cpdup. It can also be used for synchronisation, and it has the interesting feature (can be configured of course) that it won't delete files in the target that have been deleted in source since the last run. In this case, your target data will always grow, and if you acciden- tally deleted something, it will sill be there. and to you, matthew, does --delete rm out of date files or directories? The --delete parameter will have rsync delete files on the target that are NOT part of the source files, but only relative to the subtree you are transfering. E. g. on your target machine you already have src/foo.tex src/bar.tex src/meow.c from last time you synchronized, and you have the files src/foo.tex src/bar.tex as never versions in the source, and you also deleted meow.c here because you don't need it anymore. Now if you rsync the src/ dir to the target machine, --delete will remove meow.c from the target, and rsync will of course update foo.tex and bar.tex. The --delete makes sure that the copy is of 1:1 kind, instead of incremental. what about ?VS, given that i have virtually everything under [CR]VS control? slightly offtopic is that i accidently rm'd a file on tao one morning after a few minutes work. a copy was safely croned to ethic. A good suggestion. I did use cvsup (from ports) in the past for revision control and idiotproof storage for most stuff that I created. It is very helpful, not just for recovering accidentally deleted files, but also for progress check and rewinding changes. It's a great tool for keeping configuration files also. Backing it up gives you a versioned, ordered, one-tree consistent file collection. -- 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: how do i scp .dotfiles??
'Gary == 'Gary Kline' kl...@thought.org writes: 'Gary at least for me, gtar fails to pick up dotfiles. How did you invoke it? There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? -- 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.vox.com/ for Smalltalk and Seaside 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: ISC-DHCP6 does not send replies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Connecting to [ff02::1:2]:547 (link-scoped All_DHCP_Relay_Agents_and_Servers) or [ff05::1:3]:547 (site-scoped All_DHCP_Servers) should get some sort of answer. I can ping6 to ff02::1:2 successfully. Check the routing table on server and client -- on a FreeBSD box, I get: % netstat -r | grep ff02 ff02::%re0 fe80::e2cb:4eff:fe U re0 ff02::%fwe0fe80::1e:8cff:fec2 U fwe0 ff02::%fwip0 fe80::21e:8c00:c2: U fwip0 ff02::%lo0 localhost U lo0 ff02::%gif0fe80::e2cb:4eff:fe U gif0 Here is my routing table on my gateway system, using the same command as yours. ff02::/16 ::1 UGRSlo0 ff02::%em0/32 fe80::216:e6ff:fe7f:972e%em0 U em0 ff02::%lo0/32 ::1 U lo0 ff02::%tun0/32fe80::216:e6ff:fe7f:972e%tun0 UGStun0 ff02::%tun2/32fe80::216:e6ff:fe7f:972e%tun2 U tun2 ff02::%tun3/32fe80::216:e6ff:fe7f:972e%tun3 U tun3 ff02::%tun1/32fe80::216:e6ff:fe7f:972e%tun1 U tun1 That ff02::/16 does not look quite right . (ie. a route for all network interfaces known on the system, whether active or not) The next step in debugging is to start capturing packet traces (tcpdump(1), wireshark(1)) on both client and server and hunting in there for clues. I know some IPv6 traffic won't get through my wireless router, but that device is IPv4 only and the poor thing gets easily confused by all this new-fangled IPv6 stuff... Thankfully, all my gear is quite new, and IPV6 runs happily on it with radvd. I at least know its not my networking gear :) . I also, luckily, have two wireless APs to test (one on RADIUS, one without) so i can rule that out as the cause of the issue as well Cheers, Matthew PS. On the off chance that it is the firewall. A good debugging trick with pf is to add a 'log' clause to any rule that has a block or reject action. Eg. in lines like the following: # tcpdump -i pflog0 -vv and make your client request a new lease. Did all of this to be 100% sure about this. No ip6 traffic was blocked. Now, with IPv6, link-local addresses are always configured, and there are a whole new set of prefixes for local-, site- and global- scope addresses. I don't know if dhcp client tries using MAC-broadcast at all in the IPv6 case (I would think dhcpd should answer if it does) but the link-local address stuff is possibly what's being blocked somewhere. Yes, the new ipv6 stuff is very interesting. In fact Internode my ISP, use DHCP6 for router prefix advertisement on the pppoe session. In fact, could that be the issue? I have dhcp6c running from my pppoe session (tun0), and it assigns the prefix to em0. I also am trying to use em0 as the DHCP6 server. This shouldn't be breaking it, but it *could* be? -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW Thanks again, its greatly appreciated. William Brown pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJMem6SAAoJEHF16AnLoz6JmV0P/i9ZbOD1vUx0x5V5jG31smoP cDlkREQJWHxeHKROoe4/Em24Djk07iUtOkmSyHQjh7Lq7mAyqDiJfp/8CfCs+Z4a I0/6kmWrZ6ojoqMbFRD01yQ9PubwS1pEbZxSEJnh503G5B/dy0mDCUIXRQtsfppP EJBhg0F2rw95NV4dtNtLHvJUxppWXqiLDOHoBWwa443rkgIziWi9ZkEUjcm+0x5f uOKD1Fiv9Wqua+4HWDR1IVLjHiIGO1AlLnPHVwH4T2/k63xj1fFKXT7hmQ8+i2jn FptT9T5kAPzbjO474YblyI/n7qGMzhTDuvqY9IZkycrNG/vpI7TlCP/YeI6XhIgx cO+ZlU+XUxzd1l1YcB9ipzGW0aEJcKWwmB/d4XzHoEcA/EzTS0vgmEE6ToHJBxSZ nYFMJ2OuD4ojYcrkF45+kefgA/JCH4SJk0W6qoWTzopY5yuq0pSXY7PpknwKNZlu M2YxIXWkfjdZRzItbgylSGurHcEXBwr9/Rbg5glOZ/Zkf7znTfZzG25psjy9SCCp aiNNU/Rhh5wbbn8GY8CeLXPVDgOybbx1C+zLeH5n/yqakrl9v5O5FwF5qDs7uvX5 hdc9UDKAaJBdgX3YsLecyhSt9ekmPxLY4tEvLUXsf1YUJX5J+HcUoE+ke0uzEqu1 vgnIJiUzdYP/hR0X4BHc =xWfb -END PGP SIGNATURE- ___ 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: autoconf 2.63
Thanks, but I did a portsnap fetch update and the autotools wasn't updated. How can I get the correct port? uname -a: FreeBSD server.rame.local 8.1-RC2 FreeBSD 8.1-RC2 #0: Tue Jun 29 20:21:55 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Leonardo M. Ramé http://leonardorame.blogspot.com --- On Sat, 8/28/10, Anonymous swel...@gmail.com wrote: From: Anonymous swel...@gmail.com Subject: Re: autoconf 2.63 To: Leonardo M. Ramé martinr...@yahoo.com Cc: freebsd-questions@freebsd.org Date: Saturday, August 28, 2010, 11:55 PM Leonardo M. Ramé martinr...@yahoo.com writes: Hi, while trying to compile Firebird 2.1.x from sources I got this error: **Error**: You must have autoconf 2.63 or later installed. My first reaction was looking at /usr/ports/devel, but found that the highest version of autoconf available is 2.62. How can I get 2.63? The patch in ports/149861 contains autoconf-2.67. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149861 ___ 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
Problems with portmaster after upgrade to 8.1-RELEASE
Hello list. I've upgraded a system from 8.0 to 8.1 and it went well :-) Followed the portmaster manpage on how to reinstall my ports. When I try to do portmaster `cat ~/installed-port-list` I get a prompt CORRECTportmaster `cut ~/installed-port-list` (y|n|e|a)? I choose n and hit enter and get cat: Command not found. portmaster: Command not found. I've done cd /usr/ports/ports-mgmt/portmaster make deinstall make clean make install clean rehash And stil the problem persists! Portmaster is the only installed port Also: portmaster --check-port-dbdir gives Illegal option --check-port-dbdir $PATH gives /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin: Command not found. again the command not found! I'm a little lost, any suggestions? Thanks /Leslie ___ 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: Problems with portmaster after upgrade to 8.1-RELEASE
On Sun, Aug 29, 2010 at 04:55:52PM +0200, Leslie Jensen wrote: Hello list. I've upgraded a system from 8.0 to 8.1 and it went well :-) Followed the portmaster manpage on how to reinstall my ports. Why? You only have to re-install all ports when changing between major releases e.g. 7.x to 8.x. Point releases are binary compatible. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpgZc9FW1HDV.pgp Description: PGP signature
Mirror Freebsd - Doubts
I am wanting to mount a mirror, to place repositories of debian / ubuntu, because many machines in my company update the repositories and doing so will improve the process performance. However, I do this in FreeBSD (with spegla, ftpmirror ...), and was wondering if it is possible, if not I will take issue with that. I'm new here on the list, so excuse me if the correct place to ask that is not here. Grateful for the cooperation, Felipe ___ 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
SOLVED.....Re: Problems with portmaster after upgrade to 8.1-RELEASE
On 2010-08-29 16:55, Leslie Jensen wrote: Hello list. I've upgraded a system from 8.0 to 8.1 and it went well :-) Followed the portmaster manpage on how to reinstall my ports. When I try to do portmaster `cat ~/installed-port-list` I get a prompt I tried the same commands using ssh from another machine and I could see that the commands in my history was garbage. Giving the commands from the remote machine works flawlessly :-) Sorry for the noise! ___ 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: Problems with portmaster after upgrade to 8.1-RELEASE
On 2010-08-29 17:07, Roland Smith wrote: On Sun, Aug 29, 2010 at 04:55:52PM +0200, Leslie Jensen wrote: Hello list. I've upgraded a system from 8.0 to 8.1 and it went well :-) Followed the portmaster manpage on how to reinstall my ports. Why? You only have to re-install all ports when changing between major releases e.g. 7.x to 8.x. Point releases are binary compatible. Because I had not updated the ports on that machine since march this year :-o /L ___ 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: autoconf 2.63
Leonardo M. Ramé martinr...@yahoo.com writes: Thanks, but I did a portsnap fetch update and the autotools wasn't updated. How can I get the correct port? The PR is not vetted by exp-run yet. If you're not gonna test the patch then better just wait for it to hit the ports tree. ___ 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: autoconf 2.63
I don't have any problem in testing the patch, but...how can I do that? Leonardo M. Ramé http://leonardorame.blogspot.com --- On Sun, 8/29/10, Anonymous swel...@gmail.com wrote: From: Anonymous swel...@gmail.com Subject: Re: autoconf 2.63 To: Leonardo M. Ramé martinr...@yahoo.com Cc: freebsd-questions@freebsd.org Date: Sunday, August 29, 2010, 12:14 PM Leonardo M. Ramé martinr...@yahoo.com writes: Thanks, but I did a portsnap fetch update and the autotools wasn't updated. How can I get the correct port? The PR is not vetted by exp-run yet. If you're not gonna test the patch then better just wait for it to hit the ports tree. ___ 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
Effective FreeBSD installation on several servers
Hello, I have three servers which I'm going to use for dynamips setup, so I basicly need only computing power of those machines. What would be the most effective way to install/upgrade FreeBSD on servers? I think about PXE booting through the network and mounting /,/home over NFS - is it possible? Has anyone done such thing before? Or maybe there are more effective way for such installation? Be well. ___ 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: Effective FreeBSD installation on several servers
On 8/29/2010 10:21 AM, Mikhail wrote: Hello, I have three servers which I'm going to use for dynamips setup, so I basicly need only computing power of those machines. What would be the most effective way to install/upgrade FreeBSD on servers? I think about PXE booting through the network and mounting /,/home over NFS - is it possible? Has anyone done such thing before? Or maybe there are more effective way for such installation? Be well. I wrote my own backup script to create file-level images which can then be used to populate a new installation. Process described at: http://www.tundraware.com/Software/tbku/Imaging-FreeBSD-With-tbku.html -- 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
Re: Why compositing gets disabled in KDE4?
On Saturday 28 August 2010 08:37:53 Yuri wrote: It worked before on the same system (~3 months ago). But after some updates of everything (kernel/nvidia driver/kde4) it gets disabled from kde4 startup. Pressing 'Resume Compositing' doesn't help. Message pops up that some application disabled compositing, press Alt-Shift-F12. But this doesn't help either. Any idea why this feature is broken? FreeBSD-8.1-STABLE amd64 nvidia-driver-195.36.15 GeForce 9400GT kde-4.4.5 You should post your /var/log/Xorg.0.log and /etc/X11/xorg.conf to the list. signature.asc Description: This is a digitally signed message part.
Re: ISC-DHCP6 does not send replies
On 29/08/2010 15:28:30, Indexer wrote: Connecting to [ff02::1:2]:547 (link-scoped All_DHCP_Relay_Agents_and_Servers) or [ff05::1:3]:547 (site-scoped All_DHCP_Servers) should get some sort of answer. I can ping6 to ff02::1:2 successfully. Can you tell if it's your DHCP6 server responding? Check the routing table on server and client -- on a FreeBSD box, I get: % netstat -r | grep ff02 ff02::%re0 fe80::e2cb:4eff:fe U re0 ff02::%fwe0fe80::1e:8cff:fec2 U fwe0 ff02::%fwip0 fe80::21e:8c00:c2: U fwip0 ff02::%lo0 localhost U lo0 ff02::%gif0fe80::e2cb:4eff:fe U gif0 Here is my routing table on my gateway system, using the same command as yours. ff02::/16 ::1 UGRS lo0 ff02::%em0/32 fe80::216:e6ff:fe7f:972e%em0 U em0 ff02::%lo0/32 ::1 U lo0 ff02::%tun0/32fe80::216:e6ff:fe7f:972e%tun0 UGS tun0 ff02::%tun2/32fe80::216:e6ff:fe7f:972e%tun2 U tun2 ff02::%tun3/32fe80::216:e6ff:fe7f:972e%tun3 U tun3 ff02::%tun1/32fe80::216:e6ff:fe7f:972e%tun1 U tun1 That ff02::/16 does not look quite right . It's different, yes. That could be due to running DHCP6 -- after all, the daemon has to have some way of receiving all the DHCP traffic to the various site- and link- local addresses. You can test that by turning off dhcpd and checking the routing table with it not running. If the route doesn't disappear, try disabling dhcpd in /etc/rc.conf, rebooting and then see if that route is still present. Either way, re-enable dhcpd in rc.conf and re-start the daemon: if the route appears then it's required by dhcpd and everything looks to be in order. In fact, could that be the issue? I have dhcp6c running from my pppoe session (tun0), and it assigns the prefix to em0. I also am trying to use em0 as the DHCP6 server. This shouldn't be breaking it, but it *could* be? Ah. Yes, this might cause you problems. Possibly. If Internode DHCP6 has been configured as authoritative for your address range and if the query packets from your client can reach Internode's DHCP6 server then you probably will have trouble. I shouldn't think its likely though -- your client's DHCP6 initial queries will be to find a server on the same network segment, and to reach the Internode servers it would have to hop through your gateway machine, which is your DHCP6 server anyhow. If your network prefix is dynamically assigned, then I don't think there is a way to have a DHCP6 server be a DHCP6 client as well, and pass on the prefixes it has obtained dynamically. BICBW. If your ISPs policy is actually to assign you a particular prefix permanently rather than give you one out of some dynamically assigned pool, then it's worth a try using a static configuration on your gateway machine -- I believe you said this was a test setup to see if it could be rolled out on a customer network? Should be fine to try static configuration like that for a limited time even supposing it's all dynamically assigned. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Why compositing gets disabled in KDE4?
On 08/29/2010 10:23, Tijl Coosemans wrote: On Saturday 28 August 2010 08:37:53 Yuri wrote: It worked before on the same system (~3 months ago). But after some updates of everything (kernel/nvidia driver/kde4) it gets disabled from kde4 startup. Pressing 'Resume Compositing' doesn't help. Message pops up that some application disabled compositing, press Alt-Shift-F12. But this doesn't help either. You should post your /var/log/Xorg.0.log and /etc/X11/xorg.conf to the list. Thank you, I figured this out. This happens when kernel was rebuilt after nvidia module. Even presumably minor updates in kernel (8.1-STABLE updates) cause this: X works fine except for compositing is broken. Thank you, 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
Re: Mirror Freebsd - Doubts
On 29/08/2010 15:37:51, Felipe Agnelli Barbosa wrote: I am wanting to mount a mirror, to place repositories of debian / ubuntu, because many machines in my company update the repositories and doing so will improve the process performance. However, I do this in FreeBSD (with spegla, ftpmirror ...), and was wondering if it is possible, if not I will take issue with that. I'm new here on the list, so excuse me if the correct place to ask that is not here. Grateful for the cooperation, Sure, this is certainly possible with FreeBSD. You can run a FTP mirror on it quite happily. That's the sort of thing that would work pretty well on any unixoid system to be frank, so your choice of FreeBSD might need justifying by some external criterion: FreeBSD runs ZFS, We get better network performance with FreeBSD or even I'm the sysadmin around here, and I like FreeBSD, so nyer. Check the ports for ftp mirroring programs. Both the ones you mention are available. Another approach is to use a caching proxy -- squid will do this for ftp URLs, as will apache (using mod_proxy). You can even be completely evil and set it up as a transparent proxy with a little work. The advantage of using a caching proxy is that over time it will pretty much auto-tune itself to contain the distfiles your users are interested in without your having to have any prior knowledge. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: how do i scp .dotfiles??
On Sun, Aug 29, 2010 at 07:06:33AM -0700, Randal L. Schwartz wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: 'Garyat least for me, gtar fails to pick up dotfiles. How did you invoke it? There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? Sure. my default is the asterisk. ...Anyway, i used matthew's -r for recursion [with rsync] and even tested --delete on some junk ~kline/.4kde/* stuff. then slowly, got rid of more junk [[unused for =years=]] directories and files. pretty soon i'll be ready to save everything from here [tao/present/oldtao] to ethic. then i'll move everything to the newtao. then i'll give away my '03 tower. do unto others... or whatever:) gary PS: thanks for the tip, randal! i may have that somewhere in some obscure ~/.notesfile. -- 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.vox.com/ for Smalltalk and Seaside discussion -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: Moving from one port to another
Quoth Eitan Adler on Sunday, 29 August 2010: On Sat, Aug 28, 2010 at 10:40 PM, Kurt Buff kurt.b...@gmail.com wrote: Portupgrade won't, AFAIK, cross branches, though I could be wrong about that. There's a 3.0 branch in /usr/ports/www/squid30 and a 3.1 branch in /usr/ports/www/squid31, and I want to make the switch to pick up a feature. Kurt portmaster -o www/squid31 www/squid30 -- Eitan Adler So, if I understand correctly, I could use this to upgrade from python26 to python27? Or perl 5.8.9 to perl 5.12? and everything that depended on the former will be upgraded to the latter? Can I say swet in advance? Is there a way to do that with portupgrade, or is this one of those features that makes portmaster a better mousetrap? -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpz9OVWY9Cyh.pgp Description: PGP signature
Re: ISC-DHCP6 does not send replies
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.xpbargains.net/ ___ 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: how do i scp .dotfiles??
'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? 'Gary Sure. my default is the asterisk. Well, there's your problem. Sometimes, you have to actually think about what you're doing. :) -- 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.vox.com/ for Smalltalk and Seaside 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: Moving from one port to another
On Sun, 29 Aug 2010, Chip Camden wrote: Quoth Eitan Adler on Sunday, 29 August 2010: On Sat, Aug 28, 2010 at 10:40 PM, Kurt Buff kurt.b...@gmail.com wrote: Portupgrade won't, AFAIK, cross branches, though I could be wrong about that. There's a 3.0 branch in /usr/ports/www/squid30 and a 3.1 branch in /usr/ports/www/squid31, and I want to make the switch to pick up a feature. portmaster -o www/squid31 www/squid30 So, if I understand correctly, I could use this to upgrade from python26 to python27? Or perl 5.8.9 to perl 5.12? and everything that depended on the former will be upgraded to the latter? Can I say swet in advance? Is there a way to do that with portupgrade, or is this one of those features that makes portmaster a better mousetrap? portupgrade has had it for a long time: man portupgrade | less '+/-o ORIGIN' ___ 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: how do i scp .dotfiles??
On Sun, 29 Aug 2010 12:12:11 -0700, mer...@stonehenge.com (Randal L. Schwartz) wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? 'GarySure. my default is the asterisk. Well, there's your problem. Sometimes, you have to actually think about what you're doing. :) The problem (i. e. a convention) is that .* is not part of *, which includes everything else, even nothing, and the form *.* (that looks like the DOS equivalent of all files) does seem to omit .*; the spaced form * .* would work as it contains * (which does not contain .*) and .* (not in *). :-) -- 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: autoconf 2.63
It was easier than I tought: wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.67.tar.gz tar xvfz autoconf-2.67.tar.gz cd autoconf-2.67 ./configure gmake sudo gmake install Leonardo M. Ramé http://leonardorame.blogspot.com --- On Sun, 8/29/10, Leonardo M. Ramé martinr...@yahoo.com wrote: From: Leonardo M. Ramé martinr...@yahoo.com Subject: Re: autoconf 2.63 To: freebsd-questions@freebsd.org Date: Sunday, August 29, 2010, 12:16 PM I don't have any problem in testing the patch, but...how can I do that? Leonardo M. Ramé http://leonardorame.blogspot.com --- On Sun, 8/29/10, Anonymous swel...@gmail.com wrote: From: Anonymous swel...@gmail.com Subject: Re: autoconf 2.63 To: Leonardo M. Ramé martinr...@yahoo.com Cc: freebsd-questions@freebsd.org Date: Sunday, August 29, 2010, 12:14 PM Leonardo M. Ramé martinr...@yahoo.com writes: Thanks, but I did a portsnap fetch update and the autotools wasn't updated. How can I get the correct port? The PR is not vetted by exp-run yet. If you're not gonna test the patch then better just wait for it to hit the ports tree. ___ 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: Moving from one port to another
On 29/08/2010 20:20:51, Warren Block wrote: On Sun, 29 Aug 2010, Chip Camden wrote: Quoth Eitan Adler on Sunday, 29 August 2010: On Sat, Aug 28, 2010 at 10:40 PM, Kurt Buff kurt.b...@gmail.com wrote: Portupgrade won't, AFAIK, cross branches, though I could be wrong about that. There's a 3.0 branch in /usr/ports/www/squid30 and a 3.1 branch in /usr/ports/www/squid31, and I want to make the switch to pick up a feature. portmaster -o www/squid31 www/squid30 So, if I understand correctly, I could use this to upgrade from python26 to python27? Or perl 5.8.9 to perl 5.12? and everything that depended on the former will be upgraded to the latter? Can I say swet in advance? Is there a way to do that with portupgrade, or is this one of those features that makes portmaster a better mousetrap? portupgrade has had it for a long time: man portupgrade | less '+/-o ORIGIN' Yes. portmaster has pretty much the same '-o' flag. However, it's not quite so swet (sic) as all that -- all the '-o' flag does, in either portmaster or portupgrade is transfer the dependencies to the new package. In very many cases you would still have to reinstall everything that depends on the replaced package. Sometimes that's because shlibs have different versions -- eg. if you upgrade from mysql-5.0.x to mysql-5.1.x[*], then the ABI version changes and you need to reinstall everything that links against libmysql. With perl, the reason is even simpler -- the perl version number is embedded in the library search path, so until you reinstall, even pure-perl modules are going to be inaccessible. XS modules need relinking in any case. Not entirely sure of the details with python, but certainly any module which is available as dynamically loadable object code will need relinking. Generally, the advice is to forcibly reinstall everything that depends on the package you replaced: portmaster -f -R -r example/port portupgrade -f -r example/port Cheers, Matthew [*] Which is a slightly trickier exercise than most, given you've got to update both mysql-client and mysql-server ports using the '-o' thing. Possibly even the mysql-scripts port if installed. And then you've got to deal with all the dependencies too. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: how do i scp .dotfiles??
On Sun, Aug 29, 2010 at 12:12:11PM -0700, Randal L. Schwartz wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? 'GarySure. my default is the asterisk. Well, there's your problem. Sometimes, you have to actually think about what you're doing. :) LOL! man, when i get into hackery mode--especially playing at being a system admin-- i just go into autopilot. well, live and learn. this stuff has been a good reminder. hope it helps a few others listmembers. (FWIW,I actually did find the dot vs asterisk note in a old howto file. i dont know if i ought to fess up, but i am.) here's another fwiw before i really launch: it pays to do a du from $HOME every few [n] months. i'm finding so much unused crud, e.g. ~/.wine from 2004, that my drive is going to weigh a few pounds less... -- 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.vox.com/ for Smalltalk and Seaside discussion -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: how do i scp .dotfiles??
On Sun, Aug 29, 2010 at 09:34:59PM +0200, Polytropon wrote: On Sun, 29 Aug 2010 12:12:11 -0700, mer...@stonehenge.com (Randal L. Schwartz) wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? 'Gary Sure. my default is the asterisk. Well, there's your problem. Sometimes, you have to actually think about what you're doing. :) The problem (i. e. a convention) is that .* is not part of *, which includes everything else, even nothing, and the form *.* (that looks like the DOS equivalent of all files) does seem to omit .*; the spaced form * .* would work as it contains * (which does not contain .*) and .* (not in *). :-) ouvh, ouch, ouch!1 running away, pulling out my one remaining hair:) ...and now, no mo' mail until, oh, around 02:15 -g -- 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: how do i scp .dotfiles??
On Sunday 29 August 2010, Polytropon wrote: The problem (i. e. a convention) is that .* is not part of *, which includes everything else, even nothing, and the form *.* (that looks like the DOS equivalent of all files) does seem to omit .*; the spaced form * .* would work as it contains * (which does not contain .*) and .* (not in *). :-) The problem with using .* as a wildcard for hidden files is that it will include .. which is almost certainly not what you want. For example rm -r .* can be disastrous. A safer wildcard for hidden dotfiles and everything else could be .[^.]* * -- Mike Clarke ___ 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: ISC-DHCP6 does not send replies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's different, yes. That could be due to running DHCP6 -- after all, the daemon has to have some way of receiving all the DHCP traffic to the various site- and link- local addresses. You can test that by turning off dhcpd and checking the routing table with it not running. If the route doesn't disappear, try disabling dhcpd in /etc/rc.conf, rebooting and then see if that route is still present. Either way, re-enable dhcpd in rc.conf and re-start the daemon: if the route appears then it's required by dhcpd and everything looks to be in order. I removed this route, and it did not reappear when i restarted the DHCP6 server. It also did not affect the situation, i still get no leases. Ah. Yes, this might cause you problems. Possibly. If Internode DHCP6 has been configured as authoritative for your address range and if the query packets from your client can reach Internode's DHCP6 server then you probably will have trouble. I shouldn't think its likely though -- your client's DHCP6 initial queries will be to find a server on the same network segment, and to reach the Internode servers it would have to hop through your gateway machine, which is your DHCP6 server anyhow. Well, it seems that the packets are all being sent to my gateway, not internode. If your network prefix is dynamically assigned, then I don't think there is a way to have a DHCP6 server be a DHCP6 client as well, and pass on the prefixes it has obtained dynamically. BICBW. If your ISPs policy is actually to assign you a particular prefix permanently rather than give you one out of some dynamically assigned pool, then it's worth a try using a static configuration on your gateway machine -- I believe you said this was a test setup to see if it could be rolled out on a customer network? Should be fine to try static configuration like that for a limited time even supposing it's all dynamically assigned. I tried, but the moment i turned off dhcp6c, i lost ipv6 connectivity, so no go sadly. Well, now i have a server that listens properly, but when my client sends it solicits, it dosen't pick them up at all. might be time to start playing with wireshark and tcpdump I guess. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW William Brown pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJMewPVAAoJEHF16AnLoz6JUfIQAIXkS5ocTuI+cf8kuB/ByNC/ wkybfdFoqh3ac1c2v1q/KD0ZhPWKGTN93x5f9rmdDO1BiCrBvDQGONh32xOImgt+ a/XuGL5kNZi24iW5JRHSHgS5hJmLqtZpuN2nYG28WBQJzSTfKEi61lMq55EFcAL5 VKUTTvSv9i3us5WbuzdjPoP0VScjkJjhycOYZW4YmWVbcnVdl4xdfqkZr1qevRE3 /d3YO4GO++ZsY7y6Ria1WDt6ckP2Arf2zic8UTSGJnv1h1GHo+iU6KSGpbCFqnNW XcR7ics/cUwjCiyG870EBWBTtHM45+WC1JhTHUUI4UQmPCv+Ux7cTI3j0/JHQE/r sgAgBiloi5qRrNntOVZwIhtGCilGj2ZWR+3C/HMb9YbBkKGQTYzd60Madj4L2dWQ XVKAakV4HOvC/+vv5r7nsZLv2OFRNmEoHIybfE++uXGl+YZ5iK+Cyh/ziRhsp8ji XoViwmINSm04cz+6V/bkzhSh84OYf+iIWLKPLT9fuyFU3jQtSmXX9N4UTmLKp2Xx Ps48wfv+sZi7P2Ho74dGxrh8vmZnYsTpGR0x4q/eMNY+gD3IsF/tIlYsnwqxxGqt vpUdP3d40OLFDoM+ncsJS1bLL/qshZCJDXeuiUuzsW6kUkAt/cFhAeNRgF7O5gLP rNlJwiTGlUADar6hPi6O =RIEP -END PGP SIGNATURE- ___ 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: Moving from one port to another
Quoth Warren Block on Sunday, 29 August 2010: On Sun, 29 Aug 2010, Chip Camden wrote: Quoth Eitan Adler on Sunday, 29 August 2010: On Sat, Aug 28, 2010 at 10:40 PM, Kurt Buff kurt.b...@gmail.com wrote: Portupgrade won't, AFAIK, cross branches, though I could be wrong about that. There's a 3.0 branch in /usr/ports/www/squid30 and a 3.1 branch in /usr/ports/www/squid31, and I want to make the switch to pick up a feature. portmaster -o www/squid31 www/squid30 So, if I understand correctly, I could use this to upgrade from python26 to python27? Or perl 5.8.9 to perl 5.12? and everything that depended on the former will be upgraded to the latter? Can I say swet in advance? Is there a way to do that with portupgrade, or is this one of those features that makes portmaster a better mousetrap? portupgrade has had it for a long time: man portupgrade | less '+/-o ORIGIN' ___ 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 OK, I just upgrade to python27 using this approach, and everything seemed to work OK. The only oddity is that now two of my ports are ahead of the curve: py27-gdbm-2.7 succeeds port (port has 2.6.5) py27-sqlite3-2.7_1succeeds port (port has 2.6.5_1) I'm not going to worry about that unless someone or something tells me I should. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpSPIUgtp2lj.pgp Description: PGP signature
wvstreaams + wvdial on FreeBSD 8.1 AMD 64
Dear FreeBSD users, I have run out of ideas to troubleshoot a difficult task: get wvstreams and wvdial to work on FreeBSD 8.1. I have tried without success to get the code to compile and I encounter the following error: . ./CXX -c utils/strcrypt utils/strcrypt.cc:3:21: warning: crypt.h: No such file or directory ./CXX -c utils/verstring ./CXX -c utils/wvargs -Iargp ./CXX -c utils/wvassert ./CXX -c utils/wvbase64 ./CXX -c utils/wvcrash ./CXX -c utils/wvdiriter ./CXX -c utils/wvglob ./CXX -c utils/wvglobdiriter ./CXX -c utils/wvgzip ./CXX -c utils/wvhex ./CXX -c utils/wvmagiccircle ./CXX -c utils/wvmatrix ./CXX -c utils/wvpam ./CXX -c utils/wvrateadjust ./CXX -c utils/wvserialize ./CXX -c utils/wvshmzone ./CXX -c utils/wvstringtable ./CXX -c utils/wvsubproc ./CXX -c utils/wvsubprocqueue ./CXX -c utils/wvsystem ./CXX -c utils/wvtest ./CXX -c utils/wvtr1 ./CXX -c utils/wvuid ./CXX -c utils/wvwordwrap linking libwvutils.so... /usr/bin/ld: argp/libargp.a(argp-help.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC argp/libargp.a: could not read symbols: Bad value gmake: *** [libwvutils.so] Error 1 [olivares@ ~/Downloads/wvstreams-4.6.1]$ I applied the patches suggested here: http://www.distasis.com/cpp/patches.htm#wvdial See the following threads for reference in case this is needed. http://groups.google.com/group/wvstreams-devel/t/fca414e7fea9a727?hl=en http://groups.google.com/group/wvstreams-devel/t/2e70344a504b6a58?hl=en and a nice person, Laura, has helpred tremendously, but still can't get past that error. She encouraged me to ask, but I was hesistant to do so. I have gotten help with LaTeX/TeX issues and with autologin in with both KDE and in XFCE and I appreciate the help I have gotten. I tried downloading the i386 version of 8.1-RELEASE and the special XFCE variant but downloads got corrupted and md5 did not match so I gave up. Tried it about 3 times and same result :( What should I try or do to get this going? In case anyone out there wonders, FreeBSD 8.1 does not have kppp by default. I need a dialer to be able to use my FreeBSD box to connect to outside world. To use this machine, I have Slax/Slax-Remix LiveCD to connect but I would really like to use FreeBSD since it has been a long time since I was able to connect from a FreeBSD box at home (FreeBSD 6.X). Thank you in advance for advice/suggestions/comments in this matter. Regards, Antonio ___ 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
killall -9 program-name does not work
Dear fellow FreeBSD users, I have a cron script that plays music in the morning when I arrive at work. in ~/.xalarm I have two lines, one that calls xterm and one that calls mplayer and plays a series of music files in a playlist crontab -l has the following # min hour day-of-month month day-of-week command # 0-59 0-23 1-31 1-12 0-6 0=sun 1=mon 00 07 * * 1-5 ~/.xalarm /dev/null 21 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer /dev/null 21 and ~/.xalarm has #!/bin/sh # /usr/local/bin/xterm -display :0 -bg black -fg white \\ echo -e /usr/local/bin/mplayer -really-quiet -shuffle -playlist ~/.playlist The music starts playing at 7:00 AM, but it does not stop at 7:30. I have a similar setup at home and I did not notice, since I altered root crontab to shutdown machine automatically at 6:00 am. I check manually with top and see that mplayer runs and I try to kill it from command line and I see that I am not the owner of that process so nothing happens. I get the pid of the process and apply killall -9 pid but it does not do it either. How can I stop mplayer from playing at 7:30 am? should I edit ~/.xalarm and remove the xterm command since I have xterm running before it calls out mplayer? Thanks in Advance for suggestions/advice/comments in this matter. Regards, Antonio Math Teacher New Grulla High School http://olivares14031.741.com/index.html ,, /()` \ \___ / | /- _ `-/ ' (/\/ \ \ /\ / / | `\ O O ) /| `-^--'` ' (_.) _ ) / `.___/`/ `-' / . __ / __ \ |O)))==) \) / '`--' `.__,' \ || \ / /\ __( (_ / \__/ ,' ,-' | `--{__) ___ 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: Advantage -vs- Disadvantage: SFTP -vs- SCP
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.xpbargains.net/ ___ 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: Advantage -vs- Disadvantage: SFTP -vs- SCP
On Fri, Aug 27, 2010 at 3:39 AM, krad kra...@googlemail.com wrote: SFTP is better than scp if you just want to transfer files, as the users dont have to have shell access to the box to use the openssh SFTP system. As mentioned above dont confuse sftp with ftps/ftp-ssl /usr/ports/shells/scponly -- 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