Kodi Community Forum
Network Connection Problem - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Network Connection Problem (/showthread.php?tid=41633)



Network Connection Problem - End3r - 2008-12-06

Hello,

I am having trouble staying connected to my network. I have XBMC-Live 8.10. Installed on the following hardware:

GIGABYTE GA-73PVM-S2H - nForce 630i/NVIDIA GeForce 7100
Intel Core 2 Duo E7300
2GB DDR2 SDRAM DDR2 800

I have it installed to a 4gb USB flash drive.

First a little background. I am really new at linux. So I used Google to try and find the problem but of course that just leads you into a big circle. But I finally try dmesg and it prints out:

eth0: no IPv6 routers present

So after some research I figure my router doesn't support IPv6(Whatever that is). So I disable it in alias and blacklist it.

I then try and take down the network so I type: ifdown eth0. It then says network connection not configured. So I type ifup eth0 and it goes through assigning it to a dhcp. Things are starting to look good. I ping google.com and it works. I get back into XBMC weather works and I can create a SMB connect. Everything is good.

Until I turn it off and turn it back on. For some reason my Network connection doesn't work. So I go back to terminal do a dhclient eth0. It does the dhcp thing and everything works. I am suspicious now so I restart it again and low and behold no connection.

I checked my routers page and it shows two instances of XBMC each with a different IP address but with the same MAC address. So I am guessing that I have messed something up royally.

If there is any extra information needed to diagnose the problem just let me know and I will post it up.

Thanks for the help.

~Jason


- End3r - 2008-12-06

I forgot to add. I have a D-Link DGL-4100 router and it is connected to a HP J9077A switch.


- topfs2 - 2008-12-06

Weird that it doesnt do that automagically as its supposed to be in the init scripts. Anyhow. You can add dhclient eth0 to /etc/rc.local and it should be done at bootup.

Also there should be no need to blacklist ipv6 AFAIK because Linux is just looking for them, it will revert to ipv4 automatically,


- End3r - 2008-12-06

I added dhclient eth0 to /etc/rc.local and when I boot up still no connection. Is there anything else i need to do i read somewhere you have to run this to make it run:

sudo chmod +x /etc/rc.local

Is that correct also I had to create rc.local is that normal?


- End3r - 2008-12-06

Well I got it to work. To be honest I don't really know what I did. I had it in the bedroom connected to my network and I moved it to the network port in the living room and now there aren't any problems.

Though the reason it is working at all is because of the dhclient eth0. Thanks for recommending that.