LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-22-2012, 04:30 AM   #1
srijit92
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Rep: Reputation: Disabled
Setting up WiFi in Ubuntu Server 12.04 for Athreos 9271


I have Netgear WNA1100 (Athreos 9271) based USB WiFi DOngle. I cannot start wlan0.I have installed the required firmware in /lib/firmware. OS is Ubuntu Server 12.04

Following are my configurations:

root@ubuntu:~# lsmod | grep ath9k
ath9k_htc 90811 0
mac80211 436455 1 ath9k_htc
ath9k_common 13781 1 ath9k_htc
ath9k_hw 391554 2 ath9k_htc,ath9k_common
ath 19387 3 ath9k_htc,ath9k_common,ath9k_hw
cfg80211 178679 3 ath9k_htc,mac80211,ath



/network/interfaces

# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp


root@ubuntu:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271]

root@ubuntu:~# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 no wireless extensions.
 
Old 11-22-2012, 09:21 AM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi srijit92, Welcome to LQ. Have you tried to manually bring the interface up?

Code:
# ifup wlan0
Code:
# ifup eth0
Good luck. ;-)
 
Old 11-24-2012, 12:53 AM   #3
srijit92
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Peacedog View Post
Hi srijit92, Welcome to LQ. Have you tried to manually bring the interface up?

Code:
# ifup wlan0
Code:
# ifup eth0
Good luck. ;-)
Yes. After couple of restarts and changing CMOS battery, my wlan0 interface powered up.
But facing a new problem now. With my wired connection enabled (eth0) and static ip and gateway assigned, i can successfully browse net. But after I disconnect the wire, the wlan0 gets IP from router by DHCP and I can also ping the router. But I cannot ping the Internet like 8.8.8.8 etc. How to resolve this issue?
 
Old 11-24-2012, 06:12 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Have you tried DHCP with the wired connection, if so, how does that work? I'm guessing your route, default gateway, and/or /etc/resolv.conf (possibly all three) aren't being updated properly when you switch connections.

While you're up on the wireless please issue and report the following:

Code:
# ifconfig -a
# iwconfig
# route -n
$ cat /etc/resolv.conf
Good luck. ;-)
 
Old 11-25-2012, 02:18 AM   #5
srijit92
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok, I will post the output soon.

But when I changed the wlan0 from dhcp to static and manually entered the gateway IP, and also disable eth0, internet was working again.
 
Old 11-25-2012, 03:28 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
That would suggest a problem at the router with your DHCP server/service, but let's see the output. Are you behind a router or router-modem combo? Please explain the network topology.

Good luck. ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
compact-wireless driver issue | tl-wn722n | atheros chipset - 9271 floorripper Linux - Hardware 6 03-04-2012 10:12 AM
Frustration and confusion over setting up a Postfix mail server on my Ubuntu server. dag10 Linux - Server 5 04-17-2011 10:16 AM
setting up PPPoE over wifi in ubuntu tivruski Linux - Wireless Networking 1 07-23-2010 11:01 PM
Setting up comcast wifi in Ubuntu monkeylor Linux - Wireless Networking 2 08-15-2009 09:19 AM
wifi in ubuntu server 9.04(64bit) theacerguy Linux - Wireless Networking 3 07-05-2009 10:32 AM


All times are GMT -5. The time now is 02:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration