salras
Posts: 1
Joined: Mon Nov 02, 2015 9:15 pm

Re: WiFi Issues ? Start here !

Mon Nov 02, 2015 9:30 pm

I am using jessie on my raspi. It connects to the internet as I can use the browser with no problems. However when I use the ifconfig wlan0 command the Ip address I get is 10.0.015 (or similar) When i plug this in to the a web browser in my laptop it times out. How do I fix this? Thank you

halomaster3815
Posts: 22
Joined: Sat Sep 13, 2014 7:12 pm

Re: WiFi Issues ? Start here !

Thu Nov 05, 2015 2:33 am

SirLagz wrote:We get a lot of posts regarding issues with WiFi, so I've decided to write up a quick troubleshooting guide.

1) Check whether the WiFi stick is being picked up at all
Run a 'lsusb' in a terminal and you should see your WiFi stick in the output of the command.

Code: Select all

    Bus 001 Device 002: ID 0424:9512 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 005: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS]
If you can see it, it means that at least the stick is most likely working.
If you can't see it, then the stick is not being picked up.
If you're using a powered hub, try the stick in another computer
If you're NOT using a powered hub, try a powered hub first.


2) Check whether the modules loaded
Run a lsmod and see if the module for the stick is loaded. The module name will change depending on the stick that is being used. For example, if you have the above RTL8188CUS WiFi adapter, then lsmod will show the following output (notice the 8192cu module is loaded):

Code: Select all

    Module                  Size  Used by
    i2c_dev                 4562  0
    snd_bcm2835            12859  0
    snd_pcm                60411  1 snd_bcm2835
    snd_seq                44988  0
    snd_timer              16257  2 snd_pcm,snd_seq
    snd_seq_device          4265  1 snd_seq
    snd                    41809  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
    snd_page_alloc          3176  1 snd_pcm
    spidev                  4259  0
    8192cu                458649  0
    leds_gpio               1920  0
    led_class               2329  1 leds_gpio
    spi_bcm2708             3974  0
    i2c_bcm2708             3108  0
For RT5370 sticks, you'll see a rt2800usb module in there instead.

If the module is there, then the drivers are being loaded correctly.

3) Check the WiFi NIC
Since the stick is there and drivers are loaded, check to make sure the stick is definitely being picked up

Run an ifconfig -a and check the output. You should see a 'wlan0' in the output, similar to this:

Code: Select all

wlan0 Link encap:Ethernet HWaddr 00:00:aa:11:22:33
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 carrier0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes (0.0 B)
If you do not see this not then you may be missing some firmware for your device.
The firmware packages for the more common devices are as follows:
firmware-ralink for Ralink devices (RT5370/RT3070/etc.)
firmware-realtek for Realtek devices (RTL8188CUS/etc.)
firmware-atheros for Atheros devices.

apt-get install <firmware-package> will install the firmware on Raspbian.
Once you've installed the firmware, unplug and plug the stick back in to see if ifconfig -a can see it now.
If not, try a reboot as well.

4) Check the WiFi configuration
This is where it starts getting complicated.
If you can see wlan0 when you run ifconfig -a but you can't get online, you'll need to make sure the adapter is getting an IP address, and is connected to a WiFi Network.
For Raspbian:
Check /etc/network/interfaces and ensure that you have the WiFi details configured.
This can be done in either the interfaces file, or it can be linked to another file via the wpa-roam or wpa-conf parameters in /etc/network/interfaces
Verify the details for the network are correct, SSID and PSK need to be exactly right for the WiFi NIC to connect to a network.
If you have changed the details, run sudo ifdown wlan0 && sudo ifup wlan0 to use the new settings.

These settings will be applied when the WiFi starts up.

4a) WiFi Not Connecting on Startup
If the WiFi works when you run ifup wlan0, but doesn't come up when you reboot the Pi, we'll need to check the file /etc/network/interfaces again.
Look for any lines that have auto at the beginning, and see if you see one that has 'auto wlan0'.
If not, then add that line in. This line directs the Pi to connect to bring up the WiFi NIC automatically, which in turns triggers the WiFi NIC to connect to the WiFi network.

4b) How do I configure the WiFi Settings
By default, Raspbian has in /etc/network/interfaces this line:

Code: Select all

wpa-roam /etc/wpa-supplicant/wpa_supplicant.conf
The contents of the file should look something like this:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="network-name"
        psk="network password"
}
If it doesn't, or if it has the wrong details, updating the details here will let the WiFi Adapter connect.

4c) How do I configure WiFi to use a Static IP address
In /etc/network/interfaces, there should be these lines

Code: Select all

auto wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
To make it use a static IP address, we need to add a few lines, and change dhcp to static, and then it should look like this:

Code: Select all

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

iface default inet static
address 10.1.1.2
netmask 255.255.255.0
gateway 10.1.1.1
That block will bring up wlan0 on startup, connect to the WiFi network that's detailed in wpa_supplicant.conf, and set an address of 10.1.1.2

4d) Make Sure The WiFi Network Can Be Detected[/size]
If the Pi still won't connect, make sure the Pi is actually seeing the WiFi Network

This can be done with the wpa_cli command, but this needs to be run as root

Code: Select all

wpa_cli scan && sleep 5 && wpa_cli scan_results
That should show a list of available WiFi networks, and if yours isn't on the list, then you may need to adjust the location of the Pi or the WiFi router.


Once you've gone through all of these steps, you should be able to get online!
is there any way someone can give me a lint to the firmware-realtek drivers in a .deb format? i have no LAN connection available so i cant use apt-get to install anything. this way i want just to use sudo dpkg -i firmware-realtek.deb to install the drivers for my wifi chip

halomaster3815
Posts: 22
Joined: Sat Sep 13, 2014 7:12 pm

Re: WiFi Issues ? Start here !

Thu Nov 05, 2015 2:37 am

salras wrote:I am using jessie on my raspi. It connects to the internet as I can use the browser with no problems. However when I use the ifconfig wlan0 command the Ip address I get is 10.0.015 (or similar) When i plug this in to the a web browser in my laptop it times out. How do I fix this? Thank you
have you tried downloading a previous version of raspbian, maybee the 2013 version and seeing if this solves your issues? im downloading the 2013-07-26 version and am going to install and see if it fixes the issue, ive hard that the most recent version of raspbian is causing alot of wifi cards to act funny and not work properly.

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

Re: WiFi Issues ? Start here !

Thu Nov 05, 2015 2:41 am

I tried a google search for "firmware-realtek.deb" and I found this https://packages.debian.org/search?keyw ... re-realtek

But this is only the firmware needed by various drivers. Do you just want the firmware or the driver as well. If the driver what is your wifi dongle as shown by command lsusb.


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

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

JoeRas
Posts: 1
Joined: Thu Nov 05, 2015 2:53 am

Re: WiFi Issues ? Start here !

Thu Nov 05, 2015 4:01 am

nevermind
Last edited by JoeRas on Fri Nov 06, 2015 8:20 pm, edited 1 time in total.

halomaster3815
Posts: 22
Joined: Sat Sep 13, 2014 7:12 pm

Re: WiFi Issues ? Start here !

Thu Nov 05, 2015 5:53 am

MrEngman wrote:I tried a google search for "firmware-realtek.deb" and I found this https://packages.debian.org/search?keyw ... re-realtek

But this is only the firmware needed by various drivers. Do you just want the firmware or the driver as well. If the driver what is your wifi dongle as shown by command lsusb.


MrEngman
i would like to have both if possible, my rpi detects the wifi dongle and lets me connect to my wifi but i always get a "unknown host" when i try to ping something, im thinking that having the firmware and drivers might help this, i would use a lan connection but i'm no where near my router. ive tried everything including setting a static ip, changing dns servers and still nothing

LonnieSunshine
Posts: 3
Joined: Sat Nov 07, 2015 1:24 am

Re: WiFi Issues ? Start here !

Sat Nov 07, 2015 1:44 am

Hello Everyone, I'm completely brand new to Pi. I bought a canakit Raspberry Pi 2 starter kit with WIFI Adapter.
I can't seem to get the wifi to connect, then i tried fixing it from looking online and i made it worse because now it's completely blank and says
"could not get status from wpa_supplicant"

the driver shows up so i know it's connected.

when i boot it up it says

Configuring network interfaces.../etc/network/interfaces:9: too few parameters for the face line
ifup: couldn't read interfaces file "etc/network/interfaces"


Thanks, in advance.

User avatar
rpdom
Posts: 17046
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: WiFi Issues ? Start here !

Sat Nov 07, 2015 7:00 am

LonnieSunshine wrote:when i boot it up it says

Configuring network interfaces.../etc/network/interfaces:9: too few parameters for the face line
ifup: couldn't read interfaces file "etc/network/interfaces"
You have got something wrong on the 9th line of that file, which is one of the "iface" lines. There should be exactly 4 words on that line, probably either "iface eth0 inet manual" or "iface wlan0 inet manual".

Perhaps you can post your file (inside [code] [/code] tags) for us to look at.

LonnieSunshine
Posts: 3
Joined: Sat Nov 07, 2015 1:24 am

Re: WiFi Issues ? Start here !

Sun Nov 08, 2015 5:30 am

rpdom wrote:
LonnieSunshine wrote:when i boot it up it says

Configuring network interfaces.../etc/network/interfaces:9: too few parameters for the face line
ifup: couldn't read interfaces file "etc/network/interfaces"
You have got something wrong on the 9th line of that file, which is one of the "iface" lines. There should be exactly 4 words on that line, probably either "iface eth0 inet manual" or "iface wlan0 inet manual".

Perhaps you can post your file (inside [code] [/code] tags) for us to look at.

Thanks so much for helping. Okay, I fixed that. Now I'm back to my original problem from the beginning.

Now it says:

Listening on LPF/wlan0/00:0f:60:05:6f:00
Sending on LPF/wlan0/00:0f:60:05:6f:00
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.

User avatar
DougieLawson
Posts: 38902
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: WiFi Issues ? Start here !

Sun Nov 08, 2015 6:03 pm

That's almost always due to incorrect security credentials.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

LonnieSunshine
Posts: 3
Joined: Sat Nov 07, 2015 1:24 am

Re: WiFi Issues ? Start here !

Sun Nov 08, 2015 8:06 pm

DougieLawson wrote:That's almost always due to incorrect security credentials.
wrong Username/password for my private wifi network?

User avatar
DougieLawson
Posts: 38902
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: WiFi Issues ? Start here !

Sun Nov 08, 2015 11:53 pm

LonnieSunshine wrote:
DougieLawson wrote:That's almost always due to incorrect security credentials.
wrong Username/password for my private wifi network?
SSID, key and encryption scheme is a better definition of "security credentials" for WiFi.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

diefledermaus
Posts: 4
Joined: Sun Oct 04, 2015 2:23 pm

Re: WiFi Issues ? Start here !

Mon Nov 09, 2015 3:40 am

Running a Edimax EW-7811Un wifi dongle. I have many hours trying to get this to run on a hidden network. It seems there are lots of ways to configure the /etc/wpa_supplicant/wpa_supplicant.conf and the /etc/network/interfaces so far I am unable to find the right combination.

The dongle has a blue light that is blinking so I know I am good there.

ifconfig wlan0 shows this.

wlan0 Link encap:Ethernet HWaddr 74:da:38:xx:xx:xx
inet6 addr: fe80::76da:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:362 overruns:0 frame:0
TX packets:1 errors:0 dropped:20 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2926 (2.8 KiB) TX bytes:3410 (3.3 KiB

wpa_cli scan && sleep 5 && wpa_cli scan_results shows the following. "mac address obscured by me but shows up"

2437 96 [WPA-PSK-TKIP][WPA2-PSK-CCMP+TKIP][ESS]
2412 28 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]
x.x.x.x.x.x,x.x 2412 22 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] HOME-F70F-2.4
x.x.x.x.x.x.x.x 2412 10 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] HOME-0DBA-2.4

2412 10 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]

my supplicant.conf looks like this currently:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

ctrl_interface=/var/run/wpa_supplicant
update_config=1
ap_scan=2
eapol_version=1
network={
        ssid="XXXXXXXXX"
        scan_ssid=1
        mode=0
        proto=WPA2
        pairwise=TKIP
        group=TKIP
        key_mgmt=WPA-PSK
        psk="XXXXXXXXX"
}
and my interfaces file look like this:

Code: Select all

# Please note that this file is written to be used with dhcpcd.
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'.

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
pre-up wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
So I am unsure what I am missing at this point to make this work. I can't see why this should be so difficult. Is it my use of a hidden network throwing a wrench in things?

Thanks,

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

Re: WiFi Issues ? Start here !

Mon Nov 09, 2015 10:15 am

I can connect to my AP if I set a hidden ssid using the following settings

File /etc/network/interfaces is NOT edited and is as in the original image

Code: Select all

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

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

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
File /etc/wpa_supplicant/wpa_supplicant.conf is edited to include the network config items, ssid, password and the AP MAC address and a couple of additional lines.

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=1

network={
        ssid="network-name"
        psk="network-password"
        scan_ssid=1
        bssid=AP-MAC-address
}
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

ethor
Posts: 1
Joined: Thu Nov 12, 2015 7:20 am

Re: WiFi Issues ? Start here !

Thu Nov 12, 2015 7:24 am

Forgive me if my question is answered in the 12 pages of replies, but I didn't read them all. I have the RT5370 and when I boot the pi with it in the USB slot, it won't power on (at least, the blue leds, don't). I have to remove and plug it back in after each boot. How do I get the pi to see the dongle without have to remove and reinsert it? Thx.

lucasfcosta
Posts: 1
Joined: Sat Nov 14, 2015 5:58 pm

Re: WiFi Issues ? Start here !

Sat Nov 14, 2015 6:47 pm

Hi guys, I've tried basically everything and I couldn't get my WiFi USB Dongle to find ANY nearby WiFi networks (I have about 6 AP's near me) neither on the GUI and using

Code: Select all

sudo iwlist scan
(which always returns

Code: Select all

No scan results
for the wlan0 interface.

I've also tried to run

Code: Select all

sudo apt-get update
and then

Code: Select all

sudo rpi-update
and then reboot.

When following this topic's instructions I've noticed that everything is fine.

Running

Code: Select all

lsusb
lists my WiFi usb dongle, which is:

Code: Select all

0bda:0179 Realtek Semiconductor Corp.
When running

Code: Select all

lsmod
this is the output I get (please notice the r8188eu is there):

Code: Select all

Module                  Size  Used by
cfg80211              419759  0 
rfkill                 16659  2 cfg80211
r8188eu               432616  0 
bcm2835_gpiomem         3023  0 
uio_pdrv_genirq         2966  0 
evdev                  10226  8 
joydev                  9047  0 
uio                     8228  1 uio_pdrv_genirq
i2c_dev                 6040  0 
snd_bcm2835            19739  3 
snd_pcm                74833  1 snd_bcm2835
snd_timer              18164  1 snd_pcm
snd                    52116  9 snd_bcm2835,snd_timer,snd_pcm
fuse                   81721  3 
ipv6                  341380  50 

This is my wpa_supplicant file:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

And this is my /etc/network/interfaces file:

Code: Select all

# Please note that this file is written to be used with dhcpcd.
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'.

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
Do you guys have any Idea what am I doing wrong?

I've also tried rebooting with and without the ethernet cable plugged and I still couldn't get it to work.

My firmware-realtek is already the last version.

Any ideas are welcome.



EDIT:

I just found out my WiFi dongle wasn't working.
Sorry for this.
Last edited by lucasfcosta on Sun Nov 15, 2015 4:23 pm, edited 1 time in total.

Factory_Pi
Posts: 10
Joined: Fri Nov 13, 2015 12:21 am
Location: Norwich, Norfolk, UK

Re: WiFi Issues ? Start here !

Sat Nov 14, 2015 10:01 pm

First post, and new to Pi and Linux, we are hoping to use RPi's in our UK Factory to capture Temperature information and feed the Data into our extensive Windows / Delphi based Production control system. However...!
I seem to have go caught up in the new Raspian release with the problem of 'Not associated' Wlan0 installs.
I bought a Cannakit complete Pi2 unit with WiFi and SD card with Noobs (I am currently on holiday in the States, so have some spare time!) in early October and the initial set-up etc. went just fine, I used a wired connection initially, but almost immediately added the WiFi dongle and this 'appeared' and worked beautifully. Well pleased with my initial progress a few weeks later I ordered a second identical set up - and then the fun started!
From the outset the WiFi dongle has shown as 'Not associated' and despite hours of trawling around the Forum pages here, and implementing many of the suggestions - many from Mr Engman - I just cannot seem to 'make the connection'. My biggest frustration is in not understanding the 'boot' sequence and how to drill down further than the 'dmesg' level. I have compared the dmesg scripts and allied 'files' for the two Pi's - the first one continues to work fine - and whilst I can spot some differences in the dmesg they are more in the form of 'output', and for the /interfaces /wpa_supplicant /dhcpcd files I have made them identical - yet all to no avail!! Fyi, I am seeking to use Static IP addresses so that they are in line with the rest of the Factory.
I have now got to the stage where I am hoping someone could have a look at the following and see if they can suggest what I need to change or look at further.
At the end of this message is a copy of the second half of the dmesg output, along with the immediate 'ifdown / ifup' calls and their output - not as neatly done as many other 'posters' but if there is an FAQ on how to format a post (I could not find one) I would ensure I follow the recommended method in future.
With thanks in advance to anyone who is prepared to respond, Richard.

[ 3.190876] usb 1-1.5: new high-speed USB device number 4 using dwc_otg
[ 3.200876] usb 1-1.5: New USB device found, idVendor=148f, idProduct=5370
[ 3.214232] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.227886] usb 1-1.5: Product: 802.11 n WLAN
[ 3.238490] usb 1-1.5: Manufacturer: Ralink
[ 3.248852] usb 1-1.5: SerialNumber: 1.0
[ 3.493079] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[ 3.545816] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 3.560249] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.574163] systemd[1]: Expecting device dev-ttyAMA0.device...
[ 3.593501] systemd[1]: Starting Remote File Systems (Pre).
[ 3.612429] systemd[1]: Reached target Remote File Systems (Pre).
[ 3.624939] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 3.641176] usb 1-1.3: New USB device found, idVendor=0c40, idProduct=8000
[ 3.641189] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.641198] usb 1-1.3: Product: iPazzPort
[ 3.641206] usb 1-1.3: Manufacturer: ELMCU
[ 3.675526] input: ELMCU iPazzPort as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:0C40:8000.0001/input/input0
[ 3.713959] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.730077] systemd[1]: Starting Encrypted Volumes.
[ 3.743371] hid-generic 0003:0C40:8000.0001: input,hidraw0: USB HID v1.11 Keyboard [ELMCU iPazzPort] on usb-3f980000.usb-1.3/input0
[ 3.762083] input: ELMCU iPazzPort as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:0C40:8000.0002/input/input1
[ 3.786374] systemd[1]: Reached target Encrypted Volumes.
[ 3.798737] systemd[1]: Starting Swap.
[ 3.813549] hid-generic 0003:0C40:8000.0002: input,hidraw1: USB HID v1.11 Mouse [ELMCU iPazzPort] on usb-3f980000.usb-1.3/input1
[ 3.835766] systemd[1]: Reached target Swap.
[ 3.847140] systemd[1]: Expecting device dev-mmcblk0p6.device...
[ 3.868209] systemd[1]: Starting Root Slice.
[ 3.887684] systemd[1]: Created slice Root Slice.
[ 3.899513] systemd[1]: Starting User and Session Slice.
[ 3.920274] systemd[1]: Created slice User and Session Slice.
[ 3.933194] systemd[1]: Starting Delayed Shutdown Socket.
[ 3.953951] systemd[1]: Listening on Delayed Shutdown Socket.
[ 3.966860] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 3.988877] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 4.003049] systemd[1]: Starting Journal Socket (/dev/log).
[ 4.023930] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.037019] systemd[1]: Starting udev Control Socket.
[ 4.057251] systemd[1]: Listening on udev Control Socket.
[ 4.069783] systemd[1]: Starting udev Kernel Socket.
[ 4.089878] systemd[1]: Listening on udev Kernel Socket.
[ 4.102208] systemd[1]: Starting Journal Socket.
[ 4.121512] systemd[1]: Listening on Journal Socket.
[ 4.133403] systemd[1]: Starting System Slice.
[ 4.152568] systemd[1]: Created slice System Slice.
[ 4.164323] systemd[1]: Starting File System Check on Root Device...
[ 4.188581] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 4.210443] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 4.224122] systemd[1]: Starting system-autologin.slice.
[ 4.244772] systemd[1]: Created slice system-autologin.slice.
[ 4.257362] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 4.277970] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.291698] systemd[1]: Starting Increase datagram queue length...
[ 4.316208] systemd[1]: Starting Restore / save the current clock...
[ 4.344475] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 4.374137] systemd[1]: Mounting POSIX Message Queue File System...
[ 4.452458] systemd[1]: Starting Load Kernel Modules...
[ 4.477386] systemd[1]: Starting udev Coldplug all Devices...
[ 4.529126] systemd[1]: Started Set Up Additional Binary Formats.
[ 4.530019] fuse init (API version 7.23)
[ 4.557486] systemd[1]: Mounting Debug File System...
[ 4.590227] systemd[1]: Mounted Huge Pages File System.
[ 4.603434] systemd[1]: Starting Slices.
[ 4.623300] systemd[1]: Reached target Slices.
[ 4.642358] i2c /dev entries driver
[ 4.656156] systemd[1]: Mounted Debug File System.
[ 4.674899] systemd[1]: Mounted POSIX Message Queue File System.
[ 4.696350] systemd[1]: Started File System Check on Root Device.
[ 4.729991] systemd[1]: Started Increase datagram queue length.
[ 4.751264] systemd[1]: Started Restore / save the current clock.
[ 4.772680] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 4.797970] systemd[1]: Started Load Kernel Modules.
[ 4.821709] systemd[1]: Time has been changed
[ 4.894865] systemd[1]: Started udev Coldplug all Devices.
[ 5.064595] systemd[1]: Mounting FUSE Control File System...
[ 5.088079] systemd[1]: Starting Apply Kernel Variables...
[ 5.113116] systemd[1]: Mounting Configuration File System...
[ 5.137890] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 5.150664] systemd[1]: Starting Syslog Socket.
[ 5.159513] systemd[1]: Listening on Syslog Socket.
[ 5.159743] systemd[1]: Starting Journal Service...
[ 5.180087] systemd[1]: Started Journal Service.
[ 5.343523] systemd-udevd[108]: starting version 215
[ 5.920130] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 6.130981] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[ 6.173501] random: nonblocking pool is initialized
[ 6.385930] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 6.386538] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.431373] cfg80211: Calling CRDA to update world regulatory domain
[ 6.693199] usb 1-1.5: reset high-speed USB device number 4 using dwc_otg
[ 6.803936] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 6.826340] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 6.854335] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 6.856796] usbcore: registered new interface driver rt2800usb
[ 6.983258] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 7.003557] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 7.090275] systemd-journald[106]: Received request to flush runtime journal from PID 1
[ 7.422061] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 8.707124] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
[ 9.583090] cfg80211: Calling CRDA to update world regulatory domain
[ 10.415537] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22
[ 12.743109] cfg80211: Calling CRDA to update world regulatory domain
[ 15.907190] cfg80211: Calling CRDA to update world regulatory domain
[ 17.965643] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[ 18.134141] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 19.063229] cfg80211: Calling CRDA to update world regulatory domain
[ 22.223132] cfg80211: Calling CRDA to update world regulatory domain
[ 25.383126] cfg80211: Calling CRDA to update world regulatory domain
[ 28.543176] cfg80211: Calling CRDA to update world regulatory domain
[ 31.703205] cfg80211: Calling CRDA to update world regulatory domain
[ 34.863223] cfg80211: Calling CRDA to update world regulatory domain
[ 38.023248] cfg80211: Calling CRDA to update world regulatory domain
[ 41.183261] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
pi@Pi-02 ~ $ sudo ifdown wlan0
ifdown: interface wlan0 not configured
pi@Pi-02 ~ $ sudo ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0

allanoptical
Posts: 2
Joined: Mon Nov 16, 2015 2:08 pm

Re: WiFi Issues ? Start here !

Mon Nov 16, 2015 3:37 pm

I am trying to configure my Raspberry Pi 2 to work with a 7" LCD screen and the Raspberry PI small white USB WiFi unit.

If I create my system from the NOOBS stick the Wifi Works but not the LCD screen.

If I create using an IMG file supplied by the screen makers the screen works but not the WiFi.

I decided to try to solve the WiFi issue as it should be the simpler of the two.

Research, including this post of yours lead me to look for the Wifi unit using lsusb.

It is there as the last intem in the list, see below.
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 0eef:0005 D-WAV Scientific Co., Ltd
Bus 001 Device 005: ID 04d9:1504 Holtek Semiconductor, Inc
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 007: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 001 Device 008: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 001 Device 010: ID 0a5c:bd1e Broadcom Corp.


However I do not see it in the list created by lsmod
Module Size Used by
i2c_dev 6047 0
i2c_bcm2708 5014 0
snd_bcm2835 19769 3
snd_pcm 74825 1 snd_bcm2835
snd_seq 53561 0
snd_seq_device 3650 1
snd_seq
snd_timer 18157 2
snd_pcm,snd_seq
snd 52116 11 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
sg
18159 0
brcmfmac 178471 0
brcmutil 5711 1
brcmfmac
cfg80211 420690 1
brcmfmac
rfkill 16659 1
cfg80211
evdev 10232 4
bcm2835_gpiomem 2995 0
uio_pdrv_genirq 2966 0
uio 8235 1 uio_pdrv_genirq


From this it seems the modules are not being loaded and possibly I am missing soem firm ware.

Any help and suggestions will be appreciated.

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

Re: WiFi Issues ? Start here !

Mon Nov 16, 2015 3:54 pm

The wifi module is loaded. It is "brcmfmac 178471 0".

If you've got a touch screen connected as well it's possible your problems are due to a power issue.


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

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

allanoptical
Posts: 2
Joined: Mon Nov 16, 2015 2:08 pm

Re: WiFi Issues ? Start here !

Mon Nov 16, 2015 5:47 pm

Thanks for this information.
I hope I have avoided the power issue by running the USB stick from a self powered hub.
As running iconfig does not show a wlan0 section I see there is a possibility I am missing firmware, how do I determine which is the correct firmware for this device.

SillyCritter
Posts: 17
Joined: Tue Nov 10, 2015 9:19 pm

Re: WiFi Issues ? Start here !

Mon Nov 16, 2015 8:37 pm

Anyone having troble with WEP?
if you do try adding this to /etc/networ/interfaces(sudo nano /ect/network/interfaces):

Code: Select all

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid ssid here
wireless-key Passcode Here
remove 'auto wlan0' if you dont want it to try to connect to your network on startup!
I hope this helps! :D

Note: anyone who knows raspbian jessie well,
how do you work the pre-installed wifi gui? :cry: :?
Python startup script installer v1.0
works on any file type and runs it on startup :D

Code: Select all

http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=126157&e=0

ananda9470
Posts: 8
Joined: Tue Nov 10, 2015 6:28 pm

Re: WiFi Issues ? Start here !

Fri Nov 20, 2015 1:31 am

I am trying everything in this post. I am at a university where there is open WiFi network and each student has a unique ID and password. How do I get the pi to connect to the network with my account? The posts so far talks nothing about specifying unique ID in addition to the SSID of the WiFI as far as I saw. Please help! Thanks!!

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

Re: WiFi Issues ? Start here !

Fri Nov 20, 2015 1:49 am

ananda9470 wrote:I am trying everything in this post. I am at a university where there is open WiFi network and each student has a unique ID and password. How do I get the pi to connect to the network with my account? The posts so far talks nothing about specifying unique ID in addition to the SSID of the WiFI as far as I saw. Please help! Thanks!!
Look here viewtopic.php?p=846565#p846565


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

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

SillyCritter
Posts: 17
Joined: Tue Nov 10, 2015 9:19 pm

Re: WiFi Issues ? Start here !

Sat Nov 21, 2015 8:00 pm

MrEngman wrote:
ananda9470 wrote:I am trying everything in this post. I am at a university where there is open WiFi network and each student has a unique ID and password. How do I get the pi to connect to the network with my account? The posts so far talks nothing about specifying unique ID in addition to the SSID of the WiFI as far as I saw. Please help! Thanks!!
Look here viewtopic.php?p=846565#p846565


MrEngman
You could do that and i would of said so but it dident work for me,
also try this to get a nice nework manager:

Code: Select all

sudo apt-get install network-manager-gnome
it is pre-installed on pidora and ubuntu mate and works well on raspbian althogh is is kind of confusing at first.
to connect to a network:
1. right click the icon an click edit connections
2. press Add
3. Put in the info
4. iv only uded this with hidden networs but if theres a connect to hidden network buttn when you click it again it will ask you to enter the info just click th menu that says New... on it and pick the network you added erliar.

It works well ;)
Python startup script installer v1.0
works on any file type and runs it on startup :D

Code: Select all

http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=126157&e=0

Chur Chontime
Posts: 29
Joined: Wed Mar 04, 2015 2:44 am

Re: WiFi Issues ? Start here !

Sun Nov 22, 2015 8:07 pm

Moved by author to new thread.

Return to “Troubleshooting”