LMDE2 internet conn fail with 3.18.13-rt10mah+

More
02 Aug 2016 14:12 #78292 by jtc
Hi.


I'm using a mesa 7i76E on a pc with LMDE2. with the preempt kernel 3.18.13-rt10mah+ kernel if I connect to the internet by an wifi usb adapter, after a few minutes, the internet freezes. I cant even do a ping, But using another kernel (3.16.0-4-586) everything related to the internet or wifi connection seems to be ok.

I did a lsmod on both kernels, that is he outputs:


this are the modles on 3.18.13-rt10mah+
Module 
ctr                  
ccm                   
bnep                  
bluetooth          
cpufreq_powersave 
cpufreq_stats          
cpufreq_userspace      
cpufreq_conservative    
binfmt_misc          
nls_utf8               
nls_cp437              
vfat                   
fat                
fuse                  
ecryptfs            
lp                   
dm_crypt               
uinput               
arc4                  
rtl8192cu             
rtl_usb               
rtl8192c_common        
rtlwifi               
mac80211              
cfg80211              
rfkill               
iTCO_wdt               
iTCO_vendor_support   
ppdev                
coretemp             
kvm                  
microcode          
snd_pcm                   
snd_timer                 
psmouse                   
snd                   
serio_raw              
soundcore              
pcspkr                
lpc_ich                
i2c_i801               
mfd_core               
shpchp                
battery               
parport_pc            
parport               
evdev                  
processor               
hid_generic            
usbhid                 
hid                    
ext4                   
crc16                 
jbd2                   
mbcache                
dm_mirror              
dm_region_hash         
dm_log                 
dm_mod                 
sg                     
sd_mod                 
crc32c_intel           
xhci_pci               
xhci_hcd              
r8169                
mii                    
usbcore               
usb_common            
thermal               
fan                   
ahci                   
libahci                
i915               
libata                
video               
i2c_algo_bit          
drm_kms_helper        
drm                  
scsi_mod              
button                 
i2c_core              
thermal_sys

on the default kernel:
ctr                    
ccm                   
cpufreq_powersave     
cpufreq_stats          
cpufreq_userspace      
cpufreq_conservative    
bnep                   
bluetooth            
6lowpan_iphc           
binfmt_misc            
nls_utf8               
nls_cp437             
vfat                   
fat                   
fuse                   
ecryptfs              
lp                    
dm_crypt               
uinput                  
arc4                  
rtl8192cu               
rtl_usb               
rtlwifi                
rtl8192c_common        
mac80211             
cfg80211              
rfkill                 
iTCO_wdt               
iTCO_vendor_support    
ppdev                  
intel_powerclamp      
intel_rapl            
coretemp              
kvm                  
crc32_pclmul          
psmouse               
serio_raw               
pcspkr                  
i2c_i801               
lpc_ich               
shpchp                 
snd_soc_rt5640         
snd_soc_rl6231         
battery                
parport_pc              
parport               
snd_soc_core          
snd_compress           
snd_pcm                
snd_timer              
snd                    
soundcore              
regmap_i2c             
snd_soc_sst_acpi       
i2c_designware_platform    
i2c_designware_core    
iosf_mbi               
evdev                  
processor               
ext4                  
crc16                  
mbcache                
jbd2                   
dm_mirror              
dm_region_hash        
dm_log                 
dm_mod                 
hid_generic            
usbhid                
sg                    
sd_mod                 
crc_t10dif             
crct10dif_generic      
crct10dif_common       
crc32c_intel           
ahci                   
libahci                
xhci_hcd             
r8169                  
mii                    
usbcore               
usb_common             
libata                
scsi_mod              
i915                  
i2c_algo_bit           
drm_kms_helper         
drm                  
fan                    
video                  
i2c_hid               
hid                   
i2c_core              
sdhci_acpi             
sdhci                  
mmc_core               
button                
thermal               
thermal_sys           


If I do a lsmod when the internet connection fails, the output is the same, so at the moment I had no clue what can do this. any help will be welcome.

Please Log in or Create an account to join the conversation.

More
02 Aug 2016 16:20 - 03 Aug 2016 07:46 #78295 by ArcEye

I'm using a mesa 7i76E on a pc with LMDE2. with the preempt kernel 3.18.13-rt10mah+


Michael will have probably built that kernel on Debian Jessie, but rt-preempt kernels are generally quite forgiving and transferable

..... I connect to the internet by an wifi usb adapter ......


Unless you say what the wifi adapter is and which chipset it contains, the list of modules does not help.

Run tail -f /var/log/messages when you plug the usb adaptor in to see what is reported
I got this plugging in a crappy old usb wifi stick( they are all crappy B) )
Aug  2 17:14:10 INTEL-i7 kernel: [ 1227.882710] usb 4-1.5: new high-speed USB device number 6 using ehci-pci
Aug  2 17:14:10 INTEL-i7 kernel: [ 1228.012357] usb 4-1.5: New USB device found, idVendor=148f, idProduct=5370
Aug  2 17:14:10 INTEL-i7 kernel: [ 1228.012363] usb 4-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug  2 17:14:10 INTEL-i7 kernel: [ 1228.012366] usb 4-1.5: Product: 802.11 n WLAN
Aug  2 17:14:10 INTEL-i7 kernel: [ 1228.012369] usb 4-1.5: Manufacturer: Ralink
Aug  2 17:14:10 INTEL-i7 kernel: [ 1228.012371] usb 4-1.5: SerialNumber: 1.0
Aug  2 17:14:10 INTEL-i7 mtp-probe: checking bus 4, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5"
Aug  2 17:14:10 INTEL-i7 mtp-probe: bus: 4, device: 6 was not an MTP device
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.198772] usb 4-1.5: reset high-speed USB device number 6 using ehci-pci
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.318285] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.347022] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.350263] usbcore: registered new interface driver rt2800usb
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.357351] rt2800usb 4-1.5:1.0 wlan1: renamed from wlan0
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.393039] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
Aug  2 17:14:11 INTEL-i7 kernel: [ 1229.393264] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29

You also need to check you have the firmware for that NIC installed, (eg, firmware-realtek firmware-linux-nonfree )
which may entail fetching from sid or whatever to get the up to date ones.

Then remake initrd.img-3.18.13-rt10 to ensure it is up to date.
This is ancient, but the process remains the same
ww.fdsd.co.uk/wiki/Tech/HowToRebuildInitrdImage.twiki.html
Last edit: 03 Aug 2016 07:46 by ArcEye.
The following user(s) said Thank You: jtc

Please Log in or Create an account to join the conversation.

More
03 Aug 2016 12:11 #78321 by jtc
that is my tail -f /var/log/messages otput:
cnc@cnc-pc ~ $  tail -f /var/log/messages
Aug  3 12:55:08 cnc-pc kernel: [   74.896701] cfg80211:  DFS Master region: unset
Aug  3 12:55:08 cnc-pc kernel: [   74.896705] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Aug  3 12:55:08 cnc-pc kernel: [   74.896711] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Aug  3 12:55:08 cnc-pc kernel: [   74.896716] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Aug  3 12:55:08 cnc-pc kernel: [   74.896720] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Aug  3 12:55:08 cnc-pc kernel: [   74.896726] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Aug  3 12:55:08 cnc-pc kernel: [   74.896731] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Aug  3 12:55:08 cnc-pc kernel: [   74.896736] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Aug  3 12:55:08 cnc-pc kernel: [   74.896741] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Aug  3 12:55:08 cnc-pc kernel: [   74.896746] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Aug  3 12:55:34 cnc-pc kernel: [  100.454977] usb 1-2.3: new high-speed USB device number 6 using xhci_hcd
Aug  3 12:55:34 cnc-pc kernel: [  100.544073] usb 1-2.3: New USB device found, idVendor=0bda, idProduct=8178
Aug  3 12:55:34 cnc-pc kernel: [  100.544082] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug  3 12:55:34 cnc-pc kernel: [  100.544087] usb 1-2.3: Product: USB WLAN
Aug  3 12:55:34 cnc-pc kernel: [  100.544092] usb 1-2.3: Manufacturer: 802.11n
Aug  3 12:55:34 cnc-pc kernel: [  100.544096] usb 1-2.3: SerialNumber: 00e04c000001
Aug  3 12:55:34 cnc-pc kernel: [  100.545303] rtl8192cu: Chip version 0x11
Aug  3 12:55:34 cnc-pc kernel: [  100.576483] rtl8192cu: MAC address: 14:cc:20:22:08:6d
Aug  3 12:55:34 cnc-pc kernel: [  100.576493] rtl8192cu: Board Type 0
Aug  3 12:55:34 cnc-pc kernel: [  100.576592] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
Aug  3 12:55:34 cnc-pc kernel: [  100.576659] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
Aug  3 12:55:34 cnc-pc mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.3"
Aug  3 12:55:34 cnc-pc mtp-probe: bus: 1, device: 6 was not an MTP device
Aug  3 12:55:35 cnc-pc kernel: [  101.606903] rtl8192cu 1-2.3:1.0 wlan3: renamed from wlan0
Aug  3 12:55:35 cnc-pc kernel: [  101.632646] rtl8192cu: MAC auto ON okay!
Aug  3 12:55:35 cnc-pc kernel: [  101.645118] rtl8192cu: Tx queue select: 0x05
Aug  3 12:55:36 cnc-pc kernel: [  102.846769] wlan3: authenticate with 00:22:75:32:38:77
Aug  3 12:55:36 cnc-pc kernel: [  102.859202] wlan3: send auth to 00:22:75:32:38:77 (try 1/3)
Aug  3 12:55:36 cnc-pc kernel: [  102.869777] wlan3: authenticated
Aug  3 12:55:36 cnc-pc kernel: [  102.870269] wlan3: associate with 00:22:75:32:38:77 (try 1/3)
Aug  3 12:55:36 cnc-pc kernel: [  102.885426] wlan3: RX AssocResp from 00:22:75:32:38:77 (capab=0x411 status=0 aid=1)
Aug  3 12:55:36 cnc-pc kernel: [  102.885930] wlan3: associated
Aug  3 12:55:36 cnc-pc kernel: [  102.886038] cfg80211: Calling CRDA for country: US
Aug  3 12:55:36 cnc-pc kernel: [  102.891828] cfg80211: Regulatory domain changed to country: US
Aug  3 12:55:36 cnc-pc kernel: [  102.891836] cfg80211:  DFS Master region: FCC
Aug  3 12:55:36 cnc-pc kernel: [  102.891839] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Aug  3 12:55:36 cnc-pc kernel: [  102.891845] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Aug  3 12:55:36 cnc-pc kernel: [  102.891851] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
Aug  3 12:55:36 cnc-pc kernel: [  102.891856] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
Aug  3 12:55:36 cnc-pc kernel: [  102.891861] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
Aug  3 12:55:36 cnc-pc kernel: [  102.891866] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
^C

If i try to install with sudo apt-get install firmware-realtek or firmware-linux-nonfree it says that is already installed and up to date.

on the log i says: rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin and searching for this in google look liker its associated with firmware-realtek (packages.debian.org/wheezy-backports/firmware-realtek)

Please Log in or Create an account to join the conversation.

More
03 Aug 2016 13:36 #78325 by ArcEye
rtl8192 is a pretty standard and well supported chip.
You seem have all the modules and firmware required.

I would be interested to see what gets posted in /var/log/messages and /var/log/dmesg when you have a problem with it.
Once you have the problem, go to a terminal and do

cat /var/log/messages > messages.txt
and
dmesg > dmesg.txt

and attach those txt files.

I am a little puzzled as to why the stick is coming up as wlan3.
That would suggest there are 3 previously assigned wireless lan connections in existence.

Please do in a terminal

cat /etc/network/interfaces > interfaces.txt

and attach that too.

Need to check which network manager you are using, if you have network-manager package and wicd installed, they conflict and can cause all sorts of problems.

Run
whereis wicd
whereis nmcli


If it finds both, you have potential problems right there.

Please Log in or Create an account to join the conversation.

More
04 Aug 2016 12:10 - 04 Aug 2016 12:11 #78352 by jtc
the itnerfaces.txt file:

File Attachment:

File Name: interfaces.txt
File Size:0 KB


cnc@cnc-pc ~ $ whereis wicd
wicd:
cnc@cnc-pc ~ $ whereis nmcli
nmcli: /usr/bin/nmcli /usr/share/man/man1/nmcli.1.gz


the last thing that i did are update initramfs and install initramfs-tools. but after half an hour or so it freezes again...

I will post the log messages when the problem happens.
Attachments:
Last edit: 04 Aug 2016 12:11 by jtc.

Please Log in or Create an account to join the conversation.

More
04 Aug 2016 13:19 - 04 Aug 2016 14:24 #78356 by ArcEye
OK,

Your interfaces file just refers back to interfaces.d, which is certainly different to how Debian normally sets things up.

I'll wait to see what the logs contain, when you get a drop out on wireless.

There is nothing wrong per se with the modules and firmware, the dongle is being recognised and brought up.
These USB dongles are pretty flaky a lot of the time in my experience.

I tend to always use wicd for a much more reliable wireless connection.

Would be worth trying removing the package network-manager and installing wicd.
Just make sure you keep the dongle plugged in, so that hopefully it will be picked up automatically.

If it doesn't, you can normally use this procedure.
rfkill list all

If Wireless LAN is shown blocked (soft or hard)
rfkill unblock wifi

Then
ip a

which should give something like
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether c0:4a:00:02:bf:d1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::c24a:ff:fe02:bfd1/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 7c:dd:90:25:03:a3 brd ff:ff:ff:ff:ff:ff

Note wlan1 is shown as DOWN
ip link set wlan1 up

Now check appears in listing
ifconfig

Which it does
eth0      Link encap:Ethernet  HWaddr c0:4a:00:02:bf:d1  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::c24a:ff:fe02:bfd1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:289154 errors:0 dropped:0 overruns:0 frame:0
          TX packets:183142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:361719392 (344.9 MiB)  TX bytes:18481853 (17.6 MiB)

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:2228 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:5760967 (5.4 MiB)  TX bytes:5760967 (5.4 MiB)

wlan1     Link encap:Ethernet  HWaddr 7c:dd:90:25:03:a3  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Now check it is receiving and what stations are in range
iwlist scan

and you get something like this
lo        Interface doesn't support scanning.

wlan1     Scan completed :
          Cell 01 - Address: 30:B5:C2:51:0D:91
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-35 dBm  
                    Encryption key:off
                    ESSID:"TP-LINK_2.4GHz_510D91"
                    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=000000392050a79a
                    Extra: Last beacon: 18896ms ago
                    IE: Unknown: 001554502D4C494E4B5F322E3447487A5F353130443931
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AEE111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 331AEE111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16010D0000000000000000000000000000000000000000
                    IE: Unknown: 3416010D0000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DDA70050F204104A0001101044000102103B000103104700100000000000001000000030B5C2510D101021000754502D4C494E4B1023000854442D573939383010240003312E301042000C3330423543323531304439311054000800060050F20400011011001F576972656C657373204475616C2042616E64204D6F64656D20526F75746572100800020086103C000100104900140024E26002000101600000020001600100020001
          Cell 02 - Address: 00:1D:AA:B2:7D:60
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=31/70  Signal level=-79 dBm  
                    Encryption key:on
                    ESSID:"Banks_Wireless"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000008940cefda0
                    Extra: Last beacon: 28ms ago
                    IE: Unknown: 000E42616E6B735F576972656C657373
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFFFF00010000000000000000000000000C0000000000
                    IE: Unknown: 3D1606070600000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B050005107A12
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4304000000
                    IE: Unknown: DD1E00904C336E1017FFFFFF00010000000000000000000000000C0000000000
                    IE: Unknown: DD1A00904C3406070600000000000000000000000000000000000000
                    IE: Unknown: DD9D0050F204104A0001101044000101103B00010310470010BC329E001DD811B28601001DAAB27D601021001852616C696E6B20546563686E6F6C6F67792C20436F72702E1023001C52616C696E6B20576972656C6573732041636365737320506F696E74102400065254323836301042000831323334353637381054000800060050F20400011011000952616C696E6B415053100800020084103C000100
          Cell 03 - Address: BC:F6:85:AD:3A:B9
                    Channel:2
                    Frequency:2.417 GHz (Channel 2)
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"TALKTALK-AD3AB9"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000002349c3c10f
                    Extra: Last beacon: 1308ms ago
                    IE: Unknown: 000F54414C4B54414C4B2D414433414239
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030102
                    IE: Unknown: 32040C183060
                    IE: Unknown: 0706545720010B14
                    IE: Unknown: 33082001020304050607
                    IE: Unknown: 33082105060708090A0B
                    IE: Unknown: DD270050F204104A000110104400010210470010BC329E001DD811B28601BCF685AD3AB9103C000100
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0104
                    IE: Unknown: 2D1A0C0117FF000000000000000000000000000000000C0000000000
                    IE: Unknown: 3D1602000700000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B0500020D7A12
                    IE: Unknown: DD1E00904C330C0117FF000000000000000000000000000000000C0000000000
                    IE: Unknown: DD1A00904C3402000700000000000000000000000000000000000000
                    IE: Unknown: DD07000C4304000000

eth0      Interface doesn't support scanning.

Now you can open up wicd and click on the right hand drop menu [V]



Select 'Preferences', get this menu and add your WLAN desigination, in this case wlan1.



Then click OK and return to main dialog and click [Refresh], after which those stations you detected should come up and you are up and running once you select one of them and sort out password etc.



Note the strength of first station is 72%
That was 3ft from the router! Just shows how flaky these dongles are, my laptop gets 100% anywhere in visible range and 85% 15 metres away, behind 3 brick walls.

regards
Attachments:
Last edit: 04 Aug 2016 14:24 by ArcEye.

Please Log in or Create an account to join the conversation.

More
04 Aug 2016 19:16 #78367 by jtc
Thank you for your detailed work. I will check this when the next time when I am on that PC.

there is the messages:

File Attachment:

File Name: messages.txt
File Size:1,057 KB



and dmesg:


File Attachment:

File Name: dmesg.txt
File Size:126 KB




Im already working on an alternative with Debian wheezy, and today when I tryed to optimize the latency times with "grub" options I already have a similar problem on wheezy

this is the "stock" wheezy configuration:
linux	/boot/vmlinuz-3.2.0-4-rt-686-pae root=UUID=2948b065-03bb-46c6-b847-4b6f0dd70d76 ro initrd=/install/gtk/initrd.gz lapic quiet rootdelay=5

this is the LMDE2 configuration that had problems:
linux	/boot/vmlinuz-3.18.13-rt10mah+ root=UUID=34501974-505a-490f-873f-4937e569da86 ro  quiet splash isolcpus=2,3 intel_idle.max_cstate=0 processor.max_cstate=0

the modified wheezy configuration where I lost wifi connection to:
linux	/boot/vmlinuz-3.2.0-4-rt-686-pae root=UUID=2948b065-03bb-46c6-b847-4b6f0dd70d76 ro initrd=/install/gtk/initrd.gz quiet splash isolcpus=2,3 intel_idle.max_cstate=0 processor.max_cstate=0  rootdelay=5

after this I remove :
intel_idle.max_cstate=0
processor.max_cstate=0

from this configuration and the wifi connection seems to be stable (needs more test).

can it be related in somehow with the wifi problems??


tnks
Attachments:

Please Log in or Create an account to join the conversation.

More
05 Aug 2016 08:41 - 05 Aug 2016 08:51 #78379 by ArcEye

this is the LMDE2 configuration that had problems:

linux /boot/vmlinuz-3.18.13-rt10mah+ root=UUID=34501974-505a-490f-873f-4937e569da86 ro quiet splash isolcpus=2,3 intel_idle.max_cstate=0 processor.max_cstate=0


If you google intel_idle.max_cstate=0 you will find lots of references to problems with networking, especially wifi.

There is some suggestion that using state 1 is a better option, but I have never bothered with these options and turn off all power management, turn fan speed to full etc in BIOS
I always disable suspend, hibernate etc at kernel level for the same reason (when I build the kernel - not through params)

I wish you had said exactly what you were doing in the beginning, these kernel parameters look like the problem, not the kernel itself.
You don't need brilliant latency to run with mesa cards, 50K is quite good enough.

You can quite often improve latency considerably on a multicore newer computer with larger processor caches, by running a dummy base thread at about 25 - 50us with nothing attached to it. Keeps the cores busy so the rt code remains in one cache.

Try it with latency-test 25us 1ms to test it out and look at the servo figures

The USB stick seems to be erroring and repeatedly connecting and disconnecting in the dmesg, but not looked at it very much in light of the preceding.
[ 3518.517107] rtl_usb:_usb_tx_post():<0-0> Urb has error status 0xFFFFFFB9
[ 3518.517152] rtl_usb:_usb_tx_post():<0-0> Urb has error status 0xFFFFFFB9
[ 3518.685108] usb 1-2.3: USB disconnect, device number 4
[ 3518.699454] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x83040002
[ 3518.699468] rtl_usb: reg 0x422, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x0
[ 3518.699480] rtl_usb: reg 0x542, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x4d5
[ 3518.699496] rtl8192cu:rtl92cu_get_hw_reg():<0-0> switch case not processed
[ 3518.699531] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3902b2a


Get rid of the kernel params and it should be fine
Last edit: 05 Aug 2016 08:51 by ArcEye.

Please Log in or Create an account to join the conversation.

More
05 Aug 2016 19:35 #78394 by jtc
today I tested without theses options on grub, and the problem persists...

I uninstalled network-manager but have errors installing wicd. so I believe that I'm stuck with no way to connect to the internet. Tomorrow I will decide if worth keeping try to fix that or just simply migrate to wheezy (this work is already done).

Please Log in or Create an account to join the conversation.

More
06 Aug 2016 15:39 #78414 by ArcEye

I uninstalled network-manager but have errors installing wicd. so I believe that I'm stuck with no way to connect to the internet


Without knowing what the errors are, can't assist. To revert just un-install wicd and re-install network-manager.
If the packages are still in /var/cache/apt/archives you don't need a network connection to do that.

Tomorrow I will decide if worth keeping try to fix that or just simply migrate to wheezy (this work is already done).


If wheezy is an option, just use the stock debian rt-preempt kernel, it works perfectly well
The following user(s) said Thank You: jtc

Please Log in or Create an account to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum