LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 11-04-2004, 08:31 PM   #1
crnchyfrog
LQ Newbie
 
Registered: Oct 2004
Location: Shanghai
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
wtf? DNS + Gnome login errors?


I am currently playing around with both linux Fedora Core 2 and a windows 2000 server network.

Don't worry, this is related to linux. I was trying to get my linux machine internet access. It seemed i was having some problems with getting linux to recogize the DNS server.

I searched the forum and found out I had to modify the /ect/hosts and /ect/resolve files. The problem was, as I was logging in and out switching between my user account and my root account (for write access to the files) GNOME kept giving me errors.

The first error was that GNOME couldn't find my DNS and that would cause gnome to run improperly. Then as i continued to log in..things just started crashing. There were about 5 errors saying that certain applications wouldn't run. All my icons just came up as blank pages. Both as USER and ROOT.

Now that I have everything set up, it doesn't crash at login. but.....

My question is this. Why? How is GNOME so directly influenced by my DNS? realistically its just an IP address, how can that keep crashing my log-in?

Also How do i check what my current address is? I've tried su root and then ifconfig. but it gives me :

[root@shengkang user]# ifconfig
bash: ifconfig: command not found
[root@shengkang user]#




Thanks,
Dave

----still very much a n00b

Last edited by crnchyfrog; 11-04-2004 at 09:03 PM.
 
Old 11-05-2004, 03:55 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Mageia
Posts: 618

Rep: Reputation: 39
Very odd

Admittedly, I'm not a Fedora guy, but I'll take a crack at it.

I don't know why Gnome would be so affected by DNS servers. Could it just be a coincidence? There might be a script somewhere that's having trouble setting them up at login because they're already set up. Who knows?

Not being able to run ifconfig is a major problem. I seem to recall that on the last Fedora computer I worked on I had to mangle the $PATH a bit in order to make it useable. Try this at a command prompt:

Code:
cd /
su
<root password>
find -name ifconfig
This should tell you the location of ifconfig. Once you've found it, just open /etc/bashrc or ~/.bashrc (I think Fedora uses those) and add the full path to ifconfig to the line that says "PATH=blah:blah:blah". It should look something like this, assuming that ifconfig is in /usr/local/bin:

Code:
PATH="/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
Let me know if this helps.

--Dane
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kde on desktop1,3,4 and gnome on 2 - wtf? firedance Linux - Software 1 01-24-2005 06:52 PM
gnome errors on login thornton Linux - General 3 07-25-2004 04:47 PM
DNS Errors Hessian Rider Linux - Networking 2 12-13-2002 05:26 AM
How 2 change from Gnome Login to KDE login Swene Linux - General 7 05-13-2002 12:44 PM
HELP! DNS errors katana Linux - General 3 06-14-2001 02:15 AM


All times are GMT -5. The time now is 09:06 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration