Re: textproc/hunspell and readline?
On Thu, 18 Jul 2013 11:58:59 +0100, Matthew Seaman wrote: On 18/07/2013 10:42, Walter Hurry wrote: I note that the Makefile for textproc/hunspell has '--with-readline' in the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe it is, but at any rate it isn't recorded as a dependency or a shlib). 9.1-RELEASE-p4 amd64 with pkgng. Is there a reason for this? libreadline.so is in base Thanks, Matthew. Noted. So why on 10.0-CURRENT does it insist on installing readline from the port? ___ 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
Same MAC address in 2 different VLANs
Hello, Could any one comment about the use of the same MAC address in 2 separate VLANs? All my machines are connected to 2 VLANs (one public and one private) with no routing in between the VLANs. I used to run a FLEX license manager to a physical machine. When I virtualized that service, I had to use the MAC address of that physical machine for the virtual machine (FLEX is linked to the MAc address and I coul dnot issue new license as licensed the pproduct is not supported anymore). The virtual NIC that has the old MAC address is connected to the public VLAN. Now I want to reuse the physical machine as a VMware server. Dell nor VMware offer a solution to change the MAC address (like ifconfig em0 link xx:xx:xx:xx:xx:xx would do). So I plan to connect the NIC with the incriminated MAC to the private VLAN. Most (if not all) my servers are FreeBSD. Most will access the virtual machine running FLEX and may access the VMware server also. The servers are not VLAN aware. Will this be an issue? Best regars, Olivier -- ___ 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: Same MAC address in 2 different VLANs
I think you maybe ok. Ive just looked at my esx config and the esx management interfaces use their own generated macs, not the physical interfaces ones. All the vms obviously use generated macs as well. However I only looked over it at a superficial level. Have you considered using a tap or spare phyical interface on your flex box and not linking it to the network? On 19 July 2013 10:29, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hello, Could any one comment about the use of the same MAC address in 2 separate VLANs? All my machines are connected to 2 VLANs (one public and one private) with no routing in between the VLANs. I used to run a FLEX license manager to a physical machine. When I virtualized that service, I had to use the MAC address of that physical machine for the virtual machine (FLEX is linked to the MAc address and I coul dnot issue new license as licensed the pproduct is not supported anymore). The virtual NIC that has the old MAC address is connected to the public VLAN. Now I want to reuse the physical machine as a VMware server. Dell nor VMware offer a solution to change the MAC address (like ifconfig em0 link xx:xx:xx:xx:xx:xx would do). So I plan to connect the NIC with the incriminated MAC to the private VLAN. Most (if not all) my servers are FreeBSD. Most will access the virtual machine running FLEX and may access the VMware server also. The servers are not VLAN aware. Will this be an issue? Best regars, Olivier -- ___ 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: textproc/hunspell and readline?
On 19/07/2013 09:30, Walter Hurry wrote: On Thu, 18 Jul 2013 11:58:59 +0100, Matthew Seaman wrote: On 18/07/2013 10:42, Walter Hurry wrote: I note that the Makefile for textproc/hunspell has '--with-readline' in the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe it is, but at any rate it isn't recorded as a dependency or a shlib). 9.1-RELEASE-p4 amd64 with pkgng. Is there a reason for this? libreadline.so is in base Thanks, Matthew. Noted. So why on 10.0-CURRENT does it insist on installing readline from the port? I don't have a 10.x system handy to confirm this, but I'd guess the libreadline.so stuff was maybe dropped from current. Although it seems the libreadline code is still in head: http://svnweb.freebsd.org/base/head/contrib/libreadline/ Is there a /lib/libreadline.so.* shared library on your 10.0-CURRENT system? Cheers, Matthew ___ 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: Same MAC address in 2 different VLANs
Hello, Could any one comment about the use of the same MAC address in 2 separate VLANs? [...] Will this be an issue? You might run into problems if the two (virtual) systems are attached to a different port on your switch. Some switches don't take the vlan into account when learning on which port a mac address exists. These switches will see the mac address jumping between ports all the time. Joost. ___ 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: Fresh installation 9.1
Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Before this problem , i have enabled ftpd and provided root login for ftp server access. after that I am facing this problem . but i revert back this root access. and i stopped the ftpd service. mouse is working properly. but key board is not responding properly. Please help me on this. Regards On Fri, Jun 21, 2013 at 6:23 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 20 Jun 2013 18:17+0530, hrkesh sahu wrote: Hi Trond, One more help please, I was trying to install v6eval-3.3.2 which is used for IPv6 ready logo self test within FreeBSD 9.1-RELEASE version for a IPv6 self test. But I am facing this compilation issue. Code: # make === lib (depend) === lib/Cm (depend) rm -f .depend GPATH GRTAGS GSYMS GTAGS rm -f .depend mkdep -f .depend -a-DYYDEBUG -I. -I/usr/local/include CmTypes.cc BtObject.cc BtArray.cc BtList.cc BtSet.cc CmQueue.cc CmAgent.cc CmMain.cc CmSocket.cc CmFdSet.cc CmFdMasks.cc CmString.cc PerfCollect.cc Timer.cc CmDispatch.cc CmReceiver.cc timeval.cc CmToken.cc CmMatch.cc CmLexer.cc CmMain.cc:51:18: error: utmp.h: No such file or directory FreeBSD 9.1 uses utx, not utmp. Try to disable utmp during configure, and possibly enable utx. Running ./configure --help might give some insight. mkdep: compile failed *** [.depend] Error code 1 Stop in /root/Desktop/xxx/v6eval-3.3.2/lib/Cm. *** [depend] Error code 1 Stop in /root/Desktop/xxx/v6eval-3.3.2/lib. *** [depend] Error code 1 Stop in /root/Desktop/xxx/v6eval-3.3.2. Regards Hrisikesh On Fri, Jun 14, 2013 at 6:11 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Fri, 14 Jun 2013 17:31+0530, hrkesh sahu wrote: Hi Trond, Thanks a lot. Sorry I am asking so many thinks. I am looking for a another help. What is static route for a IPV6 router? A static route is something I use for our IPv6 VPN clients in our net. All packets destined to the VPN clients are routed to the inside interface of the VPN router, the VPN router takes care of everything else, including wrapping the packets in the encryption layer and sending the resulting datagrams to the real clients somewhere out there in the world, back through the main router. How do i need to configure static route on FreeBSD router indicating another router's link local address as next HOP? Now I have a another router which is connected in same network with FreeBSD router. If clients on the far end of each of the two routers needs to communicate with one another, then the appropriate default gateway settings on each host and router should suffice. If three or more routers are connected somehow, then they each need to know about the prefixes on the other routers, and where to send the packets, i.e. the next hop, and let the next hop decide each packet's fate as the packets traverse each router link. This is where routing protocols such as RIP, OSPF, IS-IS, BGP, etc, come into play. I haven't looked into route6d(8), RIP6 routing protocol, but I'm sure it can be tamed to act as you please. Maybe you should look into Quagga and/or GNU Zebra. My network is simple enough, and I only need directly connected and static routes to make things happen. On the outside, towards our ISP, things are much more complicated. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ ___ 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: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
Perhaps make buildkernel was compiled with -j 1, it's known to create a buggy kernel. Check your make configuration. Adding a -B, like make -B -j N buildkernel may work and is fast if -j is set to number or processors, but it's safer do a make -j 1 buildkernel, same for buildworld. I replaced the kernel with the one on the 8.4 memstick and it booted just fine. I then built and installed a kernel without using the j flag to test Eduardo's theory. It booted without problem. Maybe there's something to this -j 1 causing buggy kernels rumor. -David ___ 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: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
On Fri, 19 Jul 2013, David Noel wrote: Perhaps make buildkernel was compiled with -j 1, it's known to create a buggy kernel. Check your make configuration. Adding a -B, like make -B -j N buildkernel may work and is fast if -j is set to number or processors, but it's safer do a make -j 1 buildkernel, same for buildworld. I replaced the kernel with the one on the 8.4 memstick and it booted just fine. I then built and installed a kernel without using the j flag to test Eduardo's theory. It booted without problem. Maybe there's something to this -j 1 causing buggy kernels rumor. It's possible. But again, I've been using -j 1 for years on a variety of processors, mostly Intel, without problems. That's with buildworld and kernel (which is buildkernel plus installkernel), but not with installworld. Are you using clang instead of gcc? That could be very different. ___ 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: Bill Paul's network drivers
On Wed, 17 Jul 2013 13:28:39 -0300, Michel Behr michelb...@gmail.com wrote: Hi I'm considering learning how to build drivers, so I can make my Lenovo S400 wireless card get detected by FreeBSD. The Architecture Handbook cites these Bill Paul's network drivers. 9.5 Network Drivers: Drivers for network devices do not use device nodes in order to be accessed. Their selection is based on other decisions made inside the kernel and instead of calling open(), use of a network device is generally introduced by using the system call socket(2). For more information see ifnet(9), the source of the loopback device, and Bill Paul's network drivers. Where can I find those Bill Paul's network drivers? All network drivers are part of the kernel sources. You should have them in your /usr/src/sys directory. Having said that, the networking stack is a large piece of software, with many parts and interactions between them. If you are planning to get into that sort of development, you should probably consider reading a _book_ about how things work. Two excellent books about drivers and networking are: FreeBSD Device Drivers by Joseph Kong (Stark Press) The Design and Implementation of the FreeBSD Operating System by Marshall Kirk Mc Kusick George V. Neville-Neil (Addison-Wesley) ___ 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: Fresh installation 9.1
On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote: Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Is that inside X? Before this problem , i have enabled ftpd and provided root login for ftp server access. That is something you should _not_ do, especially not within a network you don't trust (see also: The Internet). Usually FTP access can't be trusted (too much plaintext), and especially for root this is a threat to security. Better use scp (SSH) for transfering files in an FTP-like way. after that I am facing this problem . but i revert back this root access. and i stopped the ftpd service. That is a good step regarding security. Still make sure your system hasn't been compromized. Also be sure to change your root password, because you _never_ know. :-) mouse is working properly. but key board is not responding properly. When this happens inside X, it sounds a bit familiar. Does the keyboard start working again when you move the mouse? I'm not sure if _this_ is still an issue: http://www.wonkity.com/~wblock/docs/html/aei.html Make sure the keyboard is working as expected, for example by testing it in a non-X session (text mode terminal). -- 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: to gmirror or to ZFS
On Jul 16, 2013, at 11:42 AM, Warren Block wrote: On Tue, 16 Jul 2013, aurfalien wrote: On Jul 16, 2013, at 2:41 AM, Shane Ambler wrote: I doubt that you would save any ram having the os on a non-zfs drive as you will already be using zfs chances are that non-zfs drives would only increase ram usage by adding a second cache. zfs uses it's own cache system and isn't going to share it's cache with other system managed drives. I'm not actually certain if the system cache still sits above zfs cache or not, I think I read it bypasses the traditional drive cache. For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max that is a system wide setting and isn't going to increase if you have two zpools. Tip: set the arc_max value - by default zfs will use all physical ram for cache, set it to be sure you have enough ram left for any services you want running. Have you considered using one or both SSD drives with zfs? They can be added as cache or log devices to help performance. See man zpool under Intent Log and Cache Devices. This is a very interesting point. In terms if SSDs for cache, I was planning on using a pair of Samsung Pro 512GB SSDs for this purpose (which I haven't bought yet). But I tire of buying stuff, so I have a pair of 40GB Intel SSDs for use as sys disks and several Intel 160GB SSDs lying around that I can combine with the existing 256GB SSDs for a cache. Then use my 36x3TB for the beasty NAS. Agreed that 256G mirrored SSDs are kind of wasted as system drives. The 40G mirror sounds ideal. Update; I went with ZFS as I didn't want to confuse the toolset needed to support this server. Although gmirror is not hard to figure out, I wanted consistency in systems. So I've a booted 9.1 rel using a mirrored ZFS system disk. The drives do support TRIM but am unsure how this plays with ZFS. I did the standard partition scheme of; root@kronos:/root # gpart show = 34 78165293 da0 GPT (37G) 34 1281 freebsd-boot (64k) 162 6 - free - (3.0k) 168 83886082 freebsd-swap (4.0G) 8388776 697765443 freebsd-zfs (33G) 78165320 7 - free - (3.5k) = 34 78165293 da1 GPT (37G) 34 1281 freebsd-boot (64k) 162 6 - free - (3.0k) 168 83886082 freebsd-swap (4.0G) 8388776 697765443 freebsd-zfs (33G) 78165320 7 - free - (3.5k) At any rate, thank you for the replies, very much appreciate it. Especially since building a rather large production worthy NAS not knowing a lick of freeBSD. The reasons going with freeBSD are 2 fold; ZFS stability,seems a better marriage then ZOL. Correctly provides NFS pre attributes on write reply; mtime. Linux does not. While its a steep learning curve, the 2 points above require the use of freeBSD or alike. - aurf ___ 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: textproc/hunspell and readline?
On Fri, 19 Jul 2013 11:28:34 +0100, Matthew Seaman wrote: On 19/07/2013 09:30, Walter Hurry wrote: On Thu, 18 Jul 2013 11:58:59 +0100, Matthew Seaman wrote: On 18/07/2013 10:42, Walter Hurry wrote: I note that the Makefile for textproc/hunspell has '--with-readline' in the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe it is, but at any rate it isn't recorded as a dependency or a shlib). 9.1-RELEASE-p4 amd64 with pkgng. Is there a reason for this? libreadline.so is in base Thanks, Matthew. Noted. So why on 10.0-CURRENT does it insist on installing readline from the port? I don't have a 10.x system handy to confirm this, but I'd guess the libreadline.so stuff was maybe dropped from current. Although it seems the libreadline code is still in head: http://svnweb.freebsd.org/base/head/contrib/libreadline/ Is there a /lib/libreadline.so.* shared library on your 10.0-CURRENT system? Yes, there's /lib/libreadline.so.8 ___ 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: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
It's possible. But again, I've been using -j 1 for years on a variety of processors, mostly Intel, without problems. That's with buildworld and kernel (which is buildkernel plus installkernel), but not with installworld. Are you using clang instead of gcc? That could be very different. These are Intel's too. I'm using the default compiler for 8.4. I believe that's gcc? ___ 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: Fresh installation 9.1
On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote: Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Apart from Polytopon's good questions observations, such as Is that inside X? I'd also add 1 more question: Is that A) a PS2 [or older] direct keyboard ? eg on 8.1 dmesg: kbd1 at kbdmux0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 eg on 9.1 dmesg kbd: new array size 4 kbd1 at kbdmux0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d eg on 9.1 devinfo atkbdc0 atkbd0 Or B) a PS2 keyboard on a USB converter ? eg on 9.1 dmesg ugen1.2: Semi Tech at usbus1 ukbd0: HID Keyboard on usbus1 kbd2 at ukbd0 kbd2: ukbd0, generic (0), config:0x0, flags:0x3d eg on 9.1 devinfo uhci1 usbus1 uhub1 ukbd0 Just yesterday I had a case (B) lock up on me on 8.2-Release it needed a reboot (or power off unplug) to reset it. It might or not even be a FreeBSD problem has an easy hardware solution, Hrkesh Sahu you dont say how many keyboards you tried, or on how many if any other op systems, You know keyboards use wildly different amounts of mA ? Could be your's is greedy near the limit ? (ive had some PCs dont like some keyboards) was room was hotter than normal (I had 2/3 pieces of hardware dies in hot spell here lately) Might be software or harsdware, we dont know. Hrkesh Sahu all others asking free advice should realise: The more you tell readers on a self help list, the more we readers can deduce, but we can't, don't not interested to mind read ;-) The less people tell us, the less likley readers are to bother to guess or ask questions to deduce answers. We're not paid support, we require people to work to help us help them. eg telling us what interesting bits of dmesg might show, which kernel you ran, if modified or generic, what /var/log/messages shows etc (which you can see via ssh to host from another PC, or after reboot, so you dont need keyboard to see why keyboard has failed, no Catch 22 ;-) What extras you might have installed later ? eg on an 8.2 I installed in /boot/loader.conf vboxdrv_load=YES /etc/rc.conf vboxnet_enable=YES that laptop worked just fine from remote, again just yesterday I neededto use acual keyboard (in X) noted respons was abysmal, maybe 5 or 10 seconds to echo. Theres so much you havent told us, we really dont know what youve done that may have been the problem. Even a beginner should ask what commands should I do to produce more diagnostics to help you help me ? Those that don't try hard to help us don't tend to get so much help. Not a particular personal criticism, just really obvious ! Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with . Send plain text. No quoted-printable, HTML, base64, multipart/alternative. Facebook Insecurity: http://www.bbc.co.uk/news/technology-23027643 ___ 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
hey some questions
hey bro bro can you help me to enable remote access to mysql server i am using FreeBSD 9.0 ___ 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: hey some questions
On Sat, 20 Jul 2013 01:02:07 +0300, mt2 magic wrote: hey bro bro can you help me to enable remote access to mysql server i am using FreeBSD 9.0 Yo bro, L33T help ahead. :-) http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html http://forums.freebsd.org/showthread.php?t=19940 Does this provide some help for you? If not, you might need to be less un-bro-like and instead more specific in regards of your problem description. ;-) -- 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
ZFS trim patches
Hi, Is this; http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036777.html ... available in the form of a patch for stable rels? Its ZFS TRIM support. - aurf ___ 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