Re: networking problem
I think that is the problem! I remember having to delete a public key when I was screwing around with it last time. Unfortunately I do not remember where this key is. On Mon, Jul 9, 2012 at 11:01 AM, James Dugger james.dug...@gmail.comwrote: Mike, Regarding the rsync problem through ssh, most likely your laptop is not accepting the ssh tunnel because the key pairs between the desktop and the laptop no longer match. depending on how you set this up this will either require changing or deleting the public key file or a user specific key-pair file on the laptop and resetting it. On Mon, Jul 9, 2012 at 7:57 AM, Michael Havens bmi...@gmail.com wrote: Lisa fantastic to hear from you! Yes, they are both in the same subnet, 192.168.0.X Yes. The laptop is wireless while the desktop is connected to the internet via a cable. As for allowing passthrough I can't say. I think so because it was working before my HD crashed on the desktop. Also rsync will run between the two computers. The problem is that I can't access the computer through Caja (formerly known as nautilus). Hm now when I try to rsync it gives me a 'connection refused' when I try to rsync from the desktop to the laptop. This must be because I installed a new OS on the laptop. What do I have to open to get ssh to work? On Sun, Jul 8, 2012 at 7:33 PM, Lisa Kachold lisakach...@obnosis.comwrote: Hi Mike? Are they on the same subnet? Is one a wireless and the other a wired? Does your router allow passthrough to the wired devices on your network? On Sun, Jul 8, 2012 at 3:07 PM, Michael Havens bmi...@gmail.com wrote: I think I figured out what my networking problem is. There is no route between the two linux macines in th routing table. Does that sound right? How do I add a route between the two if that is right? -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- (503) 754-4452 Android (623) 239-3392 Skype (623) 688-3392 Google Voice ** http://it-clowns.comSafeway.com Automation Engineer --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- James --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
RE: networking problem
Probably in ~/.ssh/ somewhere (I think known_hosts) From: plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Michael Havens Sent: Monday, July 09, 2012 2:12 PM To: Main PLUG discussion list Subject: Re: networking problem I think that is the problem! I remember having to delete a public key when I was screwing around with it last time. Unfortunately I do not remember where this key is. --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: networking problem
so then delete known_hosts or the contents thereof? ** I think that is the problem! I remember having to delete a public key when I was screwing around with it last time. Unfortunately I do not remember where this key is. ** ** --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: networking problem
Try ssh-ing from one host to the other. If the keys conflict with what's in known_hosts, it'll kick out the ssh-keygen line to easily remove the offending key. On Mon, Jul 9, 2012 at 2:21 PM, Michael Havens bmi...@gmail.com wrote: so then delete known_hosts or the contents thereof? ** I think that is the problem! I remember having to delete a public key when I was screwing around with it last time. Unfortunately I do not remember where this key is. ** ** --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- James McPhee jmc...@gmail.com --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: networking problem
I guess I'm doing something wrong! ssh 192.168.0.4 - connection refused then I try to ssh to the other computer and it won't accept my password. I even ran passwd to make sure I had the right pASSwd but that didn't help. On Mon, Jul 9, 2012 at 2:27 PM, James Mcphee jmc...@gmail.com wrote: Try ssh-ing from one host to the other. If the keys conflict with what's in known_hosts, it'll kick out the ssh-keygen line to easily remove the offending key. On Mon, Jul 9, 2012 at 2:21 PM, Michael Havens bmi...@gmail.com wrote: so then delete known_hosts or the contents thereof? ** I think that is the problem! I remember having to delete a public key when I was screwing around with it last time. Unfortunately I do not remember where this key is. ** ** --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- James McPhee jmc...@gmail.com --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Resize partition solution -and- problem.
First ... I'd like to say kudos to Larry (Dazed) and all the great guys that give their time so generously at the monthly Installfests, providing such excellent help. Last Saturday, while trying to shrink a 40-gig partition on my xp laptop so I could add Linux, we ran into a stumbling block with Gparted not working. Since then, I've been searching for other options. Knoppix CD had one called QTParted that seemed to work better than Gparted ... but it also did not work. Finally, I found a really slick, free download GUI partition editing bootable CD here: www.PartitionWizard.com/download.html ... with an iso named: pwhe7.iso When loading, it showed the name tinycore as its Linux platform, and when loaded it had the slickest (by far) graphical interface of any partition editor I've seen ... and it worked great and fast. I used 'chkdsk' and 'defrag' on the 40-gig hard disk and that seemed to show that only about 20% of the disk was used with no indicted disk usage beyond the 50% point on the disk. So, I decided to just shrink the xp partition to 22 gig which I though would avoid damaging any of the xp files on the disk. That left 16 gig free to install Linux, so I used 3.6 gig for / 3.9 gig for swap and the remaining 10 gig for /home Installation of Kubuntu 12.04 went flawlessly and it works fine ... however ... the GNU GRUB version 1.99-21-ubuntu3 boot that Kubuntu installed shows 5 entries of which only the first four work: - Ubuntu, with Linux 3.2.0-23-generic-pae - Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode) - Memory test (memtest86+) - Memory test (memtest86+, serial console 115200) - Microsoft Windows XP Professional (on /dev/sda1) But xp does not boot. Grub offers an option to edit each entry, and when I do that to the M$ entry, this is what I see: setparams 'Microsoft Windows XP Professional ()on /dev/sda1) insmod part-msdos insmod ntfs set root='(hd0,msdos1) search --no-floppy --fs-uuid --set=root 01CD5DCE2C361380 drivemap -s (hd0) ${root) chainloader +1 *** So *** what can I do to fix grub so it will boot xp? Or have I completely destroyed it? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: networking problem
Mike, First reinitialize the known_hosts file by the following from your ssh client box: cd ~/.ssh rm known_hosts ssh username@IP address of ssh host box - Ubuntu will ask you for confirmation of your request to setup a key on the server - Type yes or 'y' which ever it asks for type in password when prompted - you should now have prompt for username@ip address of ssh host box:$ This should rewrite the known_hosts file in your user directory on the client box At this point you should be able to ssh into your host by using the username@ip address of host box If you can't than perhaps you setup up public keys for authentication. If you have public keys setup than you should see 2 files named id_rsa and id_rsa.pub on your ssh client machine in a directory named /home/username/.ssh. id_rsa is your private key that needs to remain here. The id_rsa.pub is the public key that needs to be copied to your ssh server. If you see the id_rsa.pub file and you still know your passphrase that you setup (if you set one up) than it is a matter of appending id_rsa.pub into a file called authorized_keys located in ~/.ssh on the host computer. If you only have the single client connected to the host than you can rename the authorized_keys file on your host and append id_rsa.pub to a new version. NOTE if you do not see the id_rsa.pub file and only have the id_rsa file than you will need to generate a new set of public keys (see Method 2). Method 1 If you have been able to establish simple ssh between the 2 boxes, from the client computer (where id_rsa.pub is found) it might be as simple as typing the following: ssh username@host ip address cat ~/.ssh/authorized_keys ~/.ssh/id_rsa.pub or after establishing an ssh connection typing the following: cat ~/.ssh/authorized_keys ~/.ssh/id_rsa.pub If ssh is not working you will need to get the id_rsa.pub onto the host computer and append it from there. Logon to host computer as user to be authenticated and copy the file using scp command and place it in the ~/.ssh directory. Method 2 (New keys) To generate new keys type the following from the client box (do not do this using sudo or as root but as your own username): ssh-keygen -t rsa - Ubuntu will prompt you for the location to place the key pairs just pick the default - You will be prompted for a passphrase - You will be asked for passphrase confirmation Then copy the id-rsa.pub file to the host computer by Method 1. -- James --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
OT: Software Licensing Fees
Hi All, I'm in a bit of a quandary about fees I'm receiving from a long time client and thought I'd tap the PLUG brain-trust to get some input. This situation is this: A few years ago I developed a PHP application that a client uses to run their business (its a typical LAMP platform). Without getting into tedious details, this software application is used to run their entire business. It is understood that the software ownship resides with me and they are paying for its use - licensing it, if you will. At the start of this project, we agreed upon a certain percentage of gross revenue that I would receive as payment for use of this software. In return, I would maintain the software, provide various updates or additions, and some light server admin work to keep the application running. This arrangement has been working quite well and the business relationship is excellent. However, I feel now that the percentage I receive is too low (it hasn't been changed since the start of this venture). I have broached the subject of having to update our arrangement, but was met with some resistance. I wanted to ask fellow consultants/contractor/software devs what is the going rate for such an arrangement. Namely, if you are licensing a software product to a client for their use, what is a reasonable percentage of gross revenue a business should expect to pay. Especially, a software product that is the core component of their business without which the business wouldn't exist. Any thoughts would be *very* appreciated. Thanks, Peter --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: Resize partition solution -and- problem.
Hi Joe, On Mon, Jul 9, 2012 at 3:47 PM, j...@actionline.com wrote: First ... I'd like to say kudos to Larry (Dazed) and all the great guys that give their time so generously at the monthly Installfests, providing such excellent help. Last Saturday, while trying to shrink a 40-gig partition on my xp laptop so I could add Linux, we ran into a stumbling block with Gparted not working. Since then, I've been searching for other options. Knoppix CD had one called QTParted that seemed to work better than Gparted ... but it also did not work. Finally, I found a really slick, free download GUI partition editing bootable CD here: www.PartitionWizard.com/download.html ... with an iso named: pwhe7.iso When loading, it showed the name tinycore as its Linux platform, and when loaded it had the slickest (by far) graphical interface of any partition editor I've seen ... and it worked great and fast. I used 'chkdsk' and 'defrag' on the 40-gig hard disk and that seemed to show that only about 20% of the disk was used with no indicted disk usage beyond the 50% point on the disk. So, I decided to just shrink the xp partition to 22 gig which I though would avoid damaging any of the xp files on the disk. That left 16 gig free to install Linux, so I used 3.6 gig for / 3.9 gig for swap and the remaining 10 gig for /home Installation of Kubuntu 12.04 went flawlessly and it works fine ... however ... the GNU GRUB version 1.99-21-ubuntu3 boot that Kubuntu installed shows 5 entries of which only the first four work: - Ubuntu, with Linux 3.2.0-23-generic-pae - Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode) - Memory test (memtest86+) - Memory test (memtest86+, serial console 115200) - Microsoft Windows XP Professional (on /dev/sda1) But xp does not boot. The Windows bootloader stores information about how big the partitions on the hard drive are. If you change a partition size, Windows checks the new partition size at the very next reboot (using either chkdsk in XP or a new utility in Vista/Windows 7). It then writes that info to its bootloader configuration file. If you start mucking around with other partitions before it has a chance to record the changes and reset itself accordingly, the Windows bootloader will not be able to read the partition table properly (and will then refuse to boot entirely). Since Grub boots Windows merely by chainloading the Windows bootloader, if the Windows bootloader doesn't work (i.e. doesn't recognize its own changed partition), then you are sunk. If you ignore these warnings, I almost guarantee you will fry your Windows partitioning scheme and be unable to boot up Windows. Reference: http://ubuntuguide.org/wiki/Multiple_OS_Installation#Using_Grub_Legacy_for_the_boot_partition Grub offers an option to edit each entry, and when I do that to the M$ entry, this is what I see: setparams 'Microsoft Windows XP Professional ()on /dev/sda1) insmod part-msdos insmod ntfs set root='(hd0,msdos1) search --no-floppy --fs-uuid --set=root 01CD5DCE2C361380 drivemap -s (hd0) ${root) chainloader +1 Windows partitions It is easiest if your Windows partition is the first one installed. This is because the Windows bootloader looks for Windows in the first partition. Also, Windows installers are unpredictable and can overwrite anything that is already installed on the hard drive. If you have a brand new computer with no OS pre-installed, partitioning and OS installation is much easier. Create all your partitions before installing Windows. Make the first partition NTFS (or the less secure FAT32, if you wish), intending it for the Windows installation. Then divide the remainder of the hard drive (using GPartedhttp://ubuntuguide.org/wiki/Ubuntu:All#GParted_Partition_Manager) using the partitioning scheme outlined abovehttp://ubuntuguide.org/wiki/Multiple_OS_Installation#Partition_design. Generally, a retail boxed version of Windows (instead of an OEM or backup copy) installs quite happily to the first pre-configured, pre-sized partition. Go ahead and install it there, then skip on ahead to installing the Linux OSshttp://ubuntuguide.org/wiki/Multiple_OS_Installation#Install_your_first_Linux_OS. Windows XP (or earlier) You *can* use GPartedhttp://ubuntuguide.org/wiki/Ubuntu:All#GParted_Partition_Managerto resize a Windows XP partition directly (without needing re-installation), but it is still best to reboot Windows XP twice after resizing its partition (before taking any other steps with GParted). Review this tutorialhttp://www.howtogeek.com/howto/windows-vista/working-around-windows-vistas-shrink-volume-inadequacy-problems/'s section Making Shrink Volume Work. Although Windows XP does not have a shrink volume utility, to resize the partition using GParted, these steps must be taken anyway. Specifically: - Use the Disk Cleanup Wizard to remove unnecessary files. - Uninstall deadwood programs and unneeded/unwanted Windows Components
Re: networking problem
Hi Mike, On Mon, Jul 9, 2012 at 7:57 AM, Michael Havens bmi...@gmail.com wrote: Lisa fantastic to hear from you! Yes, they are both in the same subnet, 192.168.0.X Yes. The laptop is wireless while the desktop is connected to the internet via a cable. As for allowing passthrough I can't say. I think so because it was working before my HD crashed on the desktop. Also rsync will run between the two computers. The problem is that I can't access the computer through Caja (formerly known as nautilus). Hm now when I try to rsync it gives me a 'connection refused' when I try to rsync from the desktop to the laptop. This must be because I installed a new OS on the laptop. What do I have to open to get ssh to work? That means that your connection was refused. So, you probably have strict checking on in your /etc/ssh/sshd_config and you named your new system the same as the old one. You can remove your known_hosts file from ~michael/.ssh/known_hosts file. You can turn off strict checking also in the /etc/ssh/sshd_config file (not recommended, even if you ARE on a trusted network). On Sun, Jul 8, 2012 at 7:33 PM, Lisa Kachold lisakach...@obnosis.comwrote: Hi Mike? Are they on the same subnet? Is one a wireless and the other a wired? Does your router allow passthrough to the wired devices on your network? On Sun, Jul 8, 2012 at 3:07 PM, Michael Havens bmi...@gmail.com wrote: I think I figured out what my networking problem is. There is no route between the two linux macines in th routing table. Does that sound right? How do I add a route between the two if that is right? -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- (503) 754-4452 Android (623) 239-3392 Skype (623) 688-3392 Google Voice ** http://it-clowns.comSafeway.com Automation Engineer --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- (503) 754-4452 Android (623) 239-3392 Skype (623) 688-3392 Google Voice ** http://it-clowns.comSafeway.com Automation Engineer --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: OT: Software Licensing Fees
I don't quite understand what is going on. Has their gross revenue remained flat for all these years, do you are not making add much as before? Or, are you now thinking that the percentage is too low? Are you spending more time maintaining their servers and performing updates than when you started? Are you creating new functionality for them? Mark On Jul 9, 2012 7:16 PM, AZ Pete p...@cactusfamily.com wrote: Hi All, I'm in a bit of a quandary about fees I'm receiving from a long time client and thought I'd tap the PLUG brain-trust to get some input. This situation is this: A few years ago I developed a PHP application that a client uses to run their business (its a typical LAMP platform). Without getting into tedious details, this software application is used to run their entire business. It is understood that the software ownship resides with me and they are paying for its use - licensing it, if you will. At the start of this project, we agreed upon a certain percentage of gross revenue that I would receive as payment for use of this software. In return, I would maintain the software, provide various updates or additions, and some light server admin work to keep the application running. This arrangement has been working quite well and the business relationship is excellent. However, I feel now that the percentage I receive is too low (it hasn't been changed since the start of this venture). I have broached the subject of having to update our arrangement, but was met with some resistance. I wanted to ask fellow consultants/contractor/software devs what is the going rate for such an arrangement. Namely, if you are licensing a software product to a client for their use, what is a reasonable percentage of gross revenue a business should expect to pay. Especially, a software product that is the core component of their business without which the business wouldn't exist. Any thoughts would be *very* appreciated. Thanks, Peter --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
g++
I am reading a C++ book on Kindle and I am enjoying it. I could just download the free Microsoft C++ compiler and IDE, but I would like to work in a Linux (Ubuntu) environment. I have obtained the g++ package. I have obtained Eclipse, which seems to have a C++ plug-in. Is there a good, recent gcc|g++ book I can read? Failing that is there a way to get the documentation on my tablet (perhaps a PDF)? How do I get the plug-in for Eclipse? How do I integrate g++ and Eclipse? (You can see that I'm angling for an IDE. If I can't get the IDE to work it's back to Microsoft.)--- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: g++
Well Googling g++ and eclipse comes up with a ton of good hits. Some of them appear to be some handy walkthroughs. On Jul 9, 2012 8:27 PM, Trent Shipley trent_ship...@yahoo.com wrote: I am reading a C++ book on Kindle and I am enjoying it. I could just download the free Microsoft C++ compiler and IDE, but I would like to work in a Linux (Ubuntu) environment. I have obtained the g++ package. I have obtained Eclipse, which seems to have a C++ plug-in. Is there a good, recent gcc|g++ book I can read? Failing that is there a way to get the documentation on my tablet (perhaps a PDF)? How do I get the plug-in for Eclipse? How do I integrate g++ and Eclipse? (You can see that I'm angling for an IDE. If I can't get the IDE to work it's back to Microsoft.) --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: networking problem
Mike, By default the sshd_config file in Ubuntu 12.04 LTS (If that is what you are using Debian and Mint should work the same) in /etc/ssh should have the following defaults set under # Authentication: StrictMode yes RSAAuthentication yes PubkeyAuthentication yes You should not have to change any of these settings. With these 3 settings set to yes RSA, and public keys are automacally activated for use. Ubuntu will first search for an authorize_key in the ~/.ssh directory if it finds it it will try and resolve the id_rsa key pairs. If these keys no longer match then you will get a failed to connect error in the terminal. Only IF it doesn't find an authorize_key will it default to the known_host file. So If you are still having issues connecting and you see that you have an authorize_key file in ~/.ssh then try renaming it as well as removing the known_hosts and restarting ssh either by: sudo /etc/init.d/ssh restart or sudo service ssh reload Then try a basic ssh into the host from the client to reestablish the known_host file. If you are able to log on then proceed to generate new keys per Method 2 and copy them to the host machine by Method 1. Goog luck -- James --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: networking problem
One other quick item, in the /etc/ssh/sshd_config file check to see of the following line is comment out or not: AuthorizedKeyFile%h/.ssh/authorized_keys (default is commented out) If it isn't commented out and you still can't access simple ssh then comment it out and restart ssh. Once you have simple known_host resolution and want to reestablish keys than remove the # write and save the sshd_config and restart ssh -- James --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: Resize partition solution -and- problem.
Joe, I do not know that partitioning tool so I do not know for sure it can be trusted to safely shrink the ntfs partition on which your XP was running. What should have happened if it did the right things is that when you next booted XP, the XP bootloader would note the change in the partition size and run chkdsk to check it out and then XP would load. So here are a couple of questions: 1 - Did you reboot XP after resizing the partition but before installing kubuntu (not requiredm but tell us so we know) 2 - When you say the 5th GRUB menu item (XP) does not work, what do you mean. In other words, what does and does not happen. Is there any output such as error messages. or ...? On Mon, Jul 9, 2012 at 3:47 PM, j...@actionline.com wrote: First ... I'd like to say kudos to Larry (Dazed) and all the great guys that give their time so generously at the monthly Installfests, providing such excellent help. Last Saturday, while trying to shrink a 40-gig partition on my xp laptop so I could add Linux, we ran into a stumbling block with Gparted not working. Since then, I've been searching for other options. Knoppix CD had one called QTParted that seemed to work better than Gparted ... but it also did not work. Finally, I found a really slick, free download GUI partition editing bootable CD here: www.PartitionWizard.com/download.html ... with an iso named: pwhe7.iso When loading, it showed the name tinycore as its Linux platform, and when loaded it had the slickest (by far) graphical interface of any partition editor I've seen ... and it worked great and fast. I used 'chkdsk' and 'defrag' on the 40-gig hard disk and that seemed to show that only about 20% of the disk was used with no indicted disk usage beyond the 50% point on the disk. So, I decided to just shrink the xp partition to 22 gig which I though would avoid damaging any of the xp files on the disk. That left 16 gig free to install Linux, so I used 3.6 gig for / 3.9 gig for swap and the remaining 10 gig for /home Installation of Kubuntu 12.04 went flawlessly and it works fine ... however ... the GNU GRUB version 1.99-21-ubuntu3 boot that Kubuntu installed shows 5 entries of which only the first four work: - Ubuntu, with Linux 3.2.0-23-generic-pae - Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode) - Memory test (memtest86+) - Memory test (memtest86+, serial console 115200) - Microsoft Windows XP Professional (on /dev/sda1) But xp does not boot. Grub offers an option to edit each entry, and when I do that to the M$ entry, this is what I see: setparams 'Microsoft Windows XP Professional ()on /dev/sda1) insmod part-msdos insmod ntfs set root='(hd0,msdos1) search --no-floppy --fs-uuid --set=root 01CD5DCE2C361380 drivemap -s (hd0) ${root) chainloader +1 *** So *** what can I do to fix grub so it will boot xp? Or have I completely destroyed it? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- Dazed_75 a.k.a. Larry Please protect my address like I protect yours. When sending messages to multiple recipients, always use the BCC: (Blind carbon copy) and not To: or CC:. Remove all addresses from the message body before sending a Forwarded message. This can prevent spy programs capturing addresses from the recipient list and message body. --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss