Re: [beagleboard] Network IP address assignments

2018-12-05 Thread Richard
Many many thanks.
~Richard

On Wednesday, December 5, 2018 at 3:51:04 PM UTC-5, RobertCNelson wrote:
>
> On Wed, Dec 5, 2018 at 2:38 PM Richard > 
> wrote: 
> > 
> > Hi! I'm having difficulty understanding and modifying the BBBW network 
> configuration. 
> > 
> > At boot on the BBBW, somehow, these IP addresses are assigned 
> >   SoftAP0: 192.168.8.1 
>
> /etc/default/bb-wl18xx (changeable) 
>
> >   lo: 127.0.0.1 
> >   usb0: 192.168.7.2 
>
> /etc/network/interfaces, mostly hard-coded now.. 
>
> >   usb1: 192.168.6.2 
>
> hard-coded... /opt/scripts/boot/am335x_evm.sh 
>
> >   wlan0: 192.168.1.xxx 
> > 
> > But I can't figure out where each of these addresses comes from, nor -- 
> more interestingly -- how to change them. If there is a single place where 
> this happens, I've not found it. And if there is any documentation, I've 
> not found it, either. [There's lots of documentation about debian network 
> configuration on the Internet. Pick your favorite, but it may or may not 
> apply to the BBBW. In fact, it probably doesn't.] 
> > 
> > I do know how to use connmanctl (to set wlan0), but it explicitly 
> ignores SoftAP0,  usb0, and  usb1 because of the line 
> >   NetworkInterfaceBlacklist=SoftAp0,usb0,usb1 
> > in /etc/connman/main.conf 
> > 
> > So my questions are: 
> > (a)  How and where is each of these assigned? 
> > (b)  If I want to change one of them permanently, what do I do? 
> > and while asking these questions, here's a related one: 
> > (c)  How can I change the name and password for the BeagleBone- 
> access point that goes with SoftAP0? 
>
> /etc/default/bb-wl18xx 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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/9d3fd48e-59f7-475d-a8fd-528b1b272502%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Network IP address assignments

2018-12-05 Thread Robert Nelson
On Wed, Dec 5, 2018 at 2:38 PM Richard  wrote:
>
> Hi! I'm having difficulty understanding and modifying the BBBW network 
> configuration.
>
> At boot on the BBBW, somehow, these IP addresses are assigned
>   SoftAP0: 192.168.8.1

/etc/default/bb-wl18xx (changeable)

>   lo: 127.0.0.1
>   usb0: 192.168.7.2

/etc/network/interfaces, mostly hard-coded now..

>   usb1: 192.168.6.2

hard-coded... /opt/scripts/boot/am335x_evm.sh

>   wlan0: 192.168.1.xxx
>
> But I can't figure out where each of these addresses comes from, nor -- more 
> interestingly -- how to change them. If there is a single place where this 
> happens, I've not found it. And if there is any documentation, I've not found 
> it, either. [There's lots of documentation about debian network configuration 
> on the Internet. Pick your favorite, but it may or may not apply to the BBBW. 
> In fact, it probably doesn't.]
>
> I do know how to use connmanctl (to set wlan0), but it explicitly ignores 
> SoftAP0,  usb0, and  usb1 because of the line
>   NetworkInterfaceBlacklist=SoftAp0,usb0,usb1
> in /etc/connman/main.conf
>
> So my questions are:
> (a)  How and where is each of these assigned?
> (b)  If I want to change one of them permanently, what do I do?
> and while asking these questions, here's a related one:
> (c)  How can I change the name and password for the BeagleBone- access 
> point that goes with SoftAP0?

/etc/default/bb-wl18xx

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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/CAOCHtYiDfhsu_J9_hsP98L3n%3DQ8cT-9eSuqgFLH8pYVgsx2kyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Network IP address assignments

2018-12-05 Thread Mike Brandon
Sorry, copied and pasted from my application code that is driving the
network configuration...the {0} in NetworkInterfaceBlackist is eth0

Mike

On Wed, Dec 5, 2018 at 3:45 PM Mike Brandon  wrote:

> In my limited experience, I ran into a lot of issues trying to modify the
> network settings as you are running into. I *believe* that the network
> settings are being controlled by conman. So I added to /
> etc/connman/main.conf the following:
>
> NetworkInterfaceBlacklist=SoftAp0,usb0,usb1,{0},can0,can1
>
> Then I was able to control network settings as expected in 
> /etc/network/interfacesalthough I did end up installing dhcpcd and am now 
> utilizing that to control my network although I don't think I have worked out 
> all of the kinks. BTW I am running Debian 8.7 IoT image.
>
>
> Mike
>
>
>
>
> On Wed, Dec 5, 2018 at 3:38 PM Richard  wrote:
>
>> Hi! I'm having difficulty understanding and modifying the BBBW network
>> configuration.
>>
>> At boot on the BBBW, somehow, these IP addresses are assigned
>>   SoftAP0: 192.168.8.1
>>   lo: 127.0.0.1
>>   usb0: 192.168.7.2
>>   usb1: 192.168.6.2
>>   wlan0: 192.168.1.xxx
>>
>> But I can't figure out where each of these addresses comes from, nor --
>> more interestingly -- how to change them. If there is a single place where
>> this happens, I've not found it. And if there is any documentation, I've
>> not found it, either. [There's lots of documentation about debian network
>> configuration on the Internet. Pick your favorite, but it may or may not
>> apply to the BBBW. In fact, it probably doesn't.]
>>
>> I do know how to use connmanctl (to set wlan0), but it explicitly ignores
>> SoftAP0,  usb0, and  usb1 because of the line
>>   NetworkInterfaceBlacklist=SoftAp0,usb0,usb1
>> in /etc/connman/main.conf
>>
>> So my questions are:
>> (a)  How and where is each of these assigned?
>> (b)  If I want to change one of them permanently, what do I do?
>> and while asking these questions, here's a related one:
>> (c)  How can I change the name and password for the BeagleBone-
>> access point that goes with SoftAP0?
>>
>> These questions arose from my concern about having two BBBWs on the same
>> computer or even just the same LAN: how do I make sure that they don't use
>> the same IP address?
>>
>> Version info:
>> Debian 9.6 stretch
>> Linux beaglebone 4.14.67-ti-r73 #1 SMP PREEMPT Thu Aug 30 00:08:52
>> UTC 2018 armv7l GNU/Linux
>> BeagleBoard.org Debian Image 2018-08-30
>>
>> Many thanks,
>> Richard
>>
>> --
>> 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/7a46cb3b-e237-4022-af10-69ea85b4c7dc%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/CAEDwv9wvFUa_ku3%2BtY_%2BMOhjiCxZ5QLAF%3DX0oxLhQRt6EtRrag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Network IP address assignments

2018-12-05 Thread Mike Brandon
In my limited experience, I ran into a lot of issues trying to modify the
network settings as you are running into. I *believe* that the network
settings are being controlled by conman. So I added to /
etc/connman/main.conf the following:

NetworkInterfaceBlacklist=SoftAp0,usb0,usb1,{0},can0,can1

Then I was able to control network settings as expected in
/etc/network/interfacesalthough I did end up installing dhcpcd and
am now utilizing that to control my network although I don't think I
have worked out all of the kinks. BTW I am running Debian 8.7 IoT
image.


Mike




On Wed, Dec 5, 2018 at 3:38 PM Richard  wrote:

> Hi! I'm having difficulty understanding and modifying the BBBW network
> configuration.
>
> At boot on the BBBW, somehow, these IP addresses are assigned
>   SoftAP0: 192.168.8.1
>   lo: 127.0.0.1
>   usb0: 192.168.7.2
>   usb1: 192.168.6.2
>   wlan0: 192.168.1.xxx
>
> But I can't figure out where each of these addresses comes from, nor --
> more interestingly -- how to change them. If there is a single place where
> this happens, I've not found it. And if there is any documentation, I've
> not found it, either. [There's lots of documentation about debian network
> configuration on the Internet. Pick your favorite, but it may or may not
> apply to the BBBW. In fact, it probably doesn't.]
>
> I do know how to use connmanctl (to set wlan0), but it explicitly ignores
> SoftAP0,  usb0, and  usb1 because of the line
>   NetworkInterfaceBlacklist=SoftAp0,usb0,usb1
> in /etc/connman/main.conf
>
> So my questions are:
> (a)  How and where is each of these assigned?
> (b)  If I want to change one of them permanently, what do I do?
> and while asking these questions, here's a related one:
> (c)  How can I change the name and password for the BeagleBone- access
> point that goes with SoftAP0?
>
> These questions arose from my concern about having two BBBWs on the same
> computer or even just the same LAN: how do I make sure that they don't use
> the same IP address?
>
> Version info:
> Debian 9.6 stretch
> Linux beaglebone 4.14.67-ti-r73 #1 SMP PREEMPT Thu Aug 30 00:08:52 UTC
> 2018 armv7l GNU/Linux
> BeagleBoard.org Debian Image 2018-08-30
>
> Many thanks,
> Richard
>
> --
> 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/7a46cb3b-e237-4022-af10-69ea85b4c7dc%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEDwv9xUdzSRJBxcNiy6U4KMtHs5Caa%2BR_1J-Xa9wn8Qfiv9ZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Network IP address assignments

2018-12-05 Thread Richard
Hi! I'm having difficulty understanding and modifying the BBBW network 
configuration.

At boot on the BBBW, somehow, these IP addresses are assigned
  SoftAP0: 192.168.8.1
  lo: 127.0.0.1
  usb0: 192.168.7.2
  usb1: 192.168.6.2
  wlan0: 192.168.1.xxx

But I can't figure out where each of these addresses comes from, nor -- 
more interestingly -- how to change them. If there is a single place where 
this happens, I've not found it. And if there is any documentation, I've 
not found it, either. [There's lots of documentation about debian network 
configuration on the Internet. Pick your favorite, but it may or may not 
apply to the BBBW. In fact, it probably doesn't.]

I do know how to use connmanctl (to set wlan0), but it explicitly ignores 
SoftAP0,  usb0, and  usb1 because of the line
  NetworkInterfaceBlacklist=SoftAp0,usb0,usb1
in /etc/connman/main.conf

So my questions are:
(a)  How and where is each of these assigned?
(b)  If I want to change one of them permanently, what do I do?
and while asking these questions, here's a related one:
(c)  How can I change the name and password for the BeagleBone- access 
point that goes with SoftAP0?

These questions arose from my concern about having two BBBWs on the same 
computer or even just the same LAN: how do I make sure that they don't use 
the same IP address?

Version info:
Debian 9.6 stretch
Linux beaglebone 4.14.67-ti-r73 #1 SMP PREEMPT Thu Aug 30 00:08:52 UTC 
2018 armv7l GNU/Linux
BeagleBoard.org Debian Image 2018-08-30

Many thanks,
Richard

-- 
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/7a46cb3b-e237-4022-af10-69ea85b4c7dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.