General TC > General TC Talk
Get APPS with no internet on TC laptop? Load APS on boot from auto-mounted USB?
Juanito:
--- Quote from: grandma on April 25, 2011, 04:58:11 PM ---Once that's done, perhaps I can return to Juanito's method of getting the USB drive to work as his tutorial suggests, as right now I am still getting errors that suggest the system can't see it - likely because no USB drivers are loaded - an issue of becoming more familiar with the kernel, boot, grub and how Linux sees all these files.
--- End quote ---
No drivers are necessary in tc to access usb sticks/drives - you can get more data on possible errors from "dmesg | tail -n", where n is the last n lines or "dmesg| grep usb"
grandma:
REBOOT - select GRUB - Go to NTFS Svolli method - that works on hda1/tce/ folders described by Svolli.
I will retry putting something in /opt/bootlocal.sh - but thus far haven't got that to work although when I manually type wireless-2.6.33 etc in the folder, that works.
will also look for different file managers - that thing is a bit of a bear - may be better in tcz repo
Juanito:
A couple of questions:
1. Are you storing files on an ntfs partition or a linux partition? You will experience several (many) problems in linux if you use files stored on an ntfs partition.
2. Have you stored your extensions locally? If you have stored them locally are they in a /tce folder on a linux partition?
3. Can you successfully make and restore a tinycore backup on/from a linux partition?
If the answer to all three of the above is yes, then it should be easy to solve all of your problems. If the answer to some/all of the above is no, then it is going to be more difficult.
--- Quote from: grandma on April 26, 2011, 07:31:06 AM ---I will retry putting something in /opt/bootlocal.sh - but thus far haven't got that to work although when I manually type wireless-2.6.33 etc in the folder...
--- End quote ---
If you can backup/restore in tinycore to a linux partition then I recommend to do something like this in /opt/bootlocal.sh:
--- Code: --- /opt/script1.sh
/opt/script2.sh
...
/opt/scriptn.sh
--- End code ---
You can then store and backup/restore your scripts in opt and if bootlocal.sh gets corrupted the scripts themselves will still be OK.
--- Quote ---a) go to terminal, cd to the folder and type the .sh or .txt - doesn't matter what I call it - it says it is not found, but I type ls -l and there it is in my folder?
--- End quote ---
Since /opt is in the default path, scripts in /opt should run from anywhere. If you cd to a folder not in the path, you would need to type "./script.sh" to run a script. To open a text file, you would need to type "editor file.txt"
--- Quote ---a) I need ALL PERMISSIONS and RESTRICTIONS REMOVED so anyone - anywhere - anytime - can click a script and it runs.
--- End quote ---
whilst not recommended, you can do this for a file/folder on a linux partition
--- Quote ---b) I need to know that when I click a script I created with an editor it RUNS. I can't spend 2 hours trying to GET ONLINE so I can go find a CHOWN tutorial - but that's where I am headed now.
--- End quote ---
if you use a linux partition, you only need to use chown once
--- Quote ---c) I need the environment I log into - as soon as this fires up - to mount everything - have the environment ready to work - going -
--- End quote ---
This can be done once your backup/restore from a linux partition to a linux partition is working
--- Quote ---d) and what else is there besides FILE MANAGER? I can't see 80% of my files in there - the left pane is so small the files are all pressed to the right margin. Busy Box is - for all intents and purposes - perhaps a wonderful tool for embedded software and completely, 110% useless for any sort of office in this century. Absolute nightmare.
--- End quote ---
There are many file managers in the extensions repo - I use emelfm (as opposed to emelfm2), but there are several more and less sophisticated options available via apps browser.
grandma:
/mnt/hda1/opt (the NTFS partition) AND
/mnt/hda2/opt (the FAT32 pure TC use partition) AND NOT
/RAM/opt - since that is transient - right?
Will try the file managers you suggest.
JUANITO: 1. Are you storing files on an ntfs partition or a linux partition?
ANSWER: BOTH via these THREE methods.
=====================
BOOT 1) W2K USING BOOT.INI/NTLDR TO NTFS
I can read/write to the:
C:/hda1 - NTFS (which also has the Svolli boot files)
G:/hda2 - FAT32 (which has the TC and MC normal boot files)
C: & G:, along with 2 other partitions are all on the same physical hard drive
Also:
E:/sda1 - FAT32 Main USB Flash
H:/sdb1 - FAT32 Experiment/wipe/swap to other laptop USB Flash - basically my NETBOOTIN/LINUXLIVE Pen Boot on other "hot shot neaer new" laptop which is currently dead - can't get partitions fixed there. The Arch Install wasted that $1,100 machine and no amount of attempts, recovery distros - name it - have gotten the partitions straightened out yet.
BOOT 2) GRUB - TO TC VERSION-SVOLLI ON C:\TCE
All of the above - plus I can see the Linux partitions and can mount everything.
The wifi has to load and stay online and scan and if it drops, re-connect, fighting the cross-traffic, verifying it has the right SSID (channel verification is not enough) and completing each test cycle with a clear PING -C4 to google or elsewhere.
then Firefox needs fire up every time the system boots, since 90% of the time I am online anyway.
and Music to work (I miss my tunes and flash videos badly - I am a classical pianist and live by this stuff when working)
and Perl to work (we already did that so we know we can)
and Skype to work (haven't tried that yet - but its crucial or my secretary sorta flips a lid if she can't reach me)
and FTP so I can continue to get to my 2 co-lo boxes using the FTP scripts I already have - this is where I do 90% of my actual work
and a PDF reader (I don't do Word or Excel) - I have a browser that instantly makes a PDF on print and a utility, but need a Linux based reader
and GIMP (love it, spend a lot of time in there, and its a rockNroll Linux ap)
and GNUMERIC (basic spread sheets is really all I need - I have engineers who like the fancy macro stuff of Excel - I don't go there - I'd rather write my own code)
and a "VNC-Like" utility that gets me onto another box via a Windows Server 2003 (I hate that box but it ain't mine) - which uses "Windows Remote Desktop Connection" (hate that package too - prefer VNC). That web master - a good friend of mine - is willing to migrate that stuff and entire box to Linux/TC once I get the TC Web server and my perl scripts there working
and/or (worst option to me) a W2K Emulator on my laptop that runs whatever doesn't work in Linux to run in a "W2K Shell" where Linux is the primary boot. That would work also but would probably muck up TC.
OUT OF THESE, MY PREFERRED METHOD - keep Windows 2000 on the Dell laptop. Turn it off and never turn it on again. Make that a 100% Linux box.
A VIA board uses 1/10th the power of the laptop and that is another issue since power ere is always a struggle. Fortunately its been very windy these days and I make wind generator rigs...heh heh
I learned CHMOD -rwx-rwx-rwx *.*
I did that to the entire OPTIONAL directory and POOF - my .sh files began executing and I could see them.
I sudo iwlist wlan0 scan >wifiscan.txt, then pop open editor, see if antenna was seeing the SSID I logged into - sometimes yes, other times no.
- if there, then re-run sudo iwconfig wlan0 essid "MyHotSpot" - sleep 10 - sudo udhcp -b -i wlan0 then do a ping -c4 test
I'd go back to Firefox (which was open at a page not found) - click RETRY and wait wait wait - ka-ching - got it - could go to the next page.
I need to automate wifi scan in a background LOOP/TEST cycle and threshold fragment. Have an article on setting that with iwconfig I am going to go try
I assume this should be the folder structure of Linux
/usr
/etc
/bin
JUANITO: 3. Can you successfully make and restore a tinycore backup on/from a linux partition?
Haven't tried that and if I did, I'd be booting NTFS/W2K and using DOS XCOPY (verysad).
I executed my -FIRST EVER SUCCESSFUL- CP cross-directory command last night.
JUANITO: If the answer to all three of the above is yes, then it should be easy to solve all of your problems. If the answer to some/all of the above is no, then it is going to be more difficult.
Yes - its a tough nut to crack - and I think the problem areas right now:
The WIFI SCANNING UTILITY to restore/keep the system online no matter what - will help and Firefox - dumped Opera - FF works with TC, has never crashed.
jur:
I wonder if most of the problems originate from trying to make linux work on a win partition - ie file permissions not supported. I came unstuck there pretty quickly as well, trying to make my ~HOME on a FAT32 partition. Errors galore.
Instead of wrestling with this thing as you have, why not go the easy way out and use ext3 fs?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version