Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Just got some new parts to but together a local development server with Ubuntu server 12.10 and I can't get networking working.

I have an airport extreme for my router and it works find with CentOS boxes I have running now. it uses DHCP.

I have tried using auto and static configurations in /etc/network/interfaces with no luck

I also followed this guide to install the rtl8168 driver http://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/

ping 8.8.8.8 gives the error "Network is unreachable"

ifconfig:

eth0    Link encap:Ethernet HWaddr ***
        UP BROADCAST MULTICAST MTU:1500 Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0
        RX bytes:1184 (1.1 KB) TX bytes:1184 (1.1 KB)
        ....

removed HWadder and left the Local loopback in the above output

I tried changing ethernet cables

This is a new install on a new box, it was never able to connect to the internet, even during initial install and after a reinstall

I am using the B75MA-P45 motherboard from MSI. I also have a PWLA8391GT pci adapter if that would help. I have tried without the adapter installed.

Any suggestions?

UPDATE

After fixing the issue with the driver my ethernet card is now working so I can ssh to the server. But I would like to get the tcp on the actual motherboard working. this is the current output of ifconfig -a

eth0      Link encap:Ethernet  HWaddr *** 
          inet addr:10.0.1.99  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::92e2:baff:fe39:5c9c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:160632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:84432 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:214002238 (214.0 MB)  TX bytes:11277417 (11.2 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:275 errors:0 dropped:0 overruns:0 frame:0
          TX packets:275 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:20610 (20.6 KB)  TX bytes:20610 (20.6 KB)

p1p1      Link encap:Ethernet  HWaddr ***  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:42 Base address:0xc000 

virbr0    Link encap:Ethernet  HWaddr *** 
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

What is p1p1 and virbr0? How do i use them/configure them so that I can use the other tcp port?

share|improve this question
1  
Is the module loaded? Check lspci -v. –  Faheem Mitha May 7 '13 at 19:31
1  
interesting, it still says it uses r8169 but also lists the r8168 module –  UberBrainChild May 7 '13 at 19:44
1  
You need to blacklist the r8169 module, and also unload it. Did you do step 7? –  Faheem Mitha May 7 '13 at 19:51
1  
Yea, I think i fixed it though, I got some errors on the mkinitramfs step a while back and disregarded it then but went back now, it seems it used uname as a string since uname -r is written as 'uname -r' –  UberBrainChild May 7 '13 at 19:55
1  
Now it is using the r8168 driver but it didn't change anything for me, still no working networking. –  UberBrainChild May 7 '13 at 20:00
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.