KP
Jr. Member

Offline
Posts: 32
|
 |
« on: February 13, 2011, 06:22:59 PM » |
|
Oh No!
I was SO HAPPY to get my new modem working!
I junked my old system, and put the main drive as a slave in my new box!
Got the new system all fixed up!
IT WAS TIME!
I TURNED IT ON!
The old drive came up fine and I could see my data to transfer!
The red flag on my modem link didn't even bother me, now that I am a sophisticated linux user!
NOT UNTIL I CLICKED IT!
Back to not working!
So I tore my new system apart and pulled out the drive to rebuild the old system.
Boy was I glad when it booted up!
NOW I'M BACK ONLINE AGAIN!
Thank god! It was real scary being cut off from everyone!
SO WHAT HAPPENED?
It was working fine and then it wouldn't!
I'm online now with the same line pclinuxos won't connect to, again.
I thought we were doing a permanent fix. Do I have to input console commands every time I want to connect? If so, what are they?
What obvious thing am I overlooking!
At least I have recovered my cluelessness!
I was all ready to celebrate my new system!
I'd still like to do that, but I've got to get it working first!
O --- ) \
|
|
|
|
|
Logged
|
|
|
|
|
kolosus
|
 |
« Reply #1 on: February 14, 2011, 06:52:11 AM » |
|
I was so happy to see your other thread marked "Solved". Now we're back to the drawing board. But it will be much simpler this time. We just have to identify the correct commands that makes your modem operational and set it up so that the commands are auto run during boot.
Hold on. Someone will be along shortly. And in the words of Douglas Adams, "Dont Panic".
|
|
|
|
|
Logged
|
Linux User # 435130
For what is evil but good tortured by its own hunger and thirst? Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters. The PROPHET, by Kahlil Gibran
|
|
|
KP
Jr. Member

Offline
Posts: 32
|
 |
« Reply #2 on: February 14, 2011, 10:07:20 AM » |
|
> Re: Oh No! « Reply #1 on: Today at 06:52:11 AM » Reply with > quoteQuote I was so happy to see your other thread marked "Solved".
You and me both!
> Now we're back to the drawing board. But it will be much simpler this > time. We just have to identify the correct commands that makes your > modem operational and set it up so that the commands are auto run > during boot.
That makes sense to me! > Hold on. Someone will be along shortly. And in the words of Douglas > Adams, "Dont Panic".
WAY COOL!
Panic and despair was yesterday! Now I'm back to hope again!
THANKS SO MUCH!
O --- ) \
|
|
|
|
|
Logged
|
|
|
|
|
Old Uncle
|
 |
« Reply #3 on: February 15, 2011, 08:44:49 AM » |
|
Nice lyrics... music is missing!
I guess, if you give some specs of your problem someone will definitely sort it out for you  Good luck my friend  Old Uncle
|
|
|
|
|
Logged
|
Dell Vostro 1500, Intel Core 2 Duo T5270, 1.4GHz, 800Mhz 2GB (2x1024MB), DDR2, 667MHz 2 DIMM 128MB NVIDIA GeForce 8400M GS Fujitsu 120GB 5400RPM SATA 15.4 Wide Screen XGA LCD PCLinuxOS Thanks Texstar for PCLinuxOS!
|
|
|
|
kolosus
|
 |
« Reply #4 on: February 15, 2011, 09:35:13 AM » |
|
You and me both! That makes sense to me! WAY COOL!
Panic and despair was yesterday! Now I'm back to hope again!
THANKS SO MUCH! O --- ) \
KP. Have you had any progress? I have a few ideas up my sleeve. Can you retrace your steps on the command line and see which if you can duplicate your modem into working? If you can get it working again then you should reboot and try again... but this time write down the commands that you have to use. Next we'll add those necessary lines to a file so that they are auto executed during boot up and you dont have to type it out by hand everytime you restart.
|
|
|
|
|
Logged
|
Linux User # 435130
For what is evil but good tortured by its own hunger and thirst? Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters. The PROPHET, by Kahlil Gibran
|
|
|
KP
Jr. Member

Offline
Posts: 32
|
 |
« Reply #5 on: February 15, 2011, 04:01:11 PM » |
|
WOW!
Lots to report!
I was SO HAPPY when my new modem suddenly worked perfectly!
Then I was STUNNED when it wouldn't at all, and I was completely cut off.
Without my old box, I couldn't even find out how I had fixed it!
Then I was RELIEVED when I got my old box rebuilt and it booted up!
But I still had no confront on what went wrong and how to fix it!
Today I started to function again.
I went back through the Death by Linux? thread and #58 seemed to be the critical post:
=============================== First command: rm -f /dev/modem
Second command: ln -s /dev/ttyACM0 /dev/modem ===============================
I went to the new box and tried it out again! IT WORKED PERFECT!
So I got busy and junked the old box, AGAIN! I put the new one together AGAIN, and fired it up! IT WORKED!
Then I got REALLY ambitious!
I've been trying to copy my email files for months now! It's been a TOTAL disaster! Everyone wrote to tell me how easy it was! But every time I tried I crapped out! Email folders that I could see JUST FINE in Thunderbird the system could not open or read to copy! I even found a local ISP who generously tried to help me. He copied a lot of my emails, but still could not open or read a bunch? Couldn't figure it out.
CLUELESS AS USUAL!
I figured I had a big job just to recover all my email!
But when I tried to copy them on the new system, in a few seconds it said "all done!" I couldn't believe it! IT WAS TOO EASY!
I've been fighting with this for months!
But the files that just would NOT open to copy before, seem to be all there!
I tried to copy my firefox files too: NOW ALL MY URL'S AND PASSWORDS WORK TOO!
JUST LIKE EVERYONE TOLD ME, BUT I COULDN'T GET TO WORK!
WHAT WAS WRONG?
============== WHO CARES NOW? ==============
I'm working on the new system!
I seem to have all my bookmarks and emails!
I'll probably even get my usenet newsgroups access restored today!
I've got 1.5 gigs of memory too, so there are no chronic 20 second screen freezes all the time!
I'VE FINALLY COME TO THE RIGHT MILLENIUM!
I've been dreaming of this for a decade now!
IT'S FINALLY HERE!
THANKS TO EVERYONE WHO HELPED!
If someone could tell me how to do an "autoexec.bat" with those two commands above, I wouldn't even have to think about it now.
I realize that I actually answered my own question: Death by Linux? Oh No! LIFE BY LINUX!
THANKS FOR EVERYTHING!
WHAT A GREAT PLACE!
O --- ) \
|
|
|
|
|
Logged
|
|
|
|
Old-Polack
Administrator
Hero Member
   
Offline
Posts: 9695
----IOFLU----
|
 |
« Reply #6 on: February 15, 2011, 04:48:12 PM » |
|
Open a terminal and enter these commands, in the order given.
[<you>@localhost ~]$ su <Enter> Password: <-- Enter your root password <Enter> [root@localhost ~]# echo rm -f /dev/modem >> /etc/rc.d/rc.local <Enter> [root@localhost ~]# echo ln -s /dev/ttyACM0 /dev/modem >> /etc/rc.d/rc.local <Enter>
Close the terminal.
Each time you reboot, the two commands will be run automatically, insuring the /dev/modem link will always be correct.
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? Lest we forget... 
|
|
|
|
kolosus
|
 |
« Reply #7 on: February 15, 2011, 04:54:27 PM » |
|
So every reboot you have to type in those commands and you can get online? If that's correct then its a simple matter!
You have to add those two lines to a file. The file is rc.local. To find the file you have to look in /etc/rc.d
Open the file as root. You cannot edit the file as a "normal" user. Once those lines are added, reboot, test and bask it the glory!
/etc/rc.d/rc.local
Good luck.
PS: old-polack beat me to it! With a much more elegant solution! Thanks polack! But since I wrote this up I'm going to post it. But you should follow his directions.
|
|
|
|
|
Logged
|
Linux User # 435130
For what is evil but good tortured by its own hunger and thirst? Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters. The PROPHET, by Kahlil Gibran
|
|
|
Old-Polack
Administrator
Hero Member
   
Offline
Posts: 9695
----IOFLU----
|
 |
« Reply #8 on: February 15, 2011, 05:32:51 PM » |
|
So every reboot you have to type in those commands and you can get online? If that's correct then its a simple matter!
You have to add those two lines to a file. The file is rc.local. To find the file you have to look in /etc/rc.d
Open the file as root. You cannot edit the file as a "normal" user. Once those lines are added, reboot, test and bask it the glory!
/etc/rc.d/rc.local
Good luck.
PS: old-polack beat me to it! With a much more elegant solution! Thanks polack! But since I wrote this up I'm going to post it. But you should follow his directions.
 I started to write a script to place in /usr/local/bin, then call it from /etc/rc.d/rc.local, when it suddenly dawned on me to just echo the commands directly into rc.local and save a few steps. 
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? Lest we forget... 
|
|
|
|
Aradalf
|
 |
« Reply #9 on: February 15, 2011, 05:40:19 PM » |
|
So every reboot you have to type in those commands and you can get online? If that's correct then its a simple matter!
You have to add those two lines to a file. The file is rc.local. To find the file you have to look in /etc/rc.d
Open the file as root. You cannot edit the file as a "normal" user. Once those lines are added, reboot, test and bask it the glory!
/etc/rc.d/rc.local
Good luck.
PS: old-polack beat me to it! With a much more elegant solution! Thanks polack! But since I wrote this up I'm going to post it. But you should follow his directions.
 I started to write a script to place in /usr/local/bin, then call it from /etc/rc.d/rc.local, when it suddenly dawned on me to just echo the commands directly into rc.local and save a few steps.  That's exactly what I was going to do and post it here, but then I saw that you and kolosus had already beat me to the punch, that too with a neater solution. So I refrained myself from posting. 
|
|
|
|
|
Logged
|
|
|
|
KP
Jr. Member

Offline
Posts: 32
|
 |
« Reply #10 on: February 15, 2011, 11:53:25 PM » |
|
I've got two unresolved questions.
One: I'm not geting the auto-launch for the modem right. I still have to type it in.
Here's what happened with the script from reply 6:
> [<you>@localhost ~]$ su
I don't get a $ symbol. su just returns. <Enter> > Password:
I already entered that to get here.
<-- Enter your root password <Enter>
response: bash: command not found
> [root@localhost ~]# echo rm -f /dev/modem >> /etc/rc.d/rc.local
That seems good. <Enter> > [root@localhost ~]# echo ln -s /dev/ttyACM0 /dev/modem >> /etc/rc.d/rc.local <Enter>
This seemed OK once, but didn't work, and gives "no such file" when I try now.
Is there some way to copy and paste into the console so I won't make typing errors?
> Close the terminal. > > Each time you reboot, the two commands will be run automatically, insuring the /dev/modem link will always be correct.
HAVEN'T GOT IT TO WORK SO FAR.
But I have the commands written down.
Two: I copied my mozilla files to the new box and Firefox came up with all my bookmarks AND all of my passwords were right there!
It was fantastic!
I went right to work!
Then I logged off to test the new automatic modem setting commands.
When I logged on, I had not only no modem, but no bookmarks and no passwords either. I couldn't even log on here to ask questions!
Back to panic again!
I looked for the old bookmarks, but didn't find them. It just has some generic files.
HOW DID THAT HAPPEN?
I reloaded the old Firefox data AGAIN and it all came up properly. I lost today's data, but that's no big deal. WHERE DID IT ALL GO?
WHY do I just get generic pclinuxos bookmarks, and all MY data disappears?
HOW CAN I KEEP MY BOOKMARKS COMING BACK?
The big stuff is done!
Just a few wrinkles to smooth out now!
O --- ) \
|
|
|
|
|
Logged
|
|
|
|
Old-Polack
Administrator
Hero Member
   
Offline
Posts: 9695
----IOFLU----
|
 |
« Reply #11 on: February 16, 2011, 01:04:57 AM » |
|
I have no idea what you are doing, as you are telling me a story about what you think you've done, not showing me exactly what you are seeing. The commands given do work, as they are a copy/paste directly from my own terminal, and the two commands are in fact entered into /etc/rc.d/rc.local. My rc.local now looks like this; ( Note the last two lines) [root@fatman ~]# cat /etc/rc.d/rc.local#!/bin/sh # ### BEGIN INIT INFO # Provides: rc.local # X-Mandriva-Compat-Mode # Default-Start: 2 3 4 5 # Short-Description: Local initialization script # Description: This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. ### END INIT INFO
touch /var/lock/subsys/local
modprobe snd-usb-audio
# Fix linkage to cdrom/dvd and permissons since udev is screwed ln -s /dev/sr0 /dev/dvd > /dev/null 2>&1 ln -s /dev/sr0 /dev/cdrom > /dev/null 2>&1 chmod 777 /dev/sr0 > /dev/null 2>&1 chown root:root /dev/sr0 > /dev/null 2>&1 rm -f /dev/modem ln -s /dev/ttyACM0 /dev/modem
If you run the above command, then copy/paste the prompt, command, and results to your next post, we'll see what you have actually accomplished. From the error message concerning having no such file, you obviously typed the command wrong, because the file was just found for the previous command. As to your comment about not getting a $ symbol, that's an integral part of the terminal prompt for a normal user, so I have no idea at all what you are doing or where you are doing it. You need to be much more precise in your explanations.
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? Lest we forget... 
|
|
|
KP
Jr. Member

Offline
Posts: 32
|
 |
« Reply #12 on: February 16, 2011, 01:59:38 AM » |
|
Re: reply 11
I have no idea what this big block of code is, or what I would do with it.
I'm still trying to learn to copy + paste, but I can't do anything like that in a console window. You give me a perfect character string, and I just want to paste it into the console rather than typo it up. How do I do that?
If I had to, I could live with typing in those two commands, now that I have them safely written down.
But I can't live without my bookmarks and passwords!
Any thoughts on that?
O --- ) \
|
|
|
|
|
Logged
|
|
|
|
Old-Polack
Administrator
Hero Member
   
Offline
Posts: 9695
----IOFLU----
|
 |
« Reply #13 on: February 16, 2011, 02:33:13 AM » |
|
Re: reply 11
I have no idea what this big block of code is, or what I would do with it.
It's the results of the command shown; ie the full contents of the file /etc/rc.d/rc.local. I'm still trying to learn to copy + paste, but I can't do anything like that in a console window. Of course you can. How do you think I was able to post that? I highlighted the text I wanted copied, in the konsole, ( left click drag) then middle clicked into the reply window with the cursor set at the position where I wanted the text to appear. You give me a perfect character string, and I just want to paste it into the console rather than type it up. How do I do that? As specified above. If I had to, I could live with typing in those two commands, now that I have them safely written down.
But I can't live without my bookmarks and passwords!
Any thoughts on that?
O --- ) \
Worry about them later. For now, concentrate on learning how to post properly, with real quote tags and code tags and proper copy/pasting, so we can make sense of what you are posting.
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? Lest we forget... 
|
|
|
|
kolosus
|
 |
« Reply #14 on: February 16, 2011, 06:58:25 AM » |
|
I think the problem with firefox is that you're trying to hand deliver the bookmarks to it. First thought is that the versions is incompatible... next is that when you try to add a bookmark it finds that there is a permission problem and deletes the old (hand delivered) bookmarks and creates a new one.
My thoughts on solving this problem is to export bookmarks from your old installation of firefox and importing it into the new install. That'll probably solve whatever is going amuck.
As for the passwords. Same thing is going wrong with them... but I cant think (or am aware) of anyway to bring them to your new install without running into, and solving, the permissions problem.
|
|
|
|
|
Logged
|
Linux User # 435130
For what is evil but good tortured by its own hunger and thirst? Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters. The PROPHET, by Kahlil Gibran
|
|
|
|