LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-04-2002, 11:07 AM   #1
rvandam
LQ Newbie
 
Registered: Aug 2002
Location: Atlanta, GA
Distribution: RedHat 8.0
Posts: 23

Rep: Reputation: 15
Now why did I do that: changed hostname




I was playing around with netcfg and used it to change the hostname from dhcppc1 (which it assigned automatically I guess) to 'wireless'.

Now my network connection is gone! I changed the name back, but that didn't fix it. It must be something simple, but this Linux newbie doesn't know how to fix this one.

Help!

Rino

Last edited by rvandam; 08-04-2002 at 12:17 PM.
 
Old 08-04-2002, 01:10 PM   #2
rvandam
LQ Newbie
 
Registered: Aug 2002
Location: Atlanta, GA
Distribution: RedHat 8.0
Posts: 23

Original Poster
Rep: Reputation: 15
OK, some more info:

'Physical' network connection is fine: network card works, and Linux will communicate if I use my other ethernet card in this PC.

However, if I use my card that was in use when I changed the hostname through netcfg, it always wants to connect me as 'localhost', not as 'dhcppc1' before.

I have gone through several configuration files, but cannot find a place that netcfg wrote to that I should change.

Thanks for your help.

Rino
 
Old 08-04-2002, 01:42 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'm not sure how does netcfg work but I guess it messed your dhcp configuration, not only the host name. Remove this nic configuration completly and install it again. It looks it's the easier way (especially when you can use other nic).
 
Old 08-04-2002, 01:47 PM   #4
rvandam
LQ Newbie
 
Registered: Aug 2002
Location: Atlanta, GA
Distribution: RedHat 8.0
Posts: 23

Original Poster
Rep: Reputation: 15
Mara:

Thanks for the reply.

How do remove the NIC configuration? (sorry, I'm a Linux newbie)

Thanks.

Rino
 
Old 08-04-2002, 02:59 PM   #5
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Just remove your network card from your computer. Now run kudzu and it will remove the configuration of your network card. After that you will have to insert the card again and run kudzu again.
 
Old 08-04-2002, 04:07 PM   #6
rvandam
LQ Newbie
 
Registered: Aug 2002
Location: Atlanta, GA
Distribution: RedHat 8.0
Posts: 23

Original Poster
Rep: Reputation: 15
My card is a PCMCIA card, so I don't think that will work. Still tried what you said, and it made no difference at all.

(Toch bedankt hoor!)

Thanks.

Rino
 
Old 08-05-2002, 09:04 AM   #7
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Quote:
Originally posted by rvandam
My card is a PCMCIA card, so I don't think that will work. Still tried what you said, and it made no difference at all.
The following is just something I thought of. I don't know netcfg at all, but programs often work like this.

It sounds to me like there is a checkbox in the netcfg program that is usually checked when you are using DHCP and is automatically unchecked when you start typing in the other fields. Look for something like that.

Quote:
(Toch bedankt hoor!)
gheghe, I thought "rvandam.. hey, a dutchman... then looked at the location and thought neh... "
 
  


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
I have changed ! ray alex Mandriva 11 06-10-2005 08:18 PM
screens should be changed? host Linux - Software 0 03-11-2005 11:32 PM
Name Changed Triple5 LQ Suggestions & Feedback 3 01-11-2005 06:51 AM
Can I get my name changed? .:BeatFactory:. LQ Suggestions & Feedback 4 07-15-2003 12:39 PM
IP Changed erwin Linux - Networking 9 03-19-2002 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 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
Open Source Consulting | Domain Registration