Network Connection Problem

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

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 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.

I forgot to add. I have a D-Link DGL-4100 router and it is connected to a HP J9077A switch.
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,
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
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?
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.
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Network Connection Problem00
This forum uses Lukasz Tkacz MyBB addons.