Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 05-25-09   #1 (permalink)
Linux Lobbyist
 
Mr Pink57's Avatar
 
intel ati

Join Date: Jun 2006
Location: a van down by the river
Posts: 3,659

Rep: 229 Mr Pink57 is acknowledged by manyMr Pink57 is acknowledged by manyMr Pink57 is acknowledged by many
Unique Rep: 178
Trader Rating: 8
Exclamation Arch Linux Hostname need quick help

So I reboot after my newest Arch install and on boot up it says it cannot get a hostname which I have setup of course and was just in while testing xterm. I also do not have a rc.conf file as I figured I would edit this to see if the Hostname was reset.

Everything else seems to be there I am currently in command line with no gui front end and my username is there and my info is in /etc/hosts.

pink
__________________
Quote:
Even a broken clock is right twice a day.
Quote:
Diplomacy without force is like music without instruments.
http://valid.canardpc.com/show_oc.php

System: Vadar
CPU
Core 2 Duo e6300
Motherboard
Gigabyte GA-EP45-UD3R
Memory
2 x 2gb G.Skill
Graphics Card
Powercolor HD4870 1gb w/ Ageia PhysX 128MB PCI-E
Hard Drive
[2]36gb Raptor RAID0 + 150gb Raptor
Sound Card
Auzentech X-Fi Prelude 7.1
Power Supply
Silverstone DA750 60a
Case
Antec P180B
CPU cooling
[Lapped] Noctua NH-U12P w/NF-P12 Push/Pull
GPU cooling
Zerotherm PCS+
OS
Winblows XP x64
Monitor
Acer X223Wbd
Mr Pink57 is offline Mr Pink57's Gallery   Reply With Quote
Old 05-25-09   #2 (permalink)
Linux Lobbyist
 
Dawlish7's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Stoke UK
Posts: 1,318

Rep: 104 Dawlish7 is acknowledged by manyDawlish7 is acknowledged by many
Unique Rep: 78
Trader Rating: 3
Default

Is your host name set in the main config? if its not in rc.conf then it will moan about it haha, you must have a rc.conf if all else fails just reinstall, useually it takes me a couple of reinstalls to get arch to a nice working desktop good luck
__________________
R.I.P - XAslanX Amigos

System: it does play crysis...
CPU
e8400 @ 4ghz
Motherboard
Asus p5q pro
Memory
4gb 1066 ocz
Graphics Card
4870 1GB
Hard Drive
seagate 500gb + 160gb
Sound Card
Creative extreme music
Power Supply
modular 520w corsair
Case
Antec 900
CPU cooling
TRUE
GPU cooling
stock
OS
Vista x64/Linux/win7
Monitor
Dell 24" + 20"

Last edited by Dawlish7 : 05-25-09 at 04:32 PM
Dawlish7 is offline   Reply With Quote
Old 05-25-09   #3 (permalink)
Linux Lobbyist
 
SilentPixel's Avatar
 
intel nvidia

Join Date: May 2008
Location: /home/ZA/jhb
Posts: 342

Rep: 44 SilentPixel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

yeah, Arch needs hostname in /etc/hosts and /etc/rc.conf
__________________
mybrute
myminicity
The Tux Club

Proud Member of the Linux Gaming Community

System: Etern4lDragon
CPU
Q8200 / 2.33GHz
Motherboard
Intel DP35DP
Memory
2 x 2GB Transcend Jetram DDR800
Graphics Card
8800GT
Hard Drive
250GB SATA
Sound Card
Onboard
Power Supply
Raidmax Volcano 530W
Case
Antec Sonata III
CPU cooling
ThermalRight Ultra 120 Extreme
GPU cooling
Stock
OS
Arch Linux 32bit
Monitor
Samsung 2494HS
SilentPixel is offline   Reply With Quote
Old 05-26-09   #4 (permalink)
Linux Lobbyist
 
intel

Join Date: May 2008
Location: Somewhere in Time
Posts: 517

Rep: 14 MetalheadGautham Unknown
Unique Rep: 14
Trader Rating: 0
Default

Quote:
Originally Posted by Mr Pink57 View Post
So I reboot after my newest Arch install and on boot up it says it cannot get a hostname which I have setup of course and was just in while testing xterm. I also do not have a rc.conf file as I figured I would edit this to see if the Hostname was reset.

Everything else seems to be there I am currently in command line with no gui front end and my username is there and my info is in /etc/hosts.

pink
how can you NOT have an rc.conf file ?
__________________
Quote:
Originally Posted by tNok85 View Post
It's a good thing my password is


Edit: Oh, crap.



I am 26% addicted to Counterstrike. What about you?




System: The 0|d Horse
CPU
P4 506 (2.66GHz, NO HT Technology)
Motherboard
Intel D915GLVG
Memory
Hynix 1GB DDR 400MHz
Graphics Card
Intel GMA 900 IGP
Hard Drive
Seagate Baracuda 80GB
Sound Card
Onboard Realtek ALC880
Power Supply
600W
Case
iBall Baby Cabinet - SUCKS!!!
CPU cooling
Stock
GPU cooling
Stock
OS
ArchLinux i686
Monitor
Acer AC713 17" CRT
MetalheadGautham is offline   Reply With Quote
Old 05-26-09   #5 (permalink)
Security Sleuth
 
Pooping^fish's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: egypt
Posts: 1,267

Rep: 67 Pooping^fish is acknowledged by some
Unique Rep: 62
Trader Rating: 3
Default

LOL Yeah. You have an rc.conf dude, trust us.

In it I think it even says it needs to be in the hosts file as well. Theres a hostname part. Try a cat /etc/rc.conf | grep hostname and youll see it probably says "myhost".

Gluck. Also, what does your hosts entry look like?
__________________
Quote:
"O, hai! Want som pRon? Dwnlod ths kodk frst. Its teh bst pRonz ever, we prmis." -GibbyGano
Proud Member of the Linux Gaming Community
I am your friend.

System: ragequit
CPU
Q9550 4ghz @ 1.25v
Motherboard
Asus Max 2 formula
Memory
OCZ LV blade 1:1 950mhz
Graphics Card
8800gtx 610/1ghz
Hard Drive
7200.10 250gb
Sound Card
X-FI Extreme Music
Power Supply
750w Toughpower
Case
Lian li pc-65
CPU cooling
TRUE
GPU cooling
stock
OS
leetlinucks
Monitor
24" Westy
Pooping^fish is offline   Reply With Quote
Old 05-27-09   #6 (permalink)
Linux Lobbyist
 
Mr Pink57's Avatar
 
intel ati

Join Date: Jun 2006
Location: a van down by the river
Posts: 3,659

Rep: 229 Mr Pink57 is acknowledged by manyMr Pink57 is acknowledged by manyMr Pink57 is acknowledged by many
Unique Rep: 178
Trader Rating: 8
Default

My rc.conf was blank when I did sudo nano /etc/rc.conf so I took a default rc.conf file from arches website and copied it in thru a liveCD. However after me editing the file I still did not have a hostname.

pink
__________________
Quote:
Even a broken clock is right twice a day.
Quote:
Diplomacy without force is like music without instruments.
http://valid.canardpc.com/show_oc.php

System: Vadar
CPU
Core 2 Duo e6300
Motherboard
Gigabyte GA-EP45-UD3R
Memory
2 x 2gb G.Skill
Graphics Card
Powercolor HD4870 1gb w/ Ageia PhysX 128MB PCI-E
Hard Drive
[2]36gb Raptor RAID0 + 150gb Raptor
Sound Card
Auzentech X-Fi Prelude 7.1
Power Supply
Silverstone DA750 60a
Case
Antec P180B
CPU cooling
[Lapped] Noctua NH-U12P w/NF-P12 Push/Pull
GPU cooling
Zerotherm PCS+
OS
Winblows XP x64
Monitor
Acer X223Wbd
Mr Pink57 is offline Mr Pink57's Gallery   Reply With Quote
Old 05-27-09   #7 (permalink)
Linux Lobbyist
 
Dethredic's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Ontario, Canada
Posts: 1,030

Rep: 48 Dethredic is acknowledged by some
Unique Rep: 44
Trader Rating: 1
Default

Do you see something that looks like this in your /etc/rc.conf:
Quote:
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="Arch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
It will be different for you but make sure you have that line. Change it to whatever you wish.
__________________
There are 10 types of people in this world. Those who can read binary, and those who can't.

System: The WC3 Machine
CPU
E6420 @ 2.8
Motherboard
Asus P5Q
Memory
4GB OCZ Platinum DDR2 800
Graphics Card
XFX 8800GTS 640mb
Hard Drive
250GB Westren Digital
Sound Card
Sound Blaster XtremeGamer
Power Supply
OCZ GameXStream 700 watt
Case
Antec 900
OS
Arch Linux x86_64
Monitor
Samsung 226BW
Dethredic is offline   Reply With Quote
Old 05-27-09   #8 (permalink)
Linux Lobbyist
 
Mr Pink57's Avatar
 
intel ati

Join Date: Jun 2006
Location: a van down by the river
Posts: 3,659

Rep: 229 Mr Pink57 is acknowledged by manyMr Pink57 is acknowledged by manyMr Pink57 is acknowledged by many
Unique Rep: 178
Trader Rating: 8
Default

I already changed the line when I got the default rc.conf file and same results of Hostname: No Hostname

pink
__________________
Quote:
Even a broken clock is right twice a day.
Quote:
Diplomacy without force is like music without instruments.
http://valid.canardpc.com/show_oc.php

System: Vadar
CPU
Core 2 Duo e6300
Motherboard
Gigabyte GA-EP45-UD3R
Memory
2 x 2gb G.Skill
Graphics Card
Powercolor HD4870 1gb w/ Ageia PhysX 128MB PCI-E
Hard Drive
[2]36gb Raptor RAID0 + 150gb Raptor
Sound Card
Auzentech X-Fi Prelude 7.1
Power Supply
Silverstone DA750 60a
Case
Antec P180B
CPU cooling
[Lapped] Noctua NH-U12P w/NF-P12 Push/Pull
GPU cooling
Zerotherm PCS+
OS
Winblows XP x64
Monitor
Acer X223Wbd
Mr Pink57 is offline Mr Pink57's Gallery   Reply With Quote
Old 05-27-09   #9 (permalink)
Linux Lobbyist
 
Dawlish7's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Stoke UK
Posts: 1,318

Rep: 104 Dawlish7 is acknowledged by manyDawlish7 is acknowledged by many
Unique Rep: 78
Trader Rating: 3
Default

Looks like it copied wrong or somethings wrong maybe a spelling mistake, a re install?
__________________
R.I.P - XAslanX Amigos

System: it does play crysis...
CPU
e8400 @ 4ghz
Motherboard
Asus p5q pro
Memory
4gb 1066 ocz
Graphics Card
4870 1GB
Hard Drive
seagate 500gb + 160gb
Sound Card
Creative extreme music
Power Supply
modular 520w corsair
Case
Antec 900
CPU cooling
TRUE
GPU cooling
stock
OS
Vista x64/Linux/win7
Monitor
Dell 24" + 20"
Dawlish7 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 07:34 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.14362 seconds with 8 queries