NeXT Computers Forum Index NeXT Computers
www.NeXTComputers.org
 
Log in to check your private messagesLog in to check your private messages

Log inLog in  RegisterRegister


Profile  Search  Memberlist  FAQ  Usergroups
resolv.conf

 
Post new topic   Reply to topic    NeXT Computers Forum Index -> The Lounge
View previous topic :: View next topic  
Author Message
garethslee



Joined: 03 Mar 2009
Posts: 8

PostPosted: Thu Mar 19, 2009 2:00 pm    Post subject: resolv.conf Reply with quote

edit.app on my Cube is damaged and won't open. How can I create the resolv.conf file so I can setup my DNS settings?
Back to top
View user's profile Send private message
helf



Joined: 29 Dec 2005
Posts: 1097
Location: Alabama, USA

PostPosted: Thu Mar 19, 2009 2:37 pm    Post subject: Reply with quote

should have the command line editor vi on there.
_________________
*INACTIVE*
Back to top
View user's profile Send private message AIM Address
garethslee



Joined: 03 Mar 2009
Posts: 8

PostPosted: Thu Mar 19, 2009 2:44 pm    Post subject: Reply with quote

helf wrote:
should have the command line editor vi on there.


Sorry but I'm a newbie here.
Do you mean terminal.app ?
If so do you know what the commands would be to create resolv.conf ?
Back to top
View user's profile Send private message
Andreas



Joined: 27 Dec 2005
Posts: 353
Location: Germany

PostPosted: Fri Mar 20, 2009 1:09 am    Post subject: Reply with quote

garethslee wrote:
helf wrote:
should have the command line editor vi on there.


Sorry but I'm a newbie here.
Do you mean terminal.app ?
If so do you know what the commands would be to create resolv.conf ?


-> Terminal.app (as root)
cd \etc
vi resolv.conf
<type in your text>
(hit the escape key)
<type in:>
:x!

(after typing the : in, the cursor must be on the bottom of the "screen", the : should not be in the typed in text. If so, hit escape one mor time. Escape sets the vi in command mode)
Back to top
View user's profile Send private message
garethslee



Joined: 03 Mar 2009
Posts: 8

PostPosted: Fri Mar 20, 2009 1:30 am    Post subject: Reply with quote

-> Terminal.app (as root)
cd \etc
vi resolv.conf
<type in your text>
(hit the escape key)
<type in:>
Mad!

(after typing the : in, the cursor must be on the bottom of the "screen", the : should not be in the typed in text. If so, hit escape one mor time. Escape sets the vi in command mode)[/quote]

Do you mean by "<type in your text>" that I enter my DNS servers? I have 2 so do I enter one then press return and enter the second?

Also after the (hit the escape key) do I type in "<type in:>" or just "x!"
Back to top
View user's profile Send private message
Andreas



Joined: 27 Dec 2005
Posts: 353
Location: Germany

PostPosted: Fri Mar 20, 2009 1:51 am    Post subject: Reply with quote

garethslee wrote:

Do you mean by "<type in your text>" that I enter my DNS servers? I have 2 so do I enter one then press return and enter the second?


Yes, as long as you are in input mode of vi.

Quote:

Also after the (hit the escape key) do I type in "<type in:>" or just "x!"


vi is an editor from a generation that have keyboard without crtl, alt or something like that.

you should read here
http://www.eng.hawaii.edu/Tutor/vi.html
and test with a few files.

Since vi is on most OS available, it's worth to learn how to handle.
Back to top
View user's profile Send private message
garethslee



Joined: 03 Mar 2009
Posts: 8

PostPosted: Fri Mar 20, 2009 7:39 am    Post subject: Reply with quote

The cube is on the Net!!! A great big thank you to Andreas. Next project will be webserver. so I'll probably be back soon Smile
Back to top
View user's profile Send private message
helf



Joined: 29 Dec 2005
Posts: 1097
Location: Alabama, USA

PostPosted: Fri Mar 20, 2009 3:23 pm    Post subject: Reply with quote

congrats Smile

sorry I didnt get back. I left from work right after posting that. heh
_________________
*INACTIVE*
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    NeXT Computers Forum Index -> The Lounge All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2017 phpBB Group