networking question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers networking question
# 1  
Old 02-02-2005
Whats up All!

Im fairly new to unix and i have a question. I was looking at my ifconfig -a on my server and my prompt, which was just my hostname, sudenly changed to one of my network interfaces(ge0). Does anyone know how to change that back? Also when i type in the hostname command it spits out ge0 instead of my hostname which is in /etc/nodename, /etc/net/ticlts, etc/hosts.......etc, etc. any suggestions??

Thanks....
# 2  
Old 02-02-2005
lewisoco I'm not to sure how to help you with your problem. But you shoudl post a question in the correct forum not in another thread.
# 3  
Old 02-02-2005
woofie has a good point and I have split the thread.

You must have accidently typed "hostname ge0". To change it back, use "hostname originalname" or whatever. This is the problem with a command with syntax like this. If all too easy to accidently change something.
# 4  
Old 02-03-2005
CPU & Memory

a Few things are given.. I was not looking over your shoulder; you had the hostname right; and you said you were a fairy newbie.

look in /etc/hostname.x x=your network interface that you are using

you should have your hostname (as listed in the /etc/hosts file) and nothing more.

I think that Perderabo is correct with it's a syntax error. Most likey caused by adding something to the end of the ifconfig command line. ifconfig can do several things... (check out man for ifconfig)

Smilie
# 5  
Old 02-07-2005
Bug

Thank you -Youwantwhat and -Perdarebo for your help. All I did to fix this was: #hostname [ name of host ] as Perdarebo suggested. Thanks again.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Networking

hi From mt windows machine I can ping a LINUX machine but there is no arp entry for the same LINUX on my windows. How is it possible and what can I do to add the arp entry as I need it. thanks (1 Reply)
Discussion started by: leghorn
1 Replies

2. IP Networking

Basic networking question

Hii, Today morning I attended an interview, they had showed me the attached image and had few questions about that. The image shows a network with 4 nodes viz.. A B C & D and two switches(layer2) and a router(layer3). Just wanted to know can node A and node D would be on same network e.g... (4 Replies)
Discussion started by: zing_foru
4 Replies

3. IP Networking

simple linux networking question

I have 2 linux hosts running oracle RAC DB with multiple ethernet interfaces . Host 1 netstat -tln |grep 6000 Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 :::6000 :::* ... (1 Reply)
Discussion started by: gubbu
1 Replies

4. Solaris

Networking help

What am I doing wrong, I configure interfaces ce1,ce,2 and ce3 but when I reboot the server they lose the configuration and I have to reset them? ifconfig ce1 plumb ifconfig ce2 plumb ifconfig ce1 155.216.13.72 netmask 255.255.255.240 ifconfig ce2 155.216.13.73 netmask 255.255.255.240... (5 Replies)
Discussion started by: Kjons76
5 Replies

5. IP Networking

Networking

Hi, I have a question on networking. I will try to ask with an example... Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies

6. IP Networking

C networking

Can anybody help me regarding networking using c language i know how to capture the packets and to verify it`s protocol destination and source ip etc. Can anybody help me to direct a packet coming to an ip to some other ip of my choice ........ Hope reply ... (0 Replies)
Discussion started by: Sannair
0 Replies

7. Solaris

Need help with networking

I can't or i don't know how to put up a network and internet on sun solaris 10. I looked and found some stuff on forums around net but I'm missing a few files. Like, "defaultrouter", "resolve.conf", ping is not working ( host unreachable), my card is "lo0" when I use ifconfig -a comand. Should I... (8 Replies)
Discussion started by: salvor_hardin
8 Replies

8. IP Networking

networking

HI guys/gals basic question lets say i am running a network. lets say i am using Win Me. how would i network Win Me to a computer that has linux and another that has 98 well the 98 is no problem but the linux well i have an idea but i am rusty with linux. No i have rusted out. Would you make... (1 Reply)
Discussion started by: pydyer
1 Replies

9. IP Networking

Networking

I've installed Mandrake 8.1 over the weekend as has someone else in my apartment house. We share a LAN between the apartment with three computers. I've managed to configure SAMBA and if the computers are on windows then we can see my comp. I can't see their comps though. Whenever I go to... (1 Reply)
Discussion started by: kyphur
1 Replies

10. IP Networking

IP networking.

In plain english what exactly is IP Networking? Can someone take the time to explain? please! (3 Replies)
Discussion started by: kikkin
3 Replies
Login or Register to Ask a Question