Does FreeBSD support the Ralink RT73 chipset
I just got my hands on a Belkin Wireless device that uses a Ralink RT73 chipset. Rather than waste a lot of time attempting to get it to work, I thought I would ask if anyone here has succeed in doing so. I see that FreeBSD supports: Atheros and Intersil Prism components;however, I did not see any mention of the Ralink RT73 chipset. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Like the ski resort of girls looking for husbands and husbands looking for girls, the situation is not as symmetrical as it might seem. Alan McKay ___ 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: Does FreeBSD support the Ralink RT73 chipset
On Tue, 10 Nov 2009 17:17:12 + Jeronimo Calvo jeronimocal...@googlemail.com replied: I am using RT61, so makes me wonder that RT73 does. I contacted Belkin to make sure I had the proper information. They responded: Chipset information for F5D9050 version 4000 is Ralink RT2671F, RT2528L (RT73) -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Increased knowledge will help you now. Have mate's phone bugged. ___ 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
/etc/fstab + embedded spaces
I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. I did some Googling and discovered that I am not the only one annoyed by this behavior. I discovered this patch that had been submitted awhile ago. http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html Changing the share name is not really an option. Is there some way of making this work in 'fstab'? I can use the name including spaces in 'mount_smbfs' so that is how I am currently mounting the share. It just seems strange that 'fstab' by not accepting the use of quoting is not in step with how FreeBSD usually operates. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | It is much easier to suggest solutions when you know nothing about the problem. ___ 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
Using bash with MySQL
I am in the process of writting a script that will use MySQL as a back end. For the most part, I have gotten things to work correctly. I am having one problem though. Assume a data base: database: MyDataBase table: MyTable field: defaults Now, I have populated the 'defaults' fields with the declare statements that I will use in the script. They are entered similar to this: declare -a MSRBL_LIST Now, I issue this from my bash script: SQL_USER=user # MySQL user SQL_PASSWORD=secret # MySQL password DB=MyDataBase # MySQL data base name HOST=127.0.0.1 # Server to connect to NO_COLUMN_NAME=--skip-column-names COM_LINE=-u${SQL_USER} -p${SQL_PASSWORD} -h ${HOST} ${NO_COLUMN_NAME} table=MyTable DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done This output is produced: declare -a MSRBL_LIST Obviously, I want the output on one line for each field. I have tried enclosing the variables with both single and double quote marks; however, that does not work. Fields that do not contain spaces are displayed correctly. Obviously, I am doing something really stupid here. I hope someone can assist me. I probably should ask this on the MySQL forum; however, I was hoping that someone here might be able to supply a remedy. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Fraud is the homage that force pays to reason. Charles Curtis, A Commonplace Book ___ 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: Using bash with MySQL
On Tue, 27 Oct 2009 16:17:55 + Matthew Seaman m.sea...@infracaninophile.co.uk replied: carmel_ny wrote: I am in the process of writting a script that will use MySQL as a back end. For the most part, I have gotten things to work correctly. I am having one problem though. Assume a data base: database: MyDataBase table: MyTable field: defaults Now, I have populated the 'defaults' fields with the declare statements that I will use in the script. They are entered similar to this: declare -a MSRBL_LIST Now, I issue this from my bash script: SQL_USER=user# MySQL user SQL_PASSWORD=secret # MySQL password DB=MyDataBase# MySQL data base name HOST=127.0.0.1 # Server to connect to NO_COLUMN_NAME=--skip-column-names COM_LINE=-u${SQL_USER} -p${SQL_PASSWORD} -h ${HOST} ${NO_COLUMN_NAME} table=MyTable DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done This output is produced: declare -a MSRBL_LIST Obviously, I want the output on one line for each field. I have tried enclosing the variables with both single and double quote marks; however, that does not work. Fields that do not contain spaces are displayed correctly. Obviously, I am doing something really stupid here. I hope someone can assist me. I probably should ask this on the MySQL forum; however, I was hoping that someone here might be able to supply a remedy. This loop is where it all goes horribly wrong: for (( i=0;i${#DECLARE_STATEMENTS[*]};i++)); do echo ${DECLARE_STATEMENTS[i]} done In Posix shell, the intended functionality would be more usually coded like this: IFS=$( echo ) for ds in $DECLARE_STATEMENTS ; do echo $ds done where $DECLARE_STATEMENTS is split on any characters present in $IFS -- the input field separators, here set to be just a newline character. (You don't have to use echo to do that; you can just put a literal newline between single quotes, but it's hard to tell all the different forms of whitespace apart if you're reading code snippets in an e-mail...) I suspect similar IFS trickery would work with bash, but I'm not familiar with the array syntax stuff it uses. /bin/sh is perfectly capable for shell programming and positively svelte when compared to bash and it's on every FreeBSD machine ever installed, so why bother with anything else? Matthew, unfortunately, that is not the problem. However, you post pointed me in the right direction. Notice this line: (should all be on one line) DECLARE_STATEMENTS=($(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE 1;)) I am saving the output of the MySQL search in an array. Unfortunately, the array is assuming that each space in the returned search is a new element. I have not found out a way to prevent this. If you have any suggestions, I would appreciate them. I have tried putting: IFS=$( echo ) before the 'DECLARE_STATEMENTS' call; however, that produces this error: ./scamp-sql: line 128: syntax error near unexpected token `)' ./scamp-sql: line 128: `DECLARE_STATEMENTS=$(mysql ${COM_LINE} -i -euse ${DB}; SELECT defaults FROM ${table} WHERE '1';))' I know the principal is correct because I tried this code snippet: IFS=$( echo ) a=1 2 3 b=($a) echo ${b[0]} 1 2 3 CONCAT would not benefit me either since the 'space' would still exist in the returned search query. I might have to devise some hack to combine the three elements into one. Fortunately, there are three parts to every element. Unfortunately, there are a lot of them. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Sweater, n.: A garment worn by a child when its mother feels chilly. ___ 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
Using 'USR1' signal in newsyslog.conf file causes error
Dovecot has a site with information regarding how to rotate it's log-file. http://wiki.dovecot.org/Logging Since I do not have logrotate on my FreeBSD-7.2 system, I thought I could use newsyslog to accomplish the action. I seem to have run into a problem however. newsyslog: illegal signal number in config file: /var/log/dovecot.log root:wheel 0666 1 * $M1D0 CJ /var/run/dovecot/master.pid SIGUSR1 I then changed SIGUSR1 TO USR1'; however, the problem continues. Can someone tell me what I am doing wrong? -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Seattle is so wet that people protect their property with watch-ducks. ___ 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: Using 'USR1' signal in newsyslog.conf file causes error
On Sat, 24 Oct 2009 21:34:08 +0200 (CEST) Trond Endrestøl trond.endres...@fagskolen.gjovik.no replied: On Sat, 24 Oct 2009 15:26-0400, carmel_ny wrote: Dovecot has a site with information regarding how to rotate it's log-file. http://wiki.dovecot.org/Logging Since I do not have logrotate on my FreeBSD-7.2 system, I thought I could use newsyslog to accomplish the action. I seem to have run into a problem however. newsyslog: illegal signal number in config file: /var/log/dovecot.log root:wheel 0666 1 * $M1D0 CJ /var/run/dovecot/master.pid SIGUSR1 I then changed SIGUSR1 TO USR1'; however, the problem continues. Can someone tell me what I am doing wrong? You're supposed to use a number. Look in /usr/include/sys/signal.h, you'll find SIGUSR1 listed as signal no. 30. Use 30 as opposed to SIGUSR or USR1. Trond I did a 'kill -l' right after I posted that message. I discovered the numerical equivalency then. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Fantasies are free. NO!! NO!! It's the thought police ___ 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
xscreensaver 'core' files
I have been getting a couple of dozen core dumps with xscreensaver (xscreensaver-gl-hel.core) daily. The screen saver seems to be working correctly, however. It is being run under FreeBSD-7.2 and Xfce 4 Desktop Environment version 4.6.1 (Xfce 4.6). What, if anything, should I do in regards to this? -- Carmel_NY carmel...@hotmail.com I went to a Grateful Dead Concert and they played for SEVEN hours. Great song. Fred Reuss ___ 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
Accessing LDAP via web
I am probably doing this all wrong. I have an OpenLDAP server set up that works correctly. I wanted to be able to access it via LDAP:// from my laptop when traveling. Unfortunately, that is not working. When trying it via Microsoft, I simply get an error that the server is either busy or not available. When I try it via Firefox from a FreeBSD environment, I get this error: Firefox doesn't know how to open this address, because the protocol (ldap) isn't associated with any program. I tried Googling; however, I did not find what I was looking for. Perhaps, someone can assist me. Thanks! -- Carmel_NY carmel...@hotmail.com Sweet sixteen is beautiful Bess, And her voice is changing -- from No to Yes. ___ 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: Accessing LDAP via web
On Sun, 18 Oct 2009 20:57:52 +0700 (ICT) Olivier Nicole (olivier.nic...@cs.ait.ac.th) replied: I am probably doing this all wrong. I have an OpenLDAP server set up that works correctly. I wanted to be able to access it via LDAP:// from my laptop when traveling. Unfortunately, that is not working. When An LDAP server is not something that you access through a web browser. The naming of the form ldap:// does not mean you can access it with Firefox or IE, or other web browser. Now you may consider installing something like phpldapadmin that lets you administer an LDAP server through a web interface. I have email clients on my laptops that can access the LDAP server when connected via my LAN. When traveling that is not readily possible (is it)? Therefore, how can I accomplish this or is it not possible? Remember, I am not attempting to administer the LDAP server, but rather access its stored data. -- Carmel_NY carmel...@hotmail.com No spitting on the Bus! Thank you, The Management. ___ 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
mounting card reader hald
I want to be able to auto mount a card reader when a card is inserted. I can mount it manually using: mount_msdosfs /dev/da1s1 /mnt. I thought that 'hald' would handle the auto-mounting of the reader; however, I probably have that misconfigured. This is on a FreeBSD-7.2 system. -- Carmel car...@hotmail.com May your camel be as swift as the wind. ___ 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