Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Kura on Raspbian 2 with WLAN and HTTPS

Hi Ilya ,

 

Thanks for your fast reply!!

 

Packages are installed…!

 

Wlan Setup:

auto wlan0

allow-hotplug wlan0

iface wlan0 inet dhcp

wpa-ssid "pulse"

wpa-psk "password"

 

 

pi@maximo_mmitogateway ~ $ lsusb

Bus 001 Device 006: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

Bus 001 Device 005: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse

Bus 001 Device 004: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

pi@maximo_mmitogateway ~ $ ifconfig wlan0

wlan0     Link encap:Ethernet  Hardware Adresse 74:da:38:5e:03:18

          inet6-Adresse: fe80::d118:522c:1e45:b30c/64 Gültigkeitsbereich:Verbindung

          UP BROADCAST MULTICAST  MTU:1500  Metrik:1

          RX packets:0 errors:0 dropped:893 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          Kollisionen:0 Sendewarteschlangenlänge:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

pi@maximo_mmitogateway ~ $ iw dev wlan0 info

command failed: No such device (-19)

 

pi@maximo_mmitogateway ~ $ iwconfig wlan0

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

 

 

 

Mit freundlichen Grüßen / Best regards


Christian Voller-Niederl

Maintenance System Manager

Maintenance System


Mayr-Melnhof Karton Gesellschaft m.b.H.
Wannersdorf 80, 8130 Frohnleiten, Austria
Tel: +43 3126 2511 538      

Fax: +43 3126 2511 101

E-Mail: christian.voller-niederl@xxxxxxxxxxxxx
Homepage: www.mm-karton.com

 

------------------------------------------------------------------------------

Mayr-Melnhof Karton Gesellschaft m.b.H.

Sitz der Gesellschaft:  Frohnleiten

Handelsregister  Graz: FN 62874m

UID-Nr:  ATU 37002202

Geschäftsführer: Dr. Wilhelm Hörmanseder, Mag. Gernot Schleiss

 

Diese E-Mail enthält keine verbindlichen Erklärungen. Ausschließlich Erklärungen der vertretungsbefugten Personen der Gesellschaft sind verbindlich und wirksam.

                       

This e-mail does not include any binding declarations. Only declarations by authorized representatives of the company shall be deemed legally enforceable and binding.

    

Von: kura-dev-bounces@xxxxxxxxxxx [mailto:kura-dev-bounces@xxxxxxxxxxx] Im Auftrag von Binshtok, Ilya
Gesendet: Donnerstag, 17. Dezember 2015 23:54
An: kura-dev-request@xxxxxxxxxxx; kura-dev@xxxxxxxxxxx
Betreff: Re: [kura-dev] Kura on Raspbian 2 with WLAN and HTTPS

 

Hi Christian,

 

I tried Edimax USB dongle on my Raspberry Pi 2 and it works. Here is what I am getting:

 

1. Use lsusb to see if Wifi stick is detected as USB device:

 

root@eurotech-pi:/home/pi# lsusb
Bus 001 Device 006: ID 7392:7318 Edimax Technology Co., Ltd
Bus 001 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 001 Device 004: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

2. Check if wlan0 interface is there:

 

root@eurotech-pi:/home/pi# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:1f:1f:55:62:12  
          inet addr:172.16.1.1  Bcast:172.16.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:1fff:fe55:6212/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:8260 (8.0 KiB)

 

3. Check WiFi mode. Note that Kura switched wifi to the Access Point mode by default.

 

root@eurotech-pi:/home/pi# iw dev wlan0 info
Interface wlan0
    ifindex 3
    wdev 0x1
    addr 00:1f:1f:55:62:12
    ssid kura_gateway_B8:27:EB:64:95:23
    type AP
    wiphy 0
    channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz

 

or

 

root@eurotech-pi:/home/pi# iwconfig wlan0
wlan0     IEEE 802.11bg  Mode:Master  Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

Please let me know what responses to above commands are you getting ...

 

Also, note that for Kura to run properly, the following packages must be installed:

sudo apt-get install telnet
sudo apt-get install dos2unix
sudo apt-get install ethtool
sudo apt-get install iw
sudo apt-get install bind9
sudo apt-get install hostapd
sudo apt-get install openvpn
sudo apt-get install isc-dhcp-server

Best regards,

 

Ilya

 

Ilya Binshtok
Engineer – Eurotech North America

direct:    +1 913.549.1000 x224
email:   
ilya.binshtok@xxxxxxxxxxxx


EUROTECH

Imagine. Build. Succeed.

USA – 12721 Metcalf Ave STE 102 | Overland Park Kansas 66085 | Tel. +1 913.549.1000 | Fax +1 913.549.1001 |
www.eurotech.com

 


From: kura-dev-bounces@xxxxxxxxxxx <kura-dev-bounces@xxxxxxxxxxx> on behalf of Voller-Niederl Christian <christian.voller-niederl@xxxxxxxxxxxxx>
Sent: Thursday, December 17, 2015 12:40 AM
To: kura-dev-request@xxxxxxxxxxx; kura-dev@xxxxxxxxxxx
Subject: [kura-dev] Kura on Raspbian 2 with WLAN and HTTPS

 

Hi,

 

I want to use Kura in a big IoT Project in our Mill (Condition Monitoring).

Therefore we are planning to use Raspbian 2 with Kura as a Gateway.

 

On big point is to read sensors from places difficult to access so we need WLAN!!!

Using USB WLAN Sticks Edimax does not work…!!!

 

Can I also configure Kura WebUI only for HTTPS? How is this possible?

 

Thanks a lot.

 

Mit freundlichen Grüßen / Best regards


Christian Voller-Niederl

Maintenance System Manager

Maintenance System


Mayr-Melnhof Karton Gesellschaft m.b.H.
Wannersdorf 80, 8130 Frohnleiten, Austria
Tel: +43 3126 2511 538      

Fax: +43 3126 2511 101

E-Mail: christian.voller-niederl@xxxxxxxxxxxxx
Homepage: www.mm-karton.com

 

------------------------------------------------------------------------------

Mayr-Melnhof Karton Gesellschaft m.b.H.

Sitz der Gesellschaft:  Frohnleiten

Handelsregister  Graz: FN 62874m

UID-Nr:  ATU 37002202

Geschäftsführer: Dr. Wilhelm Hörmanseder, Mag. Gernot Schleiss

 

Diese E-Mail enthält keine verbindlichen Erklärungen. Ausschließlich Erklärungen der vertretungsbefugten Personen der Gesellschaft sind verbindlich und wirksam.

                       

This e-mail does not include any binding declarations. Only declarations by authorized representatives of the company shall be deemed legally enforceable and binding.

    

 

Classified as MM Internal / MM Project


Back to the top