I tried this with expect, but it didn't work: it closed the connection at the end.
Can we run a script via ssh which will log into remote machines, run a command, and not disconnect?
So ssh in a machine, cd to such and such a directory, and then run a command, and stay logged in.
-Jonathan
(expect I used)
#!/usr/bin/expect -f
set password…
I'm trying to have a dual boot Debian / Mac OS X on my Macbook Pro.
I boot on the Debian install CD, the first steps are fine until "Detect and mount CD-ROM". It seems that the installer cannot find the cdrom device.
I ls-ed /dev and there is no "cdrom" in it.
Does anyone know about this problem ?
I'm installing Debian using the Live CD with GNOME and the non-free packages. The internet works just fine when using the live CD, but when you try to open the installer and select a network, it gives me the error of "Failure of key exchange and association". I've put everything in right, and tried multiple times. However, it never works. Am I…
Running Windows 7 x64. DVD drive is a BenQ DC DQ60 ATA dvd-dl rw. Everything functions correctly in linux, and I can boot to cd/dvds, so the drive itself does work.
Symptom: when I insert any CD or DVD (burned or retail), the drive spins up the disk, and (usually) displays the disk title in My Computer, but just continues to spin…
I've got a copy of WinXP off of MSDNAA, with a key. I've mounted it to my CD-drive, and now I'm trying to make it in to a VM.
The problem is, it seems that the thing is constantly trying to connect to a DHCP server, fails to connect and then decides no operating system was found.
The file I got off MSDNAA was an .img file, so I…
How can I install make with wget on CentOS?
I tried:
cd /tmp wget ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz
tar xfz make-3.81.tar.gz
cd make-3.81 PATH=/usr/local/bin:/usr/bin:/bin
./configure patch -p1<make-3.81-cygwin.patch patch -p0<make-3.81-cygwin_MAKE_expansion.patch PATH=/usr/local/bin:/usr/bin:/bin
make…
I am trying to copy a file from my other computer, to another computer. (both running Ubuntu 9.10)
So say:
I've ssh'ed into the other computer;
i 'cd' to the directory; and i entered cp File.zip /home/me/Desktop as file.zip is located in the directory i just used cd with.
Now, it gives me the following error message:…
Norton made a misdiagnoses, as usual, when it found a "virus" on a CD. Of course, the CD is read-only so Norton couldn't destroy it, which made Norton sad. Problem is, I can't get rid of the stupid warning message. Anyone know how?
Every time I reopen the MSYS console (not cmd.exe) I find that the aliases that I have added to the shell are cleared. How can I save my aliases so that I do not to reenter them on every use?
For example:
$ alias desktop="cd=C:/Users/Superuser/Desktop"
$ alias
clear='clsb'
desktop='cd=C:/Users/Superuser/Desktop'
…
Creating a limited user account and want to restrict USB and CD drive access.
Hence want to enable gpedit.msc on the limited account and disable access to USB and CD drive
and then disable gpedit on the limited account.
How can I achieve this?
I have a Debian server in the form of a Raspberry Pi running Raspian. It has a USB Wi-Fi connection. Sometimes it would not respond when I SSH to it, and would require a reboot. I found something in syslog that may indicate what the problem is, can someone help with what this means?
Dec 16 15:34:17 raspberrypi…
I installed Git on Ubuntu Lucid (latest) manually as following.
cd ~/tmp
wget http://kernel.org/pub/software/scm/git/git-1.7.0.6.tar.gz
tar -xzvf git-1.7.0.6.tar.gz
cd git-1.7.0.6.tar.gz
./configure
sudo make
sudo make install
Now, how can I completely uninstall it?
I would like my TrueCrypt virtual drive to act as a newly inserted USB drive or CD/DVD by executing commands in the partition's autorun.inf file.
I've read several suggestions online including creating a .bat file or installing software so Windows will think this is a CD, but I'd like to know the easiest and…
I'm running XP and I've tried to install Windows 95 and 98 with the official CDs in Virtualbox. Both of them give the error:
FATAL: no bootable medium found! System Halted
I've mounted the CD drives within Virtualbox and also tried to change the boot order so that the CD drive is first but to no avail.…
Hi, I have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profile
The boot profile before making the changes is
linux apm=power-off vga=791 initrd=minirt quiet
The boot profile after making the change become
linux…
Hello, I've built a new machine:
ASUS M4A785TD-V EVO
OCZ DDR3 PC3-12800 (2x 2gb)
Amd Athlon II X4 630 Box AM3
I tried memtest with hiren boot cd (tested only 3gb) and showed no error. Then I tried the built in ram test from the win7 cd (2 passes no errors). I also deleted with a 0 pass the hard drive.…
On a lenovo ThinkServer RD240 running firmware 1.20 with the latest BNC software, using the remote console to redirect a CD-ROM fails with the error: "CD-ROM redirection is not supported on this platform". Similar error for forwarding an iso image, foppy and USB drive.
I tried executing the management…
i just used roxo to system restore my laptop from its first saved state. now it won't boot up. it just says. "bootmgr compressed"
what do i do with this.
FYI my laptop is an HP Mini which do not have a cd rom. so Booting up windows XP from cd to fix it won't help me..
Please Help me solve this…
I am trying to install this cheap old Japanese game I've bought but I can't get past the Installer.
The CD contains a File named D:\[Japanese Characters].msi and Installshield running under wine is unable to find it giving me error 1155.
I have tried mounting the CD with iocharset=sjis as well…
I have a CD that I would like to generate a BIN file from (with a CUE file to accompany it).
I used ImgBurn and UltraISO to to generate two BIN files. However, I have found out that BIN files generated by these programs are not identical (different file size).
So, what is the difference…
Hi there,
how to recover Ubuntu after installing Windows Vista x64? Vista is installed on another HDD partition, however it has probably overwritten the GRUB. I don't have the Ubuntu Live CD. How to do that without the CD?
Thank you in advance for the reply!
Why do they have different names for the same command, listing a directory? Surely, they could have talked to each other and agreed on one common name, such as for example cd which is the same for both unix and dos.
This decision to have different names has created many headaches for…
[A LITTLE BACKGROUND]
On all modern Dell computers pushing the F12 on bios boot will allow for a screen that lets you choose what boot option you need. For example if I want to boot off of a USB flash drive to boot into a live Linux distribution in order to clean virus's on netbooks…
I have ISO images for both Ubuntu and Windows XP. I want to host both of them on a USB drive so that I can install either without needing installation CDs (I don't have a CD drive). How can I do that?
SO, I want to have both Windows XP and Ubuntu on my USB Drive so that i could…