Hallo everyone,

My BBB seems NOT to be able to assign network properties at startup.

Linux version 4.4.23-ti-r51 (root@a2-imx6q-wandboard-2gb) (gcc version 
4.9.2 (Debian 4.9.2-10) ) #1 SMP Mon Oct 3 22:56:05 UTC 2016
IMG: BBB-eMMC-flasher-debian-8.6-console-armhf-2016-10-06-2gb

My configuration (i have deactivated renaming over 
udev/rules.d/70-persistent-net.rules)

#auto wlxe46f13296891
#iface wlxe46f13296891 inet static
auto wlan0
iface wlan0 inet static
    address 192.168.4.1
    network 192.168.4.0
    netmask 255.255.255.0
    broadcast 192.168.4.255
    hostapd /etc/hostapd/hostapd.conf

    
When restarting network service it works successfully: ifconfig

~~~~

wlan0     Link encap:Ethernet  HWaddr e4:6f:13:29:68:91
          inet addr:192.168.4.1  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST DYNAMIC  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)


According to journalctl WLAN stick is found correctly by kernel


~~~
May 21 22:31:30 arm kernel: usb 1-1: new high-speed USB device number 2 
using musb-hdrc
May 21 22:31:30 arm kernel: usb 1-1: New USB device found, idVendor=2001, 
idProduct=3308
May 21 22:31:30 arm kernel: usb 1-1: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
May 21 22:31:30 arm kernel: usb 1-1: Product: 802.11n WLAN Adapter
May 21 22:31:30 arm kernel: usb 1-1: Manufacturer: Realtek
May 21 22:31:30 arm kernel: usb 1-1: SerialNumber: 00e04c000001
~~~

Then systemd ist starting everything else and when its about to start the 
network interfaces 

~~~          
Oct 25 09:12:25 arm ifup[582]: Cannot find device "wlan0"
Oct 25 09:12:25 arm ifup[582]: Failed to bring up wlan0.
Oct 25 09:12:25 arm systemd[1]: Starting LSB: Start busybox udhcpd at boot 
time...
Oct 25 09:12:25 arm systemd[1]: Starting LSB: oFono Mobile Telephony 
Daemon...
Oct 25 09:12:26 arm systemd[1]: Started BB WL18xx wlan0 Service.
~~~~

Oct 25 09:12:36 arm kernel: omap_rng 48310000.rng: OMAP Random Number 
Generator ver. 20
Oct 25 09:12:37 arm kernel: rtl8192cu: Chip version 0x10
Oct 25 09:12:37 arm kernel: omap-aes 53500000.aes: OMAP AES hw accel rev: 
3.2
Oct 25 09:12:37 arm kernel: omap-sham 53100000.sham: hw accel on OMAP rev 
4.3
Oct 25 09:12:38 arm kernel: rtl8192cu: MAC address: e4:6f:13:29:68:91
Oct 25 09:12:38 arm kernel: rtl8192cu: Board Type 0
Oct 25 09:12:38 arm kernel: rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 
1
Oct 25 09:12:38 arm kernel: rtl8192cu: Loading firmware 
rtlwifi/rtl8192cufw_TMSC.bin
Oct 25 09:12:38 arm kernel: ieee80211 phy0: Selected rate control algorithm 
'rtl_rc'
Oct 25 09:12:38 arm connmand[799]: wlan0 {create} index 4 type 1 <ETHER>
Oct 25 09:12:38 arm connmand[799]: wlan0 {update} flags 4098 <DOWN>
Oct 25 09:12:38 arm connmand[799]: wlan0 {newlink} index 4 address 
E4:6F:13:29:68:91 mtu 1500
Oct 25 09:12:38 arm kernel: usbcore: registered new interface driver 
rtl8192cu
Oct 25 09:12:38 arm connmand[799]: wlan0 {newlink} index 4 operstate 2 
<DOWN>
Oct 25 09:12:38 arm connmand[799]: Adding interface wlan0 [ wifi ]
~~~~~~
Oct 25 09:12:40 arm kernel: rtl8192cu: MAC auto ON okay!
Oct 25 09:12:40 arm kernel: rtl8192cu: Tx queue select: 0x05
Oct 25 09:12:41 arm kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not 
ready
Oct 25 09:12:41 arm systemd-udevd[605]: Process '/sbin/crda' failed with 
exit code 249.
Oct 25 09:12:41 arm connmand[799]: wlan0 {update} flags 36931 <UP,RUNNING>
Oct 25 09:12:41 arm connmand[799]: wlan0 {newlink} index 4 address 
E4:6F:13:29:68:91 mtu 1500
Oct 25 09:12:41 arm connmand[799]: wlan0 {newlink} index 4 operstate 0 
<UNKNOWN>
Oct 25 09:12:41 arm connmand[799]: wlan0 {update} flags 36867 <UP>
Oct 25 09:12:41 arm connmand[799]: wlan0 {newlink} index 4 address 
E4:6F:13:29:68:91 mtu 1500
Oct 25 09:12:41 arm connmand[799]: wlan0 {newlink} index 4 operstate 2 
<DOWN>
Oct 25 09:12:41 arm connmand[799]: wlan0 {newlink} index 4 address 
E4:6F:13:29:68:91 mtu 1500
Oct 25 09:12:41 arm connmand[799]: wlan0 {newlink} index 4 operstate 2 
<DOWN>
~~~
Oct 25 09:27:49 arm systemd[1]: Starting Raise network interfaces...
Oct 25 09:27:49 arm connmand[799]: wlan0 {add} address 192.168.4.1/24 label 
wlan0 family 2
Oct 25 09:27:49 arm avahi-daemon[744]: Joining mDNS multicast group on 
interface wlan0.IPv4 with address 192.168.4.1.
Oct 25 09:27:49 arm connmand[799]: wlan0 {add} route 192.168.4.0 gw 0.0.0.0 
scope 253 <LINK>
Oct 25 09:27:49 arm avahi-daemon[744]: New relevant interface wlan0.IPv4 
for mDNS.
Oct 25 09:27:49 arm avahi-daemon[744]: Registering new address record for 
192.168.4.1 on wlan0.IPv4.


It somehow seems that i have to use connman for configuration, or is it 
still possible to configure it that way?
How can i configure connman correctly or where can i find a good source for 
information about connman.
google wasn't enough friend of my to find me a good source of complete ...


Thank you
Oswald

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a54fd5d5-31c6-4f90-a966-9fce144a34ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to