PDA

View Full Version : [ubuntu] Service Network restart freezes desktop in 13.10 64-bit



gore-amit
January 3rd, 2014, 10:23 AM
I have installed 13.10 (64 bit) on Acer E1-530 laptop. I am able to hook to my wifi network without any problem. However for a LAN/Ethernet connection, I am facing issues. Searching around net, I edited /etc/network/interfaces and added couple of lines. As soon as I execute command : sudo service networking restart. I am able to move mouse and click on icons but no action.
All I could do is go to terminal ie Ctr+Alt+F2 and login and reboot the machine.

Problem 1)
Ethernet is not working out of box

Problem 2)
To resolve problem any changes and restarting neworking services results into system freezing.

Clicking on "Edit Connection" on Network/WiFi icon in top panel.
I created a new connection but funny part is I cant see "Device MAC address"

Here are the snippet of some of the commands:

-Aspire-E1-530:~$ ifconfig
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:65536 Metric:1
RX packets:2186 errors:0 dropped:0 overruns:0 frame:0
TX packets:2186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:308441 (308.4 KB) TX bytes:308441 (308.4 KB)

wlan0 Link encap:Ethernet HWaddr a4:db:30:7c:cf:67
inet addr:192.168.11.17 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::a6db:30ff:fe7c:cf67/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:252400 errors:0 dropped:0 overruns:0 frame:0
TX packets:183699 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:221919913 (221.9 MB) TX bytes:48252951 (48.2 MB)

-Aspire-E1-530:~$ lspci -nnk | grep -iA2 eth
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe [14e4:16b3] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:0775]
02:00.1 SD Host controller [0805]: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader [14e4:16bc] (rev 01)


-Aspire-E1-530:~$ sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: NetXtreme BCM57786 Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi msix pciexpress bus_master cap_list
configuration: latency=0
resources: memory:c0410000-c041ffff memory:c0420000-c042ffff memory:c0430000-c04307ff
*-network
description: Wireless interface
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: a4:db:30:7c:cf:67
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.11.0-12-generic firmware=N/A ip=192.168.11.17 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:c0500000-c057ffff memory:afc00000-afc0ffff

-Aspire-E1-530:~$ sudo ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device

-Aspire-E1-530:~$ ifconfig -a | grep eth
-Aspire-E1-530:~$ ifconfig -a | grep eth0


-Aspire-E1-530:~$ sudo ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device

-Aspire-E1-530:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

gore-amit
January 3rd, 2014, 10:54 AM
After editing and adding something like this to interfaces and restarting the machine results into :
Waiting for network configuration. (message on ubuntu screen)
In the console (ctrl+esc) displays:
Waiting up to 60 more seconds for network configuation...
Once machine starts the status of networking process is shown as "running/started"
but there is no network icon in the panel.

gore-amit
January 5th, 2014, 11:35 AM
-Aspire-E1-530:~$ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x168c:0x0036 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="a4:db:30:7c:cf:67", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x14e4:0x16b3 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="20:1a:06:6c:2f:a3", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"