[mythtv-users] [Q] : Why only numeric IP addresses work?

Vincent K. Britton Vincent.Britton at wiznet.com
Thu Feb 19 16:33:12 EST 2004


This is hard to understand.  You may want to ask the question again with more details.

However if I understand you correctly, your LAN works fine provided you us IP address, opposed to hostnames.

If that is correct then I would like to verify that you have your host to IP addresses setup correctly in you /etc/hosts file, example:

# more /etc/hosts   
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 		localhost
192.168.0.1 	backendserver
192.168.0.2		frontendserver

Alternately do you use DHCP?  If so do you have DNS Server?

Vince

-----Original Message-----
From: manu [mailto:eallaud at yahoo.fr] 
Sent: Thursday, February 19, 2004 2:27 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] [Q] : Why only numeric IP addresses work?

Le 19.02.2004 11:18:04, Ray Olszewski a écrit :
> Just to be clear at the outset ... this really is not a MythTV  
> problem. It is a problem with your Linux networking setup, one that  
> would affect a lot of apps, and should be fixed at that level, not  
> worked around via trickiness with /etc/hosts or somesuch.
> 
> Still, you do want to get it fixed.
> 
> To get help with it (either here or on a help list for your distro),  
> you need to explain the setup in enough detail that someone can help  
> you spot the bug. Even if an interface is not connected to a LAN, it  
> should still be possible, trivially easy really, to bring it up  
> (assign it an IP address and related stuff). To figure out why your  
> backend's eth0 is not coming up, please tell us:
> 
> 1. How the backend is connected to the LAN. As Adam asked, does it  
> connect to a hub, or do you connect and disconnect the laptop  
> directly (using a crossover cable)? Or is a WiFi setup involved? Or  
> something else (what?)?
> 
> 2. What eth0 is. Is it a standard NIC of some sort, or something  
> unusual?
> 
> 3. What Linux distro and version you are using.
> 
> 4. Even if the interface it not "up" (configured), it should still  
> exist. Check this with "ifconfig -a" or (I think) "ip link show".
> 
> 5. If your Linux is tolerably standard, it uses "ifup eth0" to bring  
> up that interface. What happens if you run that command (as root)  
> from the command line? (If you get an error response, please quote it  
> exactly. If you don't, quote the relevant portion of the output of  
> "ifconfig" or "ip addr show" after you run it.) If your distro brings  
> up interfaces a different way, do whatever is appropriate to bring up  
> eth0 via the command line and tell us the result, as above.
> 
> 6. How the desktop host's IP address is being assigned. Finding the  
> answer is a bit distro specific, but checking for its stanza in /etc/ 
> network/interfaces is a likely place to start. Meaningful answers to  
> this question are "static" and "dhcp" ... if the second, where is the  
> DHCP server it gets its lease from?
> 
> 7. Some interpretations of what you've said so far imply that this  
> backend is a standalone system with no connection to the Internet.  
> Or, just possibly, the laptop acts its route to the Internet (if it  
> has 2 interfaces and an appropriate configuration to route or  
> bridge). Please clarify this part, if prior answers do not already  
> make it clear. (If it is isolated, how does it use Myth? What do you  
> do about listings?)

Thanks for all the information, and I am sorry that I did not point it  
out sooner, but the real issue here is the fact that putting numeric IP  
in backend setup all works OK (that it the remote frontend can connect  
to the master backend). But if I put the hostname directly the remote  
frtend cannot connect.
The network issue is, I think, related to the fact that I have to  
insmod the nvnet module in one of the startup scripts.
Bye
Manu


More information about the mythtv-users mailing list