Hi! Some general question + Wifi USB Realtek RTL8191S

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Sun Nov 03, 2013 10:32 am

To establish a connection I still have to do two things:

First:
root@fvdwsl-base:/ # udhcpc -i wlan0
udhcpc (v1.21.0) started
Sending discover...
Sending select for 192.168.178.24...
Lease of 192.168.178.24 obtained, lease time 864000


I know I omit the simple script this way, but with it it I found no difference. An the first call including simple script is still in the startup script. I am not sure if is already executed during startup.


Then I use the IP displayed from udhcpc command and us it like this:

ifconfig wlan0 inet 192.168.178.24


This creates no output. Now I can connect to the webinterface under the wireless IP.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Sun Nov 03, 2013 3:05 pm

I amanded the output of the udhcpc command in the bootlog file. It clearly shows that a leas is obtained on booting. The missing thing is the assignment to the interface.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Sun Nov 03, 2013 5:36 pm

for that you need to use the "simple.script"

but basically this script gves the command I posted above to set the ip address of the network interface

ps did you set the sript with executable permissions ? (chmod 755) if not then it won't run..of course
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Sun Nov 03, 2013 6:11 pm

I am such a newby!

Thanks that's it. :hail

Now hopefully you can solve the unplug issue and we're fine!
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Sun Nov 03, 2013 6:18 pm

By the way - can i use the kernel on SPD8020 as well?
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Sun Nov 03, 2013 7:41 pm

no this kernel can not be used on spd8020

ps I will sent you by pm a new driver, found some bugs in the previous one. To test it.
Also I took out some code making it very verbose in dmeg output, I think if you check dmesg output you will see many message. Most of them are usuless for normal operation and more for debugging. Don't know why the programmers left it in.
Also I compiled wpa_supplicant-0.6.9 as it came with your driver, need some patching to get it work with linux-3.9.5 and newer version of libnl
That version of wpa_supplicant will not give the two warning messages that 2.0 does with this driver.
But wpa-supplicant 2.0 seems to work also ok despite these messsages. Anyhow you can try to see if there is a difference
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Sun Nov 03, 2013 9:10 pm

Error messages from wpa_supplicant are gone.

dmesg is as follows It's different, not sure it's shorter (missing out the first part up to time stamp 9.37...)

[ 9.368274] Register Driver 'cdc_subset'
[ 9.372515] usbcore: registered new interface driver cdc_subset
[ 9.378485] Register Driver 'zaurus'
[ 9.382306] usbcore: registered new interface driver zaurus
[ 9.387898] Register Driver 'ipheth'
[ 9.391804] usbcore: registered new interface driver ipheth
[ 9.397356] Register Driver 'cdc_ncm'
[ 9.401354] usbcore: registered new interface driver cdc_ncm
[ 9.408336] aoe: AoE v81 initialised.
[ 9.412122] Register Driver 'rtc-ds1307'
[ 9.416275] Register Driver 'rtc-mv'
[ 9.420378] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 9.426419] platform_driver_probe 5 retval= 0 code= 0
[ 9.431670] i2c /dev entries driver
[ 9.435298] Register Driver 'mv64xxx_i2c'
[ 9.440467] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[ 9.447953] uvcvideo: Unable to create debugfs directory
[ 9.453341] Register Driver 'uvcvideo'
[ 9.457375] usbcore: registered new interface driver uvcvideo
[ 9.463169] USB Video Class driver (1.1.1)
[ 9.467252] gspca_main: v2.14.0 registered
[ 9.471500] Register Driver 'Philips webcam'
[ 9.476040] usbcore: registered new interface driver Philips webcam
[ 9.482357] Register Driver 'gpio-fan'
[ 9.486336] Register Driver 'lm75'
[ 9.490885] Register Driver 'lm77'
[ 9.494935] md: linear personality registered for level -1
[ 9.500443] md: raid0 personality registered for level 0
[ 9.505736] md: raid1 personality registered for level 1
[ 9.511070] md: raid10 personality registered for level 10
[ 9.516537] md: raid6 personality registered for level 6
[ 9.521898] md: raid5 personality registered for level 5
[ 9.527189] md: raid4 personality registered for level 4
[ 9.532744] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[ 9.541381] device-mapper: multipath: version 1.5.1 loaded
[ 9.546848] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 9.553397] device-mapper: multipath queue-length: version 0.1.0 loaded
[ 9.560024] device-mapper: multipath service-time: version 0.2.0 loaded
[ 9.566697] device-mapper: dm-log-userspace: version 1.1.0 loaded
[ 9.572798] device-mapper: raid: Loading target version 1.4.2
[ 9.578558] Register Driver 'mmcblk'
[ 9.582364] Register Driver 'leds-gpio'
[ 9.586331] leds-gpio leds-gpio: pins are not configured from the driver
[ 9.593079] orion_gpio_is_valid: invalid GPIO 12
[ 9.593483] Register Driver 'leds-ns2'
[ 9.597490] Register Driver 'leds-ns2l'
[ 9.601897] Register Driver 'leds-netxbig'
[ 9.606272] Register Driver 'mv_crypto'
[ 9.611242] Register Driver 'hid-generic'
[ 9.615601] Netfilter messages via NETLINK v0.30.
[ 9.620501] nf_conntrack version 0.5.0 (1900 buckets, 7600 max)
[ 9.626859] IPv4 over IPv4 tunneling driver
[ 9.631115] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 9.638711] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.644108] TCP: cubic registered
[ 9.647467] NET: Registered protocol family 10
[ 9.653314] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.658868] sit: IPv6 over IPv4 tunneling driver
[ 9.664488] NET: Registered protocol family 17
[ 9.669092] ata1.00: ATA-8: WDC WD25EZRX-00AZ6B0, 80.00A80, max UDMA/133
[ 9.675769] ata1.00: 4883781168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 9.682627] NET: Registered protocol family 5
[ 9.687119] NET: Registered protocol family 37
[ 9.692122] VFP support v0.3: not present
[ 9.697445] console [netcon0] enabled
[ 9.701181] netconsole: network logging started
[ 9.705693] Register Driver 'gpio-keys'
[ 9.710395] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 9.717554] rtc-mv rtc-mv: setting system clock to 2013-11-03 22:02:38 UTC (1383516158)
[ 9.728555] ata1.00: configured for UDMA/133
[ 9.748827] scsi 0:0:0:0: Direct-Access ATA WDC WD25EZRX-00A 80.0 PQ: 0 ANSI: 5
[ 9.757447] No LaCie disk map available
[ 9.761936] sd 0:0:0:0: [sda] 4883781168 512-byte logical blocks: (2.50 TB/2.27 TiB)
[ 9.770296] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 9.775809] sd 0:0:0:0: [sda] Write Protect is off
[ 9.780658] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 9.780803] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 9.834300] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[ 9.843085] sd 0:0:0:0: [sda] Attached SCSI disk
[ 10.118425] ata2: SATA link down (SStatus 0 SControl F300)
[ 10.138477] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[ 10.180256] EXT3-fs (sda7): mounted filesystem with ordered data mode
[ 10.186705] VFS: Mounted root (ext3 filesystem) readonly on device 8:7.
[ 10.193325] kjournald starting. Commit interval 5 seconds
[ 10.199612] Freeing init memory: 180K
[ 10.400531] EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended
[ 10.409612] EXT3-fs (sda7): using internal journal
[ 10.778628] EXT3-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
[ 10.787377] kjournald starting. Commit interval 5 seconds
[ 10.792942] EXT3-fs (sda1): using internal journal
[ 10.828490] EXT3-fs (sda1): recovery complete
[ 10.832835] EXT3-fs (sda1): mounted filesystem with ordered data mode
[ 11.948704] kjournald starting. Commit interval 5 seconds
[ 11.954236] EXT3-fs (sda5): using internal journal
[ 11.998492] EXT3-fs (sda5): recovery complete
[ 12.002838] EXT3-fs (sda5): mounted filesystem with ordered data mode
[ 12.115417] Adding 516092k swap on /dev/sda3. Priority:-1 extents:1 across:516092k
[ 12.397003] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 12.403640] Register Driver 'orion-ehci'
[ 12.407737] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 12.413075] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 12.420842] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 12.438423] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 12.444415] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 12.451205] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 12.458417] usb usb1: Product: Marvell Orion EHCI
[ 12.463110] usb usb1: Manufacturer: Linux 3.9.5 ehci_hcd
[ 12.468419] usb usb1: SerialNumber: orion-ehci.0
[ 12.473804] hub 1-0:1.0: USB hub found
[ 12.477565] hub 1-0:1.0: 1 port detected
[ 12.495151] Initializing USB Mass Storage driver...
[ 12.500152] Register Driver 'usb-storage'
[ 12.504505] usbcore: registered new interface driver usb-storage
[ 12.510626] USB Mass Storage support registered.
[ 12.525390] Register Driver 'usblp'
[ 12.529315] usbcore: registered new interface driver usblp
[ 12.548742] iSCSI Enterprise Target Software - version trunk
[ 12.554491] iscsi_trgt: Registered io type fileio
[ 12.559282] iscsi_trgt: Registered io type blockio
[ 12.564054] iscsi_trgt: Registered io type nullio
[ 12.581284] Loading iSCSI transport class v2.0-870.
[ 12.594220] iscsi: registered transport (tcp)
[ 12.619767] Register Driver 'r871x_usb_drv'
[ 12.624350] usbcore: registered new interface driver r871x_usb_drv
[ 12.798513] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 12.962001] usb 1-1: New USB device found, idVendor=0bda, idProduct=8172
[ 12.975833] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 12.996840] usb 1-1: Product: RTL8191S WLAN Adapter
[ 13.011087] usb 1-1: Manufacturer: Manufacturer Realtek
[ 13.016390] usb 1-1: SerialNumber: 00e04c000001
[ 13.038734] ==DriverVersion: v2.6.6.0.20120405==
[ 13.043444] register rtl8712_netdev_ops to netdev_ops
[ 13.055275] rtw_wdev_alloc
[ 13.063068]
[ 13.063068] 8712_usb_endpoint_descriptor(0):
[ 13.078545] bLength=7
[ 13.080823] bDescriptorType=5
[ 13.083774] bEndpointAddress=83
[ 13.086902] wMaxPacketSize=200
[ 13.113853] bInterval=0
[ 13.116511]
[ 13.116511] 8712_usb_endpoint_descriptor(1):
[ 13.138650] bLength=7
[ 13.141099] bDescriptorType=5
[ 13.145428] bEndpointAddress=4
[ 13.163077] wMaxPacketSize=200
[ 13.166951] bInterval=0
[ 13.170634]
[ 13.170634] 8712_usb_endpoint_descriptor(2):
[ 13.178823] bLength=7
[ 13.181336] bDescriptorType=5
[ 13.185664] bEndpointAddress=6
[ 13.211033] wMaxPacketSize=200
[ 13.217130] bInterval=0
[ 13.227893]
[ 13.227893] 8712_usb_endpoint_descriptor(3):
[ 13.240211] bLength=7
[ 13.243713] bDescriptorType=5
[ 13.248036] bEndpointAddress=d
[ 13.263716] wMaxPacketSize=200
[ 13.267956] bInterval=0
[ 13.294760]
[ 13.296776] 8712u : USB_SPEED_HIGH
[ 13.308568] nr_endpoint=4
[ 13.328858] Boot from EFUSE
[ 13.331649] Autoload OK!!
[ 14.047975] CustomerID = 0x a
[ 14.053521] MAC Address from efuse= 0-d-81-aa-25-7e
[ 26.118449] kjournald starting. Commit interval 5 seconds
[ 26.126753] EXT3-fs (sda8): using internal journal
[ 26.168525] EXT3-fs (sda8): recovery complete
[ 26.172869] EXT3-fs (sda8): mounted filesystem with ordered data mode
[ 26.427044] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 28.161288] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[ 28.171056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.438692] udevd (872): /proc/872/oom_adj is deprecated, please use /proc/872/oom_score_adj instead.
[ 47.628859] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
[ 53.531052] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 53.558993] FAT-fs (loop0): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 55.668987] 1 RCR=0x153f00e
[ 55.678978] 2 RCR=0x553f00e
[ 55.692985] MAC Address= 0-d-81-aa-25-7e
[ 55.708907] rtw_cfg80211_init_wiphy:rf_config=1
[ 55.818809] cfg80211_rtw_set_power_mgmt
[ 55.822650] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 56.276348] r871x_wx_set_pmkid: IW_PMKSA_FLUSH!
[ 56.288970] set_mode = IW_MODE_INFRA
[ 56.329429] r871x_wx_set_pmkid: IW_PMKSA_FLUSH!
[ 58.120249] ------------[ cut here ]------------
[ 58.124895] WARNING: at kernel/softirq.c:160 local_bh_enable+0x4c/0xc4()
[ 58.131568] Modules linked in: 8712u(O) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi iscsi_trgt(O) usblp usb_storage ehci_hcd
[ 58.143624] [<c0018054>] (unwind_backtrace+0x0/0xe0) from [<c00214b4>] (warn_slowpath_common+0x4c/0x68)
[ 58.152985] [<c00214b4>] (warn_slowpath_common+0x4c/0x68) from [<c0021560>] (warn_slowpath_null+0x18/0x20)
[ 58.162613] [<c0021560>] (warn_slowpath_null+0x18/0x20) from [<c0027e88>] (local_bh_enable+0x4c/0xc4)
[ 58.171811] [<c0027e88>] (local_bh_enable+0x4c/0xc4) from [<c05485e4>] (cfg80211_bss_update+0xc4/0x544)
[ 58.181180] [<c05485e4>] (cfg80211_bss_update+0xc4/0x544) from [<c0548d0c>] (cfg80211_inform_bss_frame+0x174/0x1b0)
[ 58.191724] [<c0548d0c>] (cfg80211_inform_bss_frame+0x174/0x1b0) from [<bf090614>] (rtw_cfg80211_inform_bss+0x1bc/0x1ec [8712u])
[ 58.203477] [<bf090614>] (rtw_cfg80211_inform_bss+0x1bc/0x1ec [8712u]) from [<bf09088c>] (rtw_cfg80211_surveydone_event_callback+0x6c/0xac [8712u])
[ 58.216849] [<bf09088c>] (rtw_cfg80211_surveydone_event_callback+0x6c/0xac [8712u]) from [<bf088318>] (surveydone_event_callback+0x168/0x170 [8712u])
[ 58.230365] [<bf088318>] (surveydone_event_callback+0x168/0x170 [8712u]) from [<bf0765e4>] (event_handle+0x124/0x138 [8712u])
[ 58.241821] [<bf0765e4>] (event_handle+0x124/0x138 [8712u]) from [<bf093a84>] (rxcmd_event_hdl+0x28/0x40 [8712u])
[ 58.252242] [<bf093a84>] (rxcmd_event_hdl+0x28/0x40 [8712u]) from [<bf07b094>] (usb_read_port_complete+0x9c/0x1c0 [8712u])
[ 58.263339] [<bf07b094>] (usb_read_port_complete+0x9c/0x1c0 [8712u]) from [<c03b0bec>] (usb_hcd_giveback_urb+0x64/0xbc)
[ 58.274102] [<c03b0bec>] (usb_hcd_giveback_urb+0x64/0xbc) from [<bf000c94>] (ehci_urb_done+0x80/0x8c [ehci_hcd])
[ 58.284266] [<bf000c94>] (ehci_urb_done+0x80/0x8c [ehci_hcd]) from [<bf003580>] (qh_completions+0xa8/0x3bc [ehci_hcd])
[ 58.294943] [<bf003580>] (qh_completions+0xa8/0x3bc [ehci_hcd]) from [<bf0042b8>] (ehci_work+0x88/0x78c [ehci_hcd])
[ 58.305362] [<bf0042b8>] (ehci_work+0x88/0x78c [ehci_hcd]) from [<bf004c44>] (ehci_irq+0x210/0x258 [ehci_hcd])
[ 58.315343] [<bf004c44>] (ehci_irq+0x210/0x258 [ehci_hcd]) from [<c03b0084>] (usb_hcd_irq+0x30/0x48)
[ 58.324450] [<c03b0084>] (usb_hcd_irq+0x30/0x48) from [<c005989c>] (handle_irq_event_percpu+0x2c/0x198)
[ 58.333811] [<c005989c>] (handle_irq_event_percpu+0x2c/0x198) from [<c0059a5c>] (handle_irq_event+0x54/0x74)
[ 58.343611] [<c0059a5c>] (handle_irq_event+0x54/0x74) from [<c005bfac>] (handle_level_irq+0xcc/0x104)
[ 58.352802] [<c005bfac>] (handle_level_irq+0xcc/0x104) from [<c00592d0>] (generic_handle_irq+0x20/0x30)
[ 58.362176] [<c00592d0>] (generic_handle_irq+0x20/0x30) from [<c0012f4c>] (handle_IRQ+0x60/0x80)
[ 58.370944] [<c0012f4c>] (handle_IRQ+0x60/0x80) from [<c0598dd8>] (__irq_usr+0x38/0xa0)
[ 58.378909] ---[ end trace e583bb08a2fd60fb ]---
[ 58.383520] rtw_cfg80211_indicate_scan_done
[ 58.387772] rtw_cfg80211_indicate_scan_done without scan req
[ 58.410580] set_mode = IW_MODE_INFRA
[ 58.414794]
[ 58.414794] wpa_ie(length:22):
[ 58.419445] 0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x02
[ 58.424393] 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00
[ 58.429738] 0x00 0x0f 0xac 0x02 0x00 0x00 0x17 0xc7
[ 58.434731] +r8711_wx_set_freq f=971 c=1 wrqu->e=0 wrqu->m=2
[ 58.873243] rtw_cfg80211_indicate_connect(padapter=c8b77000)
[ 58.884741] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 63.665237] [got_addbareq_event_callback] mac = 0 24 FE A3 73 14, seq = 48, tid = 0
[ 74.763505] rtw_cfg80211_indicate_disconnect(padapter=c8b77000)
[ 74.769411] pwdev->sme_state=0
[ 75.018415] (2)871x_drv - drv_close, bup=1, hw_init_completed=1
[ 75.024372] call rtw_indicate_scan_done when drv_close
[ 75.029603] rtw_cfg80211_indicate_scan_done
[ 75.033855] rtw_cfg80211_indicate_scan_done without scan req
[ 75.039538] -871x_drv - drv_close, bup=1
[ 76.471013] rtw_cfg80211_indicate_scan_done
[ 76.475276] rtw_cfg80211_indicate_scan_done without scan req
[ 106.928797] cfg80211_rtw_set_power_mgmt
[ 106.932792] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 107.948455] r871x_wx_set_pmkid: IW_PMKSA_FLUSH!
[ 107.952983] set_mode = IW_MODE_INFRA
[ 107.988597] r871x_wx_set_pmkid: IW_PMKSA_FLUSH!
[ 108.099300] set_mode = IW_MODE_INFRA
[ 108.103275]
[ 108.103275] wpa_ie(length:22):
[ 108.107885] 0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x02
[ 108.112864] 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00
[ 108.117810] 0x00 0x0f 0xac 0x02 0x00 0x00 0x14 0xc7
[ 108.122827] +r8711_wx_set_freq f=971 c=1 wrqu->e=0 wrqu->m=2
[ 108.534112] rtw_cfg80211_indicate_connect(padapter=c8b77000)
[ 108.539894] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 206.466108] [got_addbareq_event_callback] mac = 0 24 FE A3 73 14, seq = 32, tid = 0
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Sun Nov 03, 2013 9:33 pm

mmm...
still a warning in this part, no idea yet what it means, so to see it comes from wpa-supplicant letting the driver doing something it doesn't like
Code: Select all
[ 56.329429] r871x_wx_set_pmkid: IW_PMKSA_FLUSH!
[ 58.120249] ------------[ cut here ]------------
[ 58.124895] WARNING: at kernel/softirq.c:160 local_bh_enable+0x4c/0xc4()
[ 58.131568] Modules linked in: 8712u(O) iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi iscsi_trgt(O) usblp usb_storage ehci_hcd
[ 58.143624] [<c0018054>] (unwind_backtrace+0x0/0xe0) from [<c00214b4>] (warn_slowpath_common+0x4c/0x68)
[ 58.152985] [<c00214b4>] (warn_slowpath_common+0x4c/0x68) from [<c0021560>] (warn_slowpath_null+0x18/0x20)
[ 58.162613] [<c0021560>] (warn_slowpath_null+0x18/0x20) from [<c0027e88>] (local_bh_enable+0x4c/0xc4)
[ 58.171811] [<c0027e88>] (local_bh_enable+0x4c/0xc4) from [<c05485e4>] (cfg80211_bss_update+0xc4/0x544)
[ 58.181180] [<c05485e4>] (cfg80211_bss_update+0xc4/0x544) from [<c0548d0c>] (cfg80211_inform_bss_frame+0x174/0x1b0)
[ 58.191724] [<c0548d0c>] (cfg80211_inform_bss_frame+0x174/0x1b0) from [<bf090614>] (rtw_cfg80211_inform_bss+0x1bc/0x1ec [8712u])
[ 58.203477] [<bf090614>] (rtw_cfg80211_inform_bss+0x1bc/0x1ec [8712u]) from [<bf09088c>] (rtw_cfg80211_surveydone_event_callback+0x6c/0xac [8712u])
[ 58.216849] [<bf09088c>] (rtw_cfg80211_surveydone_event_callback+0x6c/0xac [8712u]) from [<bf088318>] (surveydone_event_callback+0x168/0x170 [8712u])
[ 58.230365] [<bf088318>] (surveydone_event_callback+0x168/0x170 [8712u]) from [<bf0765e4>] (event_handle+0x124/0x138 [8712u])
[ 58.241821] [<bf0765e4>] (event_handle+0x124/0x138 [8712u]) from [<bf093a84>] (rxcmd_event_hdl+0x28/0x40 [8712u])
[ 58.252242] [<bf093a84>] (rxcmd_event_hdl+0x28/0x40 [8712u]) from [<bf07b094>] (usb_read_port_complete+0x9c/0x1c0 [8712u])
[ 58.263339] [<bf07b094>] (usb_read_port_complete+0x9c/0x1c0 [8712u]) from [<c03b0bec>] (usb_hcd_giveback_urb+0x64/0xbc)
[ 58.274102] [<c03b0bec>] (usb_hcd_giveback_urb+0x64/0xbc) from [<bf000c94>] (ehci_urb_done+0x80/0x8c [ehci_hcd])
[ 58.284266] [<bf000c94>] (ehci_urb_done+0x80/0x8c [ehci_hcd]) from [<bf003580>] (qh_completions+0xa8/0x3bc [ehci_hcd])
[ 58.294943] [<bf003580>] (qh_completions+0xa8/0x3bc [ehci_hcd]) from [<bf0042b8>] (ehci_work+0x88/0x78c [ehci_hcd])
[ 58.305362] [<bf0042b8>] (ehci_work+0x88/0x78c [ehci_hcd]) from [<bf004c44>] (ehci_irq+0x210/0x258 [ehci_hcd])
[ 58.315343] [<bf004c44>] (ehci_irq+0x210/0x258 [ehci_hcd]) from [<c03b0084>] (usb_hcd_irq+0x30/0x48)
[ 58.324450] [<c03b0084>] (usb_hcd_irq+0x30/0x48) from [<c005989c>] (handle_irq_event_percpu+0x2c/0x198)
[ 58.333811] [<c005989c>] (handle_irq_event_percpu+0x2c/0x198) from [<c0059a5c>] (handle_irq_event+0x54/0x74)
[ 58.343611] [<c0059a5c>] (handle_irq_event+0x54/0x74) from [<c005bfac>] (handle_level_irq+0xcc/0x104)
[ 58.352802] [<c005bfac>] (handle_level_irq+0xcc/0x104) from [<c00592d0>] (generic_handle_irq+0x20/0x30)
[ 58.362176] [<c00592d0>] (generic_handle_irq+0x20/0x30) from [<c0012f4c>] (handle_IRQ+0x60/0x80)
[ 58.370944] [<c0012f4c>] (handle_IRQ+0x60/0x80) from [<c0598dd8>] (__irq_usr+0x38/0xa0)
[ 58.378909] ---[ end trace e583bb08a2fd60fb ]---
[ 58.383520] rtw_cfg80211_indicate_scan_done
[ 58.387772] rtw_cfg80211_indicate_scan_done without scan req
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby Msa-lacie » Tue Nov 05, 2013 6:51 pm

My congratulations for the interesting developments!!!!

I think it's a really nice feature add a USB wifi to our nas!

good job!
Msa-lacie
 
Posts: 26
Joined: Sun Sep 29, 2013 9:57 am

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Mon Nov 11, 2013 7:12 pm

Found something interesting about the "unplug cable" issue. Running a port scanner on another computer in the local network shows that traffic through eth0 and wlan0 have the same mac adress. That means that wlan0 is not really in use i guess. Then i used "ifconfig eth0 down" and sanned again the remaining ip. This time it shows the correct mac adress of the wifi adapter. Strange isn't it?
To me that explains why the connections break by simply unplugging the cable. It disconnects the one and only route which just has two names.

Now that's the anamnesis, but what can be the treatment?

Edit: "ifconfig etho up" reassigns the old mac to wlan0
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 14 guests