LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-11-2013, 02:31 PM   #1
tontoOz
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Rep: Reputation: 0
Cannot connect to ethernet with wired connection Ubuntu 12.10


I am new to Ubuntu (installed Ubuntu 12.10 desktop on my Mac Mini today from Ubuntu iso – mac mini had blank SSD on it i.e. no OS X at all).

First drama is that Ubuntu installer seems to be setup for DHCP whereas my LAN is all static IP based.

Anyway, Ubuntu installed okay except that it seems to have gone into loopback mode and cannot find the Ethernet adapter on the Mac Mini.

Doing an 'ifconfig -a' confirms the loopback.

Doing an lspci reveals the following: 01:00.0 Ethernet controller: Broadcom Corporation Netxtreme BCM57766 Gigabit Ethernet PCIe (rev 05)

I tried the following:

Setting /etc/hosts file to include: 127.0.0.1 localhost 192.168.0.2 merlot

I wanted to set /etc/network/interfaces file to have:

auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

Except that eth0 (mac mini only has one ethernet connector) doesn't seem to exist as far as Ubuntu is concerned. 192.168.0.1 is my modem/router which connects directly to the Internet.

I wanted to edit /etc/resolv.conf so that I could specify some DNS name servers (3 in total) that should be used except that the resolv.conf file contained text warning me that the file would be overwritten so don't bother doing anything manually in that file.

Checking 'System Settings > Network' I cannot see wired Ethernet at all. There is, for some reason, a 'Network Proxy' defined. A messagebox appears saying:

"The system network services are not compatible with this version."

When I am able to modify via 'System Settings > Network' the only option permitted to me is to add a 'vpn' definition.

I have not been able to establish a network connection at all.

1. What can I try to fix this?

2. Do I need a driver from somewhere and can I install said driver without having to recompile the kernel?

3. Is there a GUI way of setting network parameters or is editing the hosts, resolv.conf (???), and interfaces file the only way?

4. How can I find the Ethernet Mac address from terminal (I couldn't get it by doing 'ifconfig -a')?

Last edited by tontoOz; 03-11-2013 at 02:34 PM.
 
Old 03-11-2013, 05:27 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Can you provide more info, output of
Code:
lspci -knn | grep -i eth -A 2
would help.
 
Old 03-11-2013, 05:46 PM   #3
tontoOz
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
More info as requested (don't know what it means though)

lspci -knn | grep -i eth -A 2

01:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57766 Gigabit Ethernet PCIe [14e4:1686] (rev 01)
Subsystem: Broadcom Corporation NetXtreme BCM57766 Gigabit Ethernet PCIe [14e4:1686]
01:00.1 SD Host controller [0805]: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader [14e4:16bc] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:0000]


lspci -nn | grep 0200

01:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57766 Gigabit Ethernet PCIe [14e4:1686] (rev 01)
 
Old 03-11-2013, 06:37 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
A quick Google brings up this: http://comments.gmane.org/gmane.linux.network/236867

It seems it will work with tg3, if it's PCI-ID is not listed in your kernel sources you have to tweak it or switch to a newer kernel.
 
Old 03-13-2013, 03:28 AM   #5
tontoOz
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Tried a few things but still no joy

I have tried upgrading to the 3.7.10 and then the 3.8.2 kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/

The kernel updated fine but I still don't have Ethernet. I don't know what to do next. Any ideas?

Could you please explain what you mean by "if it's PCI-ID is not listed in your kernel sources you have to tweak it"?

We know that the PCI-ID should be 14e4:1686 but what do I do next?

Incidentally I tried downloading the Broadcom driver from:

http://www.broadcom.com/support/lice...nux-3.124c.zip

and then doing a make but I got a bunch of errors which I don't know what to do next about:


tony@merl0t:~/tg3/Server/Linux/Driver/tg3-3.124c$ make
sh makeflags.sh /lib/modules/3.8.2-030802-generic/build > tg3_flags.h
make -C /lib/modules/3.8.2-030802-generic/build SUBDIRS=/home/tony/tg3/Server/Linux/Driver/tg3-3.124c modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.2-030802-generic'
CC [M] /home/tony/tg3/Server/Linux/Driver/tg3-3.124c/tg3.o
/home/tony/tg3/Server/Linux/Driver/tg3-3.124c/tg3.c:96:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[2]: *** [/home/tony/tg3/Server/Linux/Driver/tg3-3.124c/tg3.o] Error 1
make[1]: *** [_module_/home/tony/tg3/Server/Linux/Driver/tg3-3.124c] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.2-030802-generic'
make: *** [default] Error 2
tony@merl0t:~/tg3/Server/Linux/Driver/tg3-3.124c$
 
Old 03-13-2013, 07:30 AM   #6
tontoOz
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
I have also tried this solution:

http://ubuntuforums.org/showthread.p...1#post12337391

The first problem I encountered was that it wasn't obvious that DKMS needs to be installed first from here:

http://linux.dell.com/dkms/

After that DKMS would work but I got the following error after trying to do the 'make'. I have no idea what this means or what to do next before trying install. Any ideas, please advise:

DKMS make.log for tg3-3.124c for kernel 3.8.2-030802-generic (x86_64)
Wed Mar 13 20:17:56 WST 2013
sh makeflags.sh /lib/modules/3.8.2-030802-generic/build > tg3_flags.h
make -C /lib/modules/3.8.2-030802-generic/build SUBDIRS=/var/lib/dkms/tg3/3.124c/build/src modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.2-030802-generic'
CC [M] /var/lib/dkms/tg3/3.124c/build/src/tg3.o
/var/lib/dkms/tg3/3.124c/build/src/tg3.c:96:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[2]: *** [/var/lib/dkms/tg3/3.124c/build/src/tg3.o] Error 1
make[1]: *** [_module_/var/lib/dkms/tg3/3.124c/build/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.2-030802-generic'
make: *** [default] Error 2
 
  


Reply

Tags
networking



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] why my wireless can't connect without wired connection? wubai Linux - Networking 19 10-25-2012 09:45 PM
Unable to connect a wired connection requesting help lonely14 Linux - Newbie 1 07-09-2012 03:41 AM
Inconsistant wired ethernet connection only with Debian Squeeze Elixer Debian 3 01-10-2012 09:58 PM
Fedora 15 Slow Wired Ethernet Connection To Internet GenePoole59 Linux - Networking 2 12-14-2011 04:33 PM
Routing between a wired ethernet (internet connection) and a wireless card (home net) ner0 Linux - Wireless Networking 8 11-29-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration