You are not logged in.

#1 2017-06-11 05:40:01

trdgrd
Member
Registered: 2017-06-11
Posts: 13

bgn not showing iwconfig

I have a toshiba satellite s955-s5373 which has a realtek rtl8188ce for hardware which I read that works with the driver rtl8192ce. but I was wondering why bgn protocols do not appear after running the comand iwconfig. I know that the hardware support those protocols and I do not know what could I do to make them appear or it is normal to be that way in my machine.here is the output of iw config.

iwconfig
enp1s0    no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"JOSE-MARIN" 
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:E0:4D:D3:07:78   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=54/70  Signal level=-56 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3   Missed beacon:0

lo        no wireless extensions.

here is what I think it must be

iwconfig
enp1s0    no wireless extensions.

wlp2s0    IEEE 802.11bgn  ESSID:"JOSE-MARIN" 
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:E0:4D:D3:07:78   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=54/70  Signal level=-56 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3   Missed beacon:0

Offline

#2 2017-06-11 10:14:01

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: bgn not showing iwconfig

Use `iw` unless that driver is WEXT only.

But just what exactly is the problem? Why do you think the output should look like the second example? Is it actually causing you problems?

Last edited by Mr.Elendig (2017-06-11 10:14:51)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2017-06-11 13:23:44

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

i think It may be the root of a problem. When I boot on windows the internet is faster than  in linux so I suspect it is not recognizing the protocols bgn. And in many outputs of iwconfig that I,ve seen it shows the supported protocols that in my case would be bgn

Offline

#4 2017-06-11 14:11:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

If strings can make the internet faster, I want more strings ;-)

Seriously, 72.2 Mb/s is the max. brutto rate for 2.4GHz IEEE 802.11
=> You could check the connection details on windows, notably if you've a running 5GHz network there (dualband is NOT mandatory for 802.11n - the HW may not provide that at all)

Otherwise you'll have to figure some details on "the internet is faster"™ because that's not a very precise condition description :-P

Offline

#5 2017-06-11 22:37:51

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

Ik.....I am doing some test now. When I ping 8.8.8.8 in linux i get values arround 122 and 90 but when I load for example a youtube video I get stuck for a minute in minute 2 of the video...and when I click on a new video It takes more than 2 minutes loading, I used chromium to test this. On the other hand when I boot on windows, videos  load istantly each time i click on a new one. for this afternoon only me and a friend is using the internet. I made a test of internet in both systems and the result was the same.

Last edited by trdgrd (2017-06-11 22:51:15)

Offline

#6 2017-06-12 06:05:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

youtube video

this can have a ton of causes which do not necessarily relate to your network throughput (and apparently your latency is relatively low, but expected?) let alone your WIFI. Ideally, you'd download from your AP/router, but for a quick test, run

wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip

Offline

#7 2017-06-15 01:00:16

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

so I reinstalled arch. I thought the problem was on a driver that i installed. I tested iwconfig in ubuntu and "wlp2s0    IEEE 802.11bgn" appears I do not think the problem is bgn not showing now. I am 8 meters away from the router and pages load so slow and sometimes just do not load at all but when I boot on windows pages load normally. DO you know a way that I can fix this I installed arch in all the disk so I do not have windows anymore. By the way seth the test gives me this

next to the router

--2017-06-14 19:52:40--  http://speedtest.wdc01.softlayer.com/do … test10.zip
Resolving speedtest.wdc01.softlayer.com... 208.43.102.250, 2607:f0d0:3001:78::2
Connecting to speedtest.wdc01.softlayer.com|208.43.102.250|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11536384 (11M) [application/zip]
Saving to: ‘/dev/null’

/dev/null           100%[===================>]  11.00M   142KB/s    in 71s     

2017-06-14 19:53:52 (158 KB/s) - ‘/dev/null’ saved [11536384/11536384]

where I normally sit

--2017-06-14 19:55:11--  http://speedtest.wdc01.softlayer.com/do … test10.zip
Resolving speedtest.wdc01.softlayer.com... 208.43.102.250, 2607:f0d0:3001:78::2
Connecting to speedtest.wdc01.softlayer.com|208.43.102.250|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11536384 (11M) [application/zip]
Saving to: ‘/dev/null’

/dev/null           100%[===================>]  11.00M   158KB/s    in 4m 22s

Offline

#8 2017-06-15 06:17:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

158KB/s    in 4m 22s

Ie. effectively only 43KB/s - looks like an unstable connection with a lot of package losses.

Try passing "swlp=0 fwlps=0 ips=0" to the module (this should disable all powersaving features)
It's however a connection problem for sure.

Edit: also please dump lspci & lsusb, there's  rtl8188ee and rtl8188eu (latter in AUR)

Last edited by seth (2017-06-15 06:21:07)

Offline

#9 2017-06-15 06:35:48

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 10)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a43 Importek
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0461:4d0f Primax Electronics, Ltd HP Optical Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ill try for today pass "swlp=0 fwlps=0 ips=0" to the module i guess I have done it before but lets see what happens. What I usually do is to create a file in /etc/modprobe.d/rtl8192ce.conf with options rtl8192ce swlp=0 fwlps=0 ips=0 . Is that right? I guess rtl8188ee and rtl8188eu are not compattble with my card. It is the rtl8192ce that also works for rtl8188ce. I have tried also installing rtlwifi_new-dkms but it I think is the same because last drivers were included in the last kernel update.

Last edited by trdgrd (2017-06-15 06:36:30)

Offline

#10 2017-06-15 06:41:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

Let's see what that actually is ;-)

lspci -nvvs 02:00.0

Offline

#11 2017-06-15 06:42:34

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

$ lspci -nvvs 02:00.0
02:00.0 0280: 10ec:8176 (rev 01)
    Subsystem: 10ec:8211
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 17
    Region 0: I/O ports at 2000 [size=256]
    Region 2: Memory at c8400000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: rtl8192ce
    Kernel modules: rtl8192ce

Offline

#12 2017-06-15 07:39:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: bgn not showing iwconfig

Small intermission for a mod message: Please use code tags when pasting command output https://wiki.archlinux.org/index.php/Co … s_and_code

Offline

#13 2017-06-15 14:41:28

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

Learning how to put code tags.

So now  i can do it, thanks i did not know

Last edited by trdgrd (2017-06-15 14:42:44)

Offline

#14 2017-06-15 14:45:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Offline

#15 2017-06-15 19:53:07

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

So i already tried swlp=0 fwlps=0 ips=0 and I experimented random disconnections  even close to the router.

Offline

#16 2017-06-15 19:57:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

Then i'm out of ideas. The chip is notoriously known to cause unstable connections, but generally the cause is the power saving.
Do you use any userspace tools for powersaving which might impact here?

Edit: you can use "systool -vm rtl8192ce" to check whether the parameters are actually set.

Last edited by seth (2017-06-15 19:59:00)

Offline

#17 2017-06-15 20:16:24

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

I use cpupower but I do not think it has to see with wifi. it is the config file of cpu power

# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
#governor='performance'

# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="2.25GHz"
#max_freq="3GHz"

# Specific frequency to be set.
# Requires userspace governor to be available.
# Do not set governor field if you use this one.
#freq=

# Utilizes cores in one processor package/socket first before processes are
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=

# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=

#  Sets a register on supported Intel processore which allows software to convey
# its policy for the relative importance of performance versus energy savings to
# the  processor. See man (1) CPUPOWER-SET for additional details.
#perf_bias=

# vim:set ts=2 sw=2 ft=sh et:
systool -vm rtl8192ce
Module = "rtl8192ce"

  Attributes:
    coresize            = "53248"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    debug               = "0"
    fwlps               = "N"
    ips                 = "N"
    swenc               = "N"
    swlps               = "N"

  Sections:
    .bss                = "0xffffffffa0596c80"
    .data               = "0xffffffffa0594000"
    .exit.text          = "0xffffffffa0592455"
    .gnu.linkonce.this_module= "0xffffffffa0596940"
    .init.text          = "0xffffffffa05bc000"
    .note.gnu.build-id  = "0xffffffffa0593000"
    .parainstructions   = "0xffffffffa0593ae8"
    .rodata.str1.1      = "0xffffffffa0593b14"
    .rodata.str1.8      = "0xffffffffa0593b78"
    .rodata             = "0xffffffffa0593040"
    .strtab             = "0xffffffffa05be548"
    .symtab             = "0xffffffffa05bd000"
    .text               = "0xffffffffa058b000"
    __mcount_loc        = "0xffffffffa0593918"
    __param             = "0xffffffffa0593c10"

I just set those parameter again (swlp=0 fwlps=0 ips=0) because of the random disconections. I had to turn wifi off and on again each time for it to work again.

Offline

#18 2017-06-15 20:25:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

The parameters are applied, powersaving should be disabled (and cpupower alone have no impact)

Do you mean to say that the connection became more instable w/ powersaving disabled?

Offline

#19 2017-06-15 20:44:05

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

the conection is stable without those parameters and instable with them  i tested close to the router and far 8 meters aprox. the result was the same, random disconections. just rebooted with those parameters and I have turned off and on again at least 2 times the wifi.

Offline

#20 2017-06-15 20:58:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

Ok, then let's try the opposite:
Check iwconfig, if the txpower is still 20 dBm w/ powersaving disabled, try to lower txpower, eg.

iwconfig wlp2s0 txpower 15

and see whether the connection becomes more stable (or fails entirely if the value is now too low).
Notice that this is a logarithmic scale.

Offline

#21 2017-06-21 07:12:49

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

I tested what you said. The connection fails entirely. I tested rtlwifi_new-dkms from aur so I set

 options rtl8192ce_dkms swlp=0 fwlps=0 ips=0)

the connection was stable with power saving disabled and improved a lot. I just wonder if the module loaded is the correct because i think

 Kernel driver in use: rtl8192ce

should look like this

Kernel driver in use: rtl8192ce_dkms
lspci -nvvs 02:00.0
02:00.0 0280: 10ec:8176 (rev 01)
	Subsystem: 10ec:8211
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at 2000 [size=256]
	Region 2: Memory at c8400000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: rtl8192ce
	Kernel modules: rtl8192ce, rtl8192ce_dkms

So i just unistalled rtlwifi_new-dkms and installed other drivers from this source Kernel driver in use: rtl8192ce .I think these are the same from rtlwifi_new-dkms but the name of these wont change like the ones i used before from aur. After

sudo make

and

sudo make install

I set the parameters

 options rtl8192ce swlp=0 fwlps=0 ips=0)

and it worked flawlessly. Connection is stable but,the problem disappeared  when nobody is using the network but it comes back when someone is using it. I think computer takes less internet bandwidth than the other computers. I wonder why it might be because using windows I never had problems with the others using a lot bandwidth. I know it can handle with all the computers using bandwidth because once get closer to the router everything loads as it should be.

Last edited by trdgrd (2017-06-21 07:22:55)

Offline

#22 2017-06-21 08:16:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

a)

ips=0

- you got a stale ")" in there.

b)
you could try to increase the txpower, but i'm not sure i can just say how to do that here - depending on your regulatory domain, this can be illegal.

Offline

#23 2017-06-21 15:53:59

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

ho I maybe missclick, there is no error in the file I made. I have used this driver https://github.com/FreedomBen/rtl8188ce-linux-driver to get more txpower because it do not let me go beyond 20. and the driver in that page lets you set it in 30 or 33 changing regdomain to BO. In my case would be EC. this driver fails completely it is connected but does not load any page.

Offline

#24 2017-06-22 18:58:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: bgn not showing iwconfig

Fails completely rightaway or after you went "I went to Bolivia just tried 33 dBm"?

The pattern you describe ("everything fine unless other people are polluting the EM band") sounds like your communication is blanketed by stronger signals. The maximum in EC should be 20 dBm, though.

The only other thing I could think of is that there're actually multiple APs on different channels and windows does a better job on hopping them?

Offline

#25 2017-06-22 19:19:25

trdgrd
Member
Registered: 2017-06-11
Posts: 13

Re: bgn not showing iwconfig

the driver to set a higher txpower do not work on any configuration. There are 1 AP and the channel set for it is the 10th. Most of the other computers are plugged with cable. There are many routers in my building like each department has one all of them are in channel 1, I called the company in order to change the channel because my router was set in channel 1 also and they changed to channel 10. About 4 computers apart from mine are connected and I have no problems with windows just linux sometimes get pretty slow in loading pages and sometimes does not load at all. I know it is not ht network not the signal or the router because I always have near my phone and I loads normally also with windows normally I had more range in connection I mean that I could go further without losing wifi signal than the phone and now its backwards.

Offline

Board footer

Powered by FluxBB