LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2010, 10:33 AM   #1
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Rep: Reputation: 0
laptop wont connect wirelessly


Hi there Last night I decided to take the plunge and put ubuntu on my laptop but now I can no longer connect wirelessly. can anyone offer any help or advice? I have always relied on windows so have very little knowledge of linux. It may help to know that i "accidently" installed on the whole disk.Thanks in advance
 
Old 08-07-2010, 10:36 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hi there!

Depends what wireless device you have. Is it USB or built-in PCI device? Let's first find out what driver it needs, and whether you have it or not:

For USB device, please show us output from the following:
Code:
lsusb
For a PCI (built-in) device, show us the chunk of text that describes the wireless card, which will be within the output of the command here:
Code:
lspci -vnn
Sasha
 
2 members found this post helpful.
Old 08-07-2010, 10:47 AM   #3
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
thanks celine however im not sure how to access the commands its a built in adapter atheros I believe
 
Old 08-07-2010, 10:50 AM   #4
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
sorry grapefruit girl doh!! im so new to this
 
Old 08-07-2010, 10:52 AM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
No worries

I believe atheros devices have in-kernel drivers, at least some of them do.

To run these commands, use the terminal or console. In Ubuntu, I believe you'll find "terminal" or "console" or maybe "Gnome Terminal" somewhere in your start-menu type of menu. And, while you;re running those commands, may as well run this one too:
Code:
lsmod
and post the whole output.

Note - when posting large chunks of formatted data such as these outputs, or pieces of code, please use code tags, to retain the formatting and make the stuff easier to read. Here's how code tags work: http://www.phpbb.com/community/faq.php?mode=bbcode#f2r1

Also - if any of the above commands give you errors about "permissions" or "denied" or such things, prepend each command with sudo to temporarily elevate your user privileges to root level.
 
1 members found this post helpful.
Old 08-07-2010, 10:58 AM   #6
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 34000000 (64-bit, non-prefetchable) [size=1M]
Memory at 20000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5110 [size=8]
Capabilities: <access denied>
Kernel modules: intelfb

00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: fast devsel
Memory at 38400000 (64-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: <access denied>

00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 50c0 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 50a0 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03) (prog-if 20)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 18
Memory at 38304c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at 38300000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 37300000-382fffff
Prefetchable memory behind bridge: 0000000030000000-0000000030ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: 36300000-372fffff
Prefetchable memory behind bridge: 0000000031000000-0000000031ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 35200000-362fffff
Prefetchable memory behind bridge: 0000000032000000-0000000032ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 34100000-351fffff
Prefetchable memory behind bridge: 0000000033000000-0000000033ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 5080 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 5060 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 5040 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03) (prog-if 20)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at 38304800 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3) (prog-if 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel modules: iTCO_wdt

00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 50e0 [size=16]
Kernel driver in use: ata_piix
Kernel modules: ata_piix

00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 03) (prog-if 01)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 219
I/O ports at 50f8 [size=8]
I/O ports at 511c [size=4]
I/O ports at 50f0 [size=8]
I/O ports at 5118 [size=4]
I/O ports at 5020 [size=32]
Memory at 38304000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: medium devsel, IRQ 11
Memory at 38305000 (32-bit, non-prefetchable) [size=256]
I/O ports at 5000 [size=32]
Kernel modules: i2c-i801

05:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
Subsystem: Acer Incorporated [ALI] Device [1025:0136]
Flags: bus master, fast devsel, latency 0, IRQ 218
Memory at 35200000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel driver in use: tg3
Kernel modules: tg3

06:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)
Subsystem: AMBIT Microsystem Corp. Device [1468:0428]
Flags: fast devsel, IRQ 19
Memory at 34100000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: <access denied>
Kernel modules: ath_pci
 
Old 08-07-2010, 10:58 AM   #7
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I have had to deal with an atheros wireless card before. I had to find some beta drives for it that worked. I would do the lspci command as the most likely one, it should put out the model of your card so we can tell what card we are dealing with.

Only the last one was needed... the rest are information overflow... So you have a Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter.

EDIT: While I generally do not link to other forums... I believe the answer may lay on the Ubuntu Forums

Last edited by r3sistance; 08-07-2010 at 11:03 AM.
 
Old 08-07-2010, 10:58 AM   #8
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
just found it before i read about the tags sorry
 
Old 08-07-2010, 11:03 AM   #9
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
sorry r3sistance wasnt sure what was needed as I said this is first time ever walking into linuxworld lol but yes thats the one
 
Old 08-07-2010, 11:04 AM   #10
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
The link I put in my previous post as an Edit should lead to the information you need. If not feel free to ask for further assistance here.
 
Old 08-07-2010, 11:06 AM   #11
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
thanks ill go try that!!once again thank you both for the help ill let you know how i get on
 
Old 08-07-2010, 11:13 AM   #12
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
ok had a look at the link that was sent but it doesnt make much sence to me can anyone simplify it I really am very new to all this
 
Old 08-07-2010, 12:01 PM   #13
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Are you able to connect to the Internet in another other method? (IE through an Ethernet port). If so there is another guide here... http://ubuntumanual.org/posts/185/in...iver-in-ubuntu if you are unable to get to the Tnternet at all, might need to look at alternatives around.
 
Old 08-07-2010, 01:37 PM   #14
lil hobo
LQ Newbie
 
Registered: Aug 2010
Posts: 19

Original Poster
Rep: Reputation: 0
yeh can connect via ethernet its just i want to be able to move the laptop about.think i have downloaded the driver but i cant get it to install. with windows you just hit run button but obviously i need to learn how to do it from here
 
Old 08-07-2010, 01:38 PM   #15
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
these commands are to help us to know what your system thinks is installed (not necessarily to get you connected).
Code:
lspci # will tell us the pci devices you have in your system.
lsusb # will tell us the usb devices you have in your system.
ifconfig # will tell us what network interface cards you have turned on in your system.
ifconfig -a # will tell us all the network interface cards you have in your system.
iwconfig # will tell us which of your network interface cards has wireless capability
now that we know that, this should get you connected:
Code:
sudo iwlist device scan # this will use the device interface (that from the above command, we found out has wireless capability) and scan for wireless routers that are accessible.
sudo iwconfig device essid "myssid" # assuming no security, use that device to connect to your router.
sudo dhclient # will attempt to get ip-address, subnet mask, dns server information automatically from your router assuming dhcp is turned on on your router.
also, please post the contents of cat /etc/network/interfaces
and /etc/resolv.conf should contain your dns server.
depending on if ifconfig returns the name of your device, you mite need to turn it on by doing something like: sudo ifconfig device up
you can also run lsmod to see if the wireless driver module is plugged-in.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set up a laptop as a router to connect wirelessly to my ADSL router hairysocks Linux - Networking 12 12-20-2009 06:51 AM
Could not connect wirelessly wlaw Linux - Wireless Networking 2 05-24-2007 07:49 PM
Can not connect wirelessly bob3dan Ubuntu 1 03-14-2007 11:43 AM
How do I connect wirelessly to my router? Vince013 Linux - Networking 3 08-13-2006 07:33 AM
How To Connect Wirelessly snowboard4fod Linux - Wireless Networking 1 10-18-2005 04:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration