image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old April 7th, 2007, 12:51 PM
Registered User
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sudeep_meh is on a distinguished road
problem after changing hostname

Hello I wanted to change the hostname in my macbook, so i followed the following advice i found on apple support given by one of the user:
>>>>>>>>>>>
Edit /etc/hostconfig.

Add the following line:
HOSTNAME=$HOSTNAME

where $HOSTNAME is the hostname you want to set.
That change will take effect after a reboot.

If you want the hostname to show up at the prompt,
add a line similar to the following one to your
.bash_profile:
PS1='\h:\w \u\$ '

where \h is the hostname, \w is the working directory
of the current user and \u is the name of the current
user.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After i did that things have gone wrong. I made the changes and booted the computer.This is what i am getting now:
localhost:/root# CSRHIDTransitionDriver::stop
IOBluetoothHCIController::start Idle Timer Stopped.
Now i dont know what to do, i booted the system from the cd, went to terminal and thought of changing the hostconfig file, again (back to original), however, there is no vi or any editor available.
What can i do now? Please guide. I will appreciate a quick response as i whole of my research work is in my laptop
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 04:35 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.