10.04 installation with no internet access

More
19 Oct 2014 22:23 - 19 Oct 2014 22:24 #52190 by ArcEye
Hi

Looking at the modules in a 10.04 installation, there is a via-rhine.ko and a mii.ko

Have you actually tried these?

In /etc/modules add the lines

via-rhine
mii


(The second line may not actually be needed, I think it will be a dep of the first)

Then re-boot and check the dmesg output (dmesg | grep eth0) to see if the card was recognised and activated

lspci -vv will list all the pci cards and chips, see if the Via card is shown with 'Kernel driver in use: via-rhine'

If that shows and ifconfig shows eth0 (or eth1) as being up, you are in business

regards
Last edit: 19 Oct 2014 22:24 by ArcEye.

Please Log in or Create an account to join the conversation.

More
21 Oct 2014 03:45 - 21 Oct 2014 04:38 #52222 by cmtunnel
I am not finding /modules in the system. Do I need to make a directory or am I just doing something wrong? Do I do this in the terminal or can i add the lines in the file through the gui? I feel like the live cd is not downloading everything i need.




Nevermind. Found the file.
Last edit: 21 Oct 2014 04:38 by cmtunnel.

Please Log in or Create an account to join the conversation.

More
22 Oct 2014 00:58 #52249 by cmtunnel
I got this output:

chris@cncanimal:~$ dmesg|grep eth0
[ 17.732519] eth0: VIA Rhine at 0xec011000, 00:50:ba:b0:fa:2c, IRQ 17.
[ 17.738557] eth0: MII PHY found at address 8, status 0x7809 advertising 05e1 Link 0000.
[ 70.381607] eth0: link down
[ 70.390548] ADDRCONF(NETDEV_UP): eth0: link is not ready
chris@cncanimal:~$


btw the card was not plugged into the internet source when i wrote this......not sure if that's necessary or not.

Please Log in or Create an account to join the conversation.

More
22 Oct 2014 15:50 #52267 by ArcEye

I got this output:

chris@cncanimal:~$ dmesg|grep eth0
[ 17.732519] eth0: VIA Rhine at 0xec011000, 00:50:ba:b0:fa:2c, IRQ 17.
[ 17.738557] eth0: MII PHY found at address 8, status 0x7809 advertising 05e1 Link 0000.
[ 70.381607] eth0: link down
[ 70.390548] ADDRCONF(NETDEV_UP): eth0: link is not ready
chris@cncanimal:~$

btw the card was not plugged into the internet source when i wrote this......not sure if that's necessary or not.


If it is not connected to anything, there is no network to connect to, so you can't test anything, needs to be connected to a working router at least.

I think the modules are probably right ( you need to do the tests in the last 2 lines of my previous post too and post those)

This chip is very problematic with Linux and reading through various posts on different forums, one thing that came up a couple of times was the connection speed being wrongly set. (too high)

Download ethtool as described here www.thegeekstuff.com/2010/10/ethtool-command/
and run ethtool eth0

Try setting speed down to 10baseT, auto-negotiation off etc as described and see if you can get the link up.

I had intermittant problems with the r8169 ethernet chip on Wheezy, link not coming up.
I looked at the /etc/network/ifup.d scripts and realised that the ethtool script was never being used because ethtool was not installed by default.

After installing it, it seems to get the setting right at boot and the link always comes up.

Beyond this, it is really one for the Ubuntu forums, I have no personal knowledge of this chip

regards

Please Log in or Create an account to join the conversation.

More
22 Oct 2014 18:20 #52271 by cmtunnel
Thanks alot for the info. I'll try that tonight. In the meantime, if you can recommend a card that would be great and I'll order one if the recommendations don't work. I have a plug in wireless for my laptop and it works great.....no drivers, everything is built into the card. I think they only make these for laptops though. Thanks again.

Please Log in or Create an account to join the conversation.

More
23 Oct 2014 16:09 #52326 by ArcEye

if you can recommend a card that would be great and I'll order one if the recommendations don't work.


I am rather hesitant to recommend one, I don't use 10.04 and have no idea what computer you have.

I use a Realtek R8168/R8111 based card which uses the r8169 driver

This driver exists on 10.04, but you also need the firmware-realtek package and possibly need that package from a newer version of Ubuntu
(Even under Wheezy, you need to get that package from the Jessie repos to get the latest firmware)

See if you can get your existing card working before chasing a different set of problems with another card :laugh:

regards

Please Log in or Create an account to join the conversation.

More
25 Oct 2014 04:43 #52371 by cmtunnel
I plugged it in and it now works fine. Thank you very much for your time. Time to move on to the pncconf section.

cm

Please Log in or Create an account to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum