LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2005, 06:01 PM   #1
Ed1952
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Rep: Reputation: 0
Can't get DHCP recognized with Fedora 3??


I just installed Fedora III on a dual boot Windows 2000 machine. I have a simple network with a workgroup name and 3 or 4 other computers. (The other computers are Win2k.) I have not been able to get my Linux box recognized by its computer name (or hostname). It seems to know what it's hostname is, since it states it in the beginning at the login prompt. But, if I search the network on a Windows machine, the machine does not show up. I set up Samba using the hostname, and then that share does show up on a Windows 2k machine when I search my workgroup. But, if I issue a ping command for that name, the machine cannot be found. Similarly, if I try to telnet to that name, or try to set up an x-windows session with the linux machine from a win2k machine, it does not work. (Actually, I can't even set up an x-windows session or telnet in even if I use the IP address, which is 192.168.0.2, at the moment. Also, on the linux machine, I cannot see any of the win2k machines on my network or workgroup.

I am able to surf the net from the linux machine, and I can ping from win2k machines if I type in the ip address, so I know the networking is basically working. I am using a DI-614+ connected to a cable modem for my DHCP. I have that ip address listed for my DHCP server. (It is 192.168.0.1)

Does anyone know what settings I need to change? my etc/hosts file contains 127.0.0.1 localhost.localdomain localhost

I tried changing that to 127.0.0.1 localhost.localdomain Chinook

where Chinook is the name of the computer (hostname). I also get a message that the ip address of Chinook could not be found, so gnome will not work correctly when I log onto the computer.

Thanks,
Ed
 
Old 01-09-2005, 06:54 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Do you have any firewalls in place?
good luck.
 
Old 01-09-2005, 08:58 PM   #3
dna9
Member
 
Registered: Nov 2004
Location: Colorado
Distribution: Ubuntu mostly...
Posts: 100

Rep: Reputation: 28
samba, samba, samba...

samba is a bitch. i still haven't got it figured out. with some of the distro's i have installed, samba works like a champ - without any additional config. and then sometimes i have to fight and fight and fight with other installs. you think you got the config nailed, just to have it not work. samba is the name of a lady, and she is a bitch!

hehe...
 
Old 01-09-2005, 09:21 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you try to ping a hostname, but there's no DNS or hosts file entry for that name, it's going to not be able to associate it with a numeric IP address. It sounds like everything is working, but you don't have the names of your Windows hosts defined in your Linux /etc/hosts and the Linux host isn't defines in your Windows host file.

In theory this should not affect Samba. Maybe you can try to connect to one of your Windows machines with smbclient and see what the error message is.
 
Old 01-10-2005, 11:00 AM   #5
Ed1952
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I do not have the Windows machines defined in /etc/hosts because I use DHCP. My understanding was that in /etc/hosts you need to list the machine name as well as the ip address. Since my Dlink router acts as a DHCP, I don't see how I could assign ip address slots in /etc/hosts because I never know, ahead of time, what they will be. There must be something else that is happening.
 
Old 01-28-2005, 02:14 AM   #6
afterburner
LQ Newbie
 
Registered: Jan 2005
Location: Boksburg South Africa
Distribution: Redhat 9,8 Mandrake 10.0, Fedora Core 3, Ubuntu Linux (Warty Warthog)
Posts: 4

Rep: Reputation: 0
Try this

Have you tried adding your pc's IP and stuff to your etc/hosts file
ie:
127.0.0.1 hostname localhost.localdomain localhost
145.123.123.123 hostname hostname.domain.com


and maybe also your

/etc/sysconfig/network file

must have

NETWORKING=yes
HOSTNAME=hostname.domainname.com
NISDOMAIN= ... only if part of one
GATEWAY=123.123.123.254
 
  


Reply



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
Serial Port not recognized in Fedora 2 Ignorant_User Linux - General 0 01-04-2005 10:34 PM
fedora... CDR not recognized AnimaSola Linux - Hardware 14 09-03-2004 01:27 AM
Fedora Core 2, RPM Files not recognized vegeta9870 Linux - General 3 07-05-2004 10:20 PM
RAID array not recognized by fedora 1 FalconSS Linux - Hardware 4 05-05-2004 12:09 PM
Fedora audio CD not recognized Skorp Linux - Newbie 2 04-26-2004 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 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