Silversonic
Posts: 34
Joined: Wed Aug 27, 2014 8:42 pm

Using wireless with domoticz?

Sat Dec 27, 2014 11:20 pm

Does the domoticz distribution prevent use of a wifi adapter? I've been trying and researching and I've been unable to get wireless to work.

My most recent method was to follow this guide: http://www.raspberrypi.org/documentatio ... ess-cli.md, this is what I do;

Code: Select all

pi@domoticzpi ~ $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Then adding the essid and WEP password;

Code: Select all

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

network={
        ssid="IpodWireless"
        psk="10digitpasswordhere"
}
But if I reboot the wifi;

Code: Select all

pi@domoticzpi ~ $ sudo ifdown wlan0
pi@domoticzpi ~ $ sudo ifup wlan0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
and also;

Code: Select all

pi@domoticzpi ~ $ iwconfig
wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          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.
It won't connect. By some other methods I've managed to get Access Point to change to IpodWireless but even then I'm not being assigned an IP and I can't connect to the internet. What is my issue?

Silversonic
Posts: 34
Joined: Wed Aug 27, 2014 8:42 pm

Re: Using wireless with domoticz?

Sun Dec 28, 2014 4:58 pm

Bump?

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Using wireless with domoticz?

Sun Dec 28, 2014 6:00 pm

Can you also post your /etc/network/interfaces?

Gr
Dirk.

Silversonic
Posts: 34
Joined: Wed Aug 27, 2014 8:42 pm

Re: Using wireless with domoticz?

Sun Dec 28, 2014 9:41 pm

DirkS wrote:Can you also post your /etc/network/interfaces?

Gr
Dirk.

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

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


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

Re: Using wireless with domoticz?

Sun Dec 28, 2014 9:50 pm

Why are you still using WEP it was cracked many years ago and takes about five minutes to open your network?

If you can convert to WPA or WPA2 you will gain some security.

If you insist on using WEP remove the psk line and replace it with a WEP_KEY0 line.
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.

Silversonic
Posts: 34
Joined: Wed Aug 27, 2014 8:42 pm

Re: Using wireless with domoticz?

Sun Dec 28, 2014 10:37 pm

DougieLawson wrote:Why are you still using WEP it was cracked many years ago and takes about five minutes to open your network?

If you can convert to WPA or WPA2 you will gain some security.

If you insist on using WEP remove the psk line and replace it with a WEP_KEY0 line.
I understand WEP sucks, but for the moment I have to make use of it. Thanks for the reply but that didn't seem to work either. Actually "iwlist scan" produces "wlan0: No scan results". (I don't believe there is an issue with the wireless router itself, as my iPhone can connect normally).

Aditionally connecting via wifi with raspian and xbmc distributions is fine, so there doesn't appear to be an issue with my adapter.

I have also done adapter firmware updates for this domoticz distribution, it was already fully updated.

Return to “Beginners”