I'm using a Raspberry Pi 3 running Windows 10 IoT Core. Does anybody know if its possible to add this flavour of OS to a standard Active Directory domain?... And if so, how please?
I appreciate that this wouldn't be a typical use case for such a device, but we are just playing around in the office and I'm trying to make life easier to authenticate against the device.
Many thanks
We just assigned it an IP, then set that as the IP in the Pi.
For example:
Do as outlined here to add as trusted host, http://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm
Then, assuming your IP was 10.10.0.1,
set-executionpolicy remotesigned
import-module NetTCPIP
New-NetIPAddress -InterfaceAlias "Ethernet" –IPAddress 10.10.0.1 -AddressFamily IPv4 –PrefixLength 16 -DefaultGateway 10.10.0.2
Related
I installed MicroStack in Ubuntu for the virtual machine. My instance floating IP is 10.20.20.238. I want to access my instance from Windows cmd,only can ping 172.21.10.13, but can't ping 10.20.20.238,so I want to change the 10.20.20.1 network to my own network. What should I do?enter image description here
Stackoverflow is about code development, not IT management. serverfault.com would be a more appropriate forum, or perhaps superuser.com.
microstack "fakes" the external network. It's not really external, but only exists on br-ex, the external bridge. It doesn't look like you can create a microstack cloud with a different external network CIDR, but you can try adding a subnet to the external network, inserting ens33 in br-ex and adding IP address 172.21.10.13 to br-ex . I have not tried this.
However, if your only requirement is to access the instance from the PC, you can create a tunnel or add a route. What makes sense in your case depends on the virtual machine hypervisor you are using (yours seems to be VMware - I can't comment on that) and the operating system on which this hypervisor runs.
I have a machine controlled by a raspberry pi. For servicing I want to connect the local wifi network. The machine has no controls with which you could enter ssid and password. With a combination of button pushes a connection to the wifi must be made.
In my program I have the following code:
void start_Wps(void) {
if (!fork())
execl("wpa_cli","-i","wlan0","wps_pbc", NULL);
}
If I start my program from a ssh terminal it works most of the time. However when I let my code start from rc.local the rpi never connects to my wifi network.
In case your project shall work in an enterprise environment, can you be sure that WPS is supported on the client’s access points?
Another thing to consider: WPS is in decline. It is not supported e.g. in Android since Android 9, WPA3 security won’t be supported by WPS and its successor has already been presented by Wi-Fi Alliance.
It is called “Wi-Fi Easy Connect” and it basically is a device provisioning protocol that also allows the connection of “headless” device, i.e. without display or input. You could connect your mobile phone to the Wi-Fi network on the customer’s premise, read the QR code that you previously put on your machine and then the phone takes care of connecting the machine to the network.
More detailed information is provided on Wi-Fi Alliance’s website: https://www.wi-fi.org/discover-wi-fi/wi-fi-easy-connect
If you want to make sure that your project is future-proof and will be maintainable for years to come, you might want to look into that.
I'm wondering if it's possible to use Psexec to return a list of connected USB Devices on remote windows 8 computers. Ideal output would be something like this:
USB1: Keyboard
USB2: Barcode Scanner
Obviously the device name would be displayed instead of 'keyboard' ect, is there an easy way to do this? I'm working within a secure environment with hundreds of remote machines, so unable to install any new Microsoft Tools such as Devcon myself.
Any suggestions would be appreciated.
I want to get uImage from windows pc to dm365 based board in uboot boot loader.
Ethernet phy is detected by u-boot.
davinci_eth_phy_detect(), ALIVE = 0x00000002
Ethernet PHY: DP83848 # 0x01
For testing tftp transfer i am disconnecting pc from network and connecting it directly to board.Below configuration i use in the u-boot,
netmask=255.255.255.0
ethaddr=00:0C:0C:0A:FF:EC
ipaddr=192.168.178.156
serverip=192.168.178.129
gatewayip=192.168.178.1
gateway=192.168.178.1
When i ping pc from board ping reports "host is alive"
but i am not able to ping a device from a board.(i dont know if that is required to be done.)
Then i run "tftpd32" on windows pc, i set root/base folder appropriately.
And when i give below command request times out
tftpboot 0x80700000 uImage
When i do same procedure in my colleague's pc, there tftp works fine .
In that pc too ping works one way from board to pc, it doesnt work from pc to board.
I have added tftpd32 utility in allowed program list in windows firewall,
What could be a problem ? any suggestions ??
It was very silly thing which i had missed, When i connect the device to the pc using ethernet cable it was detected as unknown network, and tftpd32 was present in allowed program list in windows firewall but there were three check-boxes for tftpd32(infect for every program there are 3 check-boxes).
1. Domain
2. Home/Work(private)
3. Public
and only 1st one was selected for tftpd32, i checked all three check boxes and it started working :)
It is not that great question to put it on stackoverflow but at times one doesnt find solutions to small problems easily so i am not deleting this question. Hope it helps others too. If anybody feels this is not required to keep on stackoverflow i(or admin) can delete it.
Regards, Ankur
I am attempting to deploy an app to Windows Azure and I am having some trouble figuring out how I can achieve my optimal configuration because of lack of documentation and newness of the Azure infrastructure. I need to have two virtual machines configured (One Linux box and one Windows Server with SQL Server) to communicate with one Web Role Instance. The Web Role should have the only end point accessible from the outside world. It should be able to communicate with SQL Server and the Linux machine (these machines don’t need to communicate with each other). I can achieve this if I open up endpoints on the VM (for example Port 1433 on the Windows machine and the same port in the VM’s firewall), however I am concerned about the security risk of doing this and would rather have the Web Role communicate directly with my virtual machine WITHOUT opening up an endpoint (using the Azure Portal). I have read some examples that refer to deploying the items as a cloud service, but none include a Web Role AND a CUSTOMIZED Virtual Machine. I have seen references made to using a Virtual Network, but no examples. I have looked everywhere for a solution to no success. This seems like a common scenario, so I don’t think it should be this difficult. Am I missing something?
Well you have 2 options here: use Windows Azure Connect or use Virtual Networks. Since you're really trying to make a network of different machines I would suggest to use a Virtual Network (I think this is the most flexible option). And connecting your Virtual Machines to your Cloud Services is pretty easy:
Create a Virtual Network as described here: Create a Virtual Network in Windows Azure
Add your Virtual Machines to that network as described here: Add a Virtual Machine to a Virtual Network
Modify the ServiceConfiguration.cscfg of your cloud service to connect to your Virtual Network. The schema is available on MSDN or you can follow the blog post on Michael Washam's blog.
I marked the answer above as correct, because it does provide the answer especially if you are only creating a virtual network with MS products. What they fail to point out in the majority of their documentation, is that VN functionality is limited for Linux machines while VMs and VNs are in their current preview. However, this does not mean you can't add a Linux VM to a VN. After searching for sometime and piecing information together, Linux machines can be added to an existing VN rather simply by using PowerShell and cmdlets. The following generic script can be run from a PowerShell ISE with your own information in order to create and add a Linux VM in your VN.
$vm = New-AzureVMConfig -Name $vmname -InstanceSize ExtraSmall -ImageName $img |
Add-AzureProvisioningConfig -Linux –LinuxUser $user -Password $pass |
Set-AzureSubnet -SubnetNames $subnet
New-AzureVM -ServiceName $cloudSvcName -AffinityGroup $affinitygroup -VNetName $vnetname -VMs $vm
Hope this helps someone from pulling their hair out.