Hi, sorry if this is covered by a FAQ somewhere - if so, please point me to the right place.
Background: I’m trying to set up a dual boot desktop PC. Windows 7 nearly all worked effortlessly but the Linux side is much more awkward than last time I did a similar thing. I’ve got Ubuntu 13.10 installed on it, and I’ve also booted from live-DVDs of Mint and Fedora with pretty much the same effects as those I describe here from the Ubuntu perspective.
Problem 1: no functional network connectivity, either ethernet or wireless. Help to get at least ethernet working would be greatly appreciated; wireless I can cope without.
Problem 2: no USB2 access under Linux. This means I have to plug the mouse & keyboard into the USB3 ports, which there are only 2 of. This means I can’t easily even use a USB stick to copy text onto this machine - which makes it awkward collecting diagnostics for the connectivity problem.
Minor problems: DVD drive not working in Ubuntu; card reader not working in Ubuntu.
It’s a new machine, but I’ve moved various components across from an older dual-boot machine. Everything works fine in the BIOS/boot menu, and in Windows 7 (except under Windows while the USB2 ports work fine, the USB3 ports are unusable for the mouse & keyboard.)
there’s no point in trying to cover all these issues at the same time in the same thread, it will just become very confused … We’ll start with Ethernet eh ?
What’s the output from:
sudo lshw -C network
Thanks a lot for responding, and yes getting the ethernet connectivity first would be a great help.
Here’s the response from sudo lshw -C network :
*-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:03:00.0 logical name: eth0 version: 06 serial: 74:d4:35:5e:fa:8b size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast-yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:73 ioport:d000(size=256) memory:fe200000-fe200fff memory:da100000-da103fff *-network description: Wireless interface product: RT3062 Wireless 802.11n 2T/2R vendor: Ralink Corp. physical id: 7 bus info: pci@0000:04:07.0 logical name: wlan0 version: 00 serial: c8:3a:35:c0:5f:bf width: 32 bits clock: 33MHz capabilities: pm bus_master cap_list ethernet physical wireless configuration: broadcast-yes driver=rt2800pci driverversion=3.11.0-12-generic firmware=0.34 latency=32 link=no maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn resources: irq:21 memory:fe100000-fe10ffff
Sorry to have to do this to you (as I know it’s awkward without an interweb connection) but can you post the output from:
lspci -vnn | grep -i net
and
lsusb
and whilst connected to your outer with an ethernet cable:
ifconfig
and
ping -c 5 173.194.34.162
Sure - it took a while to copy it all over, but if that’s what it takes … I really do appreciate the help.
`
$ lspci -vnn | grep -i net
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
04:07.0 Network controller [0280]: Ralink Corp. RT3062 Wireless 802.11n 2T/2R [1814:3062]
$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 004: ID 1a2c:0021 China resource Semico., Ltd Keyboard
Bus 004 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 004 Device 002: ID 2109:3431
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ ifconfig
eth0 Link encap:Ethernet HWaddr 74:d4:35:5e:fa:8b
inet6 addr: fe80::76d4:35ff:fe5e:fa8b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1424 errors:0 dropped:1 overruns:0 frame:0
TX packets:0 errors:0 dropped:329 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130000 (130.0 KB) TX bytes:0 (0.0 B)
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 MULTICAST MTU:65536 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4976(4.9 KB) TX bytes:4976(4.9 KB)
wlan0 Link encap:Ethernet HWaddr c8:3a:35:c0:5f:bf
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 KB) TX bytes:0 (0.0 B)
$ ping -c 5 173.194.34.162
connect: network is unreachable
`
Do you know how to edit your connection in networkmanager ?
if so, for the wired connection in the IPv4 tab, is the “Method” set to “disabled” by any chance ?
No, the Method is set to “Automatic (DHCP)”
What kind of router do you have? I presume it is working fine in Windows…
From Windows, can you post what your IP, Gateway, and DNS server settings are (assuming they are on Auto/DHCP too)?
Yes, it works fine in Windows (and did from the old PC too in both Windows and Linux).
The router is a NetGear WNR2200.
Here’s the output from ipconfig /all
`
Windows IP Configuration
Host Name . . . . . . . . . . . . : TB_win
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 802.11n Wireless LAN Card
Physical Address. . . . . . . . . : C8-3A-35-C0-5F-BF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::a561:ec28:d4a6:7f46%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 14 March 2014 10:35:55
Lease Expires . . . . . . . . . . : 15 March 2014 19:03:57
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 197671477
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-AB-C6-99-C8-3A-35-C0-5F-BF
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{B30E056C-45BF-47CB-A6F5-BAE42A46D5D5}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 9:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:1c52:2387:a9f8:3bf6(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::1c52:2387:a9f8:3bf6%12(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled`
You could try to disable IPv6 on your linux box.
To disable in the running system:
sudo su
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
exit
See if that helps.
Try:
ping -c 5 192.168.1.1
I tried disabling ipv6 this way, but the ping was still dead.
You may want to disconnect the network lead and then plug it back again so that it will obtain the new IP v4 address
Have you tried setting a static IPv4 address for the wired connection ?
are there any clues in syslog ?
I think it is connecting to the router but only obtaining the IPv6 address:
$ ifconfig eth0 Link encap:Ethernet HWaddr 74:d4:35:5e:fa:8b inet6 addr: fe80::76d4:35ff:fe5e:fa8b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
@11 - I tried disabling ipv6, unplugging the ethernet cable, waiting 10 seconds, plugging it back in again. No joy.
@12 - I haven’t tried a static ipv4 address as I don’t know how to pick one that will work. Could you give me a pointer?
There is lots of stuff in syslog about eth0, but I don’t know how to select the relevant parts, and retyping large chunks of syslog is a bit daunting - can you give me a clue how to select the most relevant parts please?
Any IP address should work so long as you select an address that no other device is assigned to
Before you set a static address it might be a good idea to set a DHCP pool in your router settings, I have mine set to only assign DHCP addresses from 192.168.2.100 to 192.168.2.254 which means I can give any device a static address from 192.168.2.2 to 192.168.99 without the possibility of the DHCP server reassigning those addresses to any other device, the way to do that would depend on your router, my router is a Virgin Media Superhub (see screenshot)
Good luck
Graeme
OK, before messing with the DHCP pool in the router, let’s just give the wired connection a static IP that’s unlikely to be handed out by your DHCP server, just as a test … no point in changing router settings if this doesn’t help
Open networkmanager, and edit the wired connection.
set it as:-
on the IPv6 tab, set:-
Method: Ignore
on the IPv4 tab, set:-
[b]Method: Manual
Address - 192.168.1.150
Netmask - 255.255.255.0
Gateway - 192.168.1.1
Additional DNS servers: 208.67.222.222, 208.67.220.220[/b] ← don’t miss out the comma
Now SAVE the changes, and reboot.
any change ?
I’ve followed the instructions in reply # ?? , and it does make a difference.
Ping no longer comes back with immediate “connect: network is unreachable
”.
Instead, it actually attempts the transmission, each attempt coming back with a line like:
From 192.168.1.150 icmp_seq=1 Destination Host Unreachable
sorry that should have said “I’ve followed the instructions in reply # 16”
what did you ping … the router ?
so:
ping -c 5 192.168.1.1
is unreachable ?
[EDIT]
Have I asked if a wired connection works from the LiveCD/LiveUSB ?
–