rch1231 169 Posting Shark

Well as far as I know you have got three choices. You can either record a .WAV file and attach it, use the Voice Memo in your smart phone to create the memo and attach it or turn on voice recognition and let them dictate to the computer and have it type what they say (most of the time and with some training for them and the system). But either way you have got to talk to a microphone somewhere and tell the system to record it or to convert it when they dictate to the system.

rch1231 169 Posting Shark

Your sed line is saying to substitute the word new for the word old globally in the filename.old file and output to the original file name. You would need something like this:

sed s/\/opt\/dragon\/bin\/runit/cd\ \/opt\/dragon\/bin\ \;\ \/opt\/dragon\/bin\/runit/g

But this would do the same thing:

sed s/\/opt\/dragon\/bin\/runit/cd\ \/opt\/dragon\/bin\ \;\ \/\.\/runit/g

You have to use the backslash to tell sed to ignore the normal operation of the slash, space, semi-colon and period and make them part of the substitution. The second line changes to the directory then starting in the current directory run the program called runit.

rch1231 169 Posting Shark

Could be in sleep mode. If there are not activity lights showing the disk drive doing anything and if moving and/or clicking the mouse or hitting the shift or ctrl keys on the keyboard does nothing then I would say power it off and back on again and see what happens.

rch1231 169 Posting Shark

Horace,

Have you tried it with the wireless off? If you are connected via the wire then you don't need the wireless. Wire is faster and more stable than the wireless anyway.

rch1231 169 Posting Shark

It means that the user you are logged in as does not have administrator privileges on the computer. In order to make changes to the OS you have to be a member of the administrators group or logged in as administrator.

rch1231 169 Posting Shark

If the system is still running you can get to an alternate login screen by using <CTRL> <ALT> <F2> or F3 F4 F5 etc.

rch1231 169 Posting Shark

Hello,

Try opening a command line window (run CMD) to get a dos prompt then type:

mysql

You should get a mysql shell prompt that your can run queries from like

select * from mydatabase;
rch1231 169 Posting Shark

Hello,

You have to kind of think of networks in layers. Each layer connected to and protected from the ones below by your router and firewall. If you set up your 10.0.0.1 network so the LAN is using DHCP and the WAN is set to get an address via DHCP from the next router down stream, then run a wire from the WAN port to any LAN port on your Family router 192.168.1.1. You private network will be protected from your family network, and in turn from the internet, by it's firewall.

You probably have your family router connected via the WAN port to the modem (DSL or Cable) to Your ISP. This will be fine and your family is then protected from the internet by the Family router's firewall. Each router adds information to the data you send telling the systems on the other end how to get the results back to you.

Something that may help is to remember that the internet and the network system came originally from phone networks and systems. Your computers IP address is like a old style phone extension (i.e. 817 555-1212 Ext 101) where the area code is the first router at your ISP, 555 is the second router or your family router, 1212 is the third or private router and the extension (101) is your computer. For you to call that number from anywhere you have to have all of the pieces. Anybody could call the …

rch1231 169 Posting Shark

Based on your post you are trying to boot an image of Windows XP. Just burn the ISO to a disk using the "Burn Image to Disk" and not with the "Make it boot-able" option from Nero. Nero is adding DR DOS to the disk to make it boot-able and a Win XP ISO is already boot-able,

rch1231 169 Posting Shark

Add the following to the beginning of your text file:

USE Database ;

Where Database is the name of the database you want to create the table in.

rch1231 169 Posting Shark

Hello,

That helps a lot and I think I can provide a solution. If you go in and change the LAN settings on the system and remove the gateway on the 10.0.0.1 network (or if it forces you to have and address use 192.168.1.1). you should be able to use the laptop on the internet while connected to the LAN. The problem is coming from having two gateways. To a computer the gateway is the IP address that the system must use to reach any IP address outside of your sub-net. Your primary sub-net is 192.168.1.1 - 192.168.1.255 and 10.0.0.1-10.0.0.255 is your private backbone that does not connect to the internet. By having two gateways you are telling the system to send packets through two separate portals at the same time and it does not know how to label the packets so the Internets response will come back to the right place.

I am a little confused on the setup.

You said in the original post:

192.168.1.1 (Router 1) and 10.0.0.1 (Router 2)

I can only connect to the internet via LAN (on Router 2) even if both Network Status shows "Connected".

And in the latest post:

Router 1 is the gateway to the internet on network 192.168.1.0/255.255.255.0.

Router 2 is just a lan network (10.0.0.0/255.255.255.0) that separates me (my laptop running Win7 Pro), and provide some sort …

rch1231 169 Posting Shark

Hello,

A couple of questions just to get a clear picture.

Are both routers connected to another router or modem that connects them to the internet?

You are running Windows (a guess) from a dos prompt what does ipconfig tell you?

With your sons laptop connected to both networks, from a dos prompt what does a traceroute to an internet address show (traceroute 4.2.2.2)?

rch1231 169 Posting Shark

Hello,

I would go with the AMD over the Intel cheaper and more bang for your buck. and for virtual installations look in to Oracle Virtual Box. Runs on Linux or Windows and will run Linux or windows as virtual OS.

rch1231 169 Posting Shark

Hello,

Yes you can have them both at the same time but the trick is to have them on different subnets and only have one gateway. The gateway address is used to designate what ip address you use to get to the internet. Different subnets would be say one network is set up for 192.168.1.X with netmask 255.255.255.0 and the other is set up for 192.168.2.X with netmask 255.255.255.0.

Lets say router 1 is set up as 192.168.1.1 and router 2 is set up at 192.168.2.1. To connect your laptop to both you would need to either turn off your wireless card.

OR to use the wireless connected to router 1 as your internet connection, give the lan connection a fixed IP with no gateway address filled in. This will for any traffic for the internet to go out through the gateway on the wireless.

Does that makes sense?

rch1231 169 Posting Shark

Hello,

My first question is where is the file you are trying to open? By that I mean is it on a CD or something that you cannot write to. When access opens a DB it creates a <dbname>.ldb file in the same directory. In your case the file would be called record.ldb. If there is a record.ldb in the directory with the record.mdb file you could try removing it and let access recreate it.

rch1231 169 Posting Shark

Hello,

Nagios is a free Linux based monitoring tool that will monitor uptime, disk space and services on Windows or Linux. The company I work for uses PAMonitor to monitor various Windows systems and services and Nagios for Linux and Solaris.

http://www.nagios.org/

http://www.poweradmin.com/ServerMonitor/

rch1231 169 Posting Shark

Hello,

I found a Microsoft command line tool called WMIC which can disable or enable the NIC.

1. Get a list of NICs and their index numbers with the command:

wmic nic get name, index

2. Find the index number of the device you wish to disable.

3. Using the index number the disable command is:

wmic path win32_networkadapter where index=7 call disable

The index numbers do not change unless you add or remove a device so you could put this in a batch file.

A site that has a video about this:
http://itcookbook.net/blog/enabling-and-disabling-nics-commandline-windows

rch1231 169 Posting Shark

Hello,

You would need either an external USB CD-ROM drive or a bootable USB drive with something like UBCD4Win or hirens boot disk that has a windows password change Utility on it.

rch1231 169 Posting Shark

Hello,

What you are trying to do is really what unix shells were designed for. Try this:

for x in `/bin/ls /home`
do
find /home/$x \! -user $x -exec echo "{}" is not owned by $x \;
done

This executes the command
/bin/ls /home
and puts the results in that place in the for loop. The reason you use /bin/ls instead of just ls is that most shells have ls aliased to color the output based on the file type and the color escape sequences wreck havoc with your code...

rch1231 169 Posting Shark

access2mysql sync is the best app I have found for quickly and easily moving data back and forth. You can usually find a copy for trial at http:\\download.CNET.com. If nothing else you will find several other apps there.

rch1231 169 Posting Shark

Hello,

I would get a copy of testdisk and photorec which are drive recovery tools originally developed by the US Air Force to recover images from drives. They are free for the download and if anything can recover the partitions and files they can.

rch1231 169 Posting Shark

Excel will export to either a CSV (comma separated values) or tab delimited file. If you are trying to get data read by excel your best bet is to save it as tab delimited and with a .TXT extension. Excel will automatically import the file when opened with Excel.

And yes images can be embedded in php but I am not sure about videos.

rch1231 169 Posting Shark

Hello,

I agree with mjdodd about it being a physical memory issue. It could one of several things.
1. You have added an application that uses more memory than you used to use.

2. One of your memory chips has failed.

3. You have added memory to the computer and not let the system change the virtual memory file size.

4. But most likely is that the computer has it set to a custom page file size and not managed by the system.


To check or change the virtual memory page file size do the following:
1. Open System in Control Panel.

2. On the Advanced tab, under Performance, click Settings.

3. On the Advanced tab, under Virtual memory, click Change.

4. Under Drive [Volume Label], click the drive that contains the paging file you want to change. ( Probably C: )

5. Under Paging file size for selected drive, click Custom size, and type a new paging file size in megabytes in the Initial size (MB) or Maximum size (MB) box, and then click Set. Or To have Windows choose the best paging file size, click System managed size.

rch1231 169 Posting Shark

Hello,

You were close:
sudo apt-get install build-essential

rch1231 169 Posting Shark

What you need to do is add the port 3389 to the DMZ and point it toward the server that needs to be available. The router will let one host normally be available to the outside on specific ports. Look up DMZ in your router docs.

rch1231 169 Posting Shark

Make ID an auto-increment integer and a required key and it will fill the field in for you without having to insert it.

rch1231 169 Posting Shark

I have come accross this a couple of times. What you need are the chipset drivers for the AMD motherboarde. Once you have those the others will be useable. See if there is a listed chipset in the windows 7 drivers list and go to the homepage for the Mother Board MFG and see if they have a XP driver. From the specs at the site you listed you need the AMD M780G Chipset driver from AMD. And the Conexant Audio Driver for Windows XP from another Toshiba or from the Conexant site.

rch1231 169 Posting Shark

Check in windows 7 for a setting under Network and Sharing Center:

Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings

Under Home or Work there are options for Password Protected Sharing, Network Discovery, Public Folder Sharing, and others that may lead to what you are trying for.

rch1231 169 Posting Shark

In order to be able to see other windows systems from the XP systems you will need to make sure a protocol is loaded on the XP based system. Go to Control Panel, Network Connections the right click on Local Area Connection and then select properties. When the box comes up look through the list for

NWLink IPX/SPX NetBIOS Compatible Transport.

This protocol is what lets two windows systems see each other and communicate. Windows 7 has this installed by default. If it is not listed click the Install button just below the box and select "Protocol" you should see NWLink IPX/SPX in the list. Select it and click OK. It will take a second to load then OK the first screen and reboot the computer.

rch1231 169 Posting Shark

concat(table1.field1, table2.field2) as newname

rch1231 169 Posting Shark

This is a guess but I bet your problem is you cannot access the data on the drive now in the USB..You don't have permission. If so what you need to do is take owner ship of the folders and subfolders.

Take a look at this Microsoft tech tip on how to take ownership of files and folders.

http://support.microsoft.com/kb/308421

rch1231 169 Posting Shark

What you want is a JOIN

SELECT `heads.head_name`,
`subheads.subhead_name` 
FROM `heads` 
OUTER JOIN `subheads` ON `heads`.id = `subheads`.id 
where `heads.id` = '1'

this selects records from heads where `heads.id` = '1'and joins them to subheads records where `heads`.id = `subheads`.id
Is that what you were trying to do?

rch1231 169 Posting Shark

try this:

update table1, table2
set table1.col1 = table2.col1, table1.col2 = table2.col2, table1.col3 = table2.col3 where table1.col1 = table2.somefield
rch1231 169 Posting Shark

Smeagle13 is correct but also change your insert so it will ignore the error generated when the duplicate insert is refused:

INSERT IGNORE INTO TABLE1 WHERE VALUES('3');
rch1231 169 Posting Shark

What you are looking for is a JOIN.

SELECT table1.ID,
table1.field2,
table1.field3,
table2.field2,
table2.field3,
table2.field7
FROM
table1
LEFT JOIN table2 on table1.ID = table2.table1_ID

Something like this will give you all records in table1 and every matching record in table2 or NULL fields for the records with no match in table2.

rch1231 169 Posting Shark

Linux permissions are more restive than Windows. And you can turn off the ability to change directories in FTP and HTTP in linux settings. vsftpd is one of the secure ftp daemons for Linux and there is a setting in the vsftpd.conf file to turn off the cd command. Do a
man vsftpd

rch1231 169 Posting Shark

Can i ask what it is you are really trying to do. Excel 2007 or 2010 will both read the xls file without problems. Are you trying to read it with another app that requires xlsx instead?

rch1231 169 Posting Shark

Hello,

I hate to disagree with someone on a response but ftp works fine is shell scripts. Typical ftp client programs under Unix, Linux, Solaris and NetBSD all read the ftp password from /dev/tty (or /dev/pty). The following site has a discussion of the issues involved and a script that does what you want.

http://www.stratigery.com/scripting.ftp.html

rch1231 169 Posting Shark

Hello,
This should help it is from O'Reily's Linix security Handbook.

Recipe 5.10 Sharing Files Using Groups
5.10.1 Problem
Two or more users want to share files, both with write privileges.

5.10.2 Solution
Create a group containing only those users, say, smith, jones, and ling:

/etc/group:
friends:x:200:smith,jones,ling
Create the shared file in a directory writable by this group:

jones$ cd
jones$ mkdir share
jones$ chmod 2770 share
jones$ chgrp friends share
jones$ ls -ld share
drwxrws--- 2 jones friends 4096 Apr 18 20:17 share/
jones$ cd share
jones$ touch myfile
jones$ chmod 660 myfile
jones$ ls -l myfile
-rw-rw---- 1 jones friends 0 Apr 18 20:18 myfile
Users smith and ling can now enter the directory and modify jones's file:

smith$ cd ~jones/share
smith$ emacs myfile
5.10.3 Discussion
smith, jones, and ling should consider setting their umasks so files they create are group writable, e.g.:

$ umask 007
$ touch newfile
$ ls -l newfile
-rw-rw---- 1 smith 0 Jul 17 23:09 newfile
The setgid bit on the directory (indicated by mode 2000 for chmod, or "s" in the output from ls -l) means that newly created files in the directory will be assigned the group of the directory. The applies to newly created subdirectories as well.

To enable this behavior for an entire filesystem, use the grpid mount …

rch1231 169 Posting Shark

Hello,

Try this site:
http://phpexcel.codeplex.com/
The boast being able to convert between the two formats among other things/

rch1231 169 Posting Shark

If you look at the man pages for ftp it states that you add the account parameter to the command line followed by the password for the account. To look at the manula pages use:

man ftp

from a shell prompt.

rch1231 169 Posting Shark

Hello,

The first real question is what do you mean by content? Are you implying that it is a file containing only text or that it has the file extension .TXT?

And second is this real shell scripting in Linux, OSX and Unix, or Semi-scripting in Windows shell or VB?

rch1231 169 Posting Shark

It could be something to do with the DHCP IP lease to the computers but hard to tell. The only other thing I can think of is start looking for some sort of activity that is taking place at the same time as the outages. Is someone making a call and you have a DSL line? Is it when one of the X-Box systems is up or if both are? Do you have a cordless telephone (not cellular but a portable phone for your land line and someone is using it?

surley04 made a good point about the DSL splitter/filter. If this is a DSL line you have to have the filters on every phone and on the router and the cables plugged into the correct port in each case. The filters stops static on the phones and stops the phones from interfering with the data stream.

rch1231 169 Posting Shark

I am sure there is a module somewhere to do this however the easiest way I can think of is to output the file as a TAB delimited text file. Then either open it with excel and it will automatically load it to columns or right click the file and select open with excel and it will again automatically use the TABS as column delimiters.

rch1231 169 Posting Shark

In order for apache to access the files the directory and files must be readable by the apache user of group. Normally the owner is the domain login id and the group is apache. Your directory listing should look something like this:

ls -la /s101-2/home6/camosreptiles/

drwxr-xr-x camosreptiles apache 2048 18:44 classifieds
rch1231 169 Posting Shark

How about:

#!/bin/bash
if [ $# -eq 0 ]; then
echo "You must supply a base directory to seach."
echo "usage: myscript <dir>"
exit 0
fi
ls -laR $1

or simply
ls -laR /home

rch1231 169 Posting Shark

That is good depending on what address you pinged. Did you run the ping long enough for the internet to fail or during a period when it did fail so you could see if you are losing connectivity?
When you say the internet drops what exactly do you mean? Can you describe for me what you are experiencing in a little more detail?

rch1231 169 Posting Shark

re-start apache

rch1231 169 Posting Shark

Hello,

Depending on the BIOS version it is usually either the DEL, F1, F2 or F10 Keys to enter BIOS. Try this, when the system is booting watch the keyboard and the NUM Lock, CAPS Lock and Scroll Lock lights will flash.... as soon as that happens start hitting the DELETE key and see if it kicks into the BIOS, if not do the same thing again and try the other keys.
Another option is some BIOS use F12 as an option to go to a boot selection list.

rch1231 169 Posting Shark

Hello,

A couple of things to try.

Double check the cabling from where the internet connects to the house all of the way to the router making sure that all of the connections are tight and solid.

Check the router and modem for heat and see if one of them is very hot which could mean it is failing.

Run a continuous ping and see if the connection is dropping. On a Windows system get to a command prompt and enter:

ping /t 4.2.2.2 
or
ping /t google.com

The slash t will cause it to continue to ping till you do a CTRL C to stop it. Watch the times and see if the suddenly increase. If you can ping continually then your connection is ok you are just getting slowed down somewhere along the way.

Let me know how it goes.