LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Acer Aspire 5750g not seeing wireless network card or wired adapter (https://www.linuxquestions.org/questions/linux-newbie-8/acer-aspire-5750g-not-seeing-wireless-network-card-or-wired-adapter-910961/)

tjfv 10-30-2011 03:06 PM

Acer Aspire 5750g not seeing wireless network card or wired adapter
 
Hi

Just installed 10.04 LTS Ubuntu and cannot see wireless card or connected via wire either. (Acer aspire 5750g, dual boot windows 7)

I read
this post.
At the end he installs the driver for the wired connection but how did he do that (sorry for my ignorance) ?
Would I be better wiping 10.04 LTS and replacing with latest version of Ubuntu?
Or is there a version of linux etc that would not have this problem?

Thanks,

Thomas

T Veale

camorri 10-30-2011 04:26 PM

There is no reason to re-install.

Run these command in a terminal, copy and paste the results here.

'sudo lspci' All commands without the quotes. You will be prompted for the root password, enter it, and the command will run.

This will show the two cards ( the hardware ) you have installed.

Next, run the command 'sudo ifconfig'. This will list any interfaces Ubuntu knows about. It will not know about an interface that does not have a driver loaded.

You can run 'sudo iwconfig' as well, it will show what the system knows about wireless config. ( I suspect nothing at this time ).

I run 10.04 on a netbook. It is very stable, unless this is bleeding edge hardware, then you do not need to go to a newer release. If you do, odds are you will have similar problems to what you see now.

One thing I would suggest, is remove Network Manager applet. Install WICD. I have had nothing but bugs with NM on 10.04.

tjfv 10-30-2011 05:45 PM

Hi

Read README file for wired driver, and somehow managed to insert it into the kernel.
Wireless is not working though.

Thanks!

lspci

00:00.0 Host bridge: Intel Corporation Device 0104 (rev 09)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Device 0116 (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 2 (rev b4)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Device 1c49 (rev 04)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df4 (rev a1)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe (rev 10)
02:00.1 SD Host controller: Broadcom Corporation Device 16bc (rev 10)
02:00.2 System peripheral: Broadcom Corporation Device 16be (rev 10)
02:00.3 System peripheral: Broadcom Corporation Device 16bf (rev 10)
03:00.0 Network controller: Broadcom Corporation Device 4358

ifconfig
eth0 Link encap:Ethernet HWaddr b8:70:f4:93:8a:e5
inet addr:/edited out/ Cast:192.168.1.255 Mask:255.255.255.0
inet6 addr: /edited out/ 64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32570 errors:0 dropped:0 overruns:0 frame:0
TX packets:18585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46960952 (46.9 MB) TX bytes:1472207 (1.4 MB)
Interrupt:16

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:144 errors:0 dropped:0 overruns:0 frame:0
TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11200 (11.2 KB) TX bytes:11200 (11.2 KB)

iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

tjfv 10-31-2011 03:29 AM

new kernel version - no internet connection
 
Hi
Well after installing a driver for the wired internet everything seemed fine.

But Ubuntu downloaded updates and I think a new kernel version, and my internet connection is gone again. When I try to reinstall the driver it fails(get as far as the make command after extracting the files with tar).

What to do?

Could I roll back the kernel version?

Thanks

Thomas

camorri 10-31-2011 06:39 AM

In order to compile anything the kernel headers need to be installed. Are the kernel headers installed for the new kernel?

You will need to open up Synaptic Package manager, type 'kernel' in the search bar and in the left column click on 'Installed'; do the search. Look for kernel packages, one need to have 'headers' in the title. If you can not find it, in the left column, click 'Uninstalled' search on the word kernel, locate the headers that match the current kernel, and install that.

You can determine the current kernel from the command line with the command 'uname -a'. That will tell you what kernel make, or make-install commands.

If that does not help, post the errors you got for the make or make-install.

tjfv 10-31-2011 02:06 PM

Can't install driver for wired internet ; fail at make command
 
When I now boot up I can choose between 2.6.32.24 and 2.6.32.34.
However under neither version can I install the driver.
The errors that occurs when I use make in the driver folder is pasted below:

make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/thomas/Desktop/tg3-3.116j modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
CC [M] /home/thomas/Desktop/tg3-3.116j/tg3.o
In file included from /home/thomas/Desktop/tg3-3.116j/tg3.h:13,
from /home/thomas/Desktop/tg3-3.116j/tg3.c:94:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:50: error: conflicting types for ‘bool’
include/linux/types.h:34: note: previous declaration of ‘bool’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:56: error: redefinition of typedef ‘__le32’
include/linux/types.h:170: note: previous declaration of ‘__le32’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:57: error: redefinition of typedef ‘__be32’
include/linux/types.h:171: note: previous declaration of ‘__be32’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:61: error: conflicting types for ‘resource_size_t’
include/linux/types.h:188: note: previous declaration of ‘resource_size_t’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:86: error: conflicting types for ‘kzalloc’
include/linux/slab.h:313: note: previous definition of ‘kzalloc’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:109: error: static declaration of ‘jiffies_to_usecs’ follows non-static declaration
include/linux/jiffies.h:297: note: previous declaration of ‘jiffies_to_usecs’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:122: error: static declaration of ‘usecs_to_jiffies’ follows non-static declaration
include/linux/jiffies.h:299: note: previous declaration of ‘usecs_to_jiffies’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:137: error: static declaration of ‘msecs_to_jiffies’ follows non-static declaration
include/linux/jiffies.h:298: note: previous declaration of ‘msecs_to_jiffies’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:173: error: static declaration of ‘msleep’ follows non-static declaration
include/linux/delay.h:46: note: previous declaration of ‘msleep’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:185: error: static declaration of ‘msleep_interruptible’ follows non-static declaration
include/linux/delay.h:47: note: previous declaration of ‘msleep_interruptible’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:242: error: static declaration of ‘pci_ioremap_bar’ follows non-static declaration
include/linux/pci.h:1276: note: previous declaration of ‘pci_ioremap_bar’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:512: error: static declaration of ‘pci_choose_state’ follows non-static declaration
include/linux/pci.h:740: note: previous declaration of ‘pci_choose_state’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘pci_choose_state’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:515: error: incompatible types when returning type ‘pm_message_t’ but ‘pci_power_t’ was expected
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:520: error: conflicting types for ‘pci_pme_capable’
include/linux/pci.h:741: note: previous declaration of ‘pci_pme_capable’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:539: error: conflicting types for ‘pci_enable_wake’
include/linux/pci.h:743: note: previous declaration of ‘pci_enable_wake’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:565: error: static declaration of ‘pci_set_power_state’ follows non-static declaration
include/linux/pci.h:739: note: previous declaration of ‘pci_set_power_state’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:662: error: static declaration of ‘pcie_set_readrq’ follows non-static declaration
include/linux/pci.h:721: note: previous declaration of ‘pcie_set_readrq’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:702: error: conflicting types for ‘pci_read_vpd’
include/linux/pci.h:756: note: previous declaration of ‘pci_read_vpd’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:890: error: static declaration of ‘print_mac’ follows non-static declaration
include/linux/if_ether.h:142: note: previous declaration of ‘print_mac’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:961: error: redefinition of ‘skb_transport_offset’
include/linux/skbuff.h:1315: note: previous definition of ‘skb_transport_offset’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘skb_transport_offset’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:963: error: ‘const struct sk_buff’ has no member named ‘h’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:968: error: redefinition of ‘ip_hdr’
include/linux/ip.h:110: note: previous definition of ‘ip_hdr’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘ip_hdr’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:970: error: ‘const struct sk_buff’ has no member named ‘nh’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:975: error: redefinition of ‘ip_hdrlen’
include/net/ip.h:48: note: previous definition of ‘ip_hdrlen’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:982: error: redefinition of ‘tcp_hdr’
include/linux/tcp.h:181: note: previous definition of ‘tcp_hdr’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘tcp_hdr’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:984: error: ‘const struct sk_buff’ has no member named ‘h’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:989: error: redefinition of ‘tcp_optlen’
include/linux/tcp.h:191: note: previous definition of ‘tcp_optlen’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1217: error: redefinition of ‘skb_copy_from_linear_data’
include/linux/skbuff.h:1800: note: previous definition of ‘skb_copy_from_linear_data’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1226: error: redefinition of ‘skb_is_gso_v6’
include/linux/skbuff.h:2061: note: previous definition of ‘skb_is_gso_v6’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1240: error: redefinition of typedef ‘netdev_tx_t’
include/linux/netdevice.h:88: note: previous declaration of ‘netdev_tx_t’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1301: error: redefinition of ‘netif_tx_lock’
include/linux/netdevice.h:1728: note: previous definition of ‘netif_tx_lock’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘netif_tx_lock’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1303: error: ‘struct net_device’ has no member named ‘xmit_lock’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1304: error: ‘struct net_device’ has no member named ‘xmit_lock_owner’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1307: error: redefinition of ‘netif_tx_unlock’
include/linux/netdevice.h:1756: note: previous definition of ‘netif_tx_unlock’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘netif_tx_unlock’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1309: error: ‘struct net_device’ has no member named ‘xmit_lock_owner’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1310: error: ‘struct net_device’ has no member named ‘xmit_lock’
In file included from /home/thomas/Desktop/tg3-3.116j/tg3.h:13,
from /home/thomas/Desktop/tg3-3.116j/tg3.c:94:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1443: error: redefinition of ‘struct netdev_hw_addr’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1459: error: conflicting types for ‘vlan_group_set_device’
include/linux/if_vlan.h:97: note: previous definition of ‘vlan_group_set_device’ was here
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: In function ‘vlan_group_set_device’:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1463: error: ‘struct vlan_group’ has no member named ‘vlan_devices’
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h: At top level:
/home/thomas/Desktop/tg3-3.116j/tg3_compat.h:1559: error: redefinition of ‘mii_resolve_flowctrl_fdx’
include/linux/mii.h:265: note: previous definition of ‘mii_resolve_flowctrl_fdx’ was here
/home/thomas/Desktop/tg3-3.116j/tg3.c: In function ‘tg3_rx’:
/home/thomas/Desktop/tg3-3.116j/tg3.c:5433: error: implicit declaration of function ‘netif_rx_schedule’
/home/thomas/Desktop/tg3-3.116j/tg3.c: In function ‘tg3_poll’:
/home/thomas/Desktop/tg3-3.116j/tg3.c:5748: error: implicit declaration of function ‘netif_rx_complete’
/home/thomas/Desktop/tg3-3.116j/tg3.c:5762: error: ‘struct net_device’ has no member named ‘quota’
/home/thomas/Desktop/tg3-3.116j/tg3.c:5763: error: ‘struct net_device’ has no member named ‘quota’
/home/thomas/Desktop/tg3-3.116j/tg3.c:5768: error: ‘struct net_device’ has no member named ‘quota’
/home/thomas/Desktop/tg3-3.116j/tg3.c: In function ‘tg3_napi_disable’:
/home/thomas/Desktop/tg3-3.116j/tg3.c:5797: error: implicit declaration of function ‘netif_poll_disable’
/home/thomas/Desktop/tg3-3.116j/tg3.c: In function ‘tg3_napi_init’:
/home/thomas/Desktop/tg3-3.116j/tg3.c:5810: error: ‘struct net_device’ has no member named ‘poll’
/home/thomas/Desktop/tg3-3.116j/tg3.c:5811: error: ‘struct net_device’ has no member named ‘weight’
/home/thomas/Desktop/tg3-3.116j/tg3.c: In function ‘tg3_napi_enable’:
/home/thomas/Desktop/tg3-3.116j/tg3.c:5833: error: implicit declaration of function ‘netif_poll_enable’
make[2]: *** [/home/thomas/Desktop/tg3-3.116j/tg3.o] Error 1
make[1]: *** [_module_/home/thomas/Desktop/tg3-3.116j] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [default] Error 2


All times are GMT -5. The time now is 06:40 AM.