wireless connects to router but not internet

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

Again, thanks for your help and attention.

But no joy.

After implemented those commands, what can I do to share with y'all the state of my system? another wireless_script? or would some other commands suffice?

Off to neverNeverLand
PatH57

Re: wireless connects to router but not internet

Post by PatH57 »

my bad it is 1.9

als o check that power management is disabled.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

PatH57 wrote:als o check that power management is disabled.
How does one do that? If I search "power management" in mint 17, there are 3 'hits': Energy saver, advanced settings, and activity settings.

I opened them all and none looked "right".
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

I'm still confused about why I'm not able to connect to the internet. I was about to say that I can connect to the router, but when I try to access the router's firmware, I can't. This is despite my network icon in the mint tray indicating that I am 'connected'

Keep in mind this is a dual boot machine, the win side works just fine.

And it's been a problem for only a week or so. So I've had nearly a year of reliable connection with mint.

So for whatever reason, my thinking is that there is some sort of misconnection with linux and the card's driver:

Card: RTL8192CE PCIe Wireless Network Adapter
Driver: rtl8192ce driverversion=3.13.0-24-generic

But whatever the problem, I could use some help here.
PatH57

Re: wireless connects to router but not internet

Post by PatH57 »

try to delete your actual wifi connection and recreate one. Right click on network applet and select edit, then delete it and make a new connection.
Do you have a hotspot on your router?
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

PatH57 wrote:try to delete your actual wifi connection and recreate one. Right click on network applet and select edit, then delete it and make a new connection.
Do you have a hotspot on your router?
You mean try this again? I've already tried deleting it before when you first suggested it. I'll try it again, though.

What do you mean about a hotspot? Also, how does one configure power management?
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

so deleting and then reconnecting doesn't seem to matter.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

So, reading about power management and found some links showing how to disable. However, when I edit the following file so that these parameters are zero, upon reboot, the haven't changed:

Code: Select all

parm:           swenc:Set to 1 for software crypto (default 0)
 (bool)
parm:           ips:Set to 0 to not use link power save (default 1)
 (bool)
parm:           swlps:Set to 1 to use SW control power save (default 0)
 (bool)
parm:           fwlps:Set to 1 to use FW control power save (default 1)
 (bool)
parm:           debug:Set debug level (0-5) (default 0) (int)

Code: Select all

> cat /etc/modprobe.d/rtl8192ce.conf
options rtl8192ce swlps=0 ips=0 fwlps=0
I went to /etc/modprobe.d and found a lot of blacklisted items.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

Also, for what it's worth, in trying to remember what changed in my system when the wireless quit working reliably, it was right around the time that I discovered win 8 and it's management of time continually sets the BIOS to local time, while linux uses utc.

I changed the registry of windows to set time to utc.

I can't remember which came first, the wireless problem or the time problem. It seems to me that these two things should be unrelated but I thought I'd mention it.

Also, for what its worth, I've been using win 8.1 and mint 15 for a few months before either having a problem with wireless or the time updates. I think there was a microsoft update that did me in on both fronts.
PatH57

Re: wireless connects to router but not internet

Post by PatH57 »

Hi,

strange can you check 2 things
1) what is the ip used by the card under windows? Is it the same under linux ?
2) could you execute this script under mint?

Code: Select all

mintwifi
you may need to install mintwifi if it's not there (package manager)

or use this

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script

It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

PatH57 wrote:Hi,

strange can you check 2 things
1) what is the ip used by the card under windows? Is it the same under linux ?
They are the same
2) could you execute this script under mint?

Code: Select all

mintwifi
you may need to install mintwifi if it's not there (package manager)
Sure:

Code: Select all

sudo mintwifi
-------------------------                                                                                                                                                                                                       
* I. scanning WIFI PCI devices...                                                                                                                                                                                               
  -- Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)                                                                                                                                           
      ==> PCI ID = 10ec:8178 (rev 01)                                                                                                                                                                                           
-------------------------                                                                                                                                                                                                       
* II. querying ndiswrapper...                                                                                                                                                                                                   
-------------------------                                                                                                                                                                                                       
* III. querying iwconfig...                                                                                                                                                                                                     
eth0      no wireless extensions.                                                                                                                                                                                               
                                                                                                                                                                                                                                
lo        no wireless extensions.                                                                                                                                                                                               
                                                                                                                                                                                                                                
wlan0     IEEE 802.11bgn  ESSID:"home_network"                                                                                                                                                                                        
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:16:B6:15:3C:81                                                                                                                                                    
          Bit Rate=1 Mb/s   Tx-Power=20 dBm                                                                                                                                                                                     
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off                                                                                                                                                               
          Encryption key:off                                                                                                                                                                                                    
          Power Management:off                                                                                                                                                                                                  
          Link Quality=62/70  Signal level=-48 dBm                                                                                                                                                                              
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0                                                                                                                                                              
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 74:d4:35:09:a8:1d  
          inet6 addr: fe80::76d4:35ff:fe09:a81d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5911 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5898984 (5.8 MB)  TX bytes:1057355 (1.0 MB)

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

wlan0     Link encap:Ethernet  HWaddr 68:1c:a2:16:31:90  
          inet addr:192.168.1.110  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::6a1c:a2ff:fe16:3190/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1436 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6489 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:306360 (306.3 KB)  TX bytes:700639 (700.6 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached

or use this

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script

It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.

We actually did that already. In fact I posted "newer" results again just a few posts ago. http://forums.linuxmint.com/viewtopic.p ... 09#p901850
PatH57

Re: wireless connects to router but not internet

Post by PatH57 »

still not sure if the correct driver is used (this card is badly supported under linux kernel 3.9 and up...)

Code: Select all

dmesg | grep rtl
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

Code: Select all

dmesg | grep rtl
[    9.753123] rtl8192ce: unknown parameter '#swlps' ignored
[    9.753249] rtl8192ce 0000:06:00.0: enabling device (0000 -> 0003)
[    9.762990] rtl8192ce: rtl8192ce: Power Save off (module option)
[    9.762992] rtl8192ce: rtl8192ce: FW Power Save off (module option)
[    9.762999] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[    9.915944] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    9.916166] rtlwifi: wireless switch is on
[   35.208816] rtl8192ce 0000:06:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[   35.208819] rtl8192ce 0000:06:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[   35.333864] Modules linked in: ctr ccm nls_utf8 isofs rfcomm bnep bluetooth binfmt_misc nls_iso8859_1 snd_hda_codec_hdmi arc4 mxm_wmi kvm_amd kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel snd_seq_midi snd_seq_midi_event aes_x86_64 lrw snd_rawmidi gf128mul glue_helper ablk_helper cryptd rtl8192ce snd_hda_codec_realtek rtl_pci rtlwifi rtl8192c_common mac80211 snd_hda_intel serio_raw snd_seq fam15h_power edac_core snd_hda_codec cfg80211 edac_mce_amd k10temp snd_hwdep snd_pcm sp5100_tco i2c_piix4 snd_page_alloc snd_seq_device nvidia(POF) snd_timer snd drm soundcore wmi mac_hid parport_pc ppdev lp parport usb_storage hid_logitech_dj usbhid hid firewire_ohci r8169 firewire_core mii ahci crc_itu_t libahci
[   35.333930]  [<ffffffffa0d643ad>] ? rtl_is_special_data+0x2d/0x110 [rtlwifi]
[ 2072.133094] rtlwifi: wireless switch is on
[ 2075.641983] rtl8192ce 0000:06:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 2075.641990] rtl8192ce 0000:06:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
PatH57

Re: wireless connects to router but not internet

Post by PatH57 »

could you force your router to use wpa2 only no mixed wpa/wpa2 (the linux driver doesn't like mix-mode)
and follow these troubleshooting steps
http://ubuntuforums.org/showthread.php? ... st12815912
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

PatH57 wrote:could you force your router to use wpa2 only no mixed wpa/wpa2 (the linux driver doesn't like mix-mode)
and follow these troubleshooting steps
http://ubuntuforums.org/showthread.php? ... st12815912

The router options only give singular choices. It's through mint that they are combined. Here is a screen shot, the left side is from my router gui, while the right side is from mint's wireless settings gui:
wirelessSettings.png
I've deleted the WPA shared Key for the purpose of taking the picture.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

Code: Select all

Before resorting to the proprietary driver, please try these first -
Code:
sudo modprobe -rv rtl8192ce
sudo modprobe -v rtl8192ce swenc=1

When executing the above, I was unable to connect to the router. Mint continuously tried to connect, but it would fail.


Code: Select all

If that doesn't improve connectivity, then -
Code:
sudo modprobe -rv rtl8192ce
sudo modprobe -v rtl8192ce fwlps=0
When executing the above, I was unable to connect to the router. Mint continuously tried to connect, but it would fail.
I decided to undo the swenc option, reverting back to swenc = 0

Still no joy...

Code: Select all

If that doesn't help either, then -
Code:
sudo modprobe -rv rtl8192ce
sudo modprobe -v rtl8192ce ips=0

Code: Select all

If still no improvement, then a blind shot with all three options -
Code:
sudo modprobe -rv rtl8192ce
sudo modprobe -v rtl8192ce swenc=1 ips=0 fwlps=0
All these changes are temporary and will be lost at next boot, so try them without rebooting.

I tried the last combination with swenc=1 ips=0 fwlps=0 and swenc=0 ips=0 fwlps=0. Now I can't connect to the router at all. I think that's progress, actually. Something is different. Now my wireless is trying to connect; it goes a bit, and then says 'deactivated.'

I have to run for some errands. Will be back soon. Thank you for your help!
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

a new wireless_script output

Code: Select all

########## wireless info START ##########

##### release #####

Distributor ID:	LinuxMint
Description:	Linux Mint 17 Qiana
Release:	17
Codename:	qiana

##### kernel #####

Linux Home_comp 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

##### lspci #####

05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000]
	Kernel driver in use: r8169
06:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178]
	Kernel driver in use: rtl8192ce

##### lsusb #####

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 003: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 008 Device 002: ID 2109:3431  
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA Card Info #####

##### rfkill #####

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

##### lsmod #####

rtl8192ce              53550  0 
rtl_pci                26690  1 rtl8192ce
rtlwifi                63475  2 rtl_pci,rtl8192ce
rtl8192c_common        53172  1 rtl8192ce
mac80211              626489  3 rtl_pci,rtlwifi,rtl8192ce
cfg80211              484040  2 mac80211,rtlwifi

##### iw reg get #####

country 00:
	(2402 - 2472 @ 40), (3, 20)
	(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
	(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
	(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
	(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### interfaces #####

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

##### iwconfig #####

wlan0     IEEE 802.11bgn  ESSID:"home_network"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: <MAC address removed>   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-40 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2   Missed beacon:0

##### route #####

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    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0

##### resolv.conf #####

nameserver 127.0.1.1
search hsd1.wa.comcast.net

##### nm-tool #####

NetworkManager Tool

State: connected (global)

- Device: wlan0  [home_network] ------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rtl8192ce
  State:             connected
  Default:           no
  HW Address:        <MAC address removed>

  Capabilities:
    Speed:           1 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    YVZ9H:           Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 26 WPA WPA2
    HOME-7872:       Infra, <MAC address removed>, Freq 2462 MHz, Rate 54 Mb/s, Strength 26 WPA WPA2
    Stina:           Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 100 WPA WPA2
    DIRECT-kvM267x 287x Series: Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 0 WPA2
    JZDZG:           Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 100 WPA2
    DIRECT-SH-VIZIOTV: Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 39 WPA2
    *home_network:         Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 72 WPA

  IPv4 Settings:
    Address:         192.168.1.110
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             75.75.75.75
    DNS:             75.75.76.76

- Device: eth0  [kit 802-3-land] -----------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             connected
  Default:           yes
  HW Address:        <MAC address removed>

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.1.106
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             75.75.75.75
    DNS:             75.75.76.76

##### NetworkManager.state #####

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=false
WimaxEnabled=true
WiMAXEnabled=true

##### NetworkManager.conf #####

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

no-auto-default=<MAC address removed>,

[ifupdown]
managed=false

##### iwlist #####

wlan0     Scan completed :
          Cell 01 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=62/70  Signal level=-48 dBm  
                    Encryption key:on
                    ESSID:"home_network"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000020daba6bc
                    Extra: Last beacon: 64ms ago
                    IE: Unknown: 00066B69746B6174
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD090010180200F4000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC address removed>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-40 dBm  
                    Encryption key:on
                    ESSID:"Stina"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000011fdf7cfbf
                    Extra: Last beacon: 64ms ago
                    IE: Unknown: 00055374696E61
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C33CC111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 2D1ACC111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3401001900000000000000000000000000000000000000
                    IE: Unknown: 3D1601001900000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010002004000
                    IE: Unknown: DD840050F204104A0001101044000102103B000103104700100000000000001000000030469A1C83871021000D4E6574676561722C20496E632E10230008574E4452333730301024000456314831104200046E6F6E651054000800060050F204000110110015574E44523337303028576972656C65737320415029100800020086103C000103
          Cell 03 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-kvM267x 287x Series"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000651bf819c0
                    Extra: Last beacon: 64ms ago
                    IE: Unknown: 001A4449524543542D6B764D32363778203238377820536572696573
                    IE: Unknown: 01088C1218243048606C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD09001018020000040000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD050050F20500
                    IE: Unknown: DD850050F204104A0001101044000102103B0001031047001016A65700007C1000BB49021599E83E901021000842726F6164636F6D10230006536F66744150102400013010420001301054000800060050F2040001101100114D32363778203238377820536572696573100800020000103C0001011049000E00372A0001200106FFFFFFFFFFFF
          Cell 04 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=62/70  Signal level=-48 dBm  
                    Encryption key:on
                    ESSID:"JZDZG"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000008ef0364180
                    Extra: Last beacon: 588ms ago
                    IE: Unknown: 00054A5A445A47
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 050400010000
                    IE: Unknown: 200100
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101040003A4000027A4000042435E0062322F00
                    IE: Unknown: 2D1A8C131BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606080800000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010000000000
                    IE: Unknown: 0706555320010B1B
          Cell 05 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-40 dBm  
                    Encryption key:on
                    ESSID:"YVZ9H"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000034a1923f415
                    Extra: Last beacon: 64ms ago
                    IE: Unknown: 000559565A3948
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 200100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101040003A4000027A4000042435E0062322F00
                    IE: Unknown: 2D1A8C131BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606080800000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010000000000
                    IE: Unknown: 0706555320010B1B
          Cell 06 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=17/70  Signal level=-93 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-SH-VIZIOTV"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000423af3494
                    Extra: Last beacon: 252ms ago
                    IE: Unknown: 00114449524543542D53482D56495A494F5456
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030106
                    IE: Unknown: 32040C183060
                    IE: Unknown: 33082001020304050607
                    IE: Unknown: 33082105060708090A0B
                    IE: Unknown: 050400010004
                    IE: Unknown: DD4F0050F204104A000110104400010210470010BC329E001DD811B28601006B9E37F8AC103C0001011049000600372A0001201054000800070050F20400011011000E56495A494F2D4454562D53696E6B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2D1A2C0012FF000000000000000000000000000000000C0000000000
                    IE: Unknown: 3D1606000700000000000000000000000000000000000000
                    IE: Unknown: 7F0401000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD07000C4304000000
                    IE: Unknown: DD12506F9A090202002419030600026B9E37F8AC
          Cell 07 - Address: <MAC address removed>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=62/70  Signal level=-48 dBm  
                    Encryption key:on
                    ESSID:"HOME-7872"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000221042074da
                    Extra: Last beacon: 64ms ago
                    IE: Unknown: 0009484F4D452D37383732
                    IE: Unknown: 010882848B9624B0486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32048C129860
                    IE: Unknown: 2D1AFD181BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D160B080000000000000000000000000000000000000000
                    IE: Unknown: DD8C0050F204104A0001101044000102103B00010310470010924C96B33D5EA0FD79F96BAD805A15F61021000B546563686E69636F6C6F721023000B546563686E69636F6C6F721024000631323334353610420007303030303030311054000800060050F20400011011000D546563686E69636F6C6F724150100800022008103C0001011049000600372A000120
                    IE: Unknown: DD090010180200F03C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00

##### iwlist channel #####

wlan0     13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Current Frequency:2.437 GHz (Channel 6)

##### modinfo #####

filename:       /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware:       rtlwifi/rtl8192cfwU_B.bin
firmware:       rtlwifi/rtl8192cfwU.bin
firmware:       rtlwifi/rtl8192cfw.bin
description:    Realtek 8192C/8188C 802.11n PCI wireless
license:        GPL
author:         Larry Finger	<Larry.Finger@lwfinger.net>
author:         Realtek WlanFAE	<wlanfae@realtek.com>
author:         lizhaoming	<chaoming_li@realsil.com.cn>
srcversion:     BF8278DF19B67D7D6C6B8C5
alias:          pci:v000010ECd00008176sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008177sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008178sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008191sv*sd*bc*sc*i*
depends:        rtlwifi,rtl_pci,rtl8192c-common,mac80211
intree:         Y
vermagic:       3.13.0-24-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:D9:06:21:70:6E:8D:06:60:4D:73:0B:35:9F:C0
sig_hashalgo:   sha512
parm:           swenc:Set to 1 for software crypto (default 0)
 (bool)
parm:           ips:Set to 0 to not use link power save (default 1)
 (bool)
parm:           swlps:Set to 1 to use SW control power save (default 0)
 (bool)
parm:           fwlps:Set to 1 to use FW control power save (default 1)
 (bool)
parm:           debug:Set debug level (0-5) (default 0) (int)

filename:       /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rtlwifi/rtl_pci.ko
description:    PCI basic driver for rtlwifi
license:        GPL
author:         Larry Finger	<Larry.FInger@lwfinger.net>
author:         Realtek WlanFAE	<wlanfae@realtek.com>
author:         lizhaoming	<chaoming_li@realsil.com.cn>
srcversion:     B6B8AA929B5F982954A6DE1
depends:        mac80211,rtlwifi
intree:         Y
vermagic:       3.13.0-24-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:D9:06:21:70:6E:8D:06:60:4D:73:0B:35:9F:C0
sig_hashalgo:   sha512

filename:       /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
description:    Realtek 802.11n PCI wireless core
license:        GPL
author:         Larry Finger	<Larry.FInger@lwfinger.net>
author:         Realtek WlanFAE	<wlanfae@realtek.com>
author:         lizhaoming	<chaoming_li@realsil.com.cn>
srcversion:     C21FC2F90947540319DE390
depends:        mac80211,cfg80211
intree:         Y
vermagic:       3.13.0-24-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:D9:06:21:70:6E:8D:06:60:4D:73:0B:35:9F:C0
sig_hashalgo:   sha512

filename:       /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
description:    Realtek 8192C/8188C 802.11n PCI wireless
license:        GPL
author:         Larry Finger	<Larry.Finger@lwfinger.net>
author:         Ziv Huang	<ziv_huang@realtek.com>
author:         Georgia		<georgia@realtek.com>
author:         Realtek WlanFAE	<wlanfae@realtek.com>
author:         lizhaoming	<chaoming_li@realsil.com.cn>
srcversion:     32F826C623BC49F764F7974
depends:        
intree:         Y
vermagic:       3.13.0-24-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:D9:06:21:70:6E:8D:06:60:4D:73:0B:35:9F:C0
sig_hashalgo:   sha512

##### modules #####

lp
rtc

##### blacklist #####

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-native-rtl8192.conf]
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi

[/etc/modprobe.d/fbdev-blacklist.conf]
blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist gx1fb
blacklist gxfb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist nvidiafb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist viafb
blacklist vt8623fb

##### udev rules #####

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8178 (rtl8192ce)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #####

[   11.435034] rtl8192ce: unknown parameter '#swlps' ignored
[   11.435170] rtl8192ce 0000:06:00.0: enabling device (0000 -> 0003)
[   11.445013] rtl8192ce: rtl8192ce: Power Save off (module option)
[   11.445015] rtl8192ce: rtl8192ce: FW Power Save off (module option)
[   11.445042] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[   11.561809] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   11.562177] rtlwifi: wireless switch is on
[   17.768697] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.768999] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2147.270827] wlan0: authenticate with <MAC address removed>
[ 2147.290498] wlan0: send auth to <MAC address removed> (try 1/3)
[ 2147.292006] wlan0: authenticated
[ 2147.292302] rtl8192ce 0000:06:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 2147.292310] rtl8192ce 0000:06:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 2147.292314] rtl8192ce 0000:06:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 2147.294043] wlan0: associate with <MAC address removed> (try 1/3)
[ 2147.296195] wlan0: RX AssocResp from <MAC address removed> (capab=0x411 status=0 aid=3)
[ 2147.296263] wlan0: associated
[ 2147.296279] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2147.329996] Modules linked in: nls_utf8 isofs rfcomm bnep bluetooth binfmt_misc nls_iso8859_1 snd_hda_codec_hdmi arc4 mxm_wmi snd_hda_codec_realtek kvm_amd kvm crct10dif_pclmul snd_seq_midi crc32_pclmul snd_seq_midi_event ghash_clmulni_intel snd_hda_intel snd_hda_codec snd_hwdep rtl8192ce rtl_pci aesni_intel rtlwifi aes_x86_64 rtl8192c_common lrw gf128mul glue_helper snd_pcm ablk_helper cryptd mac80211 snd_rawmidi snd_seq fam15h_power cfg80211 k10temp serio_raw edac_core edac_mce_amd snd_page_alloc sp5100_tco i2c_piix4 nvidia(POF) snd_seq_device snd_timer snd drm soundcore mac_hid wmi parport_pc ppdev lp parport usb_storage hid_logitech_dj usbhid hid firewire_ohci r8169 firewire_core mii crc_itu_t ahci libahci
[ 2147.330168]  [<ffffffffa0d1e3ad>] ? rtl_is_special_data+0x2d/0x110 [rtlwifi]

########## wireless info END ############
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

Is this normal?

Eht0 connects to 192.168.1.106
while
wlan0 cnnects to 192.168.1.110

Why different?

Also, noticed the blacklist. could these interfere?:

Code: Select all

[/etc/modprobe.d/blacklist-native-rtl8192.conf]
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi
Finally, these seem important:

#### dmesg #####

[ 11.435034] rtl8192ce: unknown parameter '#swlps' ignored
[ 11.435170] rtl8192ce 0000:06:00.0: enabling device (0000 -> 0003)
[ 11.445013] rtl8192ce: rtl8192ce: Power Save off (module option)
[ 11.445015] rtl8192ce: rtl8192ce: FW Power Save off (module option)
[ 11.445042] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[ 11.561809] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 11.562177] rtlwifi: wireless switch is on
[ 17.768697] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.768999] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

[ 2147.270827] wlan0: authenticate with <MAC address removed>
[ 2147.290498] wlan0: send auth to <MAC address removed> (try 1/3)
[ 2147.292006] wlan0: authenticated
[ 2147.292302] rtl8192ce 0000:06:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 2147.292310] rtl8192ce 0000:06:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 2147.292314] rtl8192ce 0000:06:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP

[ 2147.294043] wlan0: associate with <MAC address removed> (try 1/3)
[ 2147.296195] wlan0: RX AssocResp from <MAC address removed> (capab=0x411 status=0 aid=3)
[ 2147.296263] wlan0: associated
[ 2147.296279] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2147.329996] Modules linked in: nls_utf8 isofs rfcomm bnep bluetooth binfmt_misc nls_iso8859_1 snd_hda_codec_hdmi arc4 mxm_wmi snd_hda_codec_realtek kvm_amd kvm crct10dif_pclmul snd_seq_midi crc32_pclmul snd_seq_midi_event ghash_clmulni_intel snd_hda_intel snd_hda_codec snd_hwdep rtl8192ce rtl_pci aesni_intel rtlwifi aes_x86_64 rtl8192c_common lrw gf128mul glue_helper snd_pcm ablk_helper cryptd mac80211 snd_rawmidi snd_seq fam15h_power cfg80211 k10temp serio_raw edac_core edac_mce_amd snd_page_alloc sp5100_tco i2c_piix4 nvidia(POF) snd_seq_device snd_timer snd drm soundcore mac_hid wmi parport_pc ppdev lp parport usb_storage hid_logitech_dj usbhid hid firewire_ohci r8169 firewire_core mii crc_itu_t ahci libahci
[ 2147.330168] [<ffffffffa0d1e3ad>] ? rtl_is_special_data+0x2d/0x110 [rtlwifi]
PatH57

Re: wireless connects to router but not internet

Post by PatH57 »

Hi,
Eht0 connects to 192.168.1.106
while
wlan0 cnnects to 192.168.1.110
this is normal each card has it's own ip.
Still back to the fact that the driver and the access point don't like each other very much.
By default the driver will connect in a lazy way (it uses tkip instead of aes encryption) force the router to use aes only.
Is you router dual band 2.4 and 5GHz?

Code: Select all

iw reg get
to check what the country settings are.
User avatar
briholt
Level 4
Level 4
Posts: 289
Joined: Fri Jul 05, 2013 1:38 pm
Location: Seattle

Re: wireless connects to router but not internet

Post by briholt »

PatH57 wrote:Hi,
Eht0 connects to 192.168.1.106
while
wlan0 cnnects to 192.168.1.110
this is normal each card has it's own ip.
Ok, cool.


Still back to the fact that the driver and the access point don't like each other very much.
By default the driver will connect in a lazy way (it uses tkip instead of aes encryption) force the router to use aes only.
Ok, done.
Is you router dual band 2.4 and 5GHz?
It's a linksys wrt54g https://en.wikipedia.org/wiki/Linksys_W ... ies#WRT54G

I know that it is 2.4 but I don't know about the 5ghz. It is version 5 on that wiki link

Code: Select all

iw reg get
to check what the country settings are.
while connected to eth0

Code: Select all

iw reg get
country 00:
        (2402 - 2472 @ 40), (3, 20)
        (2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
        (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
        (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
        (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
Locked

Return to “Networking”