![]() |
|
|
#1 |
|
∂2ω=0
Sep 2002
República de California
103·113 Posts |
Been running my Haswell system for ~2 weeks now, using thumb drive for file transfer, which is OK for transferring a Sandy-Bridge-suitable binary and doing preliminary perforance testing, but not for ongoing Haswell-specific [= AVX2] code-dev work. I was unable to find any Linux network drivers for the builtin networking on the MSI motherboard, so our very own Scott Bardwick kindly sent me an Intel network interface card [NIC] free of charge, and he and Mike/Xyzzy helped me in my efforts to get networking up and running - unsuccessfully, hence the thread. Here is a cull of the various e-mails we exchanged:
--- o Here is the basic LAN topology [which Scott wrote up as an aid] I had running on the older Sandy Bridge-based system which previously occupied my ATX case [and which used the same Linux-install-on-SSD as I am still using]: Code:
We have a macbook with WiFi and wired networking. The MacBook WiFi appears to use 192.168.0.xxx network range. The MacBook wired connection should be using 192.168.1.xxx range. The Haswell box is wired only. We want to wire the Haswell box to the Mac without a router, so an Ethernet cable is directly connecting the two. The Haswell needs to be using 192.168.1.xxx to talk to the MacBook. o Intel Ethernet card install notes: - After initial attempt to install card in pci1 slot led to no-joy, retried in pci3; - 'lspci' shows hardware is recognized; - 'lsmod' shows e1000e entry [= Intel NIC] as expected, but '0' in 'used by' column - 'dmesg | grep eth0' shows the following ['renamed' entry same as 1st attempt, when card was plugged into pci1]: Code:
e1000e 0000:02:00.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:1b:21:a8:53:44 e1000e 0000:02:00.0: eth0: Intel(R) PRO/1000 Network Connection e1000e 0000:02:00.0: eth0: MAC: 3, PHY: 8, PBA No: E46981-005 udev[572]: renamed network interface eth0 to eth2 The last 'renamed' line especially is curious to me - I sense it's telling me something important, not sure what, though. (Retrying 'dmesg | grep eth2' shows that the above line is the only one output by dmesg which refers to eth2). Specifically, /etc/network/interfaces currently contains Code:
allow-hotplug eth0 iface eth0 inet static --- At this point Mike suggested I download a Ubuntu image onto USB flash and try to boot from it, using its recipe to configure networking, but stopping short of anything that writes to the current hard disk. I have burned a Ubuntu boot flash and tested whether the BIOS can see that, but have not yet made the above experiment. Rather, after changing eth0 to eth2 in my /etc/network/interfaces file, I simply booted into Debian as normal to test out that change ... and 'ifconfig' now shows the eth2 stuff above the loopback entries: Code:
eth2 Link encap:Ethernet HWAddr 00:1b:21:a8:53:44 inet addr:192.168.1.102 Bcast:192.168.1.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:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:16 Memory:f7cc0000-f7ce0000 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) Any help from the Linux/networking gurus is appreciated! Last fiddled with by ewmayer on 2013-06-28 at 23:52 Reason: fixed loopback IP prefix to read 127 |
|
|
|
|
|
#3 |
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
|
|
|
|
|
|
#4 |
|
Sep 2002
Database er0rr
373910 Posts |
Not sure, but "ifdown eth2", "ifup eth2" might help.
Check out your loopback; I am pretty sure it should be 127.0.0.1 My /etc/network/interfaces: Code:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 #NetworkManager#iface eth0 inet dhcp "/etc/init.d/networking restart" won't do any harm
Last fiddled with by paulunderwood on 2013-06-28 at 22:45 |
|
|
|
|
|
#5 |
|
Sep 2002
Database er0rr
E9B16 Posts |
Can you "ssh 192.168.1.102" from the Haswell? This will tell you sshd is installed and running.
|
|
|
|
|
|
#6 | ||||
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
'ifup' gives 'interface eth2 already configured'
Quote:
Quote:
Quote:
Quote:
One thing I notice - during all the above, I saw none of the LEDs on the port of the NIC flash ... tried unplug/replug cable, nothing. But presumably the card is active, otherwise none of the above stuff would work, right? Since the loopback stuff if OK [typo by me in my OP being the only bug], is the next-thing-to-try changing the netmask as you suggested? |
||||
|
|
|
|
|
#7 | |
|
Sep 2002
Database er0rr
E9B16 Posts |
Quote:
Yeah, the subnet mask trick might work, but is a bit perplexing if the wired socket of the MacBook is on 192.168.1.xxx. |
|
|
|
|
|
|
#8 |
|
"Mike"
Aug 2002
202016 Posts |
To restart networking, as root type:
/etc/init.d/networking restart |
|
|
|
|
|
#9 | |
|
∂2ω=0
Sep 2002
República de California
265678 Posts |
Quote:
Gotta get some actual algo work done ... let's sleep on it, thanks for the suggestions! |
|
|
|
|
|
|
#10 |
|
Sep 2002
Database er0rr
E9B16 Posts |
I guess you would have to change the netmask on the MacBook too.
Make sure the cable works too. |
|
|
|
|
|
#11 | |
|
∂2ω=0
Sep 2002
República de California
1163910 Posts |
Quote:
[I say the NIC connector because the same cable worked just fine with the old mobo ... let's just say 'connection to the outside world is dodgy'.] Anyhoo, even with one hand jamming the cable in while the other types 'shh...' ... no joy. Also reverted the netmasks on both sides to the previous values of 255.255.255.0 and retried (again keeping one eye on the connected-or-not status line in the macbook's dialog to make sure it read 'connected') - still nothing. Bloody hell. BTW, I still have no idea what that 'rename eth0 to eth2' business is all about - can anyone explain why the old-setup eth0 wasn't OK? Last fiddled with by ewmayer on 2013-06-29 at 01:08 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Increase in RAM requirement soon? | Jwb52z | PrimeNet | 4 | 2013-05-24 09:42 |
| power consumption | esakertt | Hardware | 1 | 2012-10-09 20:19 |
| Networking help | Prime95 | Hardware | 18 | 2011-05-29 22:16 |
| Power consumption | dans | Hardware | 7 | 2004-06-06 15:15 |
| Power consumption | optim | Hardware | 8 | 2003-12-06 04:13 |