Re: cheap (supported) wifi card
Hi Adam: Adam J Richardson writes: Don Hinton wrote: Could someone recommend a good (and cheap) one that's includes a/b/g*/n and is supported, either natively or via ndis? Hi Don, I can heartily recommend any card based on the TNET1130 chipset. They work very well with ndisgen. Examples include the Add-on Tech GWP-100 and the Belkin F5D7 series, such as the F5D7051 USB key or the F5D7000 cardbus card. They're all cheap. They do a, b and g. I'm not sure about n, though. I picked up a Belkin F5D7050, but can seem to figure out how to get it to work. I'm obviously missing something. $ dmesg snip ugen0: Belkin USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2 on uhub6 $ uname -a FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Mon Aug 13 16:23:35 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP_SMP i386 I've compiled the following in my kernel, per man ural: device wlan# 802.11 support device wlan_amrr # AMRR transmit rate control algorithm device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device ehci# EHCI PCI-USB interface (USB 2.0) device usb # USB Bus (required) device ural# Ralink Technology RT2500USB wireless NICs But don't see a ural device getting created. It's hard to tell from the package, but I suspect it's a version problem. There's a small sticker on the bottom of the box that has 00173FAFD030 ver. 4000 printed on it. But the part number just says FD7050. Any help would be appreciated. thanks... don -- Don Hinton hintonda at gmail dot com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cheap (supported) wifi card
Hi: I recently purchased a new HP dv9500t laptop. Unfortunately, the Intel 4965AGN wireless card it came with isn't supported (yet). I tried to use ndisgen, but it caused a panic (both 6.2 and 7.0-current). Since I'd like to continue using FreeBSD as my desktop (laptop) OS, and need wireless access, I've decided to pick up a temporary PCMCIA wireless card in the meantime. Could someone recommend a good (and cheap) one that's includes a/b/g*/n and is supported, either natively or via ndis? thanks in advance... don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does Sendmail know how it was invoked?
On Saturday 04 August 2007 13:06:34 RW wrote: mailwrapper checks to see how it was invoked and then looks up the appropriate command in mailer.conf. All of the entries in mailer.conf point to /usr/libexec/sendmail/sendmail, so how does that binary know what it's supposed to do. It checks argv[0], i.e., the name used to invoke it. Here's a simple program demostrating it: #include iostream int main (int argc, char* argv[]) { std::cout my name is: argv[0] std::endl; return 0; } Save it to a file and do the following: $ c++ -o foo file.cxx $ ./foo my name is: ./foo $ mv foo bar $ ./bar my name is: ./bar hth... don I'm just curious. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does Sendmail know how it was invoked?
On Saturday 04 August 2007 15:13:34 RW wrote: On Sat, 4 Aug 2007 13:23:07 -0500 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Aug 04), RW said: mailwrapper checks to see how it was invoked and then looks up the appropriate command in mailer.conf. All of the entries in mailer.conf point to /usr/libexec/sendmail/sendmail, so how does that binary know what it's supposed to do. The kernel passes the executable name to the running process along with the rest of the commandline arguments. If you run ls -l /tmp, for example, the ls binary gets ls, -l, and /tmp as its arguments. See around line 360 of src/contrib/sendmail/src/main.c. Yes, I understand that. When you type mailq, mailwrapper's argv[0] will contain mailq. but then mailwrapper looks-up mailq in mailer.conf and runs /usr/libexec/sendmail/sendmail. So when sendmail checks it's argv[0] I was assuming that it would see sendmail. What I didn't get was that when a binary is executed from execve(), it's the parent program that sets the argv[0] seen by the child, and not the kernel. Sorry, I should have paid closer attention to your question and actually looked at the code to see what they were doing in this specific case. They original args, including argv[0], are passed as args parameter to execve. So from the perspective of the called application, the original argv[0] is now argv[1]. Take a look at how mailwrapper.c uses the arglist structure. http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/mailwrapper/mailwrapper.c?rev=1.11;content-type=text%2Fplain hth... don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does Sendmail know how it was invoked?
I don't think that's right. As I understand it, the argv argument to execve() is passed-on directly as the child processes arguments, and the parent can write whatever it likes into argv[0] - it's only convention that it's a filename. So mailwrapper passes its own argv[0] as sendmail's argv[0]. And so sendmail behaves as if it had been invoked as mailq or whatever. You're exactly right. I misread the man file and did a little test to confirm it. thanks... don -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: semi OT: sh scripting problem
On Wednesday 01 August 2007 09:35:44 Robert Huff wrote: (This is probably a FAQ, and I'll take a pointer (or even the magic words to identify the problem) instead of an answer.) Let's suppose I have a file FILE, with contents: foo bar grill baz If I do cat FILE, everything comes out fine. If, however, I write a script: #!/bin/sh for i in `cat FILE` do . . . . done $i is set to foo bar grill baz Is there a way within the script - or, failing that, by modifying FILE - to not break at the whitespace? I'm sure someone will give you a more elegant solution, but short of using sed or awk (my preference), this might help: $ cat test.sh #!/bin/sh myloop() { while read line; do echo $line done } cat test.sh | myloop hth... don Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: awk question
On Thursday 26 July 2007 15:26:02 Peter Boosten wrote: P.U.Kruppa wrote: Hi (and sorry for this slightly OT question), I would like to extract the second last field of each line of a file called user.csv . So I try awk '{print $(NF-1)}' user.csv awk: trying to access out of range field -1 input record number 1, file user.csv source line number 1 Obviously $(NF-1) doesn't do the trick. Any better idea? Hmmm, works for me it does... Me too, except of course if the first line of user.cvs is blank... Peter -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728
Re: testing for directory
On Sunday 29 April 2007 15:58:48 Roland Smith wrote: On Sun, Apr 29, 2007 at 04:39:42PM -0400, Robert Huff wrote: In C code, is there a quick and dirty way to tell if a path points to a directory? Or do I have to open the parent directory and check the entry for that name? Just open() the path, then pass the fd to getdirentries(), if it returns -1, and errno = EINVAL, it's not a directory. (man getdirentries for more info) hth... don Try opening the path in question for writing with open(2). If it returns -1, and errno is EISDIR, it is a directory. This will be inconclusive on a read-only filesystem, or if the limit of open file handles is reached, or for any other reason that can make open(2) fail. Roland -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpCl51TDL7hA.pgp Description: PGP signature
Re: Split a PDF page
On Friday 23 March 2007 08:28, Andrea Venturoli wrote: Don Hinton wrote: Try PDFjam: /usr/ports/print/pdfjam hth... Thanks, but this doesn't seem to do what I need. It can put multiple pages on one, but cannot split them back. I have seen a script that does this, but you may need to tweak it. You can find it on on of Doug Schmidt's pages: http://www.cs.wustl.edu/~schmidt/C++/ The script was contributed by Eric Rosenthal. I havent' used it, so YMMV. hth... don bye av. -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpVTKIOBX0eB.pgp Description: PGP signature
Re: Split a PDF page
On Thursday 22 March 2007 16:52, Andrea Venturoli wrote: Hello. I've got a PDF document with two side-by-side pages in A3 format. Is there a way I can get the two single A4 pages, either as subsequent pages of a new document or as different new documents? Anything in the port tree? Try PDFjam: /usr/ports/print/pdfjam hth... don bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpf75owzRqld.pgp Description: PGP signature
Re: Setting Env
On Wednesday 07 March 2007 13:27, [EMAIL PROTECTED] wrote: On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql Thanks for the correction. This is actually what gets run when mysql is installed via ports. The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. Also, the -aout flag would likely confuse things even further, unless we were running a very old version of freebsd. -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpd7i9DTMJEL.pgp Description: PGP signature
Re: Setting Env
On Wednesday 07 March 2007 13:39, Drew Jenkins wrote: On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. # ldconfig -m /usr/local/lib/mysql ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root I had some permissions problems earlier with this installation and ended up chowning everything to mysql. But I think that dir needs to be owned by mysql. Comment? Here's what the man page says about it: For security reasons, directories which are world or group-writable or which are not owned by root produce warning messages and are skipped, unless the -i option is present. So pass -i or fix the ownership/permissions. Take a look at man ldconfig for more info... Also, sorry for my initial erroneous post.. hth... don TIA, Drew ___ _ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpGxjH4dI980.pgp Description: PGP signature
Re: Setting Env
Hi Drew: On Tuesday 06 March 2007 15:11, Drew Jenkins wrote: Bill Campbell wrote: that I should edit said line into /etc/ld.so.conf Unfortunately there is no such file on my system. # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... hth... don - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 3:33:01 PM Subject: Re: Setting Env I think does the setenv for the shell started for that script only. Once the script is finished, that goes away. You either need to put it in the script where you want to use the value or in your .cshrc file so it is in your main environment. I tried adding its bash variant to /usr/local/etc/rc.d/mysql-server but that didn't work. As far as adding it to my shell, that won't run the script when the server reboots, only when I log in, right? That's not an option. Any other ideas? TIA, Drew jerry TIA, Drew _ ___ Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ _ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpGMBsLbjnlO.pgp Description: PGP signature
Re: Which file to request SIOCGIFMAC on?
On Wednesday 21 February 2007 15:03, nocturnal wrote: Hi Well that's weird, is MAC defined by default at all? I tried searching for the definition but couldn't find it. I never thought it would be this hard just to get the ethernet address from an ethernet interface in FreeBSD. I think i'll take a look at the netlib source next, something tells me it will be easier to just plagiarize their method than going through the kernel source any more. Have you tried google? This was asked on freebsd-hackers a few months ago: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-August/017601.html hth... don Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Pietro Cerutti wrote: On 2/20/07, nocturnal [EMAIL PROTECTED] wrote: Hi The original plan is to only run it on FreeBSD 5 and higher, actually only 6 by now. It's a program i'm writing for work and at work the most active servers run FreeBSD 6 and are updated frequently. The ones with older versions don't run anything of interest. I am buying a MacBook for personal use though so it would be nice to run it on osx. I wouldn't like to start using another library just to get the hardware address of an interface though, that seems kinda overkill for what should be a simple task. The program is already using libpcap but that is included in FreeBSD by default so you don't have to install it. Do you have any idea of why i'm getting this error from ioctl when i'm doing what the manual says i should do? I am of course running it as root to because the libpcap operations require it. What might help me is to take a look at the source of that libnet_get_hwaddr function in libnet. I'll try that, thank you very much for the tip. So far i've been trying to look at the source for ifconfig to figure out how it gets the hardware address. Of course it uses SIOCGIFMAC but i can't find the socket it opens because i can't find where it uses the maclabel_status function. The problem isn't with the socket type or options. If you debug ifconfig, you'll find out that the ioctl call always returns -1, and the program goes on to the goto mac_free line. Take a look at /usr/src/sys/net/if.c, line 1258 Should we deduce that the particular ioctl isn't supported? P.S. I'm forwarding this to freebsd-hackers@ too, so sorry for cross posting Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Chuck Swiger wrote: On Feb 20, 2007, at 1:10 PM, nocturnal wrote: I'm trying to get the ethernet address and from the manuals i understand that i need the ifreq structure for this. So i'm trying to request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM. If you're just targetting FreeBSD = 5.x platforms, your current approach is reasonable (assuming you can fix whatever the problem is); if you're targetting other platforms such FreeBSD 4, Dfly, OS X, or SysV things like Solaris, try installing the libnet port and invoke libnet_get_hwaddr(). ---Chuck ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpybBUkIImti.pgp Description: PGP signature
Re: AC97 sound card on 6.1
Hi Dave: On Monday 05 June 2006 16:03, Dave wrote: Hello, I'm atempting to get an integrated AC97 sound card working under 6.1. I know this card works, loading the snd_driver module finds it, but i do not know which actual module works it over. I'd rather not have to load 26 sound modules just the ones i actually need. I've checked /boot/kernel/snd* but didn't find anything AC97 and googling showed that others had asked, but no clear answer. If anyone has this going i'd appreciate hearing about it, and also any difficulties with quality or getting applications going. Try this (taken from the handbook): // load all the sound drivers # kldload snd_driver // see which one worked # cat /dev/sndstat Here's what got loaded: # kldstat Id Refs AddressSize Name 1 47 0xc040 3f4498 kernel 22 0xc07f5000 5ec0 snd_ich.ko 3 29 0xc07fb000 22ae8sound.ko 41 0xc081e000 58554acpi.ko 51 0xc4fe1000 16000linux.ko 61 0xc531d000 1c000radeon.ko 71 0xc533b000 e000 drm.ko 81 0xc5349000 11000agp.ko 91 0xc5f26000 2000 snd_driver.ko 101 0xc5f28000 4000 snd_vibes.ko 111 0xc5f2c000 4000 snd_via82c686.ko 121 0xc5f3 5000 snd_via8233.ko 131 0xc606e000 4000 snd_t4dwave.ko 141 0xc6072000 5000 snd_solo.ko 154 0xc6077000 4000 snd_sbc.ko 161 0xc607b000 4000 snd_sb8.ko 171 0xc607f000 4000 snd_sb16.ko 181 0xc60ce000 1snd_neomagic.ko 192 0xc6083000 9000 snd_mss.ko 201 0xc60de000 8000 snd_maestro3.ko 211 0xc60e6000 a000 snd_maestro.ko 221 0xc60f 4000 snd_fm801.ko 232 0xc60f4000 4000 snd_ess.ko 241 0xc60f8000 6000 snd_es137x.ko 251 0xc60fe000 6000 snd_emu10k1.ko 261 0xc6104000 b000 snd_ds1.ko 272 0xc610f000 6000 snd_csa.ko 281 0xc6118000 5000 snd_cs4281.ko 291 0xc611d000 4000 snd_cmi.ko 301 0xc6121000 5000 snd_atiixp.ko 311 0xc6126000 4000 snd_als4000.ko 321 0xc612a000 4000 snd_ad1816.ko And here's what I needed: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Intel ICH6 (82801FB) at io 0xc8000800, 0xc8000400 irq 22 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) So, I added the following to loader.conf: # cat /boot/loader.conf ... #sound driver snd_ich_load=YES hth... don Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] emacs xemacs?
On Saturday 03 June 2006 11:20, Lowell Gilbert wrote: hernan [EMAIL PROTECTED] writes: I have the xemacs port installed and I would also like to have the normal emacs port installed. When I try to 'make clean install' /usr/ports/editors/emacs it builds fine but fails to install because of xemacs, I'm at work now but the error was something to the effect that they both conflict and install files into the same place. I'm running FreeBSD 6.0 RELEASE, with a recent portupgrade so things are fairly up to date. I'm trying to install emacs 21.3_9 and have xemacs 21.4.19 installed already. You will need to install it to a different PREFIX. You'll probably need to define DISABLE_CONFLICTS as well. hth... don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with wireless card drivers
On Thursday 01 June 2006 15:03, Atanas Atanasov wrote: Are you sure one should use ndiscvt? I mean i tried it the same except for getting pccarddefs.h (which as they say will be used in eventual kernel compiles) and for synchronising the source which I cannot do because no network is available. I have wireless only connection. Most people say that ndisgen is the better method as from 6.0. Actually it seems due to unknown reasons the old method is not supported anymore. I have an hp nx9600 with a similar (or same) card, and ndisgen worked fine. I didn't modify rc.conf, but instead use kldload to load the module when I need it. Here's what I do: # kldunload /root/bcmwl5_sys.ko #dmesg ... ndis0: Broadcom 802.11b/g WLAN mem 0xc8206000-0xc8207fff irq 17 at device 3.0 on pci11 ndis0: NDIS API version: 5.1 ndis0: Ethernet address: 00:90:4b:af:7f:68 What does dmesg tell you when you try to load the module? hth... don Atanas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using Flash on FreeBSD [Fwd: Macromedia Customer Service Request [8564611]]
Hi: When trying to upgrade Flash, I ran into the following in the UPDATING file: 20060408: AFFECTS: users of www/linux-flashplugin* AUTHOR: [EMAIL PROTECTED] These ports have been removed because the End User License Agreement explicitly forbids to run the Flash Player on FreeBSD. For more details, see http://www.macromedia.com/shockwave/download/license/desktop/. So I contacted Adobe, see below, and according to the customer service rep, Astrid C. Villanueva, there is not problem with using Flash on FreeBSD, it's just not supported. Therefore, would it be possible to add it back to the ports? thanks... don -- Forwarded Message -- Subject: Macromedia Customer Service Request [8564611] Date: Wednesday 31 May 2006 13:33 From: Service [EMAIL PROTECTED] To: don hinton [EMAIL PROTECTED] Hi again Don, Thank you for writing back and for the clarification provided. I understand your feedback on the compatibility of Flash Player on FreeBSD. Please note that Flash Player is not supported in FreeBSD, thus it not mentioned on the End User License Agreement that Flash Player can be downloaded and installed on the operating system. It is not that the web player is prohibited in FreeBSD, but the operating system itself is not compatible with Player. Please note that it is your option whether to install Flash Player on your FreeBSD; however, please note that we cannot provide you with any technical support, warranties or remedies for the software, although it is clearly stated on the End User License Agreement, the only authorized operating systems where you may download and install Flash Player. To view the System Requirements of Flash Player, you may go to: http://www.macromedia.com/software/flashplayer/productinfo/systemreqs/ In connection with this, if you would like to make suggestions or comments on how we can improve future versions of our software, or to report possible bugs in our current versions, please visit: http://www.macromedia.com/support/email/wishform/ Your comments, suggestions, and ideas for improvements are very important to us. We appreciate you taking the time to send us this information. I hope this additional information helps. Thank you for your patience on this matter. Should you have further concerns, feel free to write us back. Regards, Astrid C. Villanueva Customer Service Macromedia, now part of Adobe Systems Please use your incident number 8564611 in any correspondence with us. Customer Service at Macromedia, now part of Adobe Systems http://www.macromedia.com/support/service/ Note concerning Attachments: Please do not send attachments in a reply to this email. Instead, can you please contact the support agent to make arrangements to send your files. Thank you. --- -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using Flash on FreeBSD [Fwd: Macromedia Customer Service Request [8564611]]
Hi Bill: Therefore, would it be possible to add it back to the ports? Update your ports tree. I did, but I was going by what was in /usr/ports/UPDATING. Sorry for the noise... thanks... don -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless internet connetction issues
Hi Andreas: On Sunday 28 May 2006 06:39, andreas Sotirakopoulos wrote: Hi I have(?) an internet connetction issue... I have a router connected to a windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapter (Lynksis WUSB54G). It works fine under windows and even if some times the signal is lost usually it comes back by either moving the antenna a little or by restarting the network configuration tool. In FreeBSD the adapter is visible and uses ural0 driver. So if give the command ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot connect Instead of specifying your IP, try letting dhcp take care of this for you (as you do with kde below). Add the following to /etc/rc.conf: ifconfig_ural0=DHCP Then, ifconfig ural0 up will invoke dhcp to configure everything for you, including your gateway and routing table. You may also want to look at your routing table to see what's going on: # netstat -nr And flush the table if things go wrong with: # netstat flush I have to do this when moving from a wired connection to a wireless connection in order to reset my default route (gateway). Btw, I use FreeBSD 6.1-RELEASE -- I found 5.4 wireless to be a bit flaky... hth... don to the internet or see the windows box. Now comes the strange part. if i press ifconfig ural0 i get: ural0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid 0x1 ether 00:12:17:81:88:1a media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) status: associated ssid linksys channel 11 bssid 00:14:bf:cb:71:32 authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100 but still i cannot connect to web pages or ping hosts. I use KDE 3.5 and i do the following: from the Kmenu -settings-internet and Network- Network settings and on the card Network interfaces i see that there is only onde availiable interface fxp0 dhcp Disabled Ethernet Network Device. I know that this is my ethernet onboard card but if i choose Enable Interface i can connect to the internet!! I assume that something runs in the background that enables as well my wireless card but what is this? So what's the problem you may ask... the problem is that in case that my connection is lost i cannot do anything to get it back up. i have tried dhclient ural0 and nothing happents same with ifconfig ural0 up... I have to reboot and do the procudure again and the problem is that it fails often if i leave the net for a while... Any ideas? thanks ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel Mac experiences
Hi: On Thursday 25 May 2006 15:20, James Earl wrote: I'm actually just looking for general experiences that FreeBSD developers have had with Intel based Macs. I tried to make the subject clear... but I'm sometimes not too great at being clear in conversation. :) If you tried to boot windows, you'd have the same problem. Mac intel doesn't have bios support, it must be emulated. And no, I don't have one either... ciao... don On 5/25/06, Adrian Pavone [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, I don't. I have never had a need, or even a use, for one. However, my comment on being more descriptive still stands regardless of whether I did or didn't have an Intel Mac. And it would allow whoever does actually help you to have something to work with. At first glance, sounds like a hardware driver issue, but by knowing nothing about you or your computer then that you have an intel mac that is hanging after boot, then no real help can be offered. James Earl wrote: Do you have an Intel Mac? On 5/25/06, Adrian Pavone [EMAIL PROTECTED] wrote: James, By an Intel Mac, do you mean an i386? Or still a PPC? If you are referring to an i386, then the i386 install CD should work, and any problems you are having should involve more detail so that we can have a rough idea what is going on (something more then gets just past the boot menu and then stops. For example, does it freeze with only the boot menu showing, do any other messages appear at the bottom of the screen after the boot menu, does the screen go blank, etc.) Ohh, and as Ted was saying, MacOS X is built on BSD :) James Earl wrote: I'm not joking. This is a FreeBSD mailing list isn't it? On 5/25/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Please tell me your joking, don't you know that MacOS X is just a commercialized version of FreeBSD? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James Earl Sent: Wednesday, May 24, 2006 3:29 PM To: freebsd-questions@freebsd.org Subject: Intel Mac experiences Hi, I'm just curious if there's any developers playing around with getting FreeBSD installed onto an Intel Mac, and if you could share any experiences or development plans? My 6.1-RELEASE installation CD gets just past the boot menu and then stops. OpenBSD boots further but not all the way, and Gentoo Linux LiveCD runs great. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This email address has expired. Please contact me for my new address. Please obtain my pgp public key from pgp.mit.edu before sending me any private mail, otherwise your email will likely be filtered incorrectly and possibly junked. - -- This email address has expired. Please contact me for my new address. Please obtain my pgp public key from pgp.mit.edu before sending me any private mail, otherwise your email will likely be filtered incorrectly and possibly junked. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdg4+0JHtFv5fxW8RAqJwAKCN6vl7oFsaFvXFC7xcNWPYyH+aHQCffcHz Uwv9PjErpO0LzXnMio7AXmQ= =AlTL -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: best approach to clone a disk?
Hi Joe: On Tuesday 14 February 2006 10:49, Joe Auty wrote: Okay, In taking the advice of an earlier poster in suggesting that the instructions located here: http://www.unixcities.com/howto/ Are rather old, allow me to make my question a little broader in scope: What is the best way to clone a disk in FreeBSD? Do you have any step- by-step instructions? The instructions I used above (even replacing the restore -r flag with a -x) produced a core dump. Can I use DD on two disks of different size? Do you recommend Ghost for Unix? Any other suggestions or recommendations should the dump command just not work for me? One of our grad students recently posted a how to on using Frisbee here at ISIS. The only difference is that you'll need another server somewhere with imagezip install instead of ours. You can find the how to here: https://research.isis.vanderbilt.edu/ir_wiki/Using_Frisbee_to_take_an_image_of_a_hard_drive Please let us know if it contains any omissions or errors and we'll fix the page. Btw, I've been told that this will only image a partition, not the master boot record, so you'll need that on the destination as well. This is what emulab uses to image drives, and works for several OS's, including FreeBSD, Linux, and Windows. hth... don Thanks in advance! --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with KDE 3.4-3.5 and xorg - 6.9.0
Hi Peter: On Sunday 22 January 2006 10:43, Per olof Ljungmark wrote: On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old files in home directory created by to KDE and xorg but problem persists. I'm currently out of ideas and would really appriciate a hint, thanks. I ran into this the other day. I can't remember all the steps I took, most were probably unneccesary anyway, but I think the key was forcefully rebuilding/reinstalling kdebase. Try portupgrade -fN kdebase and see if that works for you. I ended up rebuilding practically everything, but that shouldn't be necessary. hth... don X hangs forever here: ... kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol init_kdnssd -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ pgpRgA58oGpai.pgp Description: PGP signature
Re: awk question
Hi Alexandre: On Friday 20 January 2006 16:59, Alexandre Vieira wrote: Hello folks, I'm making a script to generate some statistics for a batch job and I'm stuck with awk. For example: %echo 1 2 3 4 5 6 | awk {'print $1 $2 $3 $4 $5 $6'} it will output: 1 2 3 4 5 6 I want to tokenize a string with another separating char (the : char): %echo 1:2:3:4:5:6 and with awk to output: 1 2 3 4 5 6 Is there any way of doing this? Sure. Here's a link to the online awk documentation section on field seperators... http://www.gnu.org/software/gawk/manual/html_node/Field-Separators.html#Field-Separators ciao... don Real example: I have a log file with the following output: 2006-01-20 - 20:01:07 - Some text 2006-01-20 - 20:01:15 - Some text 2006-01-20 - 20:01:38 - Some text (...) and since I'm generating hourly stats I need to match the 20 which is in a string 20:01:07 that is separated by the char :. I hope I've been clear. Thanks for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu tel: 615.480.5667 ISIS, Vanderbilt University skype: donhinton http://people.vanderbilt.edu/~don.hinton/ pgpMuZXJJHZeq.pgp Description: PGP signature
Re: Pooomooocyyyy ;(
Hi Greg: On Sunday 15 January 2006 16:28, Greg 'groggy' Lehey wrote: On Saturday, 14 January 2006 at 20:02:02 +0100, Karol Kwiatkowski wrote: vocativus wrote: Witam! [...] Cze¶æ vocativus, Nie wiem w czym tkwi problem, ale spróbuj zapytaæ na polskim forum systemów BSD: http://www.bsdguru.org/dyskusja/ As I said a couple of days ago, this is an English language list. In a case like this, it would be appropriate to *not* copy the list on the reply, despite the policy to the contrary. Where exactly does it say that this is an english only list? ciao... don Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. -- Don Hinton don.hinton at vanderbilt.edu615.480.5667 ISIS, Vanderbilt University pgpfYs0E87FoW.pgp Description: PGP signature
Re: Mounting SD card of Treo600 via USB
Hi Tim: On Monday 02 January 2006 21:20, Timothy J. Luoma wrote: I've been trying to find out if there is a way to mount my Treo 600's SD card using a USB cable. I stick mine inside a laxar usb converter (not sure what it's called or the model number). Most of what I seem to find from Google, etc seems to relate to *syncing* which I have no need/desire to do, just to mount the card, which I believe is formatted as FAT32. It should show up as a scsi drive, so I just do this: # mount -t msdos /dev/da0s1 /mnt/usb hth... don I'm using FreeBSD 5.4 Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu615.480.5667 ISIS, Vanderbilt University pgpXIsAVO84SB.pgp Description: PGP signature
Re: BSD Question's.
Hi Danial: On Saturday 24 December 2005 10:44, Danial Thom wrote: --- Miguel Saturnino [EMAIL PROTECTED] wrote: On Sat, 2005-12-24 at 07:34 -0800, Danial Thom wrote: --- Michael C. Shultz [EMAIL PROTECTED] wrote: On Saturday 24 December 2005 06:54, Daniel A. wrote: Hi Andy, I am sorry for the trouble you have had with Windows XP. I suggest that you use Linux, as FreeBSD really is not targeted at people who want to use graphical user interfaces. In a few key areas FreeBSD is a better desktop OS than Linux: Easier to keep the kernel/world and installed ports up to date for example without having to resort to the microsoft/Linux fixall method of removing and reinstalling everything every now and again. Your opinion is correct IMO that FreeBSD managers put most emphasis on FreeBSD as a server and little as a desktop. My guess is because donations(cash) and hardware support for developers come from people who want servers while people who want a desktop OS tend to donate squat The linux developers really have been trying to make a valuable replacement for Windows, as they somehow have experienced the same issues with Windows (And Microsoft products in general) that you have. One Linux distribution in particular that I think you might like, is Ubuntu. You can download it at http://www.ubuntulinux.org/, or order a CD (Free shipping, free CD, you pay nothing). Advertising Linux in a FreeBSD mailing list? Sounds like you may have more of axe to grind against the FreeBSD management folk than a desire to offer sound advice -Mike Why not just tell the truth, which is that Windows XP is the best that you can do for the desktop Well, that's your opinion. For me, FreeBSD is a much better desktop than Windows -- it runs solid and fast and enables me to be more productive in my work. Of course, what is good for me might not be so good for someone else, I guess it depends on your needs. more productive in what way? Without considering all of the programs I use that only run in windows (such as my investment analysis tools, camera interface and photo editing programs), outline the productivity advantages of FreeBSD in terms of: 1) Time from unwrapping the computer to having a functional and usable system. For me, FreeBSD is about twice as fast/easy to install/configure, and infinitely cheaper. 2) General productivity advantages in a typical day. ie: what can you do with FreeBSD that you can't do in WinXP, and what is faster or more productive in FreeBSD Depends on what you use it for. I'm a C++ developer, and have a need to examine/search/manipulate text files quite often, Windows, out of the box, is inappropriate for this type of work. I'd have to install all sorts of applications, e.g., cygwin, et al, to get the applications/capabilities that come out of the box on a typical *nix system, FreeBSD, Linux, etc... If, on the other hand, you are wedded to an application that only runs on windows, then the question is moot. Unfortunately, there is one windows program I'm forced to use, so I have a cheap laptop that sits on my desk for that purpose. Though I never use it directly, except to reboot it when it hangs, say once a week, I access it via rdesktop in a window from one of my FreeBSD systems, typically my new HP laptop. But no one can convince you of which OS you should use. If you want to try one, try it. If not, don't. I couldn't care less which OS other people use, just as I couldn't care less which car you drive. happy holidays--I'm off to finish my shopping... don And please don't take this as an adversarial post: I haven't looked at the desktop in a while so I'd really like to know the answers, if in fact your opinion is objective. DT __ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu615.480.5667 ISIS, Vanderbilt University pgpCN2StR619C.pgp Description: PGP signature
Re: what's an equivalent for the following Perl one-liner?
On Thursday 22 December 2005 13:52, Mikhail Teterin wrote: Try col(1) or tr(1) to remove the carriage return and then sed to remove the spaces. Well, yes, but that's a two-stage process. A shame to go through the whole file twice just because our tools aren't good enough. How about this: sed 's/ *[[:cntrl:]]$//' hth... don -mi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu615.480.5667 ISIS, Vanderbilt University pgpuOloR8y33y.pgp Description: PGP signature
Re: httpd_flags=-DSSL?
Hi Jeff: On Sunday 18 December 2005 21:03, Jeff D. Hamann wrote: I've searched plenty looking for the proper method to get apache2 to start up at boot time with little success. I've tried the various combinations of httpd_flags/apache2_flags/apache_flags= to my rc.conf file to no avail: bobby# cat rc.conf blah, blah, blah... apache_enable=YES httpd_flags=-DSSL blah, blah, blah... bobby# What's the trick? I've fixed the cert file to not require the dialog on startup and have been able to start apache2 using the command: /usr/local/sbin/apachectl startssl and then it starts without the dialog. Ideas? Make sure your apache2.sh file exists and is executable, you probably need to rename if from apache2.sh.sample (or something like that), e.g.: /usr/local/etc/rc.d/apache2.sh Also, it will contain the flags you need to set in rc.conf. hth... don Jeff. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu615.480.5667 ISIS, Vanderbilt University pgpAttW2PKaJN.pgp Description: PGP signature
Re: Stop in subversion-perl
Hi Gerard: On Saturday 05 November 2005 13:57, Gerard Seibert wrote: I am sure that someone else has all ready asked this question, but I have not come across it. When trying to build 'subversion-perl', I receive this error message: //Start error message Snippet// /usr/local/bin/swig -noproxy -nopm -perl -I../../../../../subversion/bindings/sw ig -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl -I../../../.. /../subversion/include -I/usr/local/include/apr-1 -o core.c ../../../../../subv ersion/bindings/swig/core.i /usr/local/include/apr-1/apr.h:389: Error: no decision has been made on APR_PATH _MAX for your platform *** Error code 1 Since the swig preprocessor doesn't load all the system headers, unless you pass -includeall, it has not way to know that they system defined PATH_MAX, i.e., it doesn't load limits.h, et al. I'm not sure what the right fix would be, but you can edit apr.i and add #define PATH_MAX 1024, or whatever it's supposed to be on your system, just before %include apr.h. apr.i can be found here: /usr/ports/devel/subversion-perl/work/subversion-1.2.3/subversion/bindings/swig/apr.i As for the correct value, this is what I get: $ cpp -dM /usr/local/include/apr-1/apr.h |grep PATH_MAX #define _XOPEN_PATH_MAX 1024 #define _POSIX_PATH_MAX 256 #define APR_PATH_MAX PATH_MAX #define PATH_MAX 1024 So 1024 looks right... hth... don btw, I don't like the new logo either... Stop in /usr/ports/devel/subversion-perl/work/subversion-1.2.3/subversion/bindin gs/swig/perl/native. *** Error code 1 Stop in /usr/ports/devel/subversion-perl/work/subversion-1.2.3. *** Error code 1 Stop in /usr/ports/devel/subversion-perl. //end error message snippet// What can I do to alleviate this situation? -- Don Hinton don.hinton at vanderbilt.edu615.480.5667 ISIS, Vanderbilt University pgpAsBqZgPZTl.pgp Description: PGP signature