Re: hopefully some help with AntiX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hello Glen.  Here are a couple of suggestions to try and figure out what's going on.

It sounds like the machine you're installing is up and running to some extent, i.e. you believe
it has enough network to go out and download packages from repositories.  
	If that's true, then I suggest building yourself a data file on the machine about its
state and then scp it back to your working machine for post mortom analysis.  In this way, you
can be smarter about what's really going on with it rather than just trying our suggestions and
getting more and more frustrated.

	Depending on the state of the machine, there are a couple of ways to approach this task.

1.  If you have the script command installed, 
I suggest:
cd /tmp
script

Then, do a dump of the dmesg output of the machine, a dump of a list of packages on the
machine, a dump of the network configuration on the machine, using such commands as ifconfig
and netstat, (if this is Ubuntu based, there's a command that replaces netstat that I don't
remember off the top of my head.)

The script command will capture your commands, and the output they generate, into a file called
typescript in the current directory (/tmp above).  When you've collected a bunch of data, exit
the shell you started with the script command and scp the file "typescript" back to your
working installed machine and look it over.  Keep in mind there will be some portions of it
that will look like giberish because it captures all the terminal escape sequences to format
the screen as well, but it will give you a lot more knowledge about what is going on.  Also, it
will tell you which commands worked and which didn't, and why.  

You may need to repeat this process of collecting a script file from the machine several times,
using the knowledge you gained from the last round, to try more informed commands.

2.  If the script command is not available, then create your own approximation of the script
command by doing the following:

cd /tmp
touch typescript
dmesg >> typescript 2>&1
. . .

Repeat commands, followed by >> typescript 2>&1

over and over again, as described above, to dump the output of both standard out and standard
error (path for error messages) into your hand made typescript file.

When you have collected enough initial data to try doing an analysis, scp the typescript file
back to your working machine and have a look at it.

Keep in mind that when you reboot the Antics machine, the /tmp/typescript file will be erased.

My apologies for not being familiar with the aptitude commands to give you examples of how to
get package listings from the machine directly.

Although, dumping the output of 
aptitude --help >> /tmp/typescript 2>&1
into your typescript file should give you pretty good directions on how to use it.

Hope this helps.

-Brian




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]

  Powered by Linux