Thomas Korimort
Posts: 48
Joined: Tue Jun 09, 2015 9:56 am

Re: WiFi Issues ? Start here !

Thu Jun 18, 2015 8:03 am

ok. i saw and i corrected. Sorry for the inconvenient feeling i caused to you. Usually i am not the person who uses any bad words or slang in any posts, be it facebook, Linkedin, WordPress or anything else. I am also not posting any offending statements be it towards politicians or other kind of people. I don't know what drove me to this statement. Compared to my earlier style of dealing with torturing issues on computer configuration and troubleshooting i have stayed in normal conditions while dealing with my RaspBerry Pi 2 not getting angry so easily anymore even in very challenging situations.

In all matters concerning discussing technical problems i am usually committed to be helpful (according to my limited and maybe little bit outdated Linux skills) and also trying to show up competence, openness, and skillfull behavior adapted to all kinds of demanding situations. Your remark really left me shocked.

Best greetings, Thomas.

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Thu Jun 18, 2015 9:00 am

Thomas Korimort wrote:ok. i saw and i corrected. Sorry for the inconvenient feeling i caused to you. Usually i am not the person who uses any bad words or slang in any posts, be it facebook, Linkedin, WordPress or anything else. I am also not posting any offending statements be it towards politicians or other kind of people. I don't know what drove me to this statement. Compared to my earlier style of dealing with torturing issues on computer configuration and troubleshooting i have stayed in normal conditions while dealing with my RaspBerry Pi 2 not getting angry so easily anymore even in very challenging situations.

In all matters concerning discussing technical problems i am usually committed to be helpful (according to my limited and maybe little bit outdated Linux skills) and also trying to show up competence, openness, and skillfull behavior adapted to all kinds of demanding situations. Your remark really left me shocked.

Best greetings, Thomas.
Thank you. It was just that a lot of very young people use the forum and the words were not very appropriate. Computers of which ever type can cause real problems for people when they refuse to work properly, as can be seen on many videos on the internet, and I have maintained for a long time now that they should have a health warning on them rather like the warnings on a packet of cigarettes.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Thomas Korimort
Posts: 48
Joined: Tue Jun 09, 2015 9:56 am

Re: WiFi Issues ? Start here !

Thu Jun 18, 2015 9:53 am

MrEngman wrote:
Thomas Korimort wrote:ok. i saw and i corrected. Sorry for the inconvenient feeling i caused to you. Usually i am not the person who uses any bad words or slang in any posts, be it facebook, Linkedin, WordPress or anything else. I am also not posting any offending statements be it towards politicians or other kind of people. I don't know what drove me to this statement. Compared to my earlier style of dealing with torturing issues on computer configuration and troubleshooting i have stayed in normal conditions while dealing with my RaspBerry Pi 2 not getting angry so easily anymore even in very challenging situations.

In all matters concerning discussing technical problems i am usually committed to be helpful (according to my limited and maybe little bit outdated Linux skills) and also trying to show up competence, openness, and skillfull behavior adapted to all kinds of demanding situations. Your remark really left me shocked.

Best greetings, Thomas.
Thank you. It was just that a lot of very young people use the forum and the words were not very appropriate. Computers of which ever type can cause real problems for people when they refuse to work properly, as can be seen on many videos on the internet, and I have maintained for a long time now that they should have a health warning on them rather like the warnings on a packet of cigarettes.


MrEngman
I have adopted through meditation, yoga, tarot, prayer, psychiatric medication and not least through the positive and very therapeutical influence of my Hindu wife a policy involving to deal with the things in a non-stressful way. This is a general skill that everyone should strife to obtain. In all the religions of the world overcoming angriness and the consequences of emotions running wild is a central issue. As for computers: When i was a student at university, i was also very often completely destroyed when i tried to solve a difficult issue in computers and i was also dealing with such problems by cursing and using bad words and strange faces in order to solve the problem. Nowadays, i try to see the very challenging problems occuring while trying to configure a Linux system as a very interesting and suspensive task with a nice potential to make my time fulfilled even when there is not so much obvious success (in contrast to the Windows world where everything seems to be working without any effort.. )...

--Thomas.

Moodooo
Posts: 2
Joined: Thu Jul 02, 2015 11:46 am

Re: WiFi Issues ? Start here !

Thu Jul 02, 2015 12:05 pm

Hello

I am a brand new Pi user just got it 2 days ago. Just got a Pi 2, got Raspbian setup on it and unfortunately cant connect to the Wifi. My dongle is a Edimax EW-7811UN, I run the wifi config and I put in my password and it starts the connection, but then resets. It says 4 way handshake and then resets. No clue why. Any ideas?


Moodoo

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Thu Jul 02, 2015 1:50 pm

Moodooo wrote:Hello

I am a brand new Pi user just got it 2 days ago. Just got a Pi 2, got Raspbian setup on it and unfortunately cant connect to the Wifi. My dongle is a Edimax EW-7811UN, I run the wifi config and I put in my password and it starts the connection, but then resets. It says 4 way handshake and then resets. No clue why. Any ideas?


Moodoo
I see that if the password is not right.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Moodooo
Posts: 2
Joined: Thu Jul 02, 2015 11:46 am

Re: WiFi Issues ? Start here !

Thu Jul 02, 2015 2:02 pm

Hmm

I am pretty sure the password is correct, but I will try again.

P.S. Random thought, is dongle the correct term for the usb wifi?

Moodooo

Vesco
Posts: 8
Joined: Wed Apr 15, 2015 3:02 pm

Re: WiFi Issues ? Start here !

Sat Jul 04, 2015 4:29 pm

Hi all,

Thank you for sharing everyone. I have read all the threads but I did't find people posting about problem I have. So, I guess I made mistakes here. Couple days ago I bought KexTech WUL150 (RTL8188EUS). I plug it in into my Pi B+ and nothing happen.
It didn't even appear in lsusb command but it is detected by dmesg. Can some one please help me how to make this wifi working?

Output from uname -a

Code: Select all

Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
Output from lsusb

Code: Select all

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Output from lsmod

Code: Select all

Module                  Size  Used by
cfg80211              462846  0
rfkill                 22347  1 cfg80211
snd_bcm2835            21149  0
snd_pcm                90778  1 snd_bcm2835
snd_seq                61097  0
snd_seq_device          7209  1 snd_seq
snd_timer              23007  2 snd_pcm,snd_seq
snd                    66325  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_de                                                                             vice
r8188eu               469713  0
uio_pdrv_genirq         3666  0
uio                     9897  1 uio_pdrv_genirq
Output from ifconfig

Code: Select all

eth0      Link encap:Ethernet  HWaddr b8:27:eb:4e:11:5b
          inet addr:192.168.0.106  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16064 (15.6 KiB)  TX bytes:23179 (22.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6288 (6.1 KiB)  TX bytes:6288 (6.1 KiB)
Output from /etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Output from dmesg

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.11+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 PREEMPT Tue Apr 21 18:02:18 BST 2015
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine model: Raspberry Pi Model B Plus
[    0.000000] cma: Reserved 8 MiB at 0x1e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c083d364, node_mem_map de414000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0xae4e115b smsc95xx.macaddr=B8:27:EB:4E:11:5B bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 486044K/507904K available (5881K kernel code, 348K rwdata, 1868K rodata, 336K init, 733K bss, 21860K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07997a0   (7750 kB)
[    0.000000]       .init : 0xc079a000 - 0xc07ee000   ( 336 kB)
[    0.000000]       .data : 0xc07ee000 - 0xc084513c   ( 349 kB)
[    0.000000]        .bss : 0xc084513c - 0xc08fc8a8   ( 734 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:522
[    0.000024] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000073] Switching to timer-based delay loop, resolution 1000ns
[    0.000356] Console: colour dummy device 80x30
[    0.001436] console [tty1] enabled
[    0.001481] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001553] pid_max: default: 32768 minimum: 301
[    0.001930] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001997] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003005] Initializing cgroup subsys memory
[    0.003097] Initializing cgroup subsys devices
[    0.003155] Initializing cgroup subsys freezer
[    0.003210] Initializing cgroup subsys net_cls
[    0.003259] Initializing cgroup subsys blkio
[    0.003377] CPU: Testing write buffer coherency: ok
[    0.003490] ftrace: allocating 19232 entries in 57 pages
[    0.108230] Setting up static identity map for 0x553398 - 0x5533d0
[    0.111075] devtmpfs: initialized
[    0.128562] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.131594] pinctrl core: initialized pinctrl subsystem
[    0.134270] NET: Registered protocol family 16
[    0.139773] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.141221] bcm2708.uart_clock = 3000000
[    0.144156] No ATAGs?
[    0.144220] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.144283] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.144348] mailbox: Broadcom VideoCore Mailbox driver
[    0.144507] bcm2708_vcio: mailbox at f200b880
[    0.144965] bcm_power: Broadcom power driver
[    0.145021] bcm_power_open() -> 0
[    0.145053] bcm_power_request(0, 8)
[    0.645759] bcm_mailbox_read -> 00000080, 0
[    0.645808] bcm_power_request -> 0
[    0.646011] Serial: AMBA PL011 UART driver
[    0.646243] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    1.033054] console [ttyAMA0] enabled
[    1.096309] SCSI subsystem initialized
[    1.100446] usbcore: registered new interface driver usbfs
[    1.106234] usbcore: registered new interface driver hub
[    1.111738] usbcore: registered new device driver usb
[    1.118911] Switched to clocksource stc
[    1.151278] FS-Cache: Loaded
[    1.154598] CacheFiles: Loaded
[    1.173931] NET: Registered protocol family 2
[    1.179907] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.187087] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.193865] TCP: Hash tables configured (established 4096 bind 4096)
[    1.200386] TCP: reno registered
[    1.203657] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.209585] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.216245] NET: Registered protocol family 1
[    1.221316] RPC: Registered named UNIX socket transport module.
[    1.227283] RPC: Registered udp transport module.
[    1.232124] RPC: Registered tcp transport module.
[    1.236855] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.244474] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    1.252617] bcm2708_dma: DMA manager at f2007000
[    1.257482] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    1.267236] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.273729] audit: initializing netlink subsys (disabled)
[    1.279316] audit: type=2000 audit(1.040:1): initialized
[    1.300005] VFS: Disk quotas dquot_6.5.2
[    1.304350] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.313813] FS-Cache: Netfs 'nfs' registered for caching
[    1.320976] NFS: Registering the id_resolver key type
[    1.326157] Key type id_resolver registered
[    1.330503] Key type id_legacy registered
[    1.335904] msgmni has been set to 965
[    1.342308] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.350330] io scheduler noop registered
[    1.354315] io scheduler deadline registered (default)
[    1.360062] io scheduler cfq registered
[    1.366440] BCM2708FB: allocated DMA memory 5ec00000
[    1.371747] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.382225] Console: switching to colour frame buffer device 82x26
[    1.393999] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[    1.403666] uart-pl011 dev:f1: no DMA platform data
[    1.411136] vc-cma: Videocore CMA driver
[    1.416753] vc-cma: vc_cma_base      = 0x00000000
[    1.423175] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.430258] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.450385] brd: module loaded
[    1.461982] loop: module loaded
[    1.467160] vchiq: vchiq_init_state: slot_zero = 0xde800000, is_master = 0
[    1.476598] Loading iSCSI transport class v2.0-870.
[    1.484617] usbcore: registered new interface driver smsc95xx
[    1.492261] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.699909] Core Release: 2.80a
[    1.704648] Setting default values for core params
[    1.711068] Finished setting default values for core params
[    1.918343] Using Buffer DMA mode
[    1.923263] Periodic Transfer Interrupt Enhancement - disabled
[    1.930708] Multiprocessor Interrupt Enhancement - disabled
[    1.937861] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.943833] Dedicated Tx FIFOs mode
[    1.949329] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdec14000 dma = 0x5ec14000 len=9024
[    1.962393] FIQ FSM acceleration enabled for :
[    1.962393] Non-periodic Split Transactions
[    1.962393] Periodic Split Transactions
[    1.962393] High-Speed Isochronous Endpoints
[    1.985442] dwc_otg: Microframe scheduler enabled
[    1.985558] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03fad3c
[    1.993160] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03fb014 length 36
[    2.001093] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdf806000
[    2.008806] dwc_otg bcm2708_usb: DWC OTG Controller
[    2.015399] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    2.024382] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    2.031561] Init: Port Power? op_state=1
[    2.037066] Init: Power Port (0)
[    2.042287] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.050791] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.059688] usb usb1: Product: DWC OTG Controller
[    2.065987] usb usb1: Manufacturer: Linux 3.18.11+ dwc_otg_hcd
[    2.073449] usb usb1: SerialNumber: bcm2708_usb
[    2.080630] hub 1-0:1.0: USB hub found
[    2.086108] hub 1-0:1.0: 1 port detected
[    2.092268] dwc_otg: FIQ enabled
[    2.092292] dwc_otg: NAK holdoff enabled
[    2.092305] dwc_otg: FIQ split-transaction FSM enabled
[    2.092374] Module dwc_common_port init
[    2.092991] usbcore: registered new interface driver usb-storage
[    2.101220] mousedev: PS/2 mouse device common for all mice
[    2.109328] bcm2835-cpufreq: min=700000 max=700000
[    2.116065] sdhci: Secure Digital Host Controller Interface driver
[    2.123972] sdhci: Copyright(c) Pierre Ossman
[    2.130293] DMA channels allocated for the MMC driver
[    2.168993] Load BCM2835 MMC driver
[    2.176096] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.192179] ledtrig-cpu: registered to indicate activity on CPUs
[    2.200231] hidraw: raw HID events driver (C) Jiri Kosina
[    2.211905] usbcore: registered new interface driver usbhid
[    2.221300] usbhid: USB HID core driver
[    2.229391] TCP: cubic registered
[    2.235559] Initializing XFRM netlink socket
[    2.243721] NET: Registered protocol family 17
[    2.250145] Key type dns_resolver registered
[    2.257822] registered taskstats version 1
[    2.263880] vc-sm: Videocore shared memory driver
[    2.270341] [vc_sm_connected_init]: start
[    2.276470] vc_vchi_sm_init: failed to open VCHI service (-1)
[    2.282461] [vc_sm_connected_init]: failed to initialize shared memory service
[    2.293396] Indeed it is in host mode hprt0 = 00021501
[    2.300326] [vc_sm_connected_init]: end - returning -1
[    2.320607] Waiting for root device /dev/mmcblk0p2...
[    2.333459] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.362088] mmc0: new high speed SDHC card at address aaaa
[    2.379662] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    2.400234]  mmcblk0: p1 p2
[    2.435025] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.444365] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.519272] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.530090] Indeed it is in host mode hprt0 = 00001101
[    2.739536] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.748196] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.759178] hub 1-1:1.0: USB hub found
[    2.765249] hub 1-1:1.0: 5 ports detected
[    2.903366] EXT4-fs (mmcblk0p2): recovery complete
[    2.919051] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.930956] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.941104] devtmpfs: mounted
[    2.947086] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
[    3.049222] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.159568] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.168465] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.181012] smsc95xx v1.0.4
[    3.243764] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:4e:11:5b
[    3.339238] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    3.440241] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0179
[    3.450388] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.464968] usb 1-1.4: Product: 802.11n NIC
[    3.475173] usb 1-1.4: Manufacturer: Realtek
[    3.482811] usb 1-1.4: SerialNumber: 00E04C81AF16
[    4.591355] udevd[158]: starting version 175
[    6.111498] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[    6.416095] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[    7.366974] usbcore: registered new interface driver r8188eu
[    7.570518] random: nonblocking pool is initialized
[   10.971474] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   11.419129] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   21.555720] r8188eu 1-1.4:1.0: Direct firmware load for rtlwifi/rtl8188eufw.bin failed with error -2
[   21.555769] r8188eu 1-1.4:1.0: Firmware rtlwifi/rtl8188eufw.bin not available
[   21.555792] MAC Address = 00:e0:4c:81:af:16
[   24.842645] usb 1-1.4: USB disconnect, device number 4
[   24.843077] R8188EU: ERROR indicate disassoc
[   25.053968] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   26.586868] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[   31.853029] cfg80211: Calling CRDA to update world regulatory domain
[   35.961148] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:2134012k SSFS
Sorry for posting this long. I hope someone can help me.

Thank you.

Regard,
Dimas Adityamurthi

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Sat Jul 04, 2015 4:56 pm

Vesco wrote:Hi all,

Thank you for sharing everyone. I have read all the threads but I did't find people posting about problem I have. So, I guess I made mistakes here. Couple days ago I bought KexTech WUL150 (RTL8188EUS). I plug it in into my Pi B+ and nothing happen.
It didn't even appear in lsusb command but it is detected by dmesg. Can some one please help me how to make this wifi working?

Output from uname -a

Code: Select all

Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
Output from lsusb

Code: Select all

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Output from lsmod

Code: Select all

Module                  Size  Used by
cfg80211              462846  0
rfkill                 22347  1 cfg80211
snd_bcm2835            21149  0
snd_pcm                90778  1 snd_bcm2835
snd_seq                61097  0
snd_seq_device          7209  1 snd_seq
snd_timer              23007  2 snd_pcm,snd_seq
snd                    66325  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_de                                                                             vice
r8188eu               469713  0
uio_pdrv_genirq         3666  0
uio                     9897  1 uio_pdrv_genirq
Output from ifconfig

Code: Select all

eth0      Link encap:Ethernet  HWaddr b8:27:eb:4e:11:5b
          inet addr:192.168.0.106  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16064 (15.6 KiB)  TX bytes:23179 (22.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6288 (6.1 KiB)  TX bytes:6288 (6.1 KiB)
Output from /etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Output from dmesg

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.11+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 PREEMPT Tue Apr 21 18:02:18 BST 2015
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine model: Raspberry Pi Model B Plus
[    0.000000] cma: Reserved 8 MiB at 0x1e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c083d364, node_mem_map de414000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0xae4e115b smsc95xx.macaddr=B8:27:EB:4E:11:5B bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 486044K/507904K available (5881K kernel code, 348K rwdata, 1868K rodata, 336K init, 733K bss, 21860K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07997a0   (7750 kB)
[    0.000000]       .init : 0xc079a000 - 0xc07ee000   ( 336 kB)
[    0.000000]       .data : 0xc07ee000 - 0xc084513c   ( 349 kB)
[    0.000000]        .bss : 0xc084513c - 0xc08fc8a8   ( 734 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:522
[    0.000024] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000073] Switching to timer-based delay loop, resolution 1000ns
[    0.000356] Console: colour dummy device 80x30
[    0.001436] console [tty1] enabled
[    0.001481] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001553] pid_max: default: 32768 minimum: 301
[    0.001930] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001997] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003005] Initializing cgroup subsys memory
[    0.003097] Initializing cgroup subsys devices
[    0.003155] Initializing cgroup subsys freezer
[    0.003210] Initializing cgroup subsys net_cls
[    0.003259] Initializing cgroup subsys blkio
[    0.003377] CPU: Testing write buffer coherency: ok
[    0.003490] ftrace: allocating 19232 entries in 57 pages
[    0.108230] Setting up static identity map for 0x553398 - 0x5533d0
[    0.111075] devtmpfs: initialized
[    0.128562] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.131594] pinctrl core: initialized pinctrl subsystem
[    0.134270] NET: Registered protocol family 16
[    0.139773] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.141221] bcm2708.uart_clock = 3000000
[    0.144156] No ATAGs?
[    0.144220] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.144283] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.144348] mailbox: Broadcom VideoCore Mailbox driver
[    0.144507] bcm2708_vcio: mailbox at f200b880
[    0.144965] bcm_power: Broadcom power driver
[    0.145021] bcm_power_open() -> 0
[    0.145053] bcm_power_request(0, 8)
[    0.645759] bcm_mailbox_read -> 00000080, 0
[    0.645808] bcm_power_request -> 0
[    0.646011] Serial: AMBA PL011 UART driver
[    0.646243] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    1.033054] console [ttyAMA0] enabled
[    1.096309] SCSI subsystem initialized
[    1.100446] usbcore: registered new interface driver usbfs
[    1.106234] usbcore: registered new interface driver hub
[    1.111738] usbcore: registered new device driver usb
[    1.118911] Switched to clocksource stc
[    1.151278] FS-Cache: Loaded
[    1.154598] CacheFiles: Loaded
[    1.173931] NET: Registered protocol family 2
[    1.179907] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.187087] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.193865] TCP: Hash tables configured (established 4096 bind 4096)
[    1.200386] TCP: reno registered
[    1.203657] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.209585] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.216245] NET: Registered protocol family 1
[    1.221316] RPC: Registered named UNIX socket transport module.
[    1.227283] RPC: Registered udp transport module.
[    1.232124] RPC: Registered tcp transport module.
[    1.236855] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.244474] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    1.252617] bcm2708_dma: DMA manager at f2007000
[    1.257482] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    1.267236] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.273729] audit: initializing netlink subsys (disabled)
[    1.279316] audit: type=2000 audit(1.040:1): initialized
[    1.300005] VFS: Disk quotas dquot_6.5.2
[    1.304350] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.313813] FS-Cache: Netfs 'nfs' registered for caching
[    1.320976] NFS: Registering the id_resolver key type
[    1.326157] Key type id_resolver registered
[    1.330503] Key type id_legacy registered
[    1.335904] msgmni has been set to 965
[    1.342308] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.350330] io scheduler noop registered
[    1.354315] io scheduler deadline registered (default)
[    1.360062] io scheduler cfq registered
[    1.366440] BCM2708FB: allocated DMA memory 5ec00000
[    1.371747] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.382225] Console: switching to colour frame buffer device 82x26
[    1.393999] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[    1.403666] uart-pl011 dev:f1: no DMA platform data
[    1.411136] vc-cma: Videocore CMA driver
[    1.416753] vc-cma: vc_cma_base      = 0x00000000
[    1.423175] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.430258] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.450385] brd: module loaded
[    1.461982] loop: module loaded
[    1.467160] vchiq: vchiq_init_state: slot_zero = 0xde800000, is_master = 0
[    1.476598] Loading iSCSI transport class v2.0-870.
[    1.484617] usbcore: registered new interface driver smsc95xx
[    1.492261] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.699909] Core Release: 2.80a
[    1.704648] Setting default values for core params
[    1.711068] Finished setting default values for core params
[    1.918343] Using Buffer DMA mode
[    1.923263] Periodic Transfer Interrupt Enhancement - disabled
[    1.930708] Multiprocessor Interrupt Enhancement - disabled
[    1.937861] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.943833] Dedicated Tx FIFOs mode
[    1.949329] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdec14000 dma = 0x5ec14000 len=9024
[    1.962393] FIQ FSM acceleration enabled for :
[    1.962393] Non-periodic Split Transactions
[    1.962393] Periodic Split Transactions
[    1.962393] High-Speed Isochronous Endpoints
[    1.985442] dwc_otg: Microframe scheduler enabled
[    1.985558] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03fad3c
[    1.993160] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03fb014 length 36
[    2.001093] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdf806000
[    2.008806] dwc_otg bcm2708_usb: DWC OTG Controller
[    2.015399] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    2.024382] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    2.031561] Init: Port Power? op_state=1
[    2.037066] Init: Power Port (0)
[    2.042287] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.050791] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.059688] usb usb1: Product: DWC OTG Controller
[    2.065987] usb usb1: Manufacturer: Linux 3.18.11+ dwc_otg_hcd
[    2.073449] usb usb1: SerialNumber: bcm2708_usb
[    2.080630] hub 1-0:1.0: USB hub found
[    2.086108] hub 1-0:1.0: 1 port detected
[    2.092268] dwc_otg: FIQ enabled
[    2.092292] dwc_otg: NAK holdoff enabled
[    2.092305] dwc_otg: FIQ split-transaction FSM enabled
[    2.092374] Module dwc_common_port init
[    2.092991] usbcore: registered new interface driver usb-storage
[    2.101220] mousedev: PS/2 mouse device common for all mice
[    2.109328] bcm2835-cpufreq: min=700000 max=700000
[    2.116065] sdhci: Secure Digital Host Controller Interface driver
[    2.123972] sdhci: Copyright(c) Pierre Ossman
[    2.130293] DMA channels allocated for the MMC driver
[    2.168993] Load BCM2835 MMC driver
[    2.176096] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.192179] ledtrig-cpu: registered to indicate activity on CPUs
[    2.200231] hidraw: raw HID events driver (C) Jiri Kosina
[    2.211905] usbcore: registered new interface driver usbhid
[    2.221300] usbhid: USB HID core driver
[    2.229391] TCP: cubic registered
[    2.235559] Initializing XFRM netlink socket
[    2.243721] NET: Registered protocol family 17
[    2.250145] Key type dns_resolver registered
[    2.257822] registered taskstats version 1
[    2.263880] vc-sm: Videocore shared memory driver
[    2.270341] [vc_sm_connected_init]: start
[    2.276470] vc_vchi_sm_init: failed to open VCHI service (-1)
[    2.282461] [vc_sm_connected_init]: failed to initialize shared memory service
[    2.293396] Indeed it is in host mode hprt0 = 00021501
[    2.300326] [vc_sm_connected_init]: end - returning -1
[    2.320607] Waiting for root device /dev/mmcblk0p2...
[    2.333459] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.362088] mmc0: new high speed SDHC card at address aaaa
[    2.379662] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    2.400234]  mmcblk0: p1 p2
[    2.435025] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.444365] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.519272] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.530090] Indeed it is in host mode hprt0 = 00001101
[    2.739536] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.748196] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.759178] hub 1-1:1.0: USB hub found
[    2.765249] hub 1-1:1.0: 5 ports detected
[    2.903366] EXT4-fs (mmcblk0p2): recovery complete
[    2.919051] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.930956] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.941104] devtmpfs: mounted
[    2.947086] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
[    3.049222] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.159568] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.168465] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.181012] smsc95xx v1.0.4
[    3.243764] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:4e:11:5b
[    3.339238] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    3.440241] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0179
[    3.450388] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.464968] usb 1-1.4: Product: 802.11n NIC
[    3.475173] usb 1-1.4: Manufacturer: Realtek
[    3.482811] usb 1-1.4: SerialNumber: 00E04C81AF16
[    4.591355] udevd[158]: starting version 175
[    6.111498] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[    6.416095] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[    7.366974] usbcore: registered new interface driver r8188eu
[    7.570518] random: nonblocking pool is initialized
[   10.971474] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   11.419129] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   21.555720] r8188eu 1-1.4:1.0: Direct firmware load for rtlwifi/rtl8188eufw.bin failed with error -2
[   21.555769] r8188eu 1-1.4:1.0: Firmware rtlwifi/rtl8188eufw.bin not available
[   21.555792] MAC Address = 00:e0:4c:81:af:16
[   24.842645] usb 1-1.4: USB disconnect, device number 4
[   24.843077] R8188EU: ERROR indicate disassoc
[   25.053968] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   26.586868] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[   31.853029] cfg80211: Calling CRDA to update world regulatory domain
[   35.961148] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:2134012k SSFS
Sorry for posting this long. I hope someone can help me.

Thank you.

Regard,
Dimas Adityamurthi
dmesg shows this line

Code: Select all

[   21.555769] r8188eu 1-1.4:1.0: Firmware rtlwifi/rtl8188eufw.bin not available
Run this command to load the missing firmware and then reboot.

Code: Select all

sudo wget https://github.com/lwfinger/rtl8188eu/raw/master/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

jemerson
Posts: 2
Joined: Tue Jun 30, 2015 5:56 am

Re: WiFi Issues ? Start here !

Sun Jul 05, 2015 6:49 am

Hi All,

I am struggling to get my rpi2 running with wifi. I need it to operate remotely (not on the network) and output data to my iPad via wifi on 192.168.10.1. Also want to use wifi for the setup on the local network.

Current setup is just trying to get it to log on to my home network (currently connected by ethernet cable).

lsusb:

Code: Select all

Bus 001 Device 005: ID 148f:7601 Ralink Technology, Corp.
lsmod:

Code: Select all

Module                  Size  Used by
ir_xmp_decoder          2693  0 
ir_lirc_codec           4375  0 
lirc_dev                8181  1 ir_lirc_codec
ir_mce_kbd_decoder      3668  0 
ir_sanyo_decoder        2175  0 
ir_sharp_decoder        1935  0 
ir_sony_decoder         1957  0 
ir_jvc_decoder          1939  0 
ir_rc6_decoder          2499  0 
ir_rc5_decoder          1987  0 
ir_nec_decoder          2355  0 
r820t                  16096  1 
dvb_usb_rtl28xxu       14195  0 
rtl2830                 7227  1 dvb_usb_rtl28xxu
rtl2832                 8911  2 dvb_usb_rtl28xxu
i2c_mux                 1967  1 rtl2832
dvb_usb_v2             13368  1 dvb_usb_rtl28xxu
dvb_core               82803  3 rtl2830,rtl2832,dvb_usb_v2
rc_core                16932  14 ir_sharp_decoder,ir_xmp_decoder,lirc_dev,ir_lirc_codec,dvb_usb_rtl28xxu,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ir_mce_kbd_decoder,ir_jvc_decoder,dvb_usb_v2,ir_rc6_decoder,ir_sanyo_decoder
snd_bcm2835            18649  0 
snd_pcm                73475  1 snd_bcm2835
snd_seq                53078  0 
snd_seq_device          5628  1 snd_seq
snd_timer              17784  2 snd_pcm,snd_seq
snd                    51038  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
joydev                  8879  0 
evdev                   9950  2 
uio_pdrv_genirq         2958  0 
uio                     8119  1 uio_pdrv_genirq
mt7601Usta            583839  1
ifconfig:

Code: Select all

eth0      Link encap:Ethernet  HWaddr b8:27:eb:82:8c:bd  
          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4485 errors:0 dropped:0 overruns:0 frame:0
          TX packets:959 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:511583 (499.5 KiB)  TX bytes:85292 (83.2 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:36:76:54:d3:57  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:69911 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15849286 (15.1 MiB)  TX bytes:1456 (1.4 KiB)
iwconfig:

Code: Select all

wlan0     Ralink STA  ESSID:"11n-AP"  Nickname:"MT7601STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.
/etc/network/interfaces:

Code: Select all

wlan0     Ralink STA  ESSID:"11n-AP"  Nickname:"MT7601STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.
/etc/wpa_supplicant/wpa_supplicant.conf:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 
update_config=1
# My office WPA2 network 
network={
        ssid="DSL-2890AL"
        psk=79601b3693fa3b456bd2de164b3b69b024d1065a75e55bfeb30ef74fc97395b7
}
#My iPad personal hotspot 
network={
        ssid="John's iPad"
        psk=f8c76a5be51cce8e1419f94f7538329a4107f4c923701c7887b7d6dd77543ee4
}
dmesg:

Code: Select all

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.11-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 2 Model B
[    0.000000] cma: Reserved 8 MiB at 0x3d800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 253952
[    0.000000] free_area_init_node: node 0, pgdat 8080f480, node_mem_map bd033000
[    0.000000]   Normal zone: 1984 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 253952 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (8620->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 10 pages/cpu @bd001000 s11456 r8192 d21312 u40960
[    0.000000] pcpu-alloc: s11456 r8192 d21312 u40960 alloc=10*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251968
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1552 bcm2708_fb.fbheight=1168 bcm2709.boardrev=0xa21041 bcm2709.serial=0x2e828cbd smsc95xx.macaddr=B8:27:EB:82:8C:BD bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3ea00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 989600K/1015808K available (5722K kernel code, 397K rwdata, 1748K rodata, 384K init, 763K bss, 26208K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xbe800000 - 0xff000000   (1032 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xbe000000   ( 992 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80753a48   (7471 kB)
[    0.000000]       .init : 0x80754000 - 0x807b4000   ( 384 kB)
[    0.000000]       .data : 0x807b4000 - 0x808174bc   ( 398 kB)
[    0.000000]        .bss : 0x808174bc - 0x808d6254   ( 764 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:608
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
[    0.000015] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
[    0.000038] Switching to timer-based delay loop, resolution 52ns
[    0.000334] Console: colour dummy device 80x30
[    0.001767] console [tty1] enabled
[    0.001817] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001901] pid_max: default: 32768 minimum: 301
[    0.002305] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002364] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003638] Initializing cgroup subsys memory
[    0.003724] Initializing cgroup subsys devices
[    0.003777] Initializing cgroup subsys freezer
[    0.003829] Initializing cgroup subsys net_cls
[    0.003894] Initializing cgroup subsys blkio
[    0.004002] CPU: Testing write buffer coherency: ok
[    0.004117] ftrace: allocating 19614 entries in 58 pages
[    0.052635] CPU0: update cpu_capacity 1024
[    0.052715] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.052756] [bcm2709_smp_prepare_cpus] enter
[    0.052911] Setting up static identity map for 0x528478 - 0x5284ac
[    0.112546] [bcm2709_boot_secondary] cpu:1 started (0) 18
[    0.112858] CPU1: Booted secondary processor
[    0.112867] [bcm2709_secondary_init] enter cpu:1
[    0.112922] CPU1: update cpu_capacity 1024
[    0.112931] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.132517] [bcm2709_boot_secondary] cpu:2 started (0) 18
[    0.132771] CPU2: Booted secondary processor
[    0.132778] [bcm2709_secondary_init] enter cpu:2
[    0.132811] CPU2: update cpu_capacity 1024
[    0.132820] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.152597] [bcm2709_boot_secondary] cpu:3 started (0) 16
[    0.152840] CPU3: Booted secondary processor
[    0.152847] [bcm2709_secondary_init] enter cpu:3
[    0.152875] CPU3: update cpu_capacity 1024
[    0.152883] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.152976] Brought up 4 CPUs
[    0.153098] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.153131] CPU: All CPU(s) started in SVC mode.
[    0.154111] devtmpfs: initialized
[    0.178952] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.180936] pinctrl core: initialized pinctrl subsystem
[    0.184054] NET: Registered protocol family 16
[    0.189679] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.190857] bcm2709.uart_clock = 3000000
[    0.193648] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.193702] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.193757] mailbox: Broadcom VideoCore Mailbox driver
[    0.193888] bcm2708_vcio: mailbox at f300b880
[    0.194248] bcm_power: Broadcom power driver
[    0.194291] bcm_power_open() -> 0
[    0.194319] bcm_power_request(0, 8)
[    0.694997] bcm_mailbox_read -> 00000080, 0
[    0.695029] bcm_power_request -> 0
[    0.695173] Serial: AMBA PL011 UART driver
[    0.695323] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    1.203778] console [ttyAMA0] enabled
[    1.275781] SCSI subsystem initialized
[    1.279799] usbcore: registered new interface driver usbfs
[    1.285474] usbcore: registered new interface driver hub
[    1.290939] usbcore: registered new device driver usb
[    1.297847] Switched to clocksource arch_sys_counter
[    1.333487] FS-Cache: Loaded
[    1.336719] CacheFiles: Loaded
[    1.351250] NET: Registered protocol family 2
[    1.356917] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.364173] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.370873] TCP: Hash tables configured (established 8192 bind 8192)
[    1.377341] TCP: reno registered
[    1.380618] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.386603] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.393331] NET: Registered protocol family 1
[    1.398388] RPC: Registered named UNIX socket transport module.
[    1.404332] RPC: Registered udp transport module.
[    1.409101] RPC: Registered tcp transport module.
[    1.413819] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.421242] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.429656] bcm2708_dma: DMA manager at f3007000
[    1.434453] vc-mem: phys_addr:0x00000000 mem_base=0x3ea00000 mem_size:0x3f000000(1008 MiB)
[    1.444261] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    1.450783] audit: initializing netlink subsys (disabled)
[    1.456255] audit: type=2000 audit(1.239:1): initialized
[    1.477888] VFS: Disk quotas dquot_6.5.2
[    1.482202] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.491755] FS-Cache: Netfs 'nfs' registered for caching
[    1.498179] NFS: Registering the id_resolver key type
[    1.503316] Key type id_resolver registered
[    1.507511] Key type id_legacy registered
[    1.512707] msgmni has been set to 1948
[    1.518522] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.526125] io scheduler noop registered
[    1.530106] io scheduler deadline registered (default)
[    1.535568] io scheduler cfq registered
[    1.542021] BCM2708FB: allocated DMA memory fdc00000
[    1.547031] BCM2708FB: allocated DMA channel 0 @ f3007000
[    1.582104] Console: switching to colour frame buffer device 194x73
[    1.607529] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[    1.615301] uart-pl011 dev:f1: no DMA platform data
[    1.620851] vc-cma: Videocore CMA driver
[    1.624857] vc-cma: vc_cma_base      = 0x00000000
[    1.629717] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.635217] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.652564] brd: module loaded
[    1.661413] loop: module loaded
[    1.664971] vchiq: vchiq_init_state: slot_zero = 0xbd800000, is_master = 0
[    1.672895] Loading iSCSI transport class v2.0-870.
[    1.678918] usbcore: registered new interface driver smsc95xx
[    1.684849] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.891090] Core Release: 2.80a
[    1.894308] Setting default values for core params
[    1.899262] Finished setting default values for core params
[    2.105341] Using Buffer DMA mode
[    2.108750] Periodic Transfer Interrupt Enhancement - disabled
[    2.114687] Multiprocessor Interrupt Enhancement - disabled
[    2.120380] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.124824] Dedicated Tx FIFOs mode
[    2.128777] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbdc14000 dma = 0xfdc14000 len=9024
[    2.138837] FIQ FSM acceleration enabled for :
[    2.138837] Non-periodic Split Transactions
[    2.138837] Periodic Split Transactions
[    2.138837] High-Speed Isochronous Endpoints
[    2.155834] dwc_otg: Microframe scheduler enabled
[    2.155900] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803d98b4
[    2.161943] WARN::hcd_init_fiq:413: FIQ ASM at 0x803d9c10 length 36
[    2.168329] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbe80a000
[    2.174478] dwc_otg bcm2708_usb: DWC OTG Controller
[    2.179510] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    2.186896] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    2.192548] Init: Port Power? op_state=1
[    2.196546] Init: Power Port (0)
[    2.200145] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.207066] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.214445] usb usb1: Product: DWC OTG Controller
[    2.219265] usb usb1: Manufacturer: Linux 3.18.11-v7+ dwc_otg_hcd
[    2.225472] usb usb1: SerialNumber: bcm2708_usb
[    2.236508] hub 1-0:1.0: USB hub found
[    2.245878] hub 1-0:1.0: 1 port detected
[    2.255770] dwc_otg: FIQ enabled
[    2.255785] dwc_otg: NAK holdoff enabled
[    2.255797] dwc_otg: FIQ split-transaction FSM enabled
[    2.255837] Module dwc_common_port init
[    2.256218] usbcore: registered new interface driver usb-storage
[    2.268108] mousedev: PS/2 mouse device common for all mice
[    2.279833] bcm2835-cpufreq: min=600000 max=900000
[    2.290598] sdhci: Secure Digital Host Controller Interface driver
[    2.302404] sdhci: Copyright(c) Pierre Ossman
[    2.312510] DMA channels allocated for the MMC driver
[    2.347891] Load BCM2835 MMC driver
[    2.364704] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.376526] ledtrig-cpu: registered to indicate activity on CPUs
[    2.388269] hidraw: raw HID events driver (C) Jiri Kosina
[    2.401490] usbcore: registered new interface driver usbhid
[    2.414609] usbhid: USB HID core driver
[    2.425246] TCP: cubic registered
[    2.434026] Initializing XFRM netlink socket
[    2.443752] NET: Registered protocol family 17
[    2.453755] Key type dns_resolver registered
[    2.457985] Indeed it is in host mode hprt0 = 00021501
[    2.474311] Registering SWP/SWPB emulation handler
[    2.485446] registered taskstats version 1
[    2.495212] vc-sm: Videocore shared memory driver
[    2.505289] [vc_sm_connected_init]: start
[    2.514938] vc_vchi_sm_init: failed to open VCHI service (-1)
[    2.520704] [vc_sm_connected_init]: failed to initialize shared memory service
[    2.538751] [vc_sm_connected_init]: end - returning -1
[    2.550678] Waiting for root device /dev/mmcblk0p6...
[    2.563959] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.580637] mmc0: new high speed SDHC card at address aaaa
[    2.592449] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[    2.605236]  mmcblk0: p1 p2 < p5 p6 > p3
[    2.637968] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.650132] Indeed it is in host mode hprt0 = 00001101
[    2.681004] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    2.694784] VFS: Mounted root (ext4 filesystem) readonly on device 179:6.
[    2.716555] devtmpfs: mounted
[    2.725887] Freeing unused kernel memory: 384K (80754000 - 807b4000)
[    2.858260] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.870873] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.884783] hub 1-1:1.0: USB hub found
[    2.894427] hub 1-1:1.0: 5 ports detected
[    3.178152] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.288385] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.301690] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.318094] smsc95xx v1.0.4
[    3.392610] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:82:8c:bd
[    3.488325] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[    3.624371] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52e
[    3.637398] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.651622] usb 1-1.4: Product: USB Receiver
[    3.662393] usb 1-1.4: Manufacturer: Logitech
[    3.679798] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C52E.0001/input/input0
[    3.699348] hid-generic 0003:046D:C52E.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.4/input0
[    3.733022] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C52E.0002/input/input1
[    3.752970] hid-generic 0003:046D:C52E.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.4/input1
[    3.793191] udevd[174]: starting version 175
[    3.868139] usb 1-1.5: new high-speed USB device number 5 using dwc_otg
[    3.989503] usb 1-1.5: New USB device found, idVendor=148f, idProduct=7601
[    4.003618] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.003631] usb 1-1.5: Product: 802.11 n WLAN
[    4.003640] usb 1-1.5: Manufacturer: MediaTek
[    4.003649] usb 1-1.5: SerialNumber: 1.0
[    4.188367] usbcore: registered new interface driver rt2870
[    4.238250] mtutil7601Usta: disagrees about version of symbol module_layout
[    4.509462] mtutil7601Usta: disagrees about version of symbol module_layout
[    4.798077] usb 1-1.5 wlan0: renamed from ra0
[    6.034691] random: nonblocking pool is initialized
[    6.376052] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[    6.629831] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[   11.933093] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   13.482018] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   15.646552] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SSFS
[  102.678857] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[  102.790767] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=2838
[  102.790793] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  102.790811] usb 1-1.3: Product: RTL2838UHIDIR
[  102.790827] usb 1-1.3: Manufacturer: Realtek
[  102.790843] usb 1-1.3: SerialNumber: 00000001
[  102.875760] usb 1-1.3: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[  102.939630] usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[  102.939712] DVB: registering new adapter (Realtek RTL2832U reference design)
[  102.941931] i2c i2c-0: Added multiplexed i2c bus 1
[  102.945193] i2c i2c-0: Added multiplexed i2c bus 2
[  102.945247] usb 1-1.3: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[  102.965403] r820t 0-001a: creating new instance
[  102.981458] r820t 0-001a: Rafael Micro r820t successfully identified
[  102.996874] Registered IR keymap rc-empty
[  102.997465] input: Realtek RTL2832U reference design as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/rc/rc0/input2
[  102.997776] rc0: Realtek RTL2832U reference design as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/rc/rc0
[  103.010567] IR RC5(x/sz) protocol handler initialized
[  103.011197] IR RC6 protocol handler initialized
[  103.012365] IR NEC protocol handler initialized
[  103.023284] IR JVC protocol handler initialized
[  103.028163] IR Sony protocol handler initialized
[  103.033889] IR Sharp protocol handler initialized
[  103.034220] IR SANYO protocol handler initialized
[  103.038787] usb 1-1.3: dvb_usb_v2: schedule remote query interval to 400 msecs
[  103.041741] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input3
[  103.041810] lirc_dev: IR Remote Control driver registered, major 247 
[  103.045033] IR MCE Keyboard/mouse protocol handler initialized
[  103.045432] rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0
[  103.045454] IR LIRC bridge handler initialized
[  103.052538] IR XMP protocol handler initialized
[  103.054426] usb 1-1.3: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected
[  103.054726] usbcore: registered new interface driver dvb_usb_rtl28xxu
[10823.614156] usb 1-1.4: USB disconnect, device number 4
Sorry for the long post but any help would be greatly appreciated.

Thank you in advance.

John Emerson
(Australia)

Vesco
Posts: 8
Joined: Wed Apr 15, 2015 3:02 pm

Re: WiFi Issues ? Start here !

Sun Jul 05, 2015 8:39 am

MrEngman wrote:
Vesco wrote:Hi all,

Thank you for sharing everyone. I have read all the threads but I did't find people posting about problem I have. So, I guess I made mistakes here. Couple days ago I bought KexTech WUL150 (RTL8188EUS). I plug it in into my Pi B+ and nothing happen.
It didn't even appear in lsusb command but it is detected by dmesg. Can some one please help me how to make this wifi working?

Output from uname -a

Code: Select all

Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
Output from lsusb

Code: Select all

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Output from lsmod

Code: Select all

Module                  Size  Used by
cfg80211              462846  0
rfkill                 22347  1 cfg80211
snd_bcm2835            21149  0
snd_pcm                90778  1 snd_bcm2835
snd_seq                61097  0
snd_seq_device          7209  1 snd_seq
snd_timer              23007  2 snd_pcm,snd_seq
snd                    66325  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_de                                                                             vice
r8188eu               469713  0
uio_pdrv_genirq         3666  0
uio                     9897  1 uio_pdrv_genirq
Output from ifconfig

Code: Select all

eth0      Link encap:Ethernet  HWaddr b8:27:eb:4e:11:5b
          inet addr:192.168.0.106  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16064 (15.6 KiB)  TX bytes:23179 (22.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6288 (6.1 KiB)  TX bytes:6288 (6.1 KiB)
Output from /etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Output from dmesg

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.11+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 PREEMPT Tue Apr 21 18:02:18 BST 2015
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine model: Raspberry Pi Model B Plus
[    0.000000] cma: Reserved 8 MiB at 0x1e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c083d364, node_mem_map de414000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0xae4e115b smsc95xx.macaddr=B8:27:EB:4E:11:5B bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 486044K/507904K available (5881K kernel code, 348K rwdata, 1868K rodata, 336K init, 733K bss, 21860K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07997a0   (7750 kB)
[    0.000000]       .init : 0xc079a000 - 0xc07ee000   ( 336 kB)
[    0.000000]       .data : 0xc07ee000 - 0xc084513c   ( 349 kB)
[    0.000000]        .bss : 0xc084513c - 0xc08fc8a8   ( 734 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:522
[    0.000024] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000073] Switching to timer-based delay loop, resolution 1000ns
[    0.000356] Console: colour dummy device 80x30
[    0.001436] console [tty1] enabled
[    0.001481] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001553] pid_max: default: 32768 minimum: 301
[    0.001930] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001997] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003005] Initializing cgroup subsys memory
[    0.003097] Initializing cgroup subsys devices
[    0.003155] Initializing cgroup subsys freezer
[    0.003210] Initializing cgroup subsys net_cls
[    0.003259] Initializing cgroup subsys blkio
[    0.003377] CPU: Testing write buffer coherency: ok
[    0.003490] ftrace: allocating 19232 entries in 57 pages
[    0.108230] Setting up static identity map for 0x553398 - 0x5533d0
[    0.111075] devtmpfs: initialized
[    0.128562] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.131594] pinctrl core: initialized pinctrl subsystem
[    0.134270] NET: Registered protocol family 16
[    0.139773] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.141221] bcm2708.uart_clock = 3000000
[    0.144156] No ATAGs?
[    0.144220] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.144283] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.144348] mailbox: Broadcom VideoCore Mailbox driver
[    0.144507] bcm2708_vcio: mailbox at f200b880
[    0.144965] bcm_power: Broadcom power driver
[    0.145021] bcm_power_open() -> 0
[    0.145053] bcm_power_request(0, 8)
[    0.645759] bcm_mailbox_read -> 00000080, 0
[    0.645808] bcm_power_request -> 0
[    0.646011] Serial: AMBA PL011 UART driver
[    0.646243] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    1.033054] console [ttyAMA0] enabled
[    1.096309] SCSI subsystem initialized
[    1.100446] usbcore: registered new interface driver usbfs
[    1.106234] usbcore: registered new interface driver hub
[    1.111738] usbcore: registered new device driver usb
[    1.118911] Switched to clocksource stc
[    1.151278] FS-Cache: Loaded
[    1.154598] CacheFiles: Loaded
[    1.173931] NET: Registered protocol family 2
[    1.179907] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.187087] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.193865] TCP: Hash tables configured (established 4096 bind 4096)
[    1.200386] TCP: reno registered
[    1.203657] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.209585] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.216245] NET: Registered protocol family 1
[    1.221316] RPC: Registered named UNIX socket transport module.
[    1.227283] RPC: Registered udp transport module.
[    1.232124] RPC: Registered tcp transport module.
[    1.236855] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.244474] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    1.252617] bcm2708_dma: DMA manager at f2007000
[    1.257482] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    1.267236] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.273729] audit: initializing netlink subsys (disabled)
[    1.279316] audit: type=2000 audit(1.040:1): initialized
[    1.300005] VFS: Disk quotas dquot_6.5.2
[    1.304350] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.313813] FS-Cache: Netfs 'nfs' registered for caching
[    1.320976] NFS: Registering the id_resolver key type
[    1.326157] Key type id_resolver registered
[    1.330503] Key type id_legacy registered
[    1.335904] msgmni has been set to 965
[    1.342308] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.350330] io scheduler noop registered
[    1.354315] io scheduler deadline registered (default)
[    1.360062] io scheduler cfq registered
[    1.366440] BCM2708FB: allocated DMA memory 5ec00000
[    1.371747] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.382225] Console: switching to colour frame buffer device 82x26
[    1.393999] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[    1.403666] uart-pl011 dev:f1: no DMA platform data
[    1.411136] vc-cma: Videocore CMA driver
[    1.416753] vc-cma: vc_cma_base      = 0x00000000
[    1.423175] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.430258] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.450385] brd: module loaded
[    1.461982] loop: module loaded
[    1.467160] vchiq: vchiq_init_state: slot_zero = 0xde800000, is_master = 0
[    1.476598] Loading iSCSI transport class v2.0-870.
[    1.484617] usbcore: registered new interface driver smsc95xx
[    1.492261] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.699909] Core Release: 2.80a
[    1.704648] Setting default values for core params
[    1.711068] Finished setting default values for core params
[    1.918343] Using Buffer DMA mode
[    1.923263] Periodic Transfer Interrupt Enhancement - disabled
[    1.930708] Multiprocessor Interrupt Enhancement - disabled
[    1.937861] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.943833] Dedicated Tx FIFOs mode
[    1.949329] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdec14000 dma = 0x5ec14000 len=9024
[    1.962393] FIQ FSM acceleration enabled for :
[    1.962393] Non-periodic Split Transactions
[    1.962393] Periodic Split Transactions
[    1.962393] High-Speed Isochronous Endpoints
[    1.985442] dwc_otg: Microframe scheduler enabled
[    1.985558] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03fad3c
[    1.993160] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03fb014 length 36
[    2.001093] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdf806000
[    2.008806] dwc_otg bcm2708_usb: DWC OTG Controller
[    2.015399] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    2.024382] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    2.031561] Init: Port Power? op_state=1
[    2.037066] Init: Power Port (0)
[    2.042287] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.050791] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.059688] usb usb1: Product: DWC OTG Controller
[    2.065987] usb usb1: Manufacturer: Linux 3.18.11+ dwc_otg_hcd
[    2.073449] usb usb1: SerialNumber: bcm2708_usb
[    2.080630] hub 1-0:1.0: USB hub found
[    2.086108] hub 1-0:1.0: 1 port detected
[    2.092268] dwc_otg: FIQ enabled
[    2.092292] dwc_otg: NAK holdoff enabled
[    2.092305] dwc_otg: FIQ split-transaction FSM enabled
[    2.092374] Module dwc_common_port init
[    2.092991] usbcore: registered new interface driver usb-storage
[    2.101220] mousedev: PS/2 mouse device common for all mice
[    2.109328] bcm2835-cpufreq: min=700000 max=700000
[    2.116065] sdhci: Secure Digital Host Controller Interface driver
[    2.123972] sdhci: Copyright(c) Pierre Ossman
[    2.130293] DMA channels allocated for the MMC driver
[    2.168993] Load BCM2835 MMC driver
[    2.176096] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.192179] ledtrig-cpu: registered to indicate activity on CPUs
[    2.200231] hidraw: raw HID events driver (C) Jiri Kosina
[    2.211905] usbcore: registered new interface driver usbhid
[    2.221300] usbhid: USB HID core driver
[    2.229391] TCP: cubic registered
[    2.235559] Initializing XFRM netlink socket
[    2.243721] NET: Registered protocol family 17
[    2.250145] Key type dns_resolver registered
[    2.257822] registered taskstats version 1
[    2.263880] vc-sm: Videocore shared memory driver
[    2.270341] [vc_sm_connected_init]: start
[    2.276470] vc_vchi_sm_init: failed to open VCHI service (-1)
[    2.282461] [vc_sm_connected_init]: failed to initialize shared memory service
[    2.293396] Indeed it is in host mode hprt0 = 00021501
[    2.300326] [vc_sm_connected_init]: end - returning -1
[    2.320607] Waiting for root device /dev/mmcblk0p2...
[    2.333459] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.362088] mmc0: new high speed SDHC card at address aaaa
[    2.379662] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    2.400234]  mmcblk0: p1 p2
[    2.435025] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.444365] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.519272] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.530090] Indeed it is in host mode hprt0 = 00001101
[    2.739536] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.748196] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.759178] hub 1-1:1.0: USB hub found
[    2.765249] hub 1-1:1.0: 5 ports detected
[    2.903366] EXT4-fs (mmcblk0p2): recovery complete
[    2.919051] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.930956] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.941104] devtmpfs: mounted
[    2.947086] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
[    3.049222] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.159568] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.168465] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.181012] smsc95xx v1.0.4
[    3.243764] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:4e:11:5b
[    3.339238] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    3.440241] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0179
[    3.450388] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.464968] usb 1-1.4: Product: 802.11n NIC
[    3.475173] usb 1-1.4: Manufacturer: Realtek
[    3.482811] usb 1-1.4: SerialNumber: 00E04C81AF16
[    4.591355] udevd[158]: starting version 175
[    6.111498] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[    6.416095] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[    7.366974] usbcore: registered new interface driver r8188eu
[    7.570518] random: nonblocking pool is initialized
[   10.971474] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   11.419129] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   21.555720] r8188eu 1-1.4:1.0: Direct firmware load for rtlwifi/rtl8188eufw.bin failed with error -2
[   21.555769] r8188eu 1-1.4:1.0: Firmware rtlwifi/rtl8188eufw.bin not available
[   21.555792] MAC Address = 00:e0:4c:81:af:16
[   24.842645] usb 1-1.4: USB disconnect, device number 4
[   24.843077] R8188EU: ERROR indicate disassoc
[   25.053968] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   26.586868] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[   31.853029] cfg80211: Calling CRDA to update world regulatory domain
[   35.961148] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:2134012k SSFS
Sorry for posting this long. I hope someone can help me.

Thank you.

Regard,
Dimas Adityamurthi
dmesg shows this line

Code: Select all

[   21.555769] r8188eu 1-1.4:1.0: Firmware rtlwifi/rtl8188eufw.bin not available
Run this command to load the missing firmware and then reboot.

Code: Select all

sudo wget https://github.com/lwfinger/rtl8188eu/raw/master/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
MrEngman
MrEngman,

Thanks a lot for your help. Now it is detected in lsusb.
However, I think the dongle cannot be used because the red light on raspberry is went out everytime I try to use the dongle.
I guess it consumes a lot of power than raspberry can provide.
I will buy Edimax EW-7811Un for my raspi.

Regards,
Dimas Adityamurthi

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Sun Jul 05, 2015 10:46 am

Vesco wrote: MrEngman,

Thanks a lot for your help. Now it is detected in lsusb.
However, I think the dongle cannot be used because the red light on raspberry is went out everytime I try to use the dongle.
I guess it consumes a lot of power than raspberry can provide.
I will buy Edimax EW-7811Un for my raspi.

Regards,
Dimas Adityamurthi
I would think it is more likely your power supply is not sufficient or the cable connecting your power supply to the Pi is too thin, or too long, and not good quality.

I have used several different high power wifi adapters on my Pi 2B, e.g. TP-Link TL-WN722N and Edimax EW-771UAn and some others, and I have no problems with the red led. It stays on all the time, with no flashing and the wifi adapters work OK.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Vesco
Posts: 8
Joined: Wed Apr 15, 2015 3:02 pm

Re: WiFi Issues ? Start here !

Sun Jul 05, 2015 2:01 pm

MrEngman wrote:
Vesco wrote: MrEngman,

Thanks a lot for your help. Now it is detected in lsusb.
However, I think the dongle cannot be used because the red light on raspberry is went out everytime I try to use the dongle.
I guess it consumes a lot of power than raspberry can provide.
I will buy Edimax EW-7811Un for my raspi.

Regards,
Dimas Adityamurthi
I would think it is more likely your power supply is not sufficient or the cable connecting your power supply to the Pi is too thin, or too long, and not good quality.

I have used several different high power wifi adapters on my Pi 2B, e.g. TP-Link TL-WN722N and Edimax EW-771UAn and some others, and I have no problems with the red led. It stays on all the time, with no flashing and the wifi adapters work OK.


MrEngman
Wow, you are correct. After I change the power supply with the new one, it works perfectly. Thank you very much.
If i may ask, what power supply are you using for your raspberry pi?

Thank you.

Regards,
Dimas Adityamurthi

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Sun Jul 05, 2015 2:10 pm

Vesco wrote: Wow, you are correct. After I change the power supply with the new one, it works perfectly. Thank you very much.
If i may ask, what power supply are you using for your raspberry pi?

Thank you.

Regards,
Dimas Adityamurthi
I use these from Farnell/CPC http://uk.farnell.com/pro-power/mwusb3u ... dp/2289558


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

qualpan1
Posts: 1
Joined: Mon Jul 13, 2015 3:40 pm

Re: WiFi Issues ? Start here !

Mon Jul 13, 2015 3:51 pm

Hello,

I have read through this post as well as thousands other posts, but i still cannot find the solution to the problem I have. When I try to connect to wifi via GUI, it just shows "Status: Scanning // Last Message: WPS-AP-AVAiILABLE"; when I click "connect", nothing happens. I have done a bunch of troubleshooting and I can tell that my pi sees the wifi dongle, the dongle sees the network. I have tried various different setups for the interfaces and wpa_supplicant files, but none of these seem to work.

Have anybody seen this issue before? I really hope that you, guys, can help me out :)

Thank you so much in advance!

rodixxi
Posts: 4
Joined: Mon Jul 13, 2015 10:14 pm
Location: Córdoba, Argentina

Re: WiFi Issues ? Start here !

Mon Jul 13, 2015 10:35 pm

I have a TL-WN723N and I can only go up to the step 4, after "$ sudo ifdown wlan0 && sudo ifup wlan0" after this command the the system reboots, but sometimes recognizes the adapter and starts to have signal and reboot a few seconds after. Also having the adapter plug-in dont allows to starup and crash in the midle of the boot and reboot a few times and the stops rebooting.
Its there a posible solution or just change the adapter to a TL-WN725N for example?

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Tue Jul 14, 2015 1:23 am

rodixxi wrote:I have a TL-WN723N and I can only go up to the step 4, after "$ sudo ifdown wlan0 && sudo ifup wlan0" after this command the the system reboots, but sometimes recognizes the adapter and starts to have signal and reboot a few seconds after. Also having the adapter plug-in dont allows to starup and crash in the midle of the boot and reboot a few times and the stops rebooting.
Its there a posible solution or just change the adapter to a TL-WN725N for example?
I'm not surprised you are having problems if you used the instructions in the first post, it's not very clear about what you need to do, especially for newbies.

There are three different versions of the TL-WN723N so some more info is needed to help you set it up. Also do you have a display and keyboard and mouse connected to you Pi.

Can you post the output of the following commands

Code: Select all

uname -a
lsusb
lsmod
ifconfig
cat /etc/network/interfaces
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
Hide any passwords that may be in the last two commands.

The output from these commands will show info about the kernel you are using, your wifi adapter and your current wifi configuration and should allow us to help you get set up correctly.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

PlanB
Posts: 102
Joined: Tue Oct 28, 2014 6:44 am

Re: WiFi Issues ? Start here !

Tue Jul 14, 2015 1:48 am

Finally, after all my wandering in the WiFi wilderness, something worthwhile on PiWiFi. So I got a copy of the tar &, sure enough, ./install-8188eu.sh got one of the previously inoperable realtek WiFi dongles (obda:0179) running, Yea! However the other 2 recalcitrants (obda:8179 & obda:818b) generate a 'no kernel match' msg & an invitation to try the closest compatible version with -k (kernel build). Trouble is I don't actually know what that means. Are there some baby steps somewhere on the arcane art of kernel building?

Resurrecting that USB dongle was the best fun I have since Bill Willsons little program reclaimed all those 8G SD cards that were too small to take an image, magic stuff!

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Tue Jul 14, 2015 3:09 am

PlanB wrote:Finally, after all my wandering in the WiFi wilderness, something worthwhile on PiWiFi. So I got a copy of the tar &, sure enough, ./install-8188eu.sh got one of the previously inoperable realtek WiFi dongles (obda:0179) running, Yea! However the other 2 recalcitrants (obda:8179 & obda:818b) generate a 'no kernel match' msg & an invitation to try the closest compatible version with -k (kernel build). Trouble is I don't actually know what that means. Are there some baby steps somewhere on the arcane art of kernel building?

Resurrecting that USB dongle was the best fun I have since Bill Willsons little program reclaimed all those 8G SD cards that were too small to take an image, magic stuff!
Where do I find or what is PiWiFi?

If you run command uname -a this will show the kernel build. It is the number with # at the beginning of it.

e.g. uname -a on my Pi shows

Code: Select all

Linux Pi-2B-a 4.0.7-v7+ #802 SMP PREEMPT Wed Jul 8 18:01:25 BST 2015 armv7l GNU/Linux
and the "kernel build" is #802 (802).

I have drivers available for all the wifi adapters you say you have, depending on the OS and kernel version you are running.

In fact 0bda:0179 and 0bda:8179 use the same driver - 8188eu, so I would expect both should work after using ./install-8188eu.sh unless your kernel is an early version of 3.6.11+. 0bda:818b uses the 8192eu driver. By the way the USB ID's are 0(zero) b d a, not o(letter o) b d a.

If you post the output of uname -a I can check if I have suitable drivers available for the kernel version(s) you use.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rodixxi
Posts: 4
Joined: Mon Jul 13, 2015 10:14 pm
Location: Córdoba, Argentina

Re: WiFi Issues ? Start here !

Tue Jul 14, 2015 10:51 pm

MrEngman wrote:
rodixxi wrote:I have a TL-WN723N and I can only go up to the step 4, after "$ sudo ifdown wlan0 && sudo ifup wlan0" after this command the the system reboots, but sometimes recognizes the adapter and starts to have signal and reboot a few seconds after. Also having the adapter plug-in dont allows to starup and crash in the midle of the boot and reboot a few times and the stops rebooting.
Its there a posible solution or just change the adapter to a TL-WN725N for example?
I'm not surprised you are having problems if you used the instructions in the first post, it's not very clear about what you need to do, especially for newbies.

There are three different versions of the TL-WN723N so some more info is needed to help you set it up. Also do you have a display and keyboard and mouse connected to you Pi.

Can you post the output of the following commands

Code: Select all

uname -a
lsusb
lsmod
ifconfig
cat /etc/network/interfaces
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
Hide any passwords that may be in the last two commands.

The output from these commands will show info about the kernel you are using, your wifi adapter and your current wifi configuration and should allow us to help you get set up correctly.


MrEngman
This is what I ahve

Code: Select all

$ uname -a
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux

Code: Select all

$ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 04f2:0976 Chicony Electronics Co., Ltd

Code: Select all

$ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 04f2:0976 Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 0bda:8179 Realtek Semiconductor Corp.

Code: Select all

$ lsmod
Module                  Size  Used by
8188eu                655472  0
cfg80211              386508  0
rfkill                 16651  1 cfg80211
snd_bcm2835            18649  0
snd_pcm                73475  1 snd_bcm2835
snd_seq                53078  0
snd_seq_device          5628  1 snd_seq
snd_timer              17784  2 snd_pcm,snd_seq
snd                    51038  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
joydev                  8879  0
evdev                   9950  3
uio_pdrv_genirq         2958  0
uio                     8119  1 uio_pdrv_genirq

Code: Select all

$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:27:eb:4e:c9:97
          inet addr:192.168.0.31  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:298 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:115041 (112.3 KiB)  TX bytes:46048 (44.9 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 30:b5:c2:1a:c2:46
          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)

Code: Select all

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

$ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid = "name"
        psk = "pass"
}

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Wed Jul 15, 2015 8:43 am

rodixxi wrote: This is what I ahve

Code: Select all

$ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid = "name"
        psk = "pass"
}
I think one of your problems may be with the file /etc/wpa_supplicant/wpa_supplicant.conf.

Remove the space characters in the lines with ssid and psk so it should look like

Code: Select all

$ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="name"
        psk="pass"
}
My file also has the line " key_mgmt=WPA-PSK" after the psk line but I have tried without it like the file above and it works OK.

It is also very possible you may also have a problem with your power supply not being able to supply sufficient power to your Pi. What is the spec of your power supply? Also if the cable connecting your power supply to the Pi is low quality, too thin or too long, then this could also cause similar problems to what you are seeing.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rodixxi
Posts: 4
Joined: Mon Jul 13, 2015 10:14 pm
Location: Córdoba, Argentina

Re: WiFi Issues ? Start here !

Wed Jul 15, 2015 12:57 pm

MrEngman wrote:
rodixxi wrote: This is what I ahve

Code: Select all

$ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid = "name"
        psk = "pass"
}
I think one of your problems may be with the file /etc/wpa_supplicant/wpa_supplicant.conf.

Remove the space characters in the lines with ssid and psk so it should look like

Code: Select all

$ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="name"
        psk="pass"
}
My file also has the line " key_mgmt=WPA-PSK" after the psk line but I have tried without it like the file above and it works OK.

It is also very possible you may also have a problem with your power supply not being able to supply sufficient power to your Pi. What is the spec of your power supply? Also if the cable connecting your power supply to the Pi is low quality, too thin or too long, then this could also cause similar problems to what you are seeing.


MrEngman
I'm using a cell phone travel adapter, the output is 5.0v dc and 2.0A

revrsethecurse04
Posts: 3
Joined: Wed Jul 15, 2015 3:13 pm

Re: WiFi Issues ? Start here !

Wed Jul 15, 2015 4:10 pm

I purchased the following WiFi Dongle:
http://www.amazon.com/Adapter-NET-DYN%C ... ds=net-dyn

The dongle shows up when the command lsusb is entered as Ralink Technology, Corp.

When ifconfig -a is entered wlan0 does not appear.
When sudo ifup wlan0 is entered it indicates that interface wlan0 already configured.
When sudo iwlist wlan0 scan is entered it notes that wlan0 Interface doesn't support scanning.

The device does not show up as when wpa_gui is run.

Please advise how to move forward with this dongle.

Thanks,

Matt

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Wed Jul 15, 2015 6:49 pm

Hi rodixxi,

I have exactly the same set up for my Pi's wifi configuration and it works without any problems.

I would suggest you try a different power supply if you can, the travel adapter is more like a charger and is very likely much less stable than a proper power supply. I use these from Farnell http://uk.farnell.com/pro-power/mwusb3u ... dp/2289558

Also what happens if you try without the chicony device, which I think is a web cam, connected?


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rodixxi
Posts: 4
Joined: Mon Jul 13, 2015 10:14 pm
Location: Córdoba, Argentina

Re: WiFi Issues ? Start here !

Wed Jul 15, 2015 7:01 pm

MrEngman wrote:Hi rodixxi,

I have exactly the same set up for my Pi's wifi configuration and it works without any problems.

I would suggest you try a different power supply if you can, the travel adapter is more like a charger and is very likely much less stable than a proper power supply. I use these from Farnell http://uk.farnell.com/pro-power/mwusb3u ... dp/2289558

Also what happens if you try without the chicony device, which I think is a web cam, connected?


MrEngman
Ok I will try with a power supply, I don't have a webcam connected, probably it's the bluetooth adapter for the keyboard

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WiFi Issues ? Start here !

Wed Jul 15, 2015 7:42 pm

revrsethecurse04 wrote:I purchased the following WiFi Dongle:
http://www.amazon.com/Adapter-NET-DYN%C ... ds=net-dyn

The dongle shows up when the command lsusb is entered as Ralink Technology, Corp.

When ifconfig -a is entered wlan0 does not appear.
When sudo ifup wlan0 is entered it indicates that interface wlan0 already configured.
When sudo iwlist wlan0 scan is entered it notes that wlan0 Interface doesn't support scanning.

The device does not show up as when wpa_gui is run.

Please advise how to move forward with this dongle.

Thanks,

Matt
It would appear that either there is no driver for it in the OS you are using, or the driver is included but does not include the USB ID for your wifi to activate it.

Please post the output of commands uname -a and lsusb so I can check the OS you are using and determine which driver it uses.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “Troubleshooting”