LinHES Forums
http://forum.linhes.org/

Can't connect to backend after setting up ethernet?
http://forum.linhes.org/viewtopic.php?f=6&t=3316
Page 1 of 1

Author:  justin218 [ Mon Jan 24, 2005 1:53 am ]
Post subject:  Can't connect to backend after setting up ethernet?

I was originally using my Pundit via a wireless network but now it will be used with a wired network so I used netcardconfig to get connected. It worked fine until I restarted.
I restarted but now I wasnt connected to my network and the frontend gives a message about how it can't connect to the backend. Both the backend and frontend are on the pundit. I ran netcardconfig again so now I am connected to my network. The frontend doesn't give the message about not being able to connect anymore but it locks up if I try to watch tv or exit. From running it in an xterm I find that it still can't connect to the backend.
So I dont connet to my network at boot and my frontend doesn't connect to my backend. I dont really understand how configuring my ethenet connection messes with the mythtvbackend... Been trying to figure it out but I have no idea :(

Author:  Xsecrets [ Mon Jan 24, 2005 8:52 am ]
Post subject: 

you must have put in your actual ip in the setup. if that interface goes down for any reason you can't access the backend even if it's on the same computer. If you leave it at the default of using the loopback it shouldn't matter, as the loopback should always be up.

Author:  justin218 [ Mon Jan 24, 2005 10:56 am ]
Post subject: 

I did leave it as the default though, 127.0.0.1.

Author:  Liv2Cod [ Mon Jan 24, 2005 11:46 am ]
Post subject: 

Try logging in from a shell and running "ifconfig -a" to make sure your loopback port exists and is enabled:
Code:
root@mythtv:~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:50:8D:E5:7A:B0
          inet addr:192.168.51.161  Bcast:192.168.51.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1726621 (1.6 MiB)  TX bytes:978461 (955.5 KiB)
          Interrupt:11 Base address:0xf000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:966745 errors:0 dropped:0 overruns:0 frame:0
          TX packets:966745 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:83569785 (79.6 MiB)  TX bytes:83569785 (79.6 MiB)

Author:  justin218 [ Mon Jan 24, 2005 6:45 pm ]
Post subject: 

It's there but it doesnt have 127.0.0.1 listed as the IP. How do I fix that?

Author:  cesman [ Mon Jan 24, 2005 11:42 pm ]
Post subject: 

Code:
ifconfig lo 127.0.0.1 up

Author:  justin218 [ Tue Jan 25, 2005 12:22 am ]
Post subject: 

That fixed it, thanks!
It resets back at boot though, how can I make it stick?
and also how can I make my netcardconfig settings stick, they don't seem to.

Author:  willem [ Tue Jan 25, 2005 2:20 am ]
Post subject: 

At boottime the network settings are read from /etc/network/interfaces. Here's an example:

Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
# automatically added when upgrading

auto eth0
iface eth0 inet static
        address 1.2.3.4
        netmask 255.255.255.0
        network 1.2.3.0
        broadcast 1.2.3.255
        gateway 1.2.3.254

Author:  justin218 [ Tue Jan 25, 2005 7:23 pm ]
Post subject: 

Thanks so much to everyone that helped me, it is running perfectly now.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/