Boot Up

Linux kernel version 3.10.98-yocto-standard (jenkins@ostro-worker-20) #1 SMP PREEMPT Fri Apr 29 15:11:6
Building boot_params at 0x00090000
Loading bzImage at address 00100000 (5281264 bytes)
...
...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ostro OS 1.0~snapshot-20160428 edison ttyMFD2

edison login: root (automatic login)

Last login: Thu Apr 28 00:41:36 UTC 2016 on tty1
************************************
*** This is a development image! ***
*** Do not use in production.    ***
************************************
root@edison:~#
root@edison:~# uname -a 
Linux edison 3.10.98-yocto-standard #1 SMP PREEMPT Fri Apr 29 15:11:11 UTC 2016 i686 GNU/Linux
root@edison:~#

Manual Configuration

Configuring an IP Address in the Ostro™ OS

root@edison:~# connmanctl
connmanctl> enable wifi
Enabled wifi
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
                         wifi_784b87a53a73_hidden_managed_none
    INFINITUMfjph        wifi_784b87a53a73_494e46494e4954554d666a7068_managed_psk
    17057Abril           wifi_784b87a53a73_3137303537416272696c_managed_psk
    INFINITUM8240C7      wifi_784b87a53a73_494e46494e4954554d383234304337_managed_psk
    CACUNAT              wifi_784b87a53a73_434143554e4154_managed_wep
connmanctl> agent on
Agent registered
connmanctl> connect wifi_784b87a53a73_494e46494e4954554d666a7068_managed_psk
Agent RequestInput wifi_784b87a53a73_494e46494e4954554d666a7068_managed_psk
  Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
  WPS = [ Type=wpspin, Requirement=alternate ]
Passphrase? 
Connected wifi_784b87a53a73_494e46494e4954554d666a7068_managed_psk
connmanctl> exit

Configuration File

root@edison:~# connmanctl
connmanctl> enable wifi
connmanctl> exit
root@edison:~# vi /var/lib/connman/hotspot.config
[global]
Name = EmployeeHotspot
Description = Employee hotspot

[service_peap]
Type = wifi
Name = EmployeeHotspot
EAP = peap
Phase2 = MSCHAPV2
Identity = <username>
Passphrase = <contasena>
`

Check Ip Address

root@edison:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%3220015836/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:453 errors:0 dropped:0 overruns:0 frame:0
          TX packets:453 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:32294 (31.5 KiB)  TX bytes:32294 (31.5 KiB)

wlan0     Link encap:Ethernet  HWaddr 78:4B:87:A5:3A:73  
          inet addr:192.168.1.69  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::7a4b:87ff:fea5:3a73%3220015836/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3365 (3.2 KiB)  TX bytes:6236 (6.0 KiB)

root@edison:~#

Ping Google

root@edison:~# ping google.com
PING google.com (216.58.193.46): 56 data bytes
64 bytes from 216.58.193.46: seq=0 ttl=58 time=445.769 ms
64 bytes from 216.58.193.46: seq=1 ttl=58 time=932.851 ms
64 bytes from 216.58.193.46: seq=2 ttl=58 time=1467.134 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 3 packets received, 25% packet loss
round-trip min/avg/max = 445.769/948.584/1467.134 ms
root@edison:~#
root@edison:~# vi /etc/resolv.conf
# Generated by Connection Manager
nameserver 127.0.0.1
nameserver ::1
root@edison:~#
root@edison:~# iptables-save > /home/root/firewall.rules
root@edison:~# iptables -F
root@edison:~# iptables -X
root@edison:~# iptables -t nat -F
root@edison:~# iptables -t nat -X
root@edison:~# iptables -t mangle -F
root@edison:~# iptables -t mangle -X
root@edison:~# iptables -P INPUT ACCEPT
root@edison:~# iptables -P OUTPUT ACCEPT     
root@edison:~# iptables -P FORWARD ACCEPT    
root@edison:~# iptables-restore < /home/root/firewall.rules

Last updated