Wifi Router and FreeeBSD - need some hints..
Hi Daemons, I need some basic information about Wifi routers - very little I know about it. There is my FreeBSD-server (the other one is Linux) and some clients are connected with a LAN-switch. Now I want to add a Wifi Router to the network. I am not sure if I can set up the router without using some Windows software what comes with the router. My questions: I just connect the Wifi router to the LAN and it should work? Or do I need any software (drivers) to keep the thing running? There must be some software to 'talk' to the router - for setup. Is there anything available for FreeBSD or do I need Windows environment (what I dont have available)? What did you use to install your Wifi-router? Every hint is welcome, thank you! herb langhans -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 ___ 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: flashplugin
PJ wrote: Is there any definitive install guide for flashplugin. I was able to install it on a 7.2 64bit machine and then on an i386 but somehow it has morphed into god-knows-what and no longer works. This is what I did for a 7.2 box. Note that there are compatibility issues between new versions of Linux emulation and older versions of FreeBSD, so don't expect this to work with anything older. * Make a note of all the linux-emulated software you have installed for later reference: # pkg_info -orx linux > linux-stuff We save the package origins in particular, because this procedure will result in a name change for most linux packages. * Delete everything linux related # pkg_delete -rx linux * Check and clean out /compat/linux -- there shouldn't be any interesting files left in this directory after the above step. As I recall, when I did this, there was a ldconfig.hints file (which would be regenerated on demand), and some Acrobat related stuff under /compat/linux/home/matthew which I didn't care about, and which shouldn't have been there anyhow. # cd /compat/linux # find . -type f -ls # rm -rf * * Change the default Linux kernel version for emulation: # sysctl compat.linux.osrelease=2.6.16 Also add "compat.linux.osrelease=2.6.16" to /etc/sysctl.conf so it gets reset on reboots. * Tell the ports system we want to use Fedora-10 as the Linux base by adding OVERRIDE_LINUX_BASE_PORT= f10 OVERRIDE_LINUX_NONBASE_PORTS= f10 to /etc/make.conf. * Now install www/linux-f10-flashplugin10 from ports -- this should have all of the following as dependencies (modulo any version updates that may have happened since writing this): % pkg_info -r linux-f10-flashplugin-10.0r32 Information for linux-f10-flashplugin-10.0r32: Depends on: Dependency: linux_base-f10-10_2 Dependency: linux-f10-openssl-0.9.8g Dependency: linux-f10-openldap-2.4.12_1 Dependency: linux-f10-libssh2-0.18 Dependency: linux-f10-cyrus-sasl2-2.1.22 Dependency: linux-f10-curl-7.19.4_4 Dependency: linux-f10-nspr-4.7.4 Dependency: linux-f10-sqlite3-3.5.9_1 Dependency: linux-f10-nss-3.12.2.0 if that isn't the case and you aren't getting the f10 flavour of those ports, double check everything you've done so far for errors, and try again from the top. * Add nspluginwrapper to enable Firefox to load the flash add-on: # portinstall www/nspluginwrapper (This has a dependency list as long as your arm, so it might take some time...) Following the install instructions for the nspluginwrapper package (which you can redisplay by "pkg_info -Dx nspluginwrapper") install whatever globally available plugins there are by running this as root: # nspluginwrapper -v -a -i This puts plugins into /usr/local/lib/browser_plugins/ which Firefox should read. Alternatively, install the plugins locally to your own user account by running that command under your own UID: % nspluginwrapper -v -a -i * Finally, fire up Firefox and check that it has loaded the flash plugin by typing 'about:plugins' into the URL bar. Find a site with flash content[*], and enjoy. * Check the list you made at the first step, and reinstall any other linux applications you want. So far I've found flash10 under Fedora10 to be pretty stable and inoffensive on FreeBSD 7.2. You even get the sound track on Flash movies. However I'm still running Firefox with xpi-flashblock-1.5.11.2 and xpi-noscript-1.9.3.3 on general principles Adobe Acrobat isn't working, but I think that's more to do with the map_at_zero stuff introduced in the last security advisory. Cheers, Matthew [*] I think there are one or two flash based things at YouTube.com -- 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: Wifi Router and FreeeBSD - need some hints..
herbert langhans wrote: Hi Daemons, I need some basic information about Wifi routers - very little I know about it. There is my FreeBSD-server (the other one is Linux) and some clients are connected with a LAN-switch. Now I want to add a Wifi Router to the network. I am not sure if I can set up the router without using some Windows software what comes with the router. My questions: I just connect the Wifi router to the LAN and it should work? Or do I need any software (drivers) to keep the thing running? There must be some software to 'talk' to the router - for setup. Is there anything available for FreeBSD or do I need Windows environment (what I dont have available)? What did you use to install your Wifi-router? It depends on the router. Many if not most routers provide a web based configuration tool, but a special application may be needed to update firmware. I have an airport extreme, works great, but no web interface. My DSL is a 3Com with WiFi, it also has a web interface. I have seen routers that allows a commandline configuration tool, connect with ssh or telnet and upload or download the configuration with ftp. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.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: Anybody is using VirtualBox?
Hi! I'm using 7.4 STABLE amd64, and i was not able to run it as well... from source, or even from packages... It keeps giving me the same error as you, btw I have been pointed in the past to one small fix, (that did not work from me as well) but did for others, let me find out this solution and re-posted for you! cheers! Yuri-10 wrote: > > I am tryingto run Windows under FreeBSD. > > When I run: > cat /dev/ad1s1 | VBoxManage stdin OutPutFile.vdi 21474836480 > on 80-RC2 I get this output: > ERROR: failed to create the VirtualBox object! > ERROR: code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended > info not available) > Most likely, the VirtualBox COM server is not running or failed to start. > > No processes with name VirtualBox are running. > > What could be the problem? > 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" > > - _ ASCII ribbon campaign ( ) against HTML e-mail X / \ -- View this message in context: http://www.nabble.com/Anybody-is-using-VirtualBox--tp26040595p26046547.html Sent from the freebsd-questions mailing list archive at Nabble.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: Freebsd 8rc1 & Puc driver
> On Sat, 24 Oct 2009 22:04:56 +0200, "P. Moulin" wrote: > > and in pciconf -lv : > > vendor = 'Oxford Semiconductor Ltd' > > device = 'PCI Interface (disabled) (OX16PCI954)' > > class = bridge > > > > > > Can somebody tell me why the second PCI interface is flagged > > "disabled" ? How can I solve this ? > > I think the strings you see are identification strings obtained > either from the device itself, or from a file (of FreeBSD) that > transforms vendor/device 0x information into character > strings. ok, you'r perfectly right, this string come from /usr/src/share/misc/pci_vendors . It's leading the 0x9510 in my pciconf... Is it why I can't see my "puc" card ? Is it a brain damaged card ? Does that card's waiting for something being setup before changing it's pci identifier to something not 'disabled' ? T.I.A. PM. ___ 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"
Help me configure Apache
Good day! I have a home network consisting of two computers. Computers through a router connected to the Internet providers. There is a static IP address (93.81.252.152). Now I installed FreeBSD on one of the computers. Then I installed Apache 1.3. By command telnet localhost 80 I saw on the computer screen index.html, which I created myself and placed in DocumentRoot. Unfortunately, the Internet browser does not display this page http://93.81.252.152 Show you how I configure Apache? Sincerely, Anton. ___ 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 me configure Apache
On Sun, 25 Oct 2009 14:53:17 +0300, Антон Андреевский wrote: > I have a home network consisting of two computers. Computers through a > router connected to the Internet providers. There is a static IP address > (93.81.252.152). > Now I installed FreeBSD on one of the computers. > Then I installed Apache 1.3. By command telnet localhost 80 I saw on the > computer screen index.html, which I created myself and placed in > DocumentRoot. > Unfortunately, the Internet browser does not display this page > http://93.81.252.152 > Show you how I configure Apache? Seems that Apache is configured correctly. As far as I see, you need to configure the router (connected to your ISP) to direct HTTP requests on port 80 to the one of your two computers that runs the Apache webserver; at the moment, the static IP points to the modem / router / whatever which does not know how to handle HTTP requests from the Internet. -- 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: Freebsd 8rc1 & Puc driver
"P. Moulin" writes: > I have a multi-serial card with an Oxford OX16PCI954 on it. > Whatever I do, the oxford chip is not recognized. How many serial ports does it have? > in dmesg: > pci0: at device 12.0 (no driver attached) > > and in pciconf -lv : > no...@pci0:0:12:0: class=0x070006 card=0x chip=0x950c1415 > rev=0x00 > hdr=0x00 > vendor = 'Oxford Semiconductor Ltd' > class = simple comms > subclass = UART Sometimes just adding a definition of the chip may help. Let's try it (assuming that the card has four serial ports): - --- sys/dev/puc/pucdata.c.orig 2009-10-25 15:23:41.0 +0300 +++ sys/dev/puc/pucdata.c 2009-10-25 15:29:32.0 +0300 @@ -643,6 +643,12 @@ PUC_PORT_4S, 0x10, 0, 8, }, + { 0x1415, 0x950c, 0x, 0, + "Oxford Semiconductor OX16PCI954 UARTs", + DEFAULT_RCLK, + PUC_PORT_4S, 0x10, 0, 8, + }, + { 0x1415, 0x9511, 0x, 0, "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)", DEFAULT_RCLK, - > no...@pci0:0:12:1: class=0x068000 card=0x chip=0x95101415 > rev=0x00 > hdr=0x00 > vendor = 'Oxford Semiconductor Ltd' > device = 'PCI Interface (disabled) (OX16PCI954)' > class = bridge Is it the same card? > Can somebody tell me why the second PCI interface is flagged > "disabled" ? How can I solve this ? > > (I have loaded puc from loader.conf, without more success). Both kernel modules (uart and puc) should be compiled in kernel or loaded as modules. And I don't use kernel module sio for a long time. Since uart and sio use the same hardware they shouldn't be used simultaneously. I used to have lines at my kernel: - nodevice sio device uart device puc - > PS: (un)works the same way with freebsd 7.2 & 8.0rc1 -- 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: Help me configure Apache
Антон Андреевский a écrit : Good day! I have a home network consisting of two computers. Computers through a router connected to the Internet providers. There is a static IP address (93.81.252.152). Now I installed FreeBSD on one of the computers. Then I installed Apache 1.3. By command telnet localhost 80 I saw on the computer screen index.html, which I created myself and placed in DocumentRoot. Unfortunately, the Internet browser does not display this page http://93.81.252.152 Show you how I configure Apache? Sincerely, Anton. ___ 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" It seems the problem is not your apache configuration, but your routeur configuration. What's the ip address of your freebsd ? - if it's 93.81.252.152, the problem is your apache config. - if it's a private ip address ( 192.168.x.x, 172.16.x.x, 172.31.x.x, 10.x.x.x ), you need to forward the http port on your router to the freebsd ip address. ___ 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 me configure Apache
Hi. You must configure port mapping (forwarding) on your router. Do you hardware router or *NIX-box? > Good day! > I have a home network consisting of two computers. Computers through a > router connected to the Internet providers. There is a static IP address > (93.81.252.152). > Now I installed FreeBSD on one of the computers. > Then I installed Apache 1.3. By command telnet localhost 80 I saw on the > computer screen index.html, which I created myself and placed in > DocumentRoot. > Unfortunately, the Internet browser does not display this page > http://93.81.252.152 > Show you how I configure Apache? > Sincerely, Anton. > ___ ___ 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: Wifi Router and FreeeBSD - need some hints..
On Sun, 25 Oct 2009, Erik Norgaard wrote: herbert langhans wrote: Hi Daemons, I need some basic information about Wifi routers - very little I know about it. There is my FreeBSD-server (the other one is Linux) and some clients are connected with a LAN-switch. Now I want to add a Wifi Router to the network. I am not sure if I can set up the router without using some Windows software what comes with the router. My questions: I just connect the Wifi router to the LAN and it should work? Or do I need any software (drivers) to keep the thing running? In the simplest case, yes, you can just plug it in. But see below. There must be some software to 'talk' to the router - for setup. Is there anything available for FreeBSD or do I need Windows environment (what I dont have available)? What did you use to install your Wifi-router? It depends on the router. Many if not most routers provide a web based configuration tool, but a special application may be needed to update firmware. I have an airport extreme, works great, but no web interface. My DSL is a 3Com with WiFi, it also has a web interface. I have seen routers that allows a commandline configuration tool, connect with ssh or telnet and upload or download the configuration with ftp. I have never installed an airport, but I have installed many consumer-grade Linksys, D-Link and Netgear WiFi boxes. They *all* have had a web interface and were pretty simple to set up. One thing to watch out for: before plugging in the ethernet wire, check the manual to see what the box's default IP address is. If it's the same as your gateway, you'll have to take steps to isolate them during the time it takes to change the WiFi box's IP. Other than changing the IP (and a password), all I've ever done is set up the wireless channel, SSID and encryption (type and key). HTH. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging <|> ] ___ 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: Wifi Router and FreeeBSD - need some hints..
On Sun, 25 Oct 2009, herbert langhans wrote: Hi Daemons, I need some basic information about Wifi routers - very little I know about it. There is my FreeBSD-server (the other one is Linux) and some clients are connected with a LAN-switch. Now I want to add a Wifi Router to the network. I am not sure if I can set up the router without using some Windows software what comes with the router. My questions: I just connect the Wifi router to the LAN and it should work? Or do I need any software (drivers) to keep the thing running? Many, probably most wireless routers are configured through a web browser now. Initial setup might require an Ethernet connection to the LAN side of the router, depending. You should not need any special drivers for the router. Of course the computers that are to connect wirelessly will need drivers for their own wireless hardware. The wireless router itself is just another router with all the standard router issues: firewalling, bridging, and DHCP with the existing network, port forwarding, and so on. Should all be configurable. There must be some software to 'talk' to the router - for setup. Is there anything available for FreeBSD or do I need Windows environment (what I dont have available)? What did you use to install your Wifi-router? Firefox (FreeBSD native) is adequate for a Linksys WRT54 with dd-wrt firmware (recommended, see http://www.dd-wrt.com). -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: Anybody is using VirtualBox?
On Sunday 25 October 2009 07:15:50 henter2009 wrote: > Hi! > > I'm using 7.4 STABLE amd64, and i was not able to run it as well... from > source, or even from packages... > It keeps giving me the same error as you, btw I have been pointed in the > past to one small fix, (that did not work from me as well) but did for > others, let me find out this solution and re-posted for you! > > cheers! > > Yuri-10 wrote: > > I am tryingto run Windows under FreeBSD. > > > > When I run: > > cat /dev/ad1s1 | VBoxManage stdin OutPutFile.vdi 21474836480 > > on 80-RC2 I get this output: > > ERROR: failed to create the VirtualBox object! > > ERROR: code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended > > info not available) > > Most likely, the VirtualBox COM server is not running or failed to start. > > > > No processes with name VirtualBox are running. > > > > What could be the problem? > > 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" > > - > _ > ASCII ribbon campaign ( ) > against HTML e-mail X > / \ > This error sounds as if the /proc file system isn't mounted. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ 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: changing cron's From: address in emails
2009/10/25 Daniel C. Dowse > On Sat, 24 Oct 2009 01:08:21 -0600 > Kelly Martin wrote: > > > Greetings, here's a simple question for the FreeBSD gurus out there. I > > have several servers running cron scripts daily for me, and they all > > send me e-mail with their output. Regardless of which server it is, > > each of these e-mails have the From: address looking exactly the same. > > They all say they are from the "Cron Daemon". Fine, but I'd like to > > know more clearly which server the cron output is from. > > > > How can I change the From: address of these emails to "Myserver Cron > > Daemon" instead? I know cron runs as the user, so it's not immediately > > obvious to me how to change the From: field. Already the subject line > > says something like "Cron ..." but this doesn't stand > > out enough for my tired eyes. > > Why don`t you just create some filter rules in your mua ? > It may makes it clear for you if you create a folder for each host > and filter your msg on receiving ? > > e.g. > > Inbox > ... > CronDir >- Host 1 >- Host 2 > > > > Cheers > > Daniel > > -- > Just because I don`t care - Doesn`t mean I don`t understand ! > -- Homer J. Simpson > > > ___ > 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" > The simplist way to do it is get you scripts to print out a to, from and subject line at the top of their output containing the information you want. eg To: y...@mailbox.com From: scriptn...@hostname.com Subject: scriptname, hostname other script output Then in the cron pipe the output into sendmail with the t flag eg 1 1 * * * somescript 2>&1 | /usr/sbin/sendmail -t you will then get the loverly named emails ___ 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: most bizarre libc.so.7 problem
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#CANONICAL-BUILD Look at "the following recommended sequence": 1. make buildworld 2. make buildkernel 3. make installkernel 4. reboot in single user [*] 5. mergemaster -p 6. make installworld 7. mergemaster 8. reboot Your steps skip steps 4 and 5. Note that it's been said many times, especially with remote hosting. 4 can be modified to read something like: 4. Boot with only required programs to run steps 5 and 6. In most cases, it's just sshd that needs to be running. This means editing /etc/rc.conf and disabling everything except sshd and the IP networking/routing. The purpose of 4 is to stop other people, binaries, or daemons running and using files that need to be updated. Redirecting or piping in steps 1, 2, 3 and 6 are optional. I'd love to have a logfile myself most of these things. Either script(1) or tee(1) it. Please update your script per directions. and I would definitely cut the 4 && commands away from each other. they're not related and didn't seem to do the purpose you probably intended it to do. --Tim ___ 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: Anybody is using VirtualBox?
ltcdd...@nildram.co.uk wrote: compiled virtual box this morning with additions to run winblows 2003 server. So far it is working better than the xp version which is good as it is one less reason to have to put in the xp harddrive Are you trying to run more than one image copied from the same file? if so use vboxmanage internalcommands sethduuid to change the id of the second image file as renaming does not do that, and you get an error if you try to run it. No, I am not trying to run multiple files. Even command VirtualBox fails the same way: "Failed to create the VictualBox COM object." "The application will now terminate." Details: Callee RC: NS_ERROR_ABORT (0x84004) 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: FW: DNS Question
Sean Cavanaugh wrote: The other interesting side would be reverse DNS lookups. Only one > record would be returned, and most likely would be the original A > record. A nice example of this is doing a basic "ping -a ww.yahoo.com" > which you get back that it is resolving "www-real.wa1.b.yahoo.com". As a comment on reverse DNS lookups, although the example Sean gave should have a single PTR entry as the result of a reverse lookup, in general reverse DNS lookups can return *multiple* values. If multiple A records pointing at the same numeric address exist, the reverse lookup on that address must (if correct) return the corresponding multiple names. RFC 2181 (Clarifications to the DNS Specification), section 10.2: 10.2. PTR records Confusion about canonical names has lead to a belief that a PTR record should have exactly one RR in its RRSet. This is incorrect, the relevant section of RFC1034 (section 3.6.2) indicates that the value of a PTR record should be a canonical name. That is, it should not be an alias. There is no implication in that section that only one PTR record is permitted for a name. No such restriction should be inferred. Note that while the value of a PTR record must not be an alias, there is no requirement that the process of resolving a PTR record not encounter any aliases. The label that is being looked up for a PTR value might have a CNAME record. That is, it might be an alias. The value of that CNAME RR, if not another alias, which it should not be, will give the location where the PTR record is found. That record gives the result of the PTR type lookup. This final result, the value of the PTR RR, is the label which must not be an alias. OK, there's a couple of big questions, which is how many DNS configs actually obey this and how much application code allows for it, but that's the spec. ___ 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"
incorrect info in mysql docs
hi, I just noticed this at http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html On FreeBSD, startup scripts generally should go in /usr/local/etc/rc.d/. The rc(8) manual page states that scripts in this directory are executed only if their basename matches the *.sh shell file name pattern. Any other files or directories present within the directory are silently ignored. In other words, on FreeBSD, you should install the mysql.server script as /usr/local/etc/rc.d/mysql.server.sh to enable automatic startup. That's not actually right is it? My mysql is started by /usr/local/etc/rc.d/mysql-server. rc(8) says *.sh is for older style startup scripts or for scripts that are to be read into the current shell. Chris ___ 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: incorrect info in mysql docs
On Sun, Oct 25, 2009 at 06:21:11PM +, Chris Whitehouse wrote: > http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html > > On FreeBSD, [...] you should install the mysql.server script as > /usr/local/etc/rc.d/mysql.server.sh to enable automatic startup. > > That's not actually right is it? My mysql is started by > /usr/local/etc/rc.d/mysql-server. rc(8) says *.sh is for older style > startup scripts or for scripts that are to be read into the current shell. yup, third-party documentation tends to be stale. ___ 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: incorrect info in mysql docs
Chris Whitehouse wrote: > hi, > > I just noticed this at > http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html > > On FreeBSD, startup scripts generally should go in /usr/local/etc/rc.d/. > The rc(8) manual page states that scripts in this directory are executed > only if their basename matches the *.sh shell file name pattern. Any > other files or directories present within the directory are silently > ignored. In other words, on FreeBSD, you should install the mysql.server > script as /usr/local/etc/rc.d/mysql.server.sh to enable automatic startup. That was before the import of the rc.subr subsystem from NetBSD. Sounds like the docs may be a trifle stale. > That's not actually right is it? My mysql is started by > /usr/local/etc/rc.d/mysql-server. rc(8) says *.sh is for older style > startup scripts or for scripts that are to be read into the current shell. > The rc.subr start up system was imported from NetBSD quite some time ago, I think it might have been sometime around the 6.0 to 6.2 time frame. I know this bit me because I had mostly not bothered with executing mergemaster during updates and at some point only scripts with the .sh extension would run. When others told me they did not experience this I got to looking for the culprit and it was that I had failed to update the /etc/rc.d properly with mergemaster to bring in the newly imported rc.subr subsystem. Before the rc.subr import from NetBSD the .sh extension was correct; some other OS's call these "legacy" start up scripts. After the rc.subr import the .sh extension is no longer required for scripts that are written in compliance to the new spec. If you examine a very old start up script from the pre rc.subr days and what is currently in use you will see a slight difference in the way the scripts are constructed internally. The .sh extension "legacy" scripts may still run if marked as executable, but the difference is that they do not contain the rc.subr hooks, and therefore will require the .sh extension for operation, as per the man page you described above. -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: Anybody is using VirtualBox?
After some debugging I found that VBoxSVC throws an exception because file /root/.VirtualBox/VirtualBox.xml is missing. Who is supposed to create this file? 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: incorrect info in mysql docs
On Sun, 25 Oct 2009 18:21:11 + Chris Whitehouse replied: >I just noticed this at >http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html > >On FreeBSD, startup scripts generally should go >in /usr/local/etc/rc.d/. The rc(8) manual page states that scripts in >this directory are executed only if their basename matches the *.sh >shell file name pattern. Any other files or directories present within >the directory are silently ignored. In other words, on FreeBSD, you >should install the mysql.server script >as /usr/local/etc/rc.d/mysql.server.sh to enable automatic startup. > >That's not actually right is it? My mysql is started by >/usr/local/etc/rc.d/mysql-server. rc(8) says *.sh is for older style >startup scripts or for scripts that are to be read into the current >shell. A start-up script is install automatically when using the ports system. You do need to activate it via /etc/rc.conf however. Perhaps MySQL could be prodded to post a reference to this on their website. It might help to avoid confusion. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Death is Nature's way of recycling human beings. ___ 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: incorrect info in mysql docs
On Sun, 25 Oct 2009 15:11:17 -0400, Jerry wrote: > A start-up script is install automatically when using the ports system. > You do need to activate it via /etc/rc.conf however. Or in /etc/rc.conf.local, to illustrate the concept of the /usr/local/ subtrees in relation to the system's ones. :-) -- 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: Wifi Router and FreeeBSD - need some hints..
Thanks a lot for all the input - in lack of such a Wifi router to experiment I thought its much more difficult, like build a gateway from the server or such. I will buy one tomorrow.. Soon I will enter the world of tomorrow where information floats through the aether! (no stumbling over the LAN cable anymore..) Cheers herb langhans On Sun, Oct 25, 2009 at 08:21:13AM -0600, Warren Block wrote: > On Sun, 25 Oct 2009, herbert langhans wrote: > > >Hi Daemons, > >I need some basic information about Wifi routers - very little I know > >about it... -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 ___ 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"
can't make www/linux-f10-flashplugin10
Hi, i'm trying to build the www/linux-f10-flashplugin port and i'm getting the following error on make: "/usr/ports/Mk/bsd.linux-apps.mk", line 79: Malformed conditional ($LINUX_DIST_SUFFIX}=="") "/usr/ports/Mk/bsd.linux-apps.mk", line 145: Malformed conditional ($LINUX_DIST_SUFFIX}=="-f10") "/usr/ports/Mk/bsd.linux-apps.mk", line 171: Malformed conditional ($LINUX_DIST_SUFFIX}=="") "/usr/ports/Mk/bsd.linux-apps.mk", line 173: Malformed conditional ($LINUX_DIST_SUFFIX}=="-f8") "/usr/ports/Mk/bsd.linux-apps.mk", line 421: Malformed conditional ($LINUX_DIST_SUFFIX}=="") "/usr/ports/Mk/bsd.linux-apps.mk", line 459: Malformed conditional ($LINUX_DIST_SUFFIX}=="-f8") "/usr/ports/Mk/bsd.linux-apps.mk", line 461: if-less else "/usr/ports/Mk/bsd.linux-apps.mk", line 463: if-less endif "/usr/ports/Mk/bsd.linux-apps.mk", line 477: Malformed conditional ($LINUX_DIST_SUFFIX}=="-f8") "/usr/ports/Mk/bsd.linux-apps.mk", line 479: if-less else "/usr/ports/Mk/bsd.linux-apps.mk", line 481: if-less endif Error expanding embedded variable. I don't know what this means and i'm not sure how to fix it. Can anyone help? I'm using FreeBSD 7.2, my ports tree is up to date (did it earlier today). I did have flashplugin 9 installed with the linux-f4-core, but i've removed this, installed the f10-core and then started having problems with the flashplugin. Thanks in advance for any advice/help. Jamie ___ 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"
WD External Disc Drive
Dear All, This may sound like a Windows problem, but please read on. I made a mistake and bought a WD "My Passport" external 350GB disc drive for use on several Windows machines, on some of which I don't have admin access, and a couple of FreeBSD systems. On first use on Windows the disc shows up only as a virtual CD (I assume this is the firmware), "unlock.exe" has to be run and the software installed (admin privileges necessary). Once it's unlocked and the software installed, the big disc appears, the software can be uninstalled, and the big disc reformatted as NTFS. From then on, the virtual CD can be ignored and the big disc used on any Windows system. Now to FreeBSD. The newly formatted (as NTFS) disc appears as two devices - /dev/cd0 (never seen this before) and /dev/da0s1 (the normal USB disc drive device). They can be mounted as follows: freebsd [10:45] ~#mount_udf /dev/cd0 /mnt freebsd [10:45] ~#mount /usb0 (/etc/fstab describes the NTFS file system type, and the virtual CD is a UDF file system). We now have: freebsd [10:46] ~#df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/cd0582962582962 0 100%/mnt /dev/da0s1 311877845 2332729 309545116 1%/usb0 If we look at each device, the virtual CD has the WD software, as expected: freebsd [10:45] ~#ll /mnt total 6300 drwxr-xr-x 3 501 staff 2048 12 Sep 05:32 Extras -rwxrwxrwx 1 501 staff 3680544 5 Sep 08:20 Unlock.exe drwxrwxrwx 5 501 staff2048 5 Sep 08:30 User Manuals drwxr-xr-x3 501 staff2048 12 Sep 05:28 WD SmartWare -rwxrwxrwx 1 501 staff 2770208 5 Sep 08:20 WD SmartWare.exe -rwxrwxrwx 1 501 staff 695 19 Jun03:06 What is this.html -rwxrwxrwx 1 501 staff 88 19 Jun07:12 autorun.inf No problem. Now for the FreeBSD problem. If we look at what's on the big disc (newly formatted as NTFS on a Windows system): freebsd [10:45] ~#ll /usb0 total 75200 -rwxrwxrwx 1 root wheel 2560 23 Apr 2009 $AttrDef -rwxrwxrwx 1 root wheel 0 25 Oct 14:37 $BadClus -rwxrwxrwx 1 root wheel 9746184 23 Apr 2009 $Bitmap -rwxrwxrwx 1 root wheel 8192 25 Oct 14:37 $Boot drwxrwxrwx 1 root wheel0 25 Oct 14:37 $Extend -rwxrwxrwx 1 root wheel 67108864 25 Oct 14:37 $LogFile -rwxrwxrwx 1 root wheel 4096 25 Oct 14:37 $MFTMirr -rwxrwxrwx 1 root wheel 0 23 Apr 2009 $Secure -rwxrwxrwx 1 root wheel 131072 23 Apr 2009 $UpCase -rwxrwxrwx 1 root wheel 0 25 Oct 14:37 $Volume drwxrwxrwx 1 root wheel0 25 Oct 15:54 MyStuff drwxrwxrwx 1 root wheel0 25 Oct 16:23 RECYCLER drwxrwxrwx 1 root wheel0 25 Oct 14:37 System Volume Information The only thing that shows up in Windows is the "MyStuff" directory, which I put there. I can copy anything from "MyStuff" to anywhere else on the FreeBSD system, no worries. But if I attempt to copy a new file into the "MyStuff" directory, I get the following: freebsd [10:46] ~#cp ~/tmp/test /usb0/MyStuff cp: /usb0/MyStuff/test: No such file or directory freebsd [11:08] ~# What on earth is going on? Why do I get the message that "test" does not exist, on the directory that I'm copying to? I can copy nothing to this big disc from FreeBSD, but can copy from it OK. Why are those other files there? Are they part of the standard Windows NTFS formatting? Can I use newfs(8) to make an NTFS file system on the big disc? Any pointers to a solution would be most welcome. I'm also trying to ask similar questions on the WD lists. Thanks for any help. Cheers, Rob Hurle -- - Rob Hurle ANU, College of Asia and the Pacific School of Culture, History and Language e-mail: rob1...@gmail.com Telephone (ANU): +61 2 6125 3169 Mobile (in VN): +84 948 243 538 (Currently in Australia) Mobile (in OZ): +61 417 293 603 (Currently in Australia) - ___ 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: WD External Disc Drive
Rob Hurle wrote: > Dear All, > > This may sound like a Windows problem, but please read on. I made a > mistake and bought a WD "My Passport" external 350GB disc drive for > use on several Windows machines, on some of which I don't have admin > access, and a couple of FreeBSD systems. > > On first use on Windows the disc shows up only as a virtual CD (I > assume this is the firmware), "unlock.exe" has to be run and the > software installed (admin privileges necessary). Once it's unlocked > and the software installed, the big disc appears, the software can be > uninstalled, and the big disc reformatted as NTFS. From then on, the > virtual CD can be ignored and the big disc used on any Windows system. > > Now to FreeBSD. The newly formatted (as NTFS) disc appears as two > devices - /dev/cd0 (never seen this before) This is how a USB cdrom appears to FreeBSD - as a SCSI device. No problem there. > and /dev/da0s1 (the normal > USB disc drive device). They can be mounted as follows: > > freebsd [10:45] ~#mount_udf /dev/cd0 /mnt > freebsd [10:45] ~#mount /usb0 > > (/etc/fstab describes the NTFS file system type, and the virtual CD is > a UDF file system). We now have: > > freebsd [10:46] ~#df > Filesystem 1K-blocksUsed Avail Capacity Mounted on > /dev/cd0582962582962 0 100%/mnt > /dev/da0s1 311877845 2332729 309545116 1%/usb0 > > If we look at each device, the virtual CD has the WD software, as expected: > > freebsd [10:45] ~#ll /mnt > total 6300 > drwxr-xr-x 3 501 staff 2048 12 Sep 05:32 Extras > -rwxrwxrwx 1 501 staff 3680544 5 Sep 08:20 Unlock.exe > drwxrwxrwx 5 501 staff2048 5 Sep 08:30 User Manuals > drwxr-xr-x3 501 staff2048 12 Sep 05:28 WD SmartWare > -rwxrwxrwx 1 501 staff 2770208 5 Sep 08:20 WD SmartWare.exe > -rwxrwxrwx 1 501 staff 695 19 Jun03:06 What is this.html > -rwxrwxrwx 1 501 staff 88 19 Jun07:12 autorun.inf > > No problem. Now for the FreeBSD problem. If we look at what's on the > big disc (newly formatted as NTFS on a Windows system): > > freebsd [10:45] ~#ll /usb0 > total 75200 > -rwxrwxrwx 1 root wheel 2560 23 Apr 2009 $AttrDef > -rwxrwxrwx 1 root wheel 0 25 Oct 14:37 $BadClus > -rwxrwxrwx 1 root wheel 9746184 23 Apr 2009 $Bitmap > -rwxrwxrwx 1 root wheel 8192 25 Oct 14:37 $Boot > drwxrwxrwx 1 root wheel0 25 Oct 14:37 $Extend > -rwxrwxrwx 1 root wheel 67108864 25 Oct 14:37 $LogFile > -rwxrwxrwx 1 root wheel 4096 25 Oct 14:37 $MFTMirr > -rwxrwxrwx 1 root wheel 0 23 Apr 2009 $Secure > -rwxrwxrwx 1 root wheel 131072 23 Apr 2009 $UpCase > -rwxrwxrwx 1 root wheel 0 25 Oct 14:37 $Volume > drwxrwxrwx 1 root wheel0 25 Oct 15:54 MyStuff > drwxrwxrwx 1 root wheel0 25 Oct 16:23 RECYCLER > drwxrwxrwx 1 root wheel0 25 Oct 14:37 System Volume > Information > > The only thing that shows up in Windows is the "MyStuff" directory, > which I put there. I can copy anything from "MyStuff" to anywhere > else on the FreeBSD system, no worries. But if I attempt to copy a > new file into the "MyStuff" directory, I get the following: > > freebsd [10:46] ~#cp ~/tmp/test /usb0/MyStuff > cp: /usb0/MyStuff/test: No such file or directory > freebsd [11:08] ~# > > You are using the ntfs driver that is built-in the FreeBSD kernel. This is read only - you will be able to read from the disc, but not write to it. In order to be able to write to this disc, install sysutils/fusefs-ntfs and use the ntfs-3g command to mount your disk. If you are not going to use the disc to transfer data between Windows and FreeBSD, I would advise you to repartition the disk and create an NTFS partition for your windows data and a FreeBSD partition in UFS format. Just backup any data, and use windows disk management to create an appropriately sized NTFS partition, leaving the rest of the disk unallocated. Then use fdisk and bsdlabel (or sysinstall) in FreeBSD to create a slice and partition for FreeBSD. ___ 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: WD External Disc Drive
Hi Manolis, Thanks very much for that very helpful reply: >> Now to FreeBSD. The newly formatted (as NTFS) disc appears as two >> devices - /dev/cd0 (never seen this before) > > This is how a USB cdrom appears to FreeBSD - as a SCSI device. No > problem there. >> >> cp: /usb0/MyStuff/test: No such file or directory >> freebsd [11:08] ~# >> > You are using the ntfs driver that is built-in the FreeBSD kernel. This > is read only - you will be able to read from the disc, but not write to it. > > In order to be able to write to this disc, install sysutils/fusefs-ntfs > and use the ntfs-3g command to mount your disk. I've done that, and it looks good, but when I try to use it: freebsd [12:12] /usr/ports#ll /dev/da0s1 crw-r- 1 root operator0, 122 26 Oct 09:02 /dev/da0s1 freebsd [12:12] /usr/ports#ntfs-3g -o rw /dev/da0s1 /mnt fuse: failed to open fuse device: No such file or directory So the device is there, but ntfs-3g fails to see it. Obviously mount_ntfs sees it OK, from my previous experiments. ntfs-3g.probe exits with no errors, so it appears that it can see it OK: freebsd [12:32] ~#ntfs-3g.probe --readwrite /dev/da0s1 freebsd [12:32] ~# Is there something else that I need to install? > If you are not going to use the disc to transfer data between Windows > and FreeBSD, I would advise you to repartition the disk and create an > NTFS partition for your windows data and a FreeBSD partition in UFS Unfortunately, this is not the case. I need to transfer between FreeBSD and Windows, both ways :-( Thanks again. Rob Hurle -- - Rob Hurle ANU, College of Asia and the Pacific School of Culture, History and Language e-mail: rob1...@gmail.com Telephone (ANU): +61 2 6125 3169 Mobile (in VN): +84 948 243 538 (Currently in Australia) Mobile (in OZ): +61 417 293 603 (Currently in Australia) - ___ 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: WD External Disc Drive
On Mon, 26 Oct 2009 12:33:16 +1100 Rob Hurle wrote: > Hi Manolis, > > Thanks very much for that very helpful reply: > > >> Now to FreeBSD. The newly formatted (as NTFS) disc appears as two > >> devices - /dev/cd0 (never seen this before) > > > > This is how a USB cdrom appears to FreeBSD - as a SCSI device. No > > problem there. > >> > >> cp: /usb0/MyStuff/test: No such file or directory > >> freebsd [11:08] ~# > >> > > You are using the ntfs driver that is built-in the FreeBSD kernel. This > > is read only - you will be able to read from the disc, but not write to it. > > > > In order to be able to write to this disc, install sysutils/fusefs-ntfs > > and use the ntfs-3g command to mount your disk. > > I've done that, and it looks good, but when I try to use it: > > freebsd [12:12] /usr/ports#ll /dev/da0s1 > crw-r- 1 root operator0, 122 26 Oct 09:02 /dev/da0s1 > freebsd [12:12] /usr/ports#ntfs-3g -o rw /dev/da0s1 /mnt > fuse: failed to open fuse device: No such file or directory > > So the device is there, but ntfs-3g fails to see it. Obviously > mount_ntfs sees it OK, from my previous experiments. ntfs-3g.probe > exits with no errors, so it appears that it can see it OK: > > freebsd [12:32] ~#ntfs-3g.probe --readwrite /dev/da0s1 > freebsd [12:32] ~# > > Is there something else that I need to install? > > > If you are not going to use the disc to transfer data between Windows > > and FreeBSD, I would advise you to repartition the disk and create an > > NTFS partition for your windows data and a FreeBSD partition in UFS > > Unfortunately, this is not the case. I need to transfer between > FreeBSD and Windows, both ways :-( Thanks again. > Hi, is the kernel module /usr/local/modules/ fuse.ko loaded ? Daniel - ___ 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: WD External Disc Drive
Rob Hurle wrote: Dear All, This may sound like a Windows problem, but please read on. I made a mistake and bought a WD "My Passport" external 350GB disc drive for use on several Windows machines, on some of which I don't have admin access, and a couple of FreeBSD systems. On first use on Windows the disc shows up only as a virtual CD (I assume this is the firmware), "unlock.exe" has to be run and the software installed (admin privileges necessary). Once it's unlocked and the software installed, the big disc appears, the software can be uninstalled, and the big disc reformatted as NTFS. From then on, the virtual CD can be ignored and the big disc used on any Windows system. Now to FreeBSD. The newly formatted (as NTFS) disc appears as two devices - /dev/cd0 (never seen this before) and /dev/da0s1 (the normal USB disc drive device). They can be mounted as follows: freebsd [10:45] ~#mount_udf /dev/cd0 /mnt freebsd [10:45] ~#mount /usb0 (/etc/fstab describes the NTFS file system type, and the virtual CD is a UDF file system). We now have: freebsd [10:46] ~#df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/cd0582962582962 0 100%/mnt /dev/da0s1 311877845 2332729 309545116 1%/usb0 If we look at each device, the virtual CD has the WD software, as expected: freebsd [10:45] ~#ll /mnt total 6300 drwxr-xr-x 3 501 staff 2048 12 Sep 05:32 Extras -rwxrwxrwx 1 501 staff 3680544 5 Sep 08:20 Unlock.exe drwxrwxrwx 5 501 staff2048 5 Sep 08:30 User Manuals drwxr-xr-x3 501 staff2048 12 Sep 05:28 WD SmartWare -rwxrwxrwx 1 501 staff 2770208 5 Sep 08:20 WD SmartWare.exe -rwxrwxrwx 1 501 staff 695 19 Jun03:06 What is this.html -rwxrwxrwx 1 501 staff 88 19 Jun07:12 autorun.inf No problem. Now for the FreeBSD problem. If we look at what's on the big disc (newly formatted as NTFS on a Windows system): freebsd [10:45] ~#ll /usb0 total 75200 -rwxrwxrwx 1 root wheel 2560 23 Apr 2009 $AttrDef -rwxrwxrwx 1 root wheel 0 25 Oct 14:37 $BadClus -rwxrwxrwx 1 root wheel 9746184 23 Apr 2009 $Bitmap -rwxrwxrwx 1 root wheel 8192 25 Oct 14:37 $Boot drwxrwxrwx 1 root wheel0 25 Oct 14:37 $Extend -rwxrwxrwx 1 root wheel 67108864 25 Oct 14:37 $LogFile -rwxrwxrwx 1 root wheel 4096 25 Oct 14:37 $MFTMirr -rwxrwxrwx 1 root wheel 0 23 Apr 2009 $Secure -rwxrwxrwx 1 root wheel 131072 23 Apr 2009 $UpCase -rwxrwxrwx 1 root wheel 0 25 Oct 14:37 $Volume drwxrwxrwx 1 root wheel0 25 Oct 15:54 MyStuff drwxrwxrwx 1 root wheel0 25 Oct 16:23 RECYCLER drwxrwxrwx 1 root wheel0 25 Oct 14:37 System Volume Information The only thing that shows up in Windows is the "MyStuff" directory, which I put there. I can copy anything from "MyStuff" to anywhere else on the FreeBSD system, no worries. But if I attempt to copy a new file into the "MyStuff" directory, I get the following: freebsd [10:46] ~#cp ~/tmp/test /usb0/MyStuff cp: /usb0/MyStuff/test: No such file or directory freebsd [11:08] ~# What on earth is going on? Why do I get the message that "test" does not exist, on the directory that I'm copying to? I can copy nothing to this big disc from FreeBSD, but can copy from it OK. Why are those other files there? Are they part of the standard Windows NTFS formatting? Can I use newfs(8) to make an NTFS file system on the big disc? Any pointers to a solution would be most welcome. I'm also trying to ask similar questions on the WD lists. Thanks for any help. Cheers, Rob Hurle I would use a tool like gparted and FAT32 the drive... It may run a bit slower but both systems can read and write to it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: most bizarre libc.so.7 problem
On Saturday 24 October 2009 14:33:53 B. Cook wrote: > B. Cook wrote, On 10/24/2009 7:43 AM: > 49 ===> lib/libc (install) > 50 install -C -o root -g wheel -m 444 libc.a /usr/lib > 51 install -C -o root -g wheel -m 444 libc_p.a /usr/lib > 52 install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib > 53 install: /lib/libc.so.7: chflags: Invalid argument > 54 *** Error code 71 When on ZFS, set NO_FSCHG in /etc/src.conf. For the time being, file flags are not supported on ZFS. -- 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: looking for /usr/ports/x11-driver, not /usr/ports/x11-drivers
Sorry, the correct directory is #cd /usr/ports/x11/nvidia-driver -Original Message- >From: Henry Olyer >Sent: Oct 23, 2009 11:33 AM >To: freebsd-questions@freebsd.org >Subject: looking for /usr/ports/x11-driver, not /usr/ports/x11-drivers > >I'm trying to X (re)configure a CQ60, which is not so trivial to do... > >Kenneth CF once wrote: > >> 2) Install the nvidia-driver. >> # cd /usr/ports/x11-driver/nvidia-driver >> # make install clean (I built with options FREEBSD_AGP checked, ACPI >checked, LINUX unchecked). >> > >And this was not a typo. ___ 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: WD External Disc Drive
Rob Hurle said the following on 2009-10-26 02:33: freebsd [12:12] /usr/ports#ll /dev/da0s1 crw-r- 1 root operator0, 122 26 Oct 09:02 /dev/da0s1 freebsd [12:12] /usr/ports#ntfs-3g -o rw /dev/da0s1 /mnt fuse: failed to open fuse device: No such file or directory kldload fusefs What does ls -la /dev/da* show you. So the device is there, but ntfs-3g fails to see it. Probably kldload fusefs isn't loaded (until Saturday) Obviously mount_ntfs sees it OK, from my previous experiments. ntfs-3g.probe exits with no errors, so it appears that it can see it OK: freebsd [12:32] ~#ntfs-3g.probe --readwrite /dev/da0s1 freebsd [12:32] ~# Is there something else that I need to install? If you are not going to use the disc to transfer data between Windows and FreeBSD, I would advise you to repartition the disk and create an NTFS partition for your windows data and a FreeBSD partition in UFS Unfortunately, this is not the case. I need to transfer between FreeBSD and Windows, both ways :-( Thanks again. Rob Hurle ___ 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: WD External Disc Drive
Thank you to everyone who answered: > kldload fusefs > What does ls -la /dev/da* show you. > >> So the device is there, but ntfs-3g fails to see it. > > Probably kldload fusefs isn't loaded (until Saturday) > Yes, fuse.ko had to me copied from /usr/local/modules to /boot/kernel and then kloaded. Everything is fine now. Thanks again. Cheers, Rob Hurle -- - Rob Hurle ANU, College of Asia and the Pacific School of Culture, History and Language e-mail: rob1...@gmail.com Telephone (ANU): +61 2 6125 3169 Mobile (in VN): +84 948 243 538 (Currently in Australia) Mobile (in OZ): +61 417 293 603 (Currently in Australia) - ___ 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: configuring X on the Presario with the 8200M driver
I need more information to make this work. help, please. And thank you! On Sat, Sep 26, 2009 at 8:27 AM, Chris Whitehouse wrote: > Jules Gilbert wrote: > >> now i got up (by doing the startx as root,) but i dont' have a working >> mouse. >> >> when I am in screen mode (normal, -- with no X.) when I move the >> mouse, I can see the 'arrow' pointer move just fine. >> >> So... >> >> > If you are running hald you probably need > >option "AutoAddDevices""off" >option "AllowEmptyInput" "off" > > > in the ServerFlags section in xorg.conf > > Or you can configure hal to recognise them - there are various threads in > the archives i believe. > > Chris > > ___ > 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"
am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else
'everything; is dying in /usr/ports/lang/gcc44 I know, (in all likelihood,) I'll have to scratch this area and do a complete re-install. Fine. The thing is, I didn't change anything to mess this area up in the first place. I've just been going to various directories in /usr/ports and saying, "make install clean" and now this... I was trying to put up octave when this happened. So I could use a little help here, please... I also want/need to run X, and my X session (just put up,) doesn't yet let me move the mouse. I installed hal and dbus but what do I do now? And where or where do I put the "ServerFlags" entry in my xorg.conf file. I'm sorry, I just don't know these things... ===> Building for gcc-4.4.2.20091006 echo stage3 > stage_final gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build' gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build' rm -f stage_current gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build' gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build' gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty' gmake[4]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty/testsuite' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty/testsuite' gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/intl' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' gmake[4]: Entering directory `/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/zlib' true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g -fkeep-inline-functions" "CXXFLAGS=-g -fkeep-inline-functions" "CFLAGS_FOR_BUILD=-O2 -fno-strict-aliasing -pipe -I/usr/l ocal/include" "CFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe -I/usr/local/include" "INSTALL=/usr/bin/install -c -o root -g wheel" "INSTALL_DATA=install -o root - g wheel -m 444" "INSTALL_PROGRAM=install -s -o root -g wheel -m 555" "INSTALL_SCRIPT=install -o root -g wheel -m 555" "LDFLAGS=" "LIBCFLAGS=-g -O2 -fno-strict-aliasin g -pipe -I/usr/local/include" "LIBCFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe -I/usr/local/include" "MAKE=gmake" "MAKEINFO=makeinfo --no-split --split-size=5000 000 --split-size=500 --split-size=500" "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/loca l" "infodir=/usr/local/info/gcc44" "libdir=/usr/local/lib/gcc44" "prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd7.2" "AR=ar" "AS=as" "CC=cc" "CXX=c++" "LD= /usr/bin/ld" "LIBCFLAGS=-g -O2 -fno-strict-aliasing -pipe -I/usr/local/include" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # gmake gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/zlib' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libcpp' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libcpp' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libdecnumber' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libdecnumber' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/gcc' gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/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"