LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-02-2011, 07:23 PM   #1
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Rep: Reputation: Disabled
Wireless gets IP, but cannot ping, wired works fine


Greetings!

First time poster, and I've got a fun one

Currently using Arch Linux with my netbook set up as a test LAMP server.

Everything was working fine for a while, but apparently after a series of network changes and updates my connection crapped out.

I figured the easiest solution was to start "fresh".

I re-did all the wireless network configuration on my netbook, but it won't work.
Other wireless devices before a router change continued to work with no changes needed, used same SSID and password.

It gets an IP, get's a nameserver, I can even use "arp -n" and see a few machines on my network.
But that's it.

If I plug in a cable, and do "dhcpcd eth0" it springs to life and I connect just fine.

I'm no guru so I'll post whatever is asked, I checked for anything obvious (well, to me anyway) in /var/log/messages and saw nothing.

FWIW: using an Asus eeePC 1000H with a RALink 2860 wireless card
 
Old 11-09-2011, 06:39 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
What do you get from route -n?

What do you get from nslookup www.linuxquestions.org? ... Although you are getting a nameserver, I suspect you are not actually getting names served.

All the above with the wifi on but without ethernet, obviously
 
Old 11-09-2011, 08:01 AM   #3
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SecretCode View Post
What do you get from route -n?
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    303    0        0 wlan0
10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0
10.8.0.2        0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.1.0     0.0.0.0         255.255.255.0   U     303    0        0 wlan0

Quote:
Originally Posted by SecretCode View Post
What do you get from nslookup www.linuxquestions.org? ... Although you are getting a nameserver, I suspect you are not actually getting names served.
Code:
;; connection timed out; no servers could be reached

Quote:
Originally Posted by SecretCode View Post
All the above with the wifi on but without ethernet, obviously
I'm aware of the multiple routes, I'm running an OpenVPN server, which worked just fine until this happened.
Taking that into account, I've already tried troubleshooting with it disabled, and yet hardwired works fine with it on.

I'm also unable to ping 192.168.1.1 via wireless, but wired works fine.
 
Old 11-09-2011, 09:45 AM   #4
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Do you need a special driver for your RALink 2860 wireless card? In some notebook installs I've had to install first via ethernet, then get hold of proprietary drivers (or at least updated drivers) before the wireless works.
 
Old 11-09-2011, 09:54 AM   #5
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SecretCode View Post
Do you need a special driver for your RALink 2860 wireless card? In some notebook installs I've had to install first via ethernet, then get hold of proprietary drivers (or at least updated drivers) before the wireless works.
No, they were integrated into the kernel a while ago. I think during the 3.0 kernel release.

The staging drivers are pretty aged nowadays
 
Old 11-09-2011, 10:11 AM   #6
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Hmm

Code:
lspci | grep -i net
Code:
ifconfig -a
Code:
grep -i dhc /var/log/syslog
 
1 members found this post helpful.
Old 11-09-2011, 12:15 PM   #7
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
[QUOTE=SecretCode;4519770]Hmm

Quote:
Originally Posted by SecretCode View Post
Code:
lspci | grep -i net
Code:
01:00.0 Network controller: Ralink corp. RT2860
03:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
Quote:
Originally Posted by SecretCode View Post
Code:
ifconfig -a
Code:
eth0: flags=4098<BROADCAST,MULTICAST>  mtu 1500  metric 1
        ether 00:24:8c:10:cc:23  txqueuelen 1000  (Ethernet)
        RX packets 3203  bytes 4215143 (4.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1646  bytes 113819 (111.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 3  collisions 0
        device interrupt 43  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 44  bytes 2200 (2.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 44  bytes 2200 (2.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500  metric 1
        inet 10.8.0.1  netmask 255.255.255.255  destination 10.8.0.2
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 192.168.1.251  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:22:43:60:ad:32  txqueuelen 1000  (Ethernet)
        RX packets 46985  bytes 6929718 (6.6 MiB)
        RX errors 0  dropped 19309  overruns 0  frame 0
        TX packets 542  bytes 72228 (70.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Quote:
Originally Posted by SecretCode View Post
Code:
grep -i dhc /var/log/syslog
Returns nothing
 
Old 11-09-2011, 12:39 PM   #8
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Might be worth trying
Code:
dhclient -r
(may need root)

But the high number of RX dropped packets looks suspicious. I have 0 dropped on my wifi interface.
 
Old 11-09-2011, 01:17 PM   #9
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SecretCode View Post
Might be worth trying
Code:
dhclient -r
(may need root)

But the high number of RX dropped packets looks suspicious. I have 0 dropped on my wifi interface.
I'm using dhcpcd, dhclient isn't installed.

I noticed that too, about the packets.
Maybe a packet sniffer would be wise? Except I don't know how to read them.
 
Old 11-09-2011, 01:36 PM   #10
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Do you have any firewall rules? I don't know whether a packet dropped by an iptables rule would show as dropped in the interface stats.
 
Old 11-09-2011, 01:37 PM   #11
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SecretCode View Post
Do you have any firewall rules? I don't know whether a packet dropped by an iptables rule would show as dropped in the interface stats.
iptables isn't installed either
 
Old 11-09-2011, 01:52 PM   #12
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
No further ideas at this point ... maybe someone else can suggest something?
 
Old 11-09-2011, 02:16 PM   #13
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
I greatly appreciate the troubleshooting help SecretCode.

I'm really trying to avoid re-installing my system since I spent so much time getting it set up just the way I like it.
 
Old 11-09-2011, 02:23 PM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Some things to verify:
Try to use a fixes ip instead of dhcp.
Disable wep or wpa.
Verify the settings from the router (mac blocking,firewall....)
Try to use a live cd and see if wireless works.

Kind regards
 
1 members found this post helpful.
Old 11-09-2011, 09:12 PM   #15
analogrival
LQ Newbie
 
Registered: Nov 2011
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Meh, turns out the card is shot.

Explains all the dropped packets.

Oh well, have an external adapter I can use for now til I can get a new internal card.

Thank you all for the help, I learned a lot from this experience!
 
  


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
[SOLVED] ping www.google.co.in gives unknown host error ,ping to LAN address works fine aspiring_stellar Linux - Newbie 10 05-24-2011 03:26 PM
cannot ping wireless router or access router settings. wireless works, wired doesn't mattca Linux - Networking 1 06-09-2010 09:28 PM
bridging wired and wireless Ethernet - wireless fails to arp, ping, but creates loop paulcsf Linux - Software 1 02-18-2010 03:18 AM
can't ping localhost, Internet works fine drowstar Linux - Networking 5 01-04-2005 03:09 PM
Gateway works fine but i can't ping from it. djkadu Linux - Networking 4 10-31-2004 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:56 AM.

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