LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2004, 02:30 AM   #16
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15

that an interesting article tumana. I am also having the display problem, the sound card problem (exact same symptoms, locks up when it tries to play a test) and the battery issue.
 
Old 08-07-2004, 03:13 AM   #17
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
Now i guess i need to understand the editor.

i tried:

vi /etc/hosts

then i add the line, hit escape, hit colon, and type wq or any one of the other commands i have here on my list and they all tell me that i cant write to the file. It was opened for read only

but last time i started it up it no longet said [dasoberdick@Knoppix dasoberdick]
and i did not get the warning message at the GUI boot i mentioned earler. It aslo said [dasoberdick@Localhosts dasoberdick]

Then i had to reboot again cause im still getting the proble of the shell not wanting to reload after i decide to close it, and it said [dasoberdick@knoppix again.
 
Old 08-07-2004, 03:19 AM   #18
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You'll need to edit the hosts file as root, from the command line do 'su -' (no quotes) and give the root password, then try again. BTW you might find nano or pico a bit easier to work with in the text editing department, but if you want to start off with vi, more power to you .
 
Old 08-07-2004, 03:42 AM   #19
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
SUCCESS!!!! kinda. I was able to edit that file but im still not able to ping the DNS or www.google.com
 
Old 08-07-2004, 10:22 AM   #20
radiojohn
LQ Newbie
 
Registered: Aug 2004
Location: Near La Crosse WI
Distribution: Mandrake 10
Posts: 4

Rep: Reputation: 0
Vaio compatibility

For what it's work, I have one of those all-in-one Vaio desktop units (love it) and was unable to run a "live distro" that boots from a CD. The machine just locked up at some point.

I saw on some web page some fellow who was very proud to have (finally) gotten his Vaio laptop top run Linux. I suspect that the Sony hardware is simply too proprietary for easy installs. The same live distros (and mandrake 10) installed great on an "old" 433 mHz box somebody gave me. And that was a stock eMachine with very generic parts.
 
Old 08-07-2004, 12:23 PM   #21
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
I too had a hard time with a live distro but i just had to find some cheat codes.
knoppix noapic was all it took to get knoppix to boot. But it took e a while to fgure that out.

I pinged both the 216.239.41.104 and www.google.com at about 3:00 AM this morning. Its still sitting there saying :

PING 148.61.1.10 56(84) bytes of data.

If i close that window out ( a terminal and a shel im assuming are the same thing) then i cant get it to open again.
 
Old 08-07-2004, 12:30 PM   #22
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
you can stop the ping command w/ ctrl+c.
 
Old 08-07-2004, 01:32 PM   #23
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
Yeah i hear that vi is a bit of a pain. It looks and feels very similar to the GVIM editor i use to do my C homework. Any relation? How do i use nano or pico? Same concept as vi, just type nano ...... or pico .......? What makes them easier?
And what does it mean when it says i have new mail in a folder? But i cant remember what folder it said. That showed up after i pinged google and the IP

Thanx for being so helpful guys.
 
Old 08-07-2004, 04:25 PM   #24
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
To get your DNS working, as I said above, you're going to have to figure out what your DNS server(s) is/are and add them to /etc/resolv.conf -- your University IT staff can give you this information -- ask them for the IP addresses of your DNS servers.

Pretty much any editor with "VI" somewhere in its name is related to vi. A lot of people find nano and pico easier because they don't have separate editing and command modes. You just type your text and the type control sequences (generally CTRL + another character) to givecommands such as "save" to the editor. I guess a lot of people just find this slightly more intuitive, but if you're used to the vi way, that's good. Of course, real men use ed, which is a line editor that makes vi look very user friendly in comparison.

The "you have new mail" message is just what it sounds like -- there's new mail for you in your mail spool (probably /var/spool/mail/<username>). The system sends mail to the root user on occasion. You can read it with pine or mutt, if you have them installed. Otherwise you can use the good old fashioned mail program, which isn't user friendly but will get the job done. Just type the name of the program -- it will open your mail spool and display messages for you.
 
Old 08-07-2004, 05:08 PM   #25
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
I already used "cat /etc/resolv.conf" to resolve the DNS servers. I guess thats not the same as finding out their IP address'. Is there a way for me to do that with knoppix? I understood that i had new mail, i just wasnt sure where it would come from and what it would be. Im guessing thats its not an add for penis enlargment or where to buy vallium on the internet. Something more like one address in my computer sending mail to another address?

when you tell me to use pine or mutt:

go into the root user and type pine /var/spool/mail/dasoberdick(or 'knoppix' depending on what mood my machine is in lol
 
Old 08-07-2004, 05:41 PM   #26
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
If it's root that had the new mail (it probably is since the system sends mail to root) you can beome root and the just type 'pine' (it knows where your mail spool is). The mail will probably be something boring yet important like a summary of events recorded in the system logs.

Cat just shows you the contents of a file. You need to actually add your DNS servers to the /etc/resolv.conf file. Since your DHCP apparently did not give you the names of your nameservers, you need to figure them out for yourself. You University network staff will know what they are and you should check any documentation that they gave you.
 
Old 08-08-2004, 05:36 AM   #27
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
Quote:
Originally posted by dasoberdick
SUCCESS!!!! kinda. I was able to edit that file but im still not able to ping the DNS or www.google.com
when you make changes to files such as /etc/hosts, don't you need to restart something like a service or the device eth0? it's been too long since i've even touched my server and i can't remember these things. i hate to say you have to restart the whole machine because that is a windowz thing

ian
 
Old 08-08-2004, 08:25 AM   #28
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
what does /etc stand for when you tell me to edit a file like that.
 
Old 08-08-2004, 06:12 PM   #29
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
/etc/filename is the path to the file, it's just so you can find it it.
 
Old 08-09-2004, 03:21 AM   #30
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
/etc/hosts, like PEACEDOG said, it the absolute pathname to the file in question. you can open the file with
Code:
vi /etc/hosts
from anywhere, or you can use
Code:
vi hosts
if you are currently in the /etc directory.

look up the following terms in google:
  • absolute pathname
  • relative pathname
also, if you're not familiar with the *nix file structure, I would take a look at this.

ian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting works, playing music works, reading tags doesn't Celettu Linux - Newbie 7 08-23-2006 01:27 PM
apache works, website works, but not from outside? kahn Linux - Software 7 08-05-2005 03:38 AM
Almost works keith2045 Linux - Wireless Networking 5 03-06-2005 04:57 PM
Strange USB problems - it works AND it works not Nightfrost Linux - Hardware 2 10-07-2004 07:07 PM
Echo /devPrinting doesn't work, echo /usb/lp0 works, Testpage works, Printing doesn't Hegemon Linux - General 3 08-15-2002 02:13 PM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration