Windows error 0xFFFFFFFF, -1

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginCustomer

This code was defined by a third party software company, and may mean different things for different software. Contact the software author for more information about this error.

NTSTATUStrue
Reserved (X)true
FacilityCode4095 (0xfff)
Error Code65535 (0xffff)

Questions

45votes
10answers

Remove padding in Flutter Container > FlatButton

I am looking to remove the default margin of the FlatButton but can't seem to set/override it. buttons with padding [https://i.stack.imgur.com/auKR7.png] Column(children: <Widget>[ Container( children: [ FractionallySizedBox( widthFactor: 0.6, child: FlatButton( color: Color(0xFF00A0BE), textColor: Color(0xFFFFFFFF), child: Text('LOGIN', style: TextStyle(letterSpacing: 4.0)), shape: RoundedRectangleBorder(side: BorderSide.none)))), Container( margin: const EdgeInsets.only(top: 0.0), child: FractionallySizedBox( [...] read more
flutter
21votes
1answer

Setting up a Bluetooth PAN

I am trying to create a Bluetooth PAN between two devices where I can access REST based web services over the Bluetooth connection. I have had some success with various proof of concepts (both Bluetooth legacy and Bluetooth Smart) but I am having problems trying to create a Group network [...] read more
linux
networking
wireless-networking
bluetooth
pan
13votes
1answer

Can return throw an exception?

While playing with C# I found that following snippet: public int F() { try { return 0; } catch (Exception) { return -1; } } This generates the following asm: Program.F() L0000: push ebp L0001: mov ebp, esp L0003: push esi L0004: sub esp, 0x14 L0007: xor eax, eax L0009: [...] read more
c#
assembly
try-catch
x86-64
9votes
2answers

Strongswan (IKEv2) connection established, but no traffic routing

I've seen this sort of question posted a few times before, but so far, none of them have solved my issue. I'm trying to set up an IKEv2 VPN on my Ubuntu Server to use with my Windows Phone using Strongswan. The connection seems to be set up correctly, but [...] read more
ubuntu
ipsec
strongswan
vpn
9votes
1answer

Cisco ASA Site-to-Site VPN Dropping

I have three sites, Toronto (1.1.1.1), Mississauga (2.2.2.2) and San Francisco (3.3.3.3). All three sites have ASA 5520. All the sites are connected together with two site-to-site VPN links between each other location. My issue is that the tunnel between Toronto and San Francisco is very unstable, dropping every 40 [...] read more
cisco
cisco-asa
cisco-vpn
9votes
5answers

How to dump memory to a file in gdb (osx)? Need to rescue my work

I need to know how I can dump memory in Safari.app, to a file. I've entered gdb attach 6741 (my safari PID). Now what? I tried searching for help on gdb on google, but I couldn't find anything that told me what to do, even when searching for "how to [...] read more
macos
gdb
8votes
3answers

SQL Server 2012 with account NT Service\MSSQLSERVER access is denied in domain

A few months ago we installed SQL Server 2012 in Windows 2008 R2 under the virtual account "NT Service\MSSQLSERVER", all good. A few days ago, one of the admins of the IT dept installed Full Text Search component to the SQL Server 2012 (the problem is he could not recall [...] read more
sql-server
sql-server-2008
domain
permissions
8votes
3answers

Corrupted NTFS Drive showing multiple unallocated partitions

My external hdd with a single NTFS partition was accidentaly plugged out (kids!)... and is now corrupted. Iv tried running ntfsfix - with no luck - output below.. When I look at the disk under disk management in Windows 7 it shows up as having 5 partitions 2 of which [...] read more
external-hard-drive
ntfs
filesystem-corruption
7votes
2answers

ASP.NET Core 3.0 Identity Server 4 (4.0.0) SecurityTokenInvalidAudienceException: IDX10214: Audience validation failed. Audiences: 'empty'

I keep getting the following error between postman and IdentityServer 4 Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10214: Audience validation failed. Audiences: 'empty'. Did not match: validationParameters.ValidAudience: 'MyNumberV2Api' or validationParameters.ValidAudiences: 'null'. at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, [...] read more
identityserver4
asp.net-core-3.0
7votes
3answers

Disable IPv6 Loopback on Windows 7 64 Bit

I have a Windows 7 64 Bit machine, and I cannot find a way to disable the IPv6 Loopback. I looked at the article at How to disable IP version 6 or its specific components in Windows and shows how to set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents to various values – but none of [...] read more
windows-7
networking
6votes
1answer

FreeBSD IP aliases in different subnets and default outgoing IP address

I have a FreeBSD VPS that until recently had assigned 3 public ip addresses in a /29 subnet. When making outgoing connections, the IP address used was always the non aliased one ".20", however now I have added another block of 3 ip addresses in a different /29 subnet and [...] read more
networking
freebsd
ip-aliasing
5votes
3answers

how to golang check a variable is nil

my code is like this, when I use req, _ := http.NewRequest("GET", "http://www.github.com", content), it will emit exception: panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0xffffffff addr=0x0 pc=0xaab78] goroutine 1 [running]: net/http.NewRequest(0x34f3b8, 0x3, 0x378020, 0x15, 0xfeec4350, 0x0, 0x10738801, 0x0, 0x0, 0x107000e0) /usr/local/go/src/net/http/request.go:570 +0x498 main.main() /tmp/sandbox056954284/main.go:17 [...] read more
go
5votes
1answer

Enable TLS 1.2 in Windows Server 2012 running Exchange 2013 via IIS 8.0

I got some issues getting the TLS 1.2 protocol running on one of our Windows Server 2012 machines. I checked this using ssllabs.com by Qualys and also tested with a powershell script and the linux tool "cipherscan". The server hosts one Exchange 2013 SP1 (CU4) Server, with IIS 8.0. The [...] read more
windows-server-2012
tls
exchange-2013
5votes
1answer

My two-way trust with selective auth seems to behave opposite to a one-way trust

I'm not sure why I'm the only one running into this, I think it's a larger problem with Server 2012 and RDS protocols... With 2008 machines, you can use utilize a one way trust to authenticate across domains with the TSGateway service, but with 2012 it breaks when running across [...] read more
authentication
windows-server-2012-r2
active-directory
5votes
3answers

How to limit ZFS writes on NVME SSD in RAID1 to avoid rapid disk wear?

Currently I'm running Proxmox 5.3-7 on ZFS with few idling debian virtual machines. I'm using two SSDPE2MX450G7 NVME drives in RAID 1. After 245 days of running this setup the S.M.A.R.T values are terrible. SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff) Critical Warning: 0x00 Temperature: 27 Celsius Available Spare: 98% [...] read more
zfs
ssd
proxmox
nvme
5votes
2answers

How to debug ip xfrm rules

I created ip xfrm rules on 2 machine and trying to pass traffic through the ipsec tunnel. The packet comes into the other end, encrypted, and disappears. I traced them through iptables, and here is the trace. 2015-11-27T14:50:21.442638+04:30 cfae kernel: [70234.667488] TRACE: raw:PREROUTING:policy:2 IN=eth0 OUT= MAC=00:0c:29:b7:97:49:00:0c:29:42:5b:e1:08:00 SRC=172.24.1.178 DST=10.60.60.31 LEN=128 TOS=0x00 [...] read more
ipsec
5votes
2answers

OpenVPN connection works but no gateway is assigned

i try to setup openvpn on a vps and I'm able to establish a connection to the server, but the gateway isn't assigned to the client. Here are my config files: client config: client dev tun proto udp remote foo.bar 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert client1.crt [...] read more
vpn
configuration
openvpn
gateway
open
5votes
1answer

firewall-cmd - add-forward-port don't work

I have a KVM server (host) with multiple virtual machines (guests). My goal is my host forward port 222 to port 22 of a guest running an ssh service. This works... iptables -I OUTPUT -d 0.0.0.0/0 -j ACCEPT iptables -I FORWARD -d 0.0.0.0/0 -j ACCEPT iptables -I INPUT -d 0.0.0.0/0 [...] read more
firewall
port-forwarding
iptables
forwarding
firewalld
5votes
1answer

What does the "-->" notation mean in the output of ifconfig?

I have a VPN connection set up on my OS X machine, and when I run ifconfig in the terminal I get the following response: utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 10.8.0.6 --> 10.8.0.5 netmask 0xffffffff Can someone help me understand what the --> symbol means? read more
networking
vpn
ifconfig
4votes
2answers

Convert 4 bytes to an unsigned 32-bit integer and storing it in a long

I'm trying to read a binary file in Java. I need methods to read unsigned 8-bit values, unsigned 16-bit value and unsigned 32-bit values. What would be the best (fastest, nicest looking code) to do this? I've done this in c++ and did something like this: uint8_t *buffer; uint32_t value [...] read more
java
bit-manipulation
4votes
0answers

gprof producing no output for a program that takes reasonable time to execute

I know that similar questions have been asked before, but: 1. In regards to gprof produces empty output I am using GCC 10.2.0 from MSYS2 on Windows 10, i.e. it's a MingW64 distribution. I have also added -no-pie to the linker arguments with no results still. The version of GNU [...] read more
gcc
mingw-w64
mingw32
msys2
gprof
4votes
0answers

Block incoming traffic in bonding mode when primary interface is down

My server running on latest kernel (4.4.6) has configured a bond device (bond0) with two enslaved interfaces eth0, wlan0 with primary interface eth0. cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: fault-tolerance (active-backup) Primary Slave: eth0 (primary_reselect always) Currently Active Slave: wlan0 MII Status: up MII [...] read more
linux
iptables
firewall
bonding
4votes
0answers

Issue installing IE11

I've been using WSUS to roll out IE11, there's a few stranglers that IE11 will not install and I've started looking into. Here's what I've done. 1. Confirmed all prerequisite updates have been done. 2. I'm using the x64 bit package of ie11 and only using x64 servers and workstations. [...] read more
windows-server-2008-r2
windows-7
wsus
internet-explorer-11
4votes
1answer

System Account Logon Failures every 30 seconds

We have two Windows 2008 R2 SP1 servers running in a SQL failover cluster. On one of them we are getting the following events in the security log every 30 seconds. The parts that are blank are actually blank. Has anyone seen similar issues, or assist in tracking down the [...] read more
windows-server-2008
security
windows-event-log
failovercluster
4votes
1answer

What can trigger a SIGPWR signal that interrupts a 'sendmsg' system call?

On a RHEL 6 host, I have a Cassandra server listening for TCP connections on localhost. In parallel, I have a client application that sends it requests. The client (C# Mono) uses sendmsg to send the serialized bytes. I consistently see the sendmsg return without having sent all requested bytes. [...] read more
linux
redhat-enterprise-linux
tcp
strace
system-calls
4votes
0answers

Direct3D crashes dxdiag in 32-bit but works fine in 64-bit mode

DxDiag crashes when I open it unless I bypass Direct3D. It works fine in 64-bit mode. I have a NVIDIA GeForce GT 525M, and I've tried updating (also uninstalling, reinstalling) my drivers. I've also tried doing the same with DirectX. How can I enable Direct3D for 32-bit? I've tried enabling [...] read more
windows-7
directx
direct3d
4votes
2answers

How to use openvpn for browsing

I'm just starting out with VPN and OpenVPN. What I understand is that I when I have a vpn connection, it's like I'm on the same network as the server. Then I should be able to connect to the server via the local address (10.8.x.x). Next to that I should [...] read more
debian
vpn
openvpn
tunnel
bridged
4votes
2answers

Is my mac hacked? Found weird things

I apologize for posting in length, but I thought being complete would be of more value: 20120822, my browser was not resolving a domain so I went into my terminal to check and lo-and-behold! I find these crazy commands remnant: mac-mini$ su Password: sh-3.2# sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts Mar 22 23:07:08 [...] read more
mac-mini
logmein
4votes
1answer

disabling ipv6 on windows 7 64bit

not sure what i am missing here.. every website suggests creating this reg key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents as DWORD and setting its value to 0xFFFFFFFF i've done this, but when i reboot, my NIC adapter still shows IPV6 enabled. since i have 64bit version, i also tried setting this value as QWORD. [...] read more
windows-7
ipv6
3votes
1answer

Failed to launch debug adapter, when starting Docker-compose in Visual Studio 2019?

I have a Visual Studio solution in which I want to run various API microservices. Each microservice has the required Dockerfiles individually. I want to run the project using docker-compose, so I added container orchestration support. I also modified the necessary things in the docker-compose.yml and override files. I then [...] read more
visual-studio
docker
api
docker-compose
containers
3votes
1answer

Packets not entering FORWARD chain

first of all, this is not an every-day routing issue. The setup is fairly complex, so let me state it before. I got a router with, lets keep it simple, 3 interfaces. eth0, eth1, eth2. eth2 is used for pppoe. eth0 & eth1 have the clients. Okay so far so [...] read more
networking
iptables
routing
policy-routing
3votes
3answers

Linus/ext4/nvme crashes during high io

During mvn compilation, I have random crashes. The problem seems related to high IO and in kern.log, I can see things like: kernel: [158430.895045] nvme nvme1: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0x10 kernel: [158430.951331] blk_update_request: I/O error, dev nvme0n1, sector 819134096 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class [...] read more
linux
ssd
ext4
io
nvme
3votes
1answer

What's the largest possible Logical Cluster Number (LCN) on an NTFS volume?

By spec, NTFS partitions can have up to 263 - 1 logical clusters. But when I tried to calculate what size drive I'd need to test values greater than 32bits, I ran into a problem. Doing the math, a 4k cluster size with 0xFFFFFFFF + 1 clusters results in 17,592,186,044,416 [...] read more
ntfs
3votes
2answers

How to limit speed for every device per MAC address in the gateway via Linux command "tc"?

I have a gateway whose OS is Linux.Assume my downlink bandwidth is 100 Mbps. I want to limit the max download speed to 1Mbps for every device which uses this gateway.In other words, if there are 100 devices, every device can get 1 Mbps bandwidth in theory.I tried doing traffic [...] read more
tc
3votes
0answers

FreeBSD major update broke vpnc connectivity, incoming ESP traffic doesn't appear unencrypted on interfaces

I updated a FreeBSD box from 10.4 to 11.2-RELEASE-p4 recently and it seems to have broken the vpnc VPN connectivity. Here's the vpnc.conf: IPSec gateway 10.1.0.1 IPSec ID vpnuser IPSec secret su0hoh8liNgeiT8 Xauth username vpnuser Xauth password miuthei3Niew2ee Nat Traversal Mode none Noninteractive Following the interface configuration; em0 is the [...] read more
freebsd
ipsec
cisco-vpn
vpn-client
3votes
0answers

High Performance AWS EC2 / RDS + Nginx + PHP-FPM setup

GENERAL DESCRIPTION OF THE ISSUE We're currently running an application on a PaaS type solution for PHP. Their solution is based on AWS cloud and due to the fact that their plans don't fit our scaling needs, we've decided to migrate to AWS directly the application is performing "well" ~100ms [...] read more
nginx
amazon-ec2
amazon-web-services
php-fpm
high-load
3votes
1answer

Same hardware/software, significant difference in performance

Introduction I have two sets of machines, set A and set B, with apparently the same hardware/software configuration, but with a significant difference in performance. Machines in set B are up to x4 faster than machines in set A. However, if I reboot a machine in set A, inexplicably it [...] read more
performance
hardware
3votes
1answer

Iptables u32 matching nat

I'm currently setting up IPtables to redirect certain UDP payloads to my application. Here is an example of what I have working so far: iptables -t nat -I PREROUTING -p udp -d {IPDST} --dport 27055 -m u32 --u32 '0>>22&0x3C@8=0xFFFFFFFF && 0>>22&0x3C@12=0x54536F75 && 0>>22&0x3C@16=0x72636520 && 0>>22&0x3C@20=0x456E6769 && 0>>22&0x3C@24=0x6E652051 && 0>>22&0x3C@28=0x75657279' -j [...] read more
iptables
linux-networking
3votes
2answers

CentOS reporting lower total memory compared others in AWS

I have a t2.medium instance running in AWS on the CentOS 7 AMI and I noticed in top and free it's basically reporting 3.45GiB of total memory. If I launch an instance with the AWS linux (I think I tried the RedHat one too) it reports about 4GiB of memory. [...] read more
amazon-web-services
memory
centos7
3votes
1answer

Windows 2008 R2 services not working

EDIT I spawned the Windows events logging service won't start issue to a separate question here I have a strange problem: 1. SQLAGENT won't start 2. Windows events logging service won't start Today I tried to copy a db to test some changes, and discovered that SQL server agent can't [...] read more
windows-server-2008-r2
sql-server-2008
service
windows-event-log
3votes
3answers

Setting up gateway on different subnet than IP address

My provider has a (stupid) setup where the IP address for the gateway is on a totally different IP range than the assigned IP address. They insist on doing this for whatever reason. I'm trying to get Windows Server 2012 R2 configured using a static route but have had no [...] read more
networking
routing
windows-server-2012
gateway
3votes
2answers

HP P410 ADU (hpacucli) generates empty report

I'm trying to monitor hard drive's smart status. I've tried smartctl tools and HP's own hpacucli to generate ADU report. However, neither of them are useful. smartctl does not show values like Power On Hours or Hard drive temperature. ADU report shows them empty. What's the right way to monitor [...] read more
raid
monitoring
hp
hardware-raid
hp-smart-array
3votes
1answer

Linux port based routing : reponse packets discarded

I would like to use port-based routing on my Linux local gateway. Here is my network diagram : 192.168.42.148/24 192.168.42.1/24 192.168.44.2 192.168.44.1 +--------------------+ +----------------------------+ +----------+ | Workstation (eth0)-|----------------|-(em0) Local_GW (tun0)-|------------| VPN_GW | +--------------------+ | (rl0) | +----------+ +-------------|--------------+ 10.133.8.79/21 | | 10.133.15.254/21 | +--------------------+ | Provider_GW | +--------------------+ Provider_GW only [...] read more
linux
iptables
routing
iproute2
3votes
1answer

Black screen while installing Debian

I tried installing Debian with a netinstall CD-ROM on my custom-built PC. Everything is going fine until I choose any of the install options because then the screen turns black and I get no graphical feedback at all. The screen itself seems to get information though because it doesn't go [...] read more
installation
debian
3votes
1answer

Network interface for VPN connection explanation

I'd like to know exactly what is happening when I create a connection with my company's VPN. When I connect (using OpenVPN), I see the following network interface by using ifconfig: utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 10.8.0.18 --> 10.8.0.17 netmask 0xffffffff This looks different from other network interfaces in that [...] read more
vpn
ifconfig
3votes
2answers

Error installing IE11 - prerequisite update KB2834140

I'm trying to upgrade Internet Explorer my Windows 7 (x64) development VM from IE8 to IE11. Both the online and offline installers fail with a bland error message: enter image description here [https://i.stack.imgur.com/0dueo.png] The troubleshooter tells me nothing, but the IE11_main.log reveals: 00:04.524: INFO: Download for KB2834140 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=303935 [...] read more
windows-7
installation
internet-explorer
3votes
2answers

Sysprepped image will not complete setup

I'm having a problem installing/setting up an image. Background: I've created a Windows 7 Enterprise image (i.e. installed OS, installed applications, configured settings, etc.). Then I sysprepped it and captured/applied it with imagex (onto a computer with identical hardware as the original). When I boot up the new machine, windows [...] read more
windows-registry
setup
deployment
sysprep
3votes
4answers

Mac OS X: finder window keeps opening by itself and stealing focus

I have a Macbook with Mac OS X 10.4.11 here, with an annoying problem. After starting the computer and logging in, the finder keeps stealing focus. You can go back to your working app, but a minute later, it steals focus again. Even as I'm typing this message, I had [...] read more
mac
finder
focus
3votes
2answers

Something very strange with network

I have Windows 7 and I have very strange thing with my network. Some time I was connected through wireless router and my IP was 192.168.2.103, router's IP was 192.168.2.1 and some other IP was 192.168.2.100. The last I get from page "active DHCP clients" of web interface of the [...] read more
windows-7
networking
2votes
1answer

openGL 4, translate and scale going wrong

I’m trying to do an ortho projection onto a plane, which represents a map – think “floor plan”. I’m running into trouble because openGL 4 is new to me (I last used 1.1, and the world has changed) and because what I’m trying to do isn’t much like common examples [...] read more
c++
opengl
glm-math
2votes
0answers

Using CUDA atomicInc to get unique indices

I have CUDA kernel where basically each thread holds a value, and it needs to add that value to one or more lists in shared memory. So for each of those lists, it needs to get an index value (unique for that list) to put the value. The real code [...] read more
cuda
atomic
memory-barriers
2votes
1answer

UBI failed to attach mtd3

I'm trying to create an operating system that works with UBIFS on SPI Nor flash. I used buildroot. Buildroot created rootfs.ubi and rootfs.ubifs therefore I didn't create any ubifs.img(I thought don't need it). I didn't take any error when compile buildroot. Buildroot output files: * rootfs.ubi * rootfs.ubifs * sun5i-a13.dtb [...] read more
linux-kernel
embedded-linux
u-boot
buildroot
ubifs
2votes
1answer

Can not run EXCEL.EXE as other user after Windows 2004 update

I need to run EXCEL.EXE with a user different than current one; in the past I do this without any issues, but after updating the system to Windows 10 Pro version 2004 (19041.508) this method is not working anymore. I was using the following class (thanks to Impersonate user in [...] read more
c#
windows
powershell
office365
impersonation
2votes
0answers

VS2019 unable to debug .net core in WSL2

hi I have VS 2019 community ver 16.9.4 installed .NET Core Debugging with WSL 2 - 1.0 Created a simple hello world C# console app in both .net core 3.1 and 5.0 Choose WSL2 in debug options and start debug Getting an error message saying > One or more erros [...] read more
visual-studio
debugging
wsl-2
2votes
0answers

Should or shouldn't I mask the results of XGETBV before using them for XSETBV?

I am trying to execute some UEFI applications. I found this code crashes on VirtualBox (test success is not printed while test start is printed): #include <stdint.h> void* ConOut; uint64_t (*OutputString)(void* protocol, void* string); void printChar(int c) { unsigned char data[4] = { (unsigned char)c }; if (c == '\n') [...] read more
x86
x86-64
avx
bare-metal
2votes
1answer

Enable IPv6 in MariaDB in FreeBSD jail

I'm trying to set up a MariaDB 10.2 Server on a FreeBSD 11.2 Jail. The Server is running and accepts remote connections via IPv4 just fine. According to sockstat, it should also be listening on IPv6: db# sockstat | grep 3306 mysql mysqld 17516 177 tcp46 *:3306 *:* This is [...] read more
mysql
freebsd
ipv6
mariadb
2votes
2answers

Transparent HAproxy on ubuntu (amazon EC2)

I am trying to setup a transparent HAproxy load balancer using ubuntu 18.04 on amazon EC2. I got the HAproxy to work on a non-transparent mode, so now I am trying to add the changes required for the transparent mode, but I am getting 503 Service Unavailable No server is [...] read more
haproxy
transparent-proxy
2votes
0answers

How to get TOR hidden service to work with iptables

I'm running an Arch Linux server which acts as a TOR relay and I would like it to act as a hidden service as well (I want to provide .onion access to my services, I know running a relay next to a HS is not suitable for an anonymous service). [...] read more
iptables
service
arch-linux
tor
hidden
2votes
0answers

How to fix Apache2 w/ suPHP to scan the correct .ini directory?

Apache2 was reading the correct area for php.ini in /etc/php5/apache2 until suPHP was added to the system. Configuring suPHP_ConfigPath in /etc/apache2/mods-available/suphp.conf gets the correct php.ini loaded, but does not correct the directories to be scanned. How, and where, do I fix this so that Apache loads/scans/uses PHP from the original [...] read more
apache2
php
2votes
2answers

OpenVPN routing between static hosts

I have an OpenVPN server with successful static-key tunnels to two separate hosts - my laptop, and another server elsewhere on the internet. I have connectivity over both OpenVPN tunnels. How do I make it so the server with two tunnels routes traffic across its tunnels? Switching to server mode [...] read more
debian
vpn
routing
openvpn
2votes
4answers

OpenVPN client connects but can't access internet

I setup an Openvpn server on a centos box and I can get the client to connect (osx) but can't access the internet or even the local network. I thought maybe DNS but couldn't access any sites via IP. Any help would be appreciated. I will list my config files [...] read more
centos
iptables
openvpn
2votes
0answers

DHCP offer is unicast but DHCPACK is broadcast

My DHCP server broadcast DHCPACK 0xffffffff . it is not working on layer 3 dhcp relay agent . as it can not forward this broadcast message to my client. can any one help me from exactly the broadcast bit set ? should I send any parameter to dhcp server so [...] read more
dhcp
dhcp-server
isc-dhcp
2votes
1answer

nslookup fails inside freebsd jail

I posted on the freebsd forums. I've been trying all night and I've made some progress but still I can't connect to the internet from my freebsd jail. Please just give me a hint here. I get the following inside the jail if I do nslookup www.google.com : ;; connection [...] read more
networking
freebsd
bsd
2votes
2answers

Windows 10 drops IKEv2 VPN connection to Cisco router in exactly 60 seconds after last data exchange

Update 3: 22 January 2017 I've narrowed down the update that causes this problem: KB3201845 OS Build 14393.479 from December 9 2016. I went through all these updates step by step. Looking at the changes files manifest, these files have been changed: * agilevpn.sys * vpnike.dll Other topics I've created: [...] read more
networking
windows-10
vpn
2votes
1answer

Windows: SSL/TLS connection reset after ClientHello (ECONNRESET / write:errno=10054)

I'm using Windows Server 2012 as a workstation. The problem is that HTTPS connection initiated by node.js randomly fails. Probably this is system-wide issue and not only node is affected, but it appears mostly with node. Because any HTTPS request can randomly fail, npm install is a lottery and for [...] read more
windows
networking
ssl
https
openssl
2votes
2answers

Wireguard tunnel slow and intermittent

After asking this question I've gotten a wireguard vpn set-up that forwards all traffic from my local lan to a remote server. Connecting from the wireguard client host is fast. However, the connection from clients on the lan is much slower and drops a lot of connections. Traceroutes show that [...] read more
vpn
wireguard
2votes
0answers

on xeon, does addq require 2 clock cycles?

How many cycles are required to add long ints on a xeon? from timing trials, it appears that 2 clock ticks are needed. /proc/info says model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz sample c code (loop.02.c) unsigned long i, j=0; for(i=0; i<(0xFFFFFFFF);i++) j+=3; assembler code 21:loop.02.c **** for(i=0; [...] read more
xeon
clockspeed
2votes
0answers

Failed MacbookAir boot Linux (Tails) - Kernel panic on boot

I’ve an error with my MacBook Air (Retina, 13-inch, 2018), version 10.15.1 Boot ROM version : 1037.40.124.0.0 (iBridge: 17.16.11081.0.0,0) I try to boot on Tails by a USB key and Apple adaptator Thunderbotl/USB See the log after select Tails boot : (AE_ALREADY_EXISTS) (20190703/psparse-529 [ 0.772994] ACPI Error: Aborting method \_PR.CPU0._PDC [...] read more
linux
boot
mac
kernel-panic
tails
2votes
1answer

How to slow down traffic with tc?

I'm on Ubuntu 14.04; I'd like to learn the basics of traffic shaping, I made a simple script that should slow down my HTTP(S) traffic to ports 80 and 443. # usage: sudo ./filename.sh #delete existing rules # wlan0 is my WiFi tc qdisc del root dev wlan0 iptables -t [...] read more
wireless-networking
iptables
network-traffic
traffic-shaping
2votes
1answer

How do I configure DNS when sharing a VPN connection in linux?

I'm using a Linux computer (raspberry pi) to share a VPN connection over ethernet. I want the raspberry pi to connect to the internet normally (not over the VPN). I'm very close to getting it working, but I don't know how to configure the DNS for the eth1 network. Connection [...] read more
linux
networking
vpn
dns
dnsmasq
2votes
0answers

How can I get a Mellanox ConnectX-2 to work on this ASUS desktop motherboard?

People seem to be happy with second-hand Mellanox ConnectX-2s on Linux so I grabbed a pair. Both cards result in an network interface showing up on one computer but neither show up in the other computer. Working computer: * EVGA 120-LF-E650 desktop board * Ubuntu 16.04 LTS * Linux 4.4.0 [...] read more
linux
networking
network-adapter
2votes
1answer

Enable SCHANNEL Protocols in Windows Registry (Win7 & 2012R2) DisabledByDefault or Enabled?

I have enabled TLS 1.0/1.1/1.2 protocols on my local Win7 machine and 2012R2 server as well as disabled SSL 2.0/3.0 using the registry DWord value DisabledByDefault = 0 based on the following Microsoft support article: https://support.microsoft.com/en-us/kb/245030 (see SCHANNEL\Protocols subkey...) But i noticed another TechNet article which seems to contradict this [...] read more
encryption
tls
authentication
cryptography
openssl
2votes
1answer

Routing subnet to specific routing table with fwmark, direct to ISP and VPN

Introduction I'm trying to set up a VPN on my router so that I have two routing tables. I want it so that all the filtering is done with iptables, and iproute just acts on the specific fwmarks, ie generic rules. It is an improvement of Routing a particular subnet [...] read more
networking
router
routing
iptables
openvpn
2votes
1answer

OS X - GPU Panic

For half a year, I've been experiencing random freezes/reboots on my MacBook Pro Retina Mid 2012 model. My current OS is OS X Yosemite, but I started experiencing the issue in the Mavericks era. The laptop has endured some occasional, unintended slight physical abuse, but nothing very serious. Just mentioning [...] read more
macos
gpu
kernel-panic
2votes
1answer

Computer tends to BSOD crash (in any browser) when using Flash based apps?

About a month ago my computer started experiencing crashes, at first it was just every once in a while, then it escalated to around 5 times a day. Typically it crashes when I access flash-based games and videos, but it has occurred at random, e.g. no sensible correlation between what [...] read more
windows-7
crash
flash
bsod
1vote
1answer

Flutter - Drawer menu behind WebViewScaffold

i have class stateLessWidget, where i would like: 1) Load a web page with a URL (it works well) 2) Use a Drawer Menu (it works well) THE ISSUE: My drawer menu is behind the view :( . Maybe because the WebviewScaffold load later drawer menu ? Thank you guys! [...] read more
dart
flutter
1vote
1answer

Flutter App Crashes when Trying to Load Interstitial Ad

I am trying to put an interstitial ad on one of the screens in my app. My banner ads work perfectly fine. However, whenever the app tries to load the ad, <_interstitial.load();>, it crashes. Code with interstitial ad: import 'package:quench/models/achievement.dart'; import 'package:quench/models/user.dart'; import 'package:quench/screens/achievements/achievement_list.dart'; import 'package:flutter/material.dart'; import 'package:quench/services/achievement_data.dart'; import 'package:quench/shared/constants.dart'; [...] read more
flutter
dart
crash
admob
interstitial
1vote
0answers

how are pages initialized in IA-32 with 512MB physical memory?

I'm currently, studying segmentation and paging of IA-32 system. but there's one thing i don't understand. On initialization (of Kernel page Directory,page Entry, pages), what address should pages be mapped up to? boot information says its size is 512MB, so it detects 512MB of physical memory and it can allocate [...] read more
x86
operating-system
paging
32-bit
1vote
0answers

Select return empty object (socket programing in python)

I'm currently writing a relatively basic Socket program in python which is a Ping application using ICMP request and reply messages. i am getting a error that select.select() in receiveOnePing() function return empty object . How can i fix it? This is what I currently get as output: ([], [], [...] read more
python
1vote
1answer

STM32 Flash Write causes multiple HardFault Errors

I am trying to write several bytes of data onto the STM32F410CBT3 Flash Memory Sector 4 (size of 64KB), and I chose this sector and assume it is safe to use as the code is approximately 30KB (which would probably reside in sectors 1 and 2). The microcontroller's clock speed [...] read more
memory
arm
embedded
stm32
microcontroller
1vote
0answers

Can Bootloaders use custom UEFI MemoryTypes?

I am writing a boot loader for a hobby OS, which targets UEFI. In order to pass some information from the boot loader to the kernel, I make a few memory allocations using BootServices->AllocatePages(). I wanted to create a distinction within the memory map between the traditional EfiLoaderCode, the EfiLoaderData, [...] read more
bootloader
uefi
1vote
1answer

I am not able to retrieve data from firebase database in my flutter app. I don't know what is wrong in my code

I am putting up 3 .dart files which are required for the app. StaffEvent.dart import 'package:flutter/material.dart'; import 'package:flutter_new_app/addevent_screen.dart'; import 'package:flutter_new_app/services/crud.dart'; class StaffEvent extends StatefulWidget { @override _StaffEventState createState() => _StaffEventState(); } class _StaffEventState extends State<StaffEvent> { CrudMethods crudMethods = new CrudMethods(); QuerySnapshot eventSnapshot; Stream eventStream; // ignore: non_constant_identifier_names Widget EventList() [...] read more
database
firebase
flutter
1vote
2answers

How to change border colour of OutlinedButton

I would like to change border color of OutlinedButton. Could you tell me how to do it? OutlinedButton( onPressed: null, style: ButtonStyle( shape: MaterialStateProperty.all( RoundedRectangleBorder( borderRadius: BorderRadius.circular(25.0), ), ), ), child: const Text("Kontynuuj jako gość", style: TextStyle(fontSize: 20, color: Color(0xffffffff)), textAlign: TextAlign.center), ), I tried Cannot change border color in [...] read more
flutter
button
1vote
3answers

Using bit shifting with rand() to allow for a larger random range

I am reviewing a function to generate keys for a Radix Map and found the implementation of rand() to be novel to me. Here is the function: static int make_random(RadixMap *map) { size_t i = 0; for (i = 0; i < map->max - 1; i++){ uint32_t key = (uint32_t) [...] read more
c
1vote
1answer

Suppress Valgrind when Memory Location is Unknown

I am trying to add code in a Valgrind suppression file that removes errors and warnings that do not list the actual function calls or files causing the errors and warnings. For instance: <b>IPW</b> ==55555== Invalid write of size X ==55556== at 0xFFFFFFFF: ??? ==55557== by 0xFFFFEEEE: ??? Therefore I [...] read more
valgrind
1vote
1answer

OpenCL kernel doesn't get to be executed

There is a set of rules, where each rule corresponds to ceratain cellular automaton. I need to check property of bijectivity for each of these rules. As there are too much of them (2^32 to be precise), I decided to use my GPU for this purpose. But after week or [...] read more
c++
c
opencl
1vote
1answer

Displaying time selected from TimePicker to display Local Notification in Flutter App

I want to show Local Notification at the time that I have selected using TimePicker. I can call the function of scheduleAlaram() but I cannot send the time that i selected. Please help me out with how do I send this time to my function in order to display local [...] read more
flutter
dart
1vote
1answer

Compact shellcode to print a 0-terminated string pointed-to by a register, given puts or printf at known absolute addresses?

Background: I am a beginner trying to understand how to golf assembly, in particular to solve an online challenge. EDIT: clarification: I want to print the value at the memory address of RDX. So “SUPER SECRET!” > Create some shellcode that can output the value of register RDX in <= [...] read more
linux
assembly
x86-64
micro-optimization
shellcode
1vote
0answers

DMA proxy and how it is used to copy ethernet frames to user buffer

This is the code I am refering to: https://github.com/mstuehn/dma_proxy/blob/master/dma_proxy.c At line 841 it uses call to dma_set_coherent_mask and passing generic device pchannel_p->proxy_device_p. dma_set_coherent_mask(pchannel_p->proxy_device_p, 0xFFFFFFFF); pchannel_p->interface_p = (struct dma_proxy_channel_interface *) dmam_alloc_coherent(pchannel_p->proxy_device_p, sizeof(struct dma_proxy_channel_interface), &pchannel_p->interface_phys_addr, GFP_KERNEL); pchannel_p is of type dma_proxy_channel. struct dma_proxy_channel { struct dma_proxy_channel_interface *interface_p; /* user to kernel space [...] read more
c
dma
1vote
0answers

Camera frame is not appearing [Python-YoloV3]

I'm in the process of implementing a object detection system using YoloV3 and JavaFX. I've followed this link, and downloaded the cfg and weights file. I have the problem that I webcam frame doesn't pop-up. However the program is running fine, I do not get any errors. The program is [...] read more
python
opencv
object-detection
yolo
opencv-python
1vote
4answers

Use of Xil_Out32 in Xilinx SDK

In Vivado I succesfully made a simple blockdiagram to control the LEDs of my Zybo board. I can observe that the offset address for my LEDs is: 0x4120 0000 and the High Address is 0x4120 FFFF. Now when I go to the SDK: #include <xil_printf.h> #include <xil_types.h> #include "platform.h" #include [...] read more
fpga
xilinx
zynq
vivado
1vote
1answer

How to toggle between dynamically created RaisedButton in flutter

I have 4 buttons which is dynamically created based on list Value. consider I have button A,B,C & D. When i click button A color is changing from white to gray , When i click Button B or C or D... i want to revert the button A color to [...] read more
flutter
dart
1vote
0answers

IMX8QXPC0 reset issue during boot

Our team have developed a custom board based on IMX8QXP Mek, but with C0 silicon (MIMX8QX6AVLFZAC). We are using the same PMIC and SD card, eMMC memory connections etc, but with increased amount of RAM (4GB: Micron MT53D1024M32D4DT-053). Upon receiving the board everything looked fine, voltages are ok etc. For [...] read more
linux
linux-kernel
yocto
u-boot
imx8
1vote
0answers

Flashing ATSAME51N19 using ATMEL-ICE

I'm trying to flash ATSAME51N19 chip using Atmel-ICE, as it was having old bootloader and firmware. But getting error Verifying Flash...Failed! address=0x0000 expected=0x80 actual=0xff And The fuses are AC_BIAS0 = 0x01 ADC0_BIASCOMP = 0x07 ADC0_BIASREFBUF = 0x07 ADC0_BIASR2R = 0x07 ADC1_BIASCOMP = 0x07 ADC1_BIASREFBUF = 0x07 ADC1_BIASR2R = 0x07 USB_TRANSN [...] read more
microcontroller
atmel
atmelstudio
atsam3x
1vote
1answer

How to find the Return Address when performing a Buffer Overflow Attack

Updated: Now I have overwrite the return address with the shellcode address, but the program crashes because of the Segmentation Fault. I used the info frame to locate the return address (eip) at 0xbfffe58c enter image description here [https://i.stack.imgur.com/b3cXq.jpg] The start address of command is 0xbfffe520 and I have the [...] read more
c
security
buffer-overflow
1vote
0answers

Adding divider in Flutter Calendar Widget after weekdays

I am making a calendar widget like this Actual Image [https://i.stack.imgur.com/ui2l1.png] But I am stuck in few parts which I cannot figure out: 1. The divider that is added after weekdays 2. The weekdays to be in capitals 3. I want the dates under Saturday to be black. I have [...] read more
android
flutter
dart
1vote
2answers

How to get rid of bounds check

Is there a way to remove the array bounds check in C#? here is what I want to achieve: public static int F(int[] M, int i) { return M[i]; // I can guarantee that [i] will never be outside of [0, M.Length] } Before this function call I have a [...] read more
c#
arrays
assembly
x86-64
1vote
1answer

IIS Site breaks after disabling SSLv3

I am trying to disable SSLv3 on a 2008 R2 web server that runs IIS 7.5 but as soon as I disable SSLv3 and reboot, the website is no longer reachable. I ran a packet capture with SSLv3 still enabled and my client is establishing a TLS 1.2 connection so [...] read more
windows-server-2008-r2
ssl
iis-7.5
tls
poodle
1vote
1answer

Routing between OpenSWAN / IPSEC tunnels

I am trying to connect multiple Amazon VPCs (across regions) together using OpenSWAN and Amazon VGW's. The router instance can ping to hosts in both VPCs, and traffic is attempting to cross the router, but is getting dropped. EDIT: I see the counter XfrmInNoPols incrementing when the pings are not [...] read more
amazon-web-services
vpn
linux-networking
ipsec
openswan
1vote
0answers

What triggers a "*** Guest State ***" register dump from the linux kernel?

Prefix: There is no kernel crash. Something, rarely, is triggering Guest State, Host State, Control State register and other debug variable dump to kernel log. The system in question is running many many virtual machines via qemu/kvm. The kernel messages are less often than any running vm is starting or [...] read more
linux
kvm-virtualization
qemu
linux-kernel
1vote
1answer

Xen VM continuously restarts and kernel fails to start init

I am using a VM built using the Xen hypervisor and libvirt management layer. I couldn't connect to the VM after updating the Debian verison from 8 to 9 so I tried logging into the physical machine the VM is running on and restarting the VM with virsh. However, after [...] read more
debian
xen
virsh
1vote
2answers

Route specific destination port specific packets through VPN

I am trying to achieve something very similar to iptables - Target to route packet to specific interface? and https://unix.stackexchange.com/questions/21093/output-traffic-on-different-interfaces-based-on-destination-port but I do not get it working. Here is my setup: RPi4 (local IP, eth0: 10.0.0.196/24; wireguard IP: 10.10.10.2/24; wireguard interface is named "client") <---> Server (wireguard IP: 10.10.10.1/24, global [...] read more
networking
iptables
routing
1vote
0answers

SNAT iptables does not work when package is encapsulated in esp transport mode

I have the following setup, involving one host and a docker container. * On the host, I am setting up an ipsec tunnel connection to a remote gateway. * In the docker container running on the host, I setup a transport mode ipsec connection to another address that is only [...] read more
iptables
nat
ipsec
1vote
1answer

Client object identifier in BIND 9 query logs

The BIND 9 Administrator Reference Manual e.g. for version 9.14.11 or 9.17.1 states in * 5.2. CONFIGURATION FILE GRAMMAR * The category Phrase * queries > The query log entry first reports a client object identifier in > @0x<hexadecimal-number> format. This term has not been mentioned anywhere else in the [...] read more
bind
1vote
0answers

TC Filter With BPF and NFTables Packet Marking

I made a TC BPF ingress program and I want it to process specific packets only marked by NFTables. Here's my NFTables table that marks the specific packets: table ip compressor_tc { chain prerouting { type nat hook prerouting priority -99; policy accept; ip daddr 10.50.0.3 tcp dport != ssh [...] read more
tc
filter
1vote
2answers

How to configure IPsec (strongswan) interface, so that only assigned interface gets virtual ip?

I have already used this configuration a bunch of times and I haven't had this problem before. Basically I establish the tunnel connection, but after connecting (with swanctl --initiate --child ch_vti0 --ike ch_vti0) I get my virtual ip assigned on the appropriate interface vti0, but also I have the same [...] read more
networking
ipsec
strongswan
bug
1vote
0answers

Hyper-V Core Server 2019 ignoring power plan thresholds

I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
hyper-v
ups
1vote
0answers

Windows Task Scheduler claims successful execution despite return code of -1 (0xffffffff, 4294967295)

Having a very strange case here, where a windows task scheduler job executes a C# console application at a specific time, that returns -1 in case of an error. The job is configured to rerun itself if an error occurs. The console app fails and returns the error code. The [...] read more
windows
scheduled-task
.net
console
1vote
0answers

Enabling TLS 1.1/1.2 on Windows Server 2008 SP2 still not possible

first for those of you, who might think, this question has been asked so many time before so it is a useless duplicate... 1. I cannot (yet) comment on other questions, so my only option on this is to ask new question. 2. I've searched and read the following articles [...] read more
windows-server-2008
ssl
1vote
3answers

2018-08 Cumulative Update for Windows Server 2016 (KB4343887) Failing

I've been trying to update the Patches which is failing continuously enter image description here [https://i.stack.imgur.com/PDkYQ.png] When I click the Failed to Install, I popped with the below description > 2018-08 Cumulative Update for Windows Server 2016 for x64-based Systems > (KB4343887) > > A security issue has been identified [...] read more
windows-server-2016
windows-update
credssp
1vote
1answer

Opcache not working properly

I got problem with Opcache. It's not working as I wish/desire.. This is my opcache configuration cat /etc/php/7.1/apache2/php.ini | grep opcache [opcache] opcache.enable = 1 opcache.enable_cli = 1 opcache.memory_consumption = 256 opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 8882 ;opcache.max_wasted_percentage=5 ;opcache.use_cwd=1 opcache.validate_timestamps = 0 opcache.revalidate_freq = 0 ;opcache.revalidate_path=0 ;opcache.save_comments=1 opcache.fast_shutdown = 1 [...] read more
apache-2.4
php7
opcache
1vote
1answer

Amazon RDS SQL Server Express 2012 - Fail to log-in

I recently created a new RDS of SQL Server Express 2012. I have set the security to be publicly available and to accept all ports and incoming connections. From some reason, I fail to connect it using my three clients: - HeidiSQL - SQL Server Management Studio - java client [...] read more
amazon-vpc
amazon-rds
1vote
1answer

shape dropbox on linux router with tc and iptables

Another machine on my LAN is uploading to Dropbox and saturating my internet connection's upload bandwidth. When that happens my pings to 8.8.8.8 take 3000-6000ms. When dropbox is not uploading my pings to 8.8.8.8 are 45ms. I'm trying to simply slow down and de-prioritize forwarded traffic to/from Dropbox on my [...] read more
traffic-shaping
qos
tc
htb
1vote
2answers

Ubuntu: updated mainline kernel, now drops to initramfs

I attempted to upgrade our system's mainline kernel and am now dropping into initramfs. < update>: The commands I used were: apt-get update apt-get upgrade apt-cache search linux-image //grabbed last entry apt-get install linux-image-4.4.0-67-generic < /update> I have researched the topic and found that I should be able to access [...] read more
ubuntu
boot
kernel
grub
initramfs
1vote
2answers

Kerberos Failure Audit Event Id 4769 on Domain Controller

I have an average of 17-18 failure audit events per hour recorded in the Security event log of a Windows 2012R2 domain controller, related to attempts of a Windows 2008R2 member server to obtain a Kerberos service ticket A Kerberos service ticket was requested. Account Information: Account Name: TORPDC01$@ACME.COM Account [...] read more
windows-server-2008-r2
windows-server-2012-r2
kerberos
1vote
0answers

iptables SNAT not honoring original port intermittently

I have a mark/mangle/SNAT setup that has been working great for years. However, when trying to use this same setup for DHCP requests, it intermittently fails: *mangle -A OUTPUT -p udp -m udp --dport 67 -j MARK --set-xmark 0x7/0xffffffff #... *nat -A POSTROUTING -m mark --mark 0x7 -j SNAT --to-source [...] read more
iptables
routing
1vote
2answers

"Service Unavailable" on fresh installation of OS and IIS 6 no matter what I try

I recently installed Windows Server 2003 on a virtual machine and then added the IIS role. (The reason for using an old OS is to make some old software work - Crystal Reports web server component) I have not yet added any pages/apps to the website (except one very simple [...] read more
windows-server-2003
iis-6
1vote
1answer

Can't connect to AWS instance after import with stock Centos7

I am trying to import a Centos7 based VM into Amazon AWS. The VM was created with the Centos7 minimal ISO installed into VirtualBox. Networking in the VM works fine locally before trying to do the import. I am using the EC2 command line tools to do the import: ec2-import-instance [...] read more
amazon-ec2
amazon-web-services
centos7
import
1vote
1answer

Out of 2 VMs and their 1 host, only 2 at a time are reachable from the LAN

I have a VMware vSphere hypervisor set up with two VMs. I need to be able to reach the host (for configuration, etc.) as well as both VM's from my client (which is also in the same subnet). I want to set up a PoC Hadoop cluster, and the client [...] read more
networking
vmware-esxi
1vote
3answers

Windows Server 2003: Backup Failed

I am having trouble backing up my server. I back up to an external hard drive, and up until now, I haven't had any problems with it. But today my backup failed. Here is the report from the backup log: Backup Status Operation: Backup Active backup destination: File Media name: [...] read more
windows-server-2003
backup
vss
1vote
0answers

Policy routing local user's traffic down a tunnel

I've got a Linux based Firewall/Router running iptables and SNAT for traffic passing through it to the Internet via a single uplink - This is working fine. There is also a small number of applications running on this server which also work fine. I've also got an OpenVPN client running [...] read more
iptables
routing
openvpn
linux-networking
1vote
1answer

How to debug intermitent network outage on Citrix XenServer

I have two Citrix XenServers in a pool. Both have a NIC for Management, a NIC for the SAN and a NIC for the VMs to connect to the network. The NIC for the VMs (eth3) has multiple networks configured for the VMs with different VLAN IDs. This has been [...] read more
xenserver
1vote
0answers

How to use pci express serial card in raspberry pi compute module 4?

I'm running Raspberry Pi OS with desktop(Release date: January 11th 2021) in my raspberry pi compute module 4. pi@raspberrypi:~ $ uname -a Linux raspberrypi 5.10.16-v7l #1 SMP Tue Feb 23 19:01:18 CST 2021 armv7l GNU/Linux It's got a mini PCI express slot, which I plan to use for a 4 [...] read more
drivers
raspberry-pi
pci-express
arm
1vote
0answers

Make Headless Server Use Hardware Accelaration

I have a headless CentOS 8 Server with an AMD GPU. I want to use hardware acceleration but when I run OpenGL programs with xvfb-run (e.g glxinfo), the system reports I am using software rendering. How can I use hardware acceleration on a headless server? Note that even though output [...] read more
linux
graphics-card
centos
opengl
headless
1vote
1answer

ffmpeg scanline ordering in rawvideo AVI format

I am using ffmpeg to transcode videos into a specific AVI format using ffmpeg.exe -i "Input.ext" -y -vcodec rawvideo -pix_fmt rgb555le -an -map_metadata -1 TEST_ENCODE.avi. The resulting AVI is an input for a legacy command-line program that is no longer supported. Unfortunately, this program is unable to read AVIs produced [...] read more
ffmpeg
avi
1vote
1answer

Codec and setting for lowest bitrate ffmpeg output

I need to convert my input audio file to the lowest possible size to transfer it over a radio transmitter. Now with the AAC codec and MP3 format I used 8kbps for bit rate, 16 kHz for sampling rate and 1 channel, and my output data is about 3kb per [...] read more
audio
ffmpeg
android
mp3
1vote
0answers

AMD Ryzen 5 3600 + Ubuntu 20.04 problems

I have Ryzen 5 3600, Gigabyte X570 GAMING X and Radeon RX 580 Series. I installed Ubuntu 20.04 and it is loaded with kernel parameter acpi=off but now system recognize only 1 core(lspcu, cut /proc/cpuinfo, nproc). When I remove 'acpi=off' - Ubuntu freezes on login screen. dmidecode -t processor recognize [...] read more
acpi
amd-ryzen
core
1vote
1answer

Debian not detecting NVMe, ASUS Zenbook UX430UA

I'm trying to set up a Win 10 / Debian 10 dual boot on an Asus UX430UA that I've just bought new. I replaced the OEM SATA SSD with a larger NVMe SSD (ADATA XPG SX8200) and am trying to install both OS's on the same SSD, as I've done [...] read more
linux
debian
ssd
asus-laptop
nvme
1vote
1answer

php and zendguard with asterisk / freepbx

Im running freepbx version 13 and started to upgrade to version 14. System is on a CentOS 6 system. The system required certain upgrades first including php which I've upgraded to 5.6.40 and installed zenguardloader 2.6.0 I'm assuming there is some sort of incompatibility between php and zenguardloader as I [...] read more
php5
freepbx
1vote
0answers

Find cause of BSOD

Recently, I started getting BSODs a few times a week. I have a hunch that they are related to the display driver/docking station (I'm using IBM T480) because they seem to happen around the time I connect/disconnect to the docking station and more importantly, I don't actually see the BSOD, [...] read more
windows-10
bsod
1vote
0answers

Missing memory in linux ubuntu 16.04 system

I've been struggling with this problem for quite some time and am completely out of ideas. I have 8GB memory installed, but ubuntu sees only 3.2 GB. Hardware: Mother Board Information Intel DG965SS Processor Information Socket Designation: LGA 775 Type: Central Processor Family: Core 2 Manufacturer: Intel(R) Corporation ID: F6 [...] read more
linux
ubuntu
memory
1vote
2answers

External SSD Drive won't mount on OSX

A colleague at work has a Kingston 240GB SSD drive which has come out of a now dead computer. We want to be able to recover some data from it (no backups sadly) however the drive won't mount properly. I am using an Anker USB3 external HDD enclosure which I [...] read more
macos
hard-drive
ssd
external-hard-drive
data-recovery
1vote
0answers

The system time interval between Arm and Ubuntu

Problem Description: With Arm machine as a Server, with Ubuntu as a Client, Server via the Client send time package to sync that time, after synced time, Comparing their time, I found that with a continuation of the time, the time difference is bigger and bigger, I suspect that may [...] read more
linux
ubuntu
1vote
0answers

SOME/IP length error in trace window when sending SOME/IP messages from CANOE using CAPL script

I am getting SOME/IP length error(but getting correct data) in trace window when sending SOME/IP messages from CANOE using CAPL script. I think i am missing any settings that should be done in Canoe. Can anyone suggest a possible reason for this? and how to solve this? The code used [...] read more
networking
1vote
0answers

GRUB2 fails to boot multiboot compliant kernel that worked with GRUB Legacy

I have been trying to port a non-Linux mostly multiboot 0.6.96 compliant (the multiboot header is past 8 KiB) 32-bit elf kernel from GRUB Legacy to GRUB2. Currently, the kernel and GRUB are placed on a USB which is used to boot a different computer via the BIOS, like a [...] read more
boot
usb
grub
1vote
0answers

Error 582 while trying to access Windows Features

Today went to turn on the Hyper-V feature in the "Turn Windows Features On and Off" settings, but the dialogue would always just load for like 20 seconds then crash my machine. I looked up alternative ways to view/access the Windows Features and found you could do it from DISM [...] read more
windows-10
dism
1vote
1answer

Windows 7 OK button on Copy To dialog doesn't copy profile

So I am attempting to copy a User Profile to the default profile. I am using WinSpy++ to enable the disabled "Copy To" button - this process works on a stock laptop I have here. However, this does not work in a customised image I have with a fair amount [...] read more
windows-7
windows-registry
user-profiles
event-log
windows-embedded-7
1vote
2answers

How to add routing for 2 VPN connections?

I am trying to setup second VPN connection over the first one, which is my only option at the moment. The first VPN connection works fine(utun1), providing me internet access and it looks like this: Internet: Destination Gateway Flags Refs Use Netif Expire 0/1 10.56.10.5 UGSc 0 0 utun1 default [...] read more
networking
macos
vpn
routing
1vote
2answers

Mount ancient PATA disk (from a 386) to restore files (ATA 1, or older)

I have a PATA disk from a 386 laptop (1995?) which I would like to get files off. It is a Seagate 9096A, and is working. Using the old laptop is not possible. I have tried a USB - 2.5" PATA adapter, but it failed to properly interface with the [...] read more
hard-drive
1vote
1answer

Semi-disconnected network drives Windows 10 after timeout

I'm using Windows 10 in our company for a couple of weeks. Using the GPO (I'm a domain admin myself) we added some network drives for all users of our domain. This works fine. But.... For some reason, after a while my network drives are semi-disconnected. I use the word [...] read more
windows-10
network-shares
connection
1vote
0answers

Web Services for authentication over SSL failed due to TLS 1.2 on Windows Server 2012 and IIS 8

There are a SSL vulnerability called POODLE discovered by Google team in SSLv3 protocol. So uses of SSLv3 is not secure to use. Now its recommended to use TLS 1.2. We have IOS applications that are using web services over SSL for login to app. Apps started throwing error as [...] read more
login
ssl
windows-server-2012
https
web-services
1vote
1answer

linux drops packet when trying to route it - why?

I track packets using LOG targets for all chains of all tables and the last chain I see my packet in is the POSTROUTING chain of the mangle table: mangle_PREROUTING: IN=eth0 OUT= MAC=00:16:3e:0f:01:00:00:16:3e:0f:02:00:08:00 SRC=10.2.1.2 DST=10.1.1.2 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=60912 PROTO=ICMP TYPE=0 CODE=0 ID=41230 SEQ=1 As off http://inai.de/images/nf-packet-flow.png, I expected [...] read more
networking
routing
iptables
1vote
0answers

Higher resolution not available Ubuntu 14.04 on ESXi host

The maximum resolution available for my Ubuntu 14.04 vm is 1360x768. However, the max resolution for my Ubuntu 16.04 is 2560x1600. Both are running on the same ESXi host with the same video card settings. Both have the latest version of VMware tools installed. The physical monitor I am accessing [...] read more
ubuntu-14.04
esxi
1vote
1answer

How to set up dual quadro cards on RHEL 5.5?

I have a RHEL 5 workstation with 2 nvidia Quadro FX4500 cards, with one display attached to each card. After doing a clean install of RHEL 5.5, the second display doesnt work (it worked ok in RHEL 5.2). Neither separate X screens nor Xinerama are working. The kernel version is [...] read more
multiple-monitors
redhat-enterprise-linux
nvidia-quadro
1vote
0answers

Is my NVIDIA GT 540M having a hardware failure?

I'm using a Sager NP5160 laptop, which has an NVIDIA GT 540M dGPU as well as integrated graphics. I'm dual-booting Windows 7 and Linux Mint. I've recently noticed issues with games not performing as well as they should when I switch to balanced mode (from UMA mode) in Windows 7. [...] read more
graphics-card
hardware-failure
nvidia-geforce
discrete-graphics
1vote
0answers

Mac not setting routes on openconnect with vpnc-client

I'm trying to connect to a VPN on my Mac, but for some reason routes aren't being set, even though they seem to be set by the vpnc-client script. root@machost:/Users/username# cat .openconnect authgroup=AUTHGROUPHERE user=USERHERE script=/usr/local/bin/vpnc-script no-cert-check #background #passwd-on-stdin root@machost:/Users/username# openconnect --config=.openconnect HOSTHERE POST https://HOSTHERE/ Attempting to connect to server 1.1.1.1:443 [...] read more
networking
mac
vpn
routing
cisco-vpn-client
1vote
1answer

What does netstat -r on OSX tell you about gateways?

I noticed the route table has a lot of entries I do not understand. The route tabel is: Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.254 UGSc 28 0 en1 10.8.0.1/32 10.8.0.5 UGSc 1 2 tun0 10.8.0.5 10.8.0.6 UH 2 3 tun0 127 localhost UCS 0 284 lo0 [...] read more
macos
networking
vpn
routing
netstat
1vote
1answer

Packets marked by iptables only sent to the correct routing table sometimes

I am trying to route packets generated by a specific user out over a VPN. I have this configuration: $ sudo iptables -S -t nat -P PREROUTING ACCEPT -P OUTPUT ACCEPT -P POSTROUTING ACCEPT -A POSTROUTING -o tun0 -j MASQUERADE $ sudo iptables -S -t mangle -P PREROUTING ACCEPT -P [...] read more
iptables
openvpn
iproute2
1vote
0answers

Auto-mount all USB-devices at same USB socket to same mountpoint

* I have a small computer with 2 USB sockets : A and B. * I want any external USB disk, attached to socket A - to be mounted as "deviceA" * I want any external USB disk, attached to socket B - to be mounted as "deviceB" Expecially: Any [...] read more
linux
ubuntu
usb
debian
automount
1vote
0answers

Using TC from iproute, unable to match canid

I'm trying to use tc from iproute2 to prioritize packets sent to a canbus. Before doing so I read this guide about the issue: http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf Even using the exact examples from that pdf, I'm not able get any of the filters to get a match. My current version of kernel [...] read more
linux
networking
iproute2
1vote
0answers

Why did my ubuntu machine leave suspend?

Sometimes I come upstairs and my computer has left suspend and is booted or booting or whatever. Is there a log somewhere that will show what caused it to leave suspend? (ie mouse, keyboard, magic packet, power button?) This is what I see in dmesg: [191069.614821] init: anacron main process [...] read more
linux
ubuntu
hibernate
1vote
1answer

MFT / NTLDR / NTFS (external drive) damaged after ntfsresize (Linux)

I have had an external USB drive attached to a RaspberryPi (headless), 1.5 TB Volume, 100% partition NTFS. During this question Creating ext4 partition from console, my goal was to change the overall fs to ext4 by shrinking the ntfs partition to 50%, copy all files to the new partition [...] read more
linux
ntfs
mft
ntldr
ntfsresize
1vote
1answer

How do I stop Spotify from crashing?

I am using Spotify on wine on Linux (Ubuntu). It worked fine before, but after I uninstalled and re-installed it, for some reason every time I run it, it doesn't work. It crashes after I log in. When it crashes I can see the Spotify window. When it crashes, Spotify [...] read more
linux
ubuntu
wine
spotify
1vote
0answers

Mac crash report info - what can I learn from it?

My Mac (MacBook Pro, 10.7.3 OS) is crashing a couple of times a day. I started this behaviour just recently, and for no apparent reason. I've done a disk check and it all seems fine. When it crashes, the screen goes black and I have to long-press the power button [...] read more
macos
mac
crash
1vote
0answers

Mac crashing with black screen on XCode install + random other times

I have a Macbook Pro bought over a year ago without extended warranty. Lately it has started crashing as follows - the screen goes black. The last note of the music (if playing, radio or iTunes) loops repeatedly. It will not go into in standby when screen is closed. Power [...] read more
mac
crash
xcode
1vote
4answers

Kernel Panic every time I open a print queue

Every time I open any printer queue I get a kernel panic and have to reboot. It's quite frustrating. I've tried removing/adding printers, clearing all caches with Onyx, repairing permissions, all manner of things to no avail. Any tips would be greatly appreciated! ==== CRASH REPORT ==== Interval Since Last [...] read more
macos
printing
osx-leopard
kernel-panic
1vote
1answer

xorg.conf: Why does this have no effect?

Here is my xorg.conf file. The problem is that my resolution setting 1600x900 is getting ignored. The resolution keeps popping to 1280x1024 Edit The resolution comes up as 640x480 after unplugging the physical monitor. When my file gets ignored, the system seems to read my monitor to find it's capabilities [...] read more
resolution
xorg.conf
solaris-10
0votes
0answers

How can i fix U1077 CLion

I'm working on a C++ with d3d11 project and want to add additional dependences.. But currently i'm working on CLion. I know how to add additional dependences in Visual Studio 2019 but i'm new in CLion i don't know how i can add additional dependences, I went to CMakeList.txt and [...] read more
c++
visual-studio
cmake
clion
0votes
1answer

AWS EC2 : Connection Timed Out - SSH

Unable to connect via SSH to my Amazon Linux AMI, However I am able to connect to other instance with same VPC, security group and key. These are the system logs, appreciate any help on this. enter image description here [https://i.stack.imgur.com/uQp4x.jpg] > [ 0.000000] Linux version 4.14.101-75.76.amzn1.x86_64 (mockbuild@gobi-build-60003) (gcc version [...] read more
amazon-ec2
ssh
connection-timeout
amazon-ebs
amazon-linux
0votes
1answer

Unable to access ec2 ebs backed instance

For some unknown reason, an instance that was accessible via ssh on port 22 is no longer allowing access. After checking security groups and NACLs, correct routing tables associated with Gateways in the VPIC, and, rebooting the instance, We got a readout of the system logs but nothing seems to [...] read more
amazon-web-services
security
networking
0votes
0answers

Server generates SYN-ACK in response to Scapy SYN, but doesn't generate in response to other SYNs

I have virtual machine with Ubuntu 18.04.5 LTS which has Python simple HTTP server. This VM has two interfaces: incoming one (enp0s8) with IPIP-tunnel (mytun) and outcoming one (enp0s9). Also there's interface to host communication (enp0s3). VM must generates SYN-ACK in response to SYN received from incoming interface and sends [...] read more
linux
networking
tcp
scapy
tcpserver
0votes
0answers

printk() maximum string length in Zephyr RTOS

I am new to Zephyr and I am a little baffled by the behaviour of printk() function. What I want is to allow printing very long (up to 1024 character) strings in a single print operation to UART. When I do it without changing any configs, the string I'm trying [...] read more
zephyr-rtos
0votes
1answer

Error waiting for a debug connection: The log reader stopped unexpectedly Error launching application

Error waiting for a debug connection: The log reader stopped unexpectedly Error launching application on vivo 1811 When i click on run button in android studio it install the APK on my mobile but than the app did not proceed and it's halt and on android studio it gives me [...] read more
android
flutter
0votes
1answer

ShowWindow() showing blank app until is interacted with via mouse/keyboard after restoring from systray in C++ - Flutter App

I've been wanting to incorporate systray functionality into my Flutter app so I went to modify the native C++ code that initiates the window etc to see if I could hook into it. Despite not having much prior experience in C++ I have been able to create an icon for [...] read more
c++
flutter
winapi
systray
0votes
0answers

Incorrect Ikonli icons displayed

I am having problems using the Ikonli icon packs. I am creating FontIcon objects and then using those to set the graphics on buttons. Icons taken from the FontAwesome5 pack work great. Icons taken from the Material2 pack seem to shift somehow - for example, I try to get mdal-6_ft_apart [...] read more
javafx
0votes
0answers

Analyse truncated linux core-dump on windows

I have written a chess-engine with a friend which plays at the Top Chess Engine Championship (TCEC). We just placed first in the Qualification league even tho our engine has crashed in one game which was acoounted as a loss. I do know the basics about programming in C++ but [...] read more
c++
debugging
gdb
coredump
0votes
0answers

Launch Interactive App From Windows Service in Windows 10

I'm running a Windows Service in a Windows 10 machine logged with a low privileges User, I'm trying to launch an interactive application (ex. notepad) in the context of the logged user. The windows service is running with the admin credentials enter image description here [https://i.stack.imgur.com/vbU0n.png] I use the next [...] read more
c#
windows
windows-services
impersonation
user-permissions
0votes
0answers

Visual Studio Code C# Unit Test Debugging works only once

I have a strange problem. I am creating some unit tests for a project. I have this code: [Test] public void Test11() { var factory1 = new WebApplicationFactory<IdentityMS.API.Startup>(); var PredefinedUsers1 = new List<UserItem> { new UserItem{Id=0, UserName="test1", Name="test1Name", eMail="test1@test.net"}, new UserItem{Id=0, UserName="test2", Name="test2Name", eMail="test2@test.net"}, new UserItem{Id=0, UserName="test3", Name="test3Name", eMail="test3@test.net"} }; [...] read more
c#
unit-testing
visual-studio-code
nunit
0votes
1answer

having trouble with Flutter setState()

im having some issues with the setState method in flutter. a little backstory: im making a flutter app that displays how many people are in a room via 5 dots that change colour depending on how many people are in said room. it gets its data via HTTP get requests. [...] read more
flutter
http
dart
0votes
1answer

Don't know how to execute function after else command

I'm trying to take an image via webcam then send the image through gmail. That function suppose to happen if my fingerprint is known at the system. If it does it needs to execute the send email function. I added after the send email function to send 'HIGH' to a [...] read more
python
python-3.x
raspberry-pi
gmail
fingerprint
0votes
0answers

Is there any other solution for "could not find the database engine startup handle' for MS SQL Server 2019

I have tried every method available online. 1. Uninstalling every MSSQL server 2. Removing keys from registry 3. Uninstalling and deleting files from program files 4. Start setup in administrator mode 5. selecting the server as nt authority system and also nt authority local service Still I am getting that [...] read more
sql-server
database
sql-server-2019
0votes
3answers

How to perform validation of TextField?

Im new in flutter and I would like to perform some sort of validation of TextField. I would like to check if it is empty and if it is not whether the mail is in correct form. I'm struggling with that, I'm not sure if I should change my main [...] read more
flutter
validation
0votes
0answers

Access localhost MacOS from another mobile?

I am building a project with PHP and run it on: http://127.0.0.1:8000. And I want to access the server on my mobile device on this domain: http://192.168.1.23:8000. And I try few steps below: description: os: MacOS Hackintosh connection: ethenet inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen [...] read more
macos
ip
0votes
1answer

Get current route name of CupertinoTabView in Flutter?

I'm using CupertinoTabScaffold and CupertinoTabView to build navigation bottom bar in my App. For one CupertinoTabView I go to others pushed routes name, I would like to get the current name of a CupertinoTabView, but I get Null I define the routes in main like that CupertinoApp( home: MyApp(), title: [...] read more
flutter
dart
0votes
1answer

Initializing a bmp file in mips

This code creates a bmp file with all the white pixels: initialize_bmp: #description: # fill the header of the bmp file an initialize all pixels with white #arguments: # none #return value: none la $t0, image #image is a buffer or we can say array that stores all the 90122 [...] read more
assembly
mips
bmp
0votes
1answer

Why is my CRITICAL_SECTION's RecursionCount so large? Debugging a deadlock

I've combined my Eagle GUI library with Allegro 5 for graphics and input. When I use Allegro 5's al_register_trace_handler function to pipe the output from allegro's debugging log to my own, I get a deadlock in a thread spawned by allegro to create a win32 window and display. It specifically [...] read more
c
debugging
winapi
allegro5
0votes
2answers

Weird UC3 Reset behavior after user page NVRAM usage

I recently need to use in build NVRAM/EEPROM of AT32UC3L0256 to store some configuration data. I finally managed to use the user page NVRAM of the MCU (after days of trial and error and cursing on GCC ignoring noinit directives and fixing and workarounding bugs in ASF as usual) to [...] read more
c++
reset
bootloader
avr32
atmel-uc3
0votes
0answers

Pure POSIX shell sh implementation of crc32 script

I'm interesting in use a crc32 checksum script as file checker just like md5sum or sha1sum commands from coreutils, but only using POSIX shell to keep it as portable, fast and bare-minimum as possible. I'm not asking for entire 1:1 copy of md5sum tho, adding to bellow useful script something [...] read more
sh
checksum
crc32
0votes
0answers

how to convert GCCRandom(Mersenne Twister by Takuji Nishimura and Makoto Matsumoto) from Game Coding Complete by Mike McShaffry 4E to stl random

I am trying to translate the book Game Coding Complete by Mike McShaffry 4E to modern C++17 standard and faced with the code of Mersenne Twister by Takuji Nishimura and Makoto Matsumoto. Is it right to convert random generator code from book like that: from: #include <ctime> #define CMATH_N 624 [...] read more
c++
random
stl
game-engine
mersenne-twister
0votes
0answers

Flutter Range Error: Invalid value: Valid value range is empty: 0

I got an error when i tried to get data from a drop down. I want to take the drop down selected value to get data using 'getclientAmc' method When i print 'selectedType' it show the value on console but i couldn't get data using 'selectedType' variable. This is my [...] read more
flutter
dart
0votes
0answers

Why program linked using gcc works but using ld isn't working?

i'm new to assembly language and I have a problem. Recently i wrote program which is simply just adding two numbers. Here is my problem: when I run and debug the program using SASM IDE (it uses gcc), or link it using gcc - program works fine, but when I [...] read more
assembly
gcc
ld
0votes
0answers

How to use Alpha channel in GOP Framebuffers?

While developing an operating system, I can draw a shape with any color with 0xFFFFFFFF, All RGB Channels are working but Alpha channel is not working why? And How can I make Alpha channel work? I am using GOP Framebuffers; void PlotPixel(uint32_t x, uint32_t y, unsigned int color) { buffer->baseAddress [...] read more
c
graphics
operating-system
0votes
0answers

Esp32 AsynWebserver Websocket Crush

I'm trying to build async webserver with websocket using ESPAsycnWebserver lib. Everything works fine, but there is one moment: when i refresh multiple times: 13 or 29 it crushes and reboots. I think there is memory problem but dont know how to solve. Here is Console output and working code: [...] read more
websocket
webserver
esp32
arduino-esp32
0votes
0answers

SDRAM STM32H7 ALIENTEK BOARD - Read/Write Errors

For the last month I've been attempting to utilize this SDRAM Ram chip https://www.digikey.com/en/products/detail/winbond-electronics/W9825G6KH-6/5001919 to store a frame buffer for a STM32H743II embedded on an Alientek board. I've been attempting to use this provided example for the STM32H743-Eval Board https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H743I-EVAL/Examples/FMC/FMC_SDRAM_DataMemory as the base code but have been unsuccessful. I can [...] read more
c++
embedded
stm32
ram
stm32h743
0votes
3answers

How to pass user's TextFormField input to a button in a different class in flutter

I am creating a flutter app. For the code reusability, I need to differentiate Email and password forms and Login Button, I am not sure how to properly to pass the input from textformfield to the button for the form to be validated, when clicking it. Here's my code. Note [...] read more
flutter
dart
0votes
2answers

create button to direct to registration page does not appear

I know the question is simple but I am in doubt about creating a simple button, which directs to the initial page of user registration. I'm inserting the code below, there are no errors but when compiling nothing appears, I have already tested it by changing other elements and they [...] read more
flutter
dart
visual-studio-code
0votes
0answers

TextView Position Shifting after adding Button Programmatically in Android

I have a question on adding Button to the fragment programmatically in the Android. Here below is the xml layout for my fragment. <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/fragment_blank_01" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".BlankFragment_01"> <!-- TODO: Update blank fragment layout --> <ImageView android:layout_width="800px" android:layout_height="480px" android:src="@color/black" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent"/> <TextView android:id="@+id/myTextView_Text_1" android:layout_width="wrap_content" [...] read more
android
android-fragments
0votes
0answers

No Module error from minidump_stackwalk in Breakpad

I have started working with google breakpad on Linux very recently. I have cloned it and built it successfully. I followed the steps given in: https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/linux_starter_guide.md. I have created my minidump file and symbol file successfully but when I run minidump_stalkwalk I get this: 2021-05-04 13:26:23: minidump.cc:5089: INFO: Minidump opened [...] read more
c++
linux
google-breakpad
crashpad
0votes
0answers

Error uninstalling Microsoft Azure Service Fabric

Trying to uninstall Microsoft Azure service fabric from Program Files. The uninstall log is as follows: FabricSetup.exe invoked with arguments (C:\Program Files\Microsoft Service Fabric\bin\fabric \fabric.code\FabricSetup.exe /operation:uninstall). Current Exe version 6.5.676.9590 Environment information Data Root c:\elements\sf, Log Root c:\elements\logs\servicefabric Starting service eventlog Starting service pla Starting FabricDeployer::Uninstall CreateProcess Successful for CommandLine:FabricDeployer.exe [...] read more
azure
azure-service-fabric
0votes
0answers

Rendering CIImage results in a blank image on macOS 10.15.7 (19H1030)

After installing the Security Update 2021-002 Catalina, rendering a Core Image image stopped working properly. The code below results in a blank image: let ciContext = CIContext(options: [.useSoftwareRenderer: true]) guard let srcPath = Bundle.main.path(forResource: "Flowers", ofType: "jpg"), let ciImage = CIImage(contentsOf: URL(fileURLWithPath: srcPath)) else { return } let dstUrl = [...] read more
swift
macos
core-graphics
core-image
0votes
0answers

TFT LTDC Display - Pixels not being written to correct position

So I've been in the process of porting LVGL to the STM32H743II utilizing a custom alientek board but keep facing issues related to the placement of pixels. Previously I've been able to scale the region down and get LVGL to display correct but any attempt to scale it up to [...] read more
c++
user-interface
embedded
stm32
display
0votes
3answers

CRC32 Mpeg checksums don't match?

I've been trying to reverse engineer a crc32 checksum. I don't have access to the original J# code as it is compiled and decompiling it has not been helpful. I ran 10 payloads through reveng which returned: > width=32 poly=0x04c11db7 init=0xFFFFFFFF refin=false refout=false > xorout=0x00000000 check=0x0376e6e7 name="CRC-32/MPEG-2" I tried running [...] read more
encryption
checksum
crc
mpeg
crc32
0votes
1answer

Drawing buffer to D3D9 texture

I'm trying to draw CEF buffer (returned on OnPaint) to D3D9 texture of the game, and game randomly premanently freezes. I figured out that code provided below is the reason of the game freeze, but still can't understand. What did I miss? // To create texture I use this code [...] read more
c++
directx
directx-9
0votes
1answer

How to call multiple reactions/actions when OnPress in ElevatedButton

I try to run 2 Functions when I press the login button, but don't work I'm use MobX, and here is my code: Observer(builder: (_) { return ElevatedButton( onPressed: dadosLogin.apertouLogin as void Function()?, child: dadosLogin.carregando ? SizedBox( height: altura / 40, width: largura / 20, child: CircularProgressIndicator( strokeWidth: largura / [...] read more
flutter
dart
mobx
0votes
0answers

how can i get xml fid digitalpersona

I have an application in Xamarin forms that uses digital persona which I adapted successfully from this code of Android java The problem is that this app returns only a byte[] array of a fingerprint, so i need to send fid xml to web service so i can compare validate [...] read more
c#
xamarin
0votes
1answer

Display time on TextField from TimePicker in Flutter

I want to show my time on the TextField from the time that I select from the showTimePicker widget but I cannot figure out how will I display it on my box after picking a time Kindly help me out. This is my screen without input on the Reminder section: [...] read more
flutter
dart
0votes
0answers

"Getter was called on null" error when i try to loop through a nested object in Flutter

i have an object that looks like this, marketOptions: {option1: {optionValue: 'Yes', optionId: `${match.id}`+ '333'+ `1`}, option2:{optionValue: 'No', optionId: `${match.id}`+ '333'+ `2` }}, I want to loop through "option1", "option2", etc and collect the data in "optionValue", my first attempt below was to get the object from my Firestore database [...] read more
flutter
dart
0votes
1answer

How to get keyboard name? (to visually distinguish keyboards in a specific language)

I have for example 2 languages installed — English and Russian. And Russian has 2 keyboards — Ordinary and Mnemonic: enter image description here [https://i.stack.imgur.com/6Ms96.png] When I run the code: UINT uLayouts; HKL *lpList = NULL; wchar_t szBufLng[512], szBufCtry[512]; uLayouts = GetKeyboardLayoutList(0, NULL); lpList = (HKL*)LocalAlloc(LPTR, (uLayouts * sizeof(HKL))); uLayouts [...] read more
c++
visual-c++
mfc
keyboard-layout
0votes
1answer

android app crashes on start up (FATAL EXCEPTION, No package ID ff found for ID 0xffffffff)

So whenever I try to start my app, it crashes immediately. The error in the log is: 2021-04-21 13:18:57.147 5707-5707/com.example.myapp E/com.example.myapp: No package ID ff found for ID 0xffffffff. 2021-04-21 13:18:57.148 5707-5707/com.example.myapp D/AndroidRuntime: Shutting down VM 2021-04-21 13:18:57.153 5707-5707/com.example.myapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.myapp, PID: 5707 java.lang.RuntimeException: Unable to [...] read more
android
kotlin
0votes
0answers

While LEDs on GPIO2 work OK, but on the GPIO1 with LPC1768

I have a custom board with device LPC1768. While every other functionalities (such as LCD on SPI, Ethernet, I2C EEPROM, etc.) are OK, for some reason, while I can turn ON and OFF LEDs on the GPIO2 but I can't do the same for the pins on the GPIO1. Maybe [...] read more
c
embedded
gpio
nxp-microcontroller
lpc
0votes
0answers

non consistent clock cycles with the measurement tools, where exactly this inconsistent cycles come from?

I spent many time to measure exact clock cycles of given instructions, a portion of code written in C. However, I never could measure exactly how many cycles will take during the runtime, I used PAPI, "rtdsc" hardware counter, clock(), clock_gettime with "CLOCK_REALTIME". However, for every run, I get different [...] read more
c
clock
measurement
0votes
0answers

DeviceIOControl call with Android Device always return no output length even when success = true

Completely new area of tech for me. Trying to communicate with Android device to eventually do read/write of files back and forth. Special requirement, can NOT use ADB.exe which I originally had and worked perfect, but too many security risks/concerns. Can't use 3rd party tools we don't have source control [...] read more
c#
android
deviceiocontrol
0votes
1answer

Failing to Make the keyboard push the screen up upon input in my flutter app

i want when the user wants to input something, the keyboard should push the screen up instead of creating an error, i don't want the keyboard to cover on top of the screen by setting "resizeToAvoidBottomPadding" to true is what most people suggested but it covered on top of everything [...] read more
javascript
flutter
dart
0votes
1answer

How to use SizeConfig in ThemeData in Flutter

To create responsive apps in Flutter, I use size_configs.dart file which handles the responsiveness of the code in different screens. I inject the SizeConfigs().init(context); below the MyApp root widget to make the app responsive. The init method takes in a context to scale the width, height and fontSize. I created [...] read more
flutter
dart
flutter-layout
responsiveness
0votes
0answers

Errors while interacting with microSD card?

I have an ESP32-CAM board with a microSD card attached (8GB). In my setup function I create a directory. In loop the ESP32-CAM takes images and stores in the directory. The code successfully creates the directory and captures one image inside the directory. However, when the loop function runs the [...] read more
arduino-esp32
0votes
1answer

what does stack mean in oops message?

I'm learning Linux Device Driver There is a chapter about OOPS Message, and there is a stack part in this message I don't under stand the numbers in the stack area; and I googled, didn't find answer about this; Can anybody help to explain it? EIP: 0010:[<00000000>] Unable to handle [...] read more
oop
kernel
0votes
1answer

No window showing when building and running a C# MonoGame project

I've been working on a C# MonoGame project for a few days now and so far it has been building and running fine. I left it alone for a while and, when I came back, the window would no longer display (running as a console application displays a blank console [...] read more
c#
xna
monogame
exit-code
0votes
1answer

Ubuntu 18.04 Mailcow Installation not booting after increasing Volume size AWS EC2

We have an installation with Mailcow on AWS EC2. The volume earlier had 40GB which was modified to 60GB when we saw df giving 100% usage. After the volume size was increased, the changes did not reflect so we restarted the server (we generally do that in GCP and it [...] read more
amazon-ec2
ubuntu-18.04
boot
0votes
1answer

Values of padding bytes in C

I've spotted a strange behavior in this small C program. I have 2 structures, both with padding bytes, but in different places. The first structure has padding bytes with indices [1:3], and the output is expected: static variables are zeroed-out, so padding values are all 0, local variables on stack [...] read more
c++
c
byte
padding
0votes
0answers

shutil.copyfileobj() returns IOError: [Errno 35] Resource temporarily unavailable

I have a Python app part of which copies files and then runs a checksum check on them to make sure they copied correctly. It's been running fine for months on the internal network at several companies on MacOS and Windows environments with various types of network drives hosting source [...] read more
python
python-2.7
io
shutil
0votes
0answers

Interpret macOS system log when it freezes

My Mac (Macbook Air 2017) permanently goes to grey screen of death, and the only thing I found in logs is below. Please help to realize what is the problem? Maybe some hardware damaged? SSD? -------------------------------------------------------------------------------- Tue Mar 30 22:38:08 2021 *** Panic Report *** panic(cpu 0 caller 0xffffff7f8976eb30): nvme: [...] read more
macos
0votes
2answers

Dereferncing a pointer doesn't return the real value in the memory address

I'm developing an embedded application on STM8S using STVD IDE and Cosmic C compiler. I'm trying to read FLASH memory byte by byte to calculate CRC. Following is my code snippet: uint32_t crc32_buffer(const uint8_t *buf, uint32_t len) { uint32_t index = 0; uint32_t crc = 0xFFFFFFFF; uint32_t flashIndex = 0; [...] read more
c
pointers
memory
embedded
0votes
1answer

Ask for clarification about "the segment registers continue to point to the same linear addresses as in real address mode"

The question is about persistent validity of code segment selector while switching from real mode to protected mode on intel i386. The switching code is as follows (excerpted from bootasm.S of xv6 x86 version): > 9138 # Switch from real to protected mode. Use a bootstrap GDT that makes > [...] read more
segment
descriptor
i386
protected-mode
gdt
0votes
0answers

Data update on Get.back () getx

Problem with updating data when going back. Transition scheme: ProfileView -> FollowingPersonalView -> ProfilePublicController -> FollowingPersonalView -> ProfilePublicController -> FollowingPersonalView When going from ProfilePublicController -> FollowingPersonalView, I somehow managed to make the data update, although I'm not entirely sure I did it right. But when you go back FollowingPersonalView -> [...] read more
flutter
getx
0votes
2answers

Can't connect to a postgres server

I have a strange situation, I have created a second postgres server that will eventually become a slave to my current master, anyway for testing purposes I have currently installed postgres, and testing connections from other hosts. In my postgresql.conf I have a nice an easy: listen_addresses = '*'# what [...] read more
postgresql
freebsd
0votes
0answers

How can I NAT LAN IP/port to another LAN IP/port in QNAP NAS

First, I explain why I need NAT for the IP/port redirection within the same LAN segment. Well, smartphone, tablet and laptop have apps that use resources on home NAS. Some of these resources are installed in containers on the same NAS and are in the same LAN as the main [...] read more
iptables
routing
port-forwarding
qnap
0votes
1answer

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-3.2# cat /etc/ipnat.rules map fxp0 lama -> 0/32 rdr fxp0 [...] read more
freebsd
nat
0votes
1answer

"ip rule to" works but "ip rule fwmark" fails - why?

I have a CentOS 6 (kernel 2.6.32) router with working OpenVPN client on it, and I want to redirect some traffic via VPN server. Client (192.168.60.159) sends request to router (192.168.60.6:1443), and router redirects it via VPN connection (10.200.0.54) to server (185.61.149.21:443). I've created a specific routing table tunde and [...] read more
iptables
iproute2
0votes
1answer

OpenVPN server assigns same IP address (10.8.0.6) to all connected clients

I followed How To Set Up and Configure an OpenVPN Server on Ubuntu 20.04 to setup OpenVPN server. I noticed, when any clients connects to OpenVPN Server, each of them is getting same IP address: 10.8.0.6. In /etc/openvpn/server/server.conf, I have these settings so that it can assigns IP addresses in [...] read more
ubuntu
openvpn
ip-address
0votes
0answers

multi wan multi vpn load balance and failover with iptables

Litle setup description: intel sbc connected with vlans managed switch connected with vlans wan1 dhcp 100M cable internet wan2 dhcp 100M+ mobile internet wan3 dhcp wifi wan4 dhcp pppoe cable internet 5 networks 10.x.x.x one nic for each interface multiple dhcp openvpn clients Wan 2-4 are hotplugged, and for now [...] read more
iptables
openvpn
multipath
0votes
0answers

Docker daemon fails to start on RaspbarryPi

I have a docker problem which - when consulting the web - seems to happen quite often. Still, I didn't find among the million post I read and tried a solution. I can start "systemctl start docker.socket", but not "systemctl start docker", neither "sudo dockerd" seems to work, at least [...] read more
docker
0votes
1answer

HAProxy 1.5.4 Performance Tuning

I currently have HAProxy 1.5.4 setup using keepalived for HA on centos 7 using IPtables to create a transparent load balancer to load balance a number of cisco WSA proxy servers for internet filtering on an infrastructure of around 15,000 users running on vmware and cisco UCS with one GB [...] read more
haproxy
0votes
1answer

Linux traffic control u32 hashtable filters based on MAC address

I am currently working with a traffic shaping Linux node. The rule set has grown to about 2500 hosts, all identified specifically by MAC address. The filter configuration is "basic", meaning that on average, 1250 rules must be tested before a packet is filtered to the correct class. At line [...] read more
linux-networking
tc
traffic-shaping
traffic-management
0votes
0answers

Make Headless Server Use Hardware Accelaration

I have a headless CentOS 8 Server with an AMD GPU. I want to use hardware acceleration but when I run OpenGL programs with xvfb-run (e.g glxinfo), the system reports I am using software rendering. How can I use hardware acceleration on a headless server? Note that even though output [...] read more
linux
centos
headless
gpu
0votes
0answers

Supplemental to Need to replace the HDD on a single disk system

This question is a follow on to my original. The situation is a host with a single HDD must be cloned to a larger HDD over the network. I ran a couple of tests of a clonezilla live remote transfer from a 500Gb HDD to a 1000Gb HDD. The second [...] read more
centos6
lvm
clonezilla
0votes
1answer

Using tc filter together with Snort

I need to add delay to packets after doing some modification using the SNORT inline module. However, I cannot seem to get the packets to match a filter using tc filter ... It always matches the default filter. The commands I am using are stated below: sudo tc qdisc del [...] read more
tc
snort
0votes
1answer

Nginx IP transparency reverse proxying but upstreams need to be able to initiate connections to Internet

I have a docker swarm consisting of an Nginx service that serves as a reverse proxy for a couple of other upstream services, web and mail. Both web and mail service need to connect to an external service via HTTPS in order to perform authentication. The mail service needs to [...] read more
linux
networking
nginx
iptables
docker
0votes
0answers

IPSec tunnel causes huge packets lost when pinging gateway and other machines

My Ubuntu machine is 10.0.0.15, my Windows machine is 10.0.0.10. My gateway, that routes the Internet traffic to the LAN is 10.0.0.1. When I ping the gateway from my Windows machine everything is fine - I get every single packet back. Same holds true, when I ping the Ubuntu machine [...] read more
networking
linux-networking
ipsec
ubuntu-18.04
icmp
0votes
1answer

IPVS traffic doesn't seem to go through netfilter on the director node

I have the following setup on a director node running keepalived: * native IP 10.65.5.72 * VIP 10.65.5.230 * keepalived DR mode enabled for port 80 and 443 I was debugging a problem where I couldn't access the IPVS service from the director node itself, and during that process noticed [...] read more
iptables
ipvs
0votes
0answers

Jboss EAP5 fails to start on Linux

I am trying to start JBoss EAP5 server on Linux CentOs machine. However, the process gets killed abruptly and I get nothing in the boot.logs. Please find the logs below: Server Library URL: file:/usr/share/jboss-5.1.0.GA/server/default/lib/ Server Log Dir: /usr/share/jboss-5.1.0.GA/server/default/log Server Native Dir: /usr/share/jboss-5.1.0.GA/server/default/tmp/native Server Temp Dir: /usr/share/jboss-5.1.0.GA/server/default/tmp Server Temp Deploy Dir: [...] read more
linux
jboss
0votes
0answers

Why can't I ping 127.0.0.1 from some network interfaces?

I'm on OS Sierra. This is (part of) what I get on ifconfig ... en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 98:01:a7:b4:91:63 inet6 fe80::4e:52ae:9fa8:2e6c%en0 prefixlen 64 secured scopeid 0x5 inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active ... utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1400 inet 10.161.136.55 --> 10.161.136.55 netmask 0xffffffff [...] read more
networking
netstat
ifconfig
0votes
1answer

RabbitMQ SSL connection works from an Ubuntu14.04 machine but not from a CentOS 6 machine

I have setup a rabbitmq ssl connection on my remote server as per the docs here: https://www.rabbitmq.com/ssl.html I am using java rabbitmqclient to connect to the remote server and sending a hello message to a queue on rabbitmq-server, the connection works fine from my local ubuntu 14.04 machine but does [...] read more
centos
ssl
java
openssl
rabbitmq
0votes
2answers

Run OpenVPN server on alias IP

I want to configure OpenVPN server that works on alias IP. I changed the client config to have alias IP as remote and added "local 188.xx.xx.55" in OpenVPN config which is our alias IP. Also set "netd_interface=188.xx.xx.55" which is again alias ip. When the VPN connects and I check my [...] read more
openvpn
ip-aliasing
0votes
1answer

RDS 2012 R2 some users are not able to logon after changed date and time on Connection Brokers

Due to a malconfigured NTP server of ntp.org, the date and time on all our servers and client was set to the date of tomorrow (1/1/2017 instead of 31/12/2016). We've manually changed the date back to the date of today on our Primary Domain Controller (PDC) and executed w32mt /resync [...] read more
windows-server-2012-r2
remote-desktop-services
0votes
1answer

How do I load balance outgoing connections with iptables and iproute2?

I have a server behind two public facing gateways INTERNET | | GW1 GW2 | | SERVER GW1's IP is 192.168.w.x, MAC aa:bb:cc:dd:ee:ff GW2's IP is 192.168.y.z, MAC ff:ee:dd:cc:bb:aa # note: w != y and I'm trying to load balance outgoing connections from the server. I've built upon pepoluan's solution [...] read more
iptables
load-balancing
iproute2
0votes
1answer

Two Azure VM clones have different processor

I have two Ubuntu 16.04 Azure VMs created from the same image, in the same region (WestEurope), configured to be the same size (Standard A1, 1 vcpus, 1.75 GB memory) and created at the same time (days of difference). Inspecting the CPU info they are completly different, one being a [...] read more
azure
0votes
1answer

Route ftp packets to one network interface, the rest to the other

I have an ubuntu 14.04 server with two NICs, each one connected to seldom routers, each with separated internet access. We want to redirect ftp ports traffic through the second interface, em1, and all the rest through the default interface p4p1. I have both interfaces up. I've followed the instructions [...] read more
iptables
routing
linux-networking
0votes
1answer

Windows Server 2012 R2 - Help finding failed logon attempts source

I'm seeking help for this issue that I'm having in our AD domain controller where a lot of security events are being logged due to failed logon attempts by a (former) domain user that has been disabled and subsequently deleted. I'm trying to pin-point the origin of these attempts but [...] read more
active-directory
windows-server-2012-r2
domain-controller
windows-authentication
eventviewer
0votes
2answers

Inconsistencies with Linux tc filter u32 matching on packet data payload - can someone explain?

I would just like some heads up on this as I really don't understand -why- this is the case. Further down is the TCPDUMP output (tcpdump -s0 -XXnni eth0 tcp port 80) of the 'HTTP' response a webserver gives when a normal GET request is made to it. What I [...] read more
linux
networking
filter
pcap
tc
0votes
0answers

Ubuntu Server 16.04 64bit had only 8Gb of RAM when 16GB are installed

I have one DIMM installed on a Lenovo x3550 M5 server. The OS is Ubuntu 16.04.2 64 bit uname -ra Linux hostname 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux free -hm gives: total used free shared buff/cache available Mem: 7.2G 238M 6.5G 20M 474M [...] read more
ubuntu
memory
0votes
1answer

Kerberos authentication ticket - Event ID 4768 - Audit failure

I am using kerberos to authenticate a user and its failing. Audit failure details in event viewer are following A Kerberos authentication ticket (TGT) was requested. Account Information: Account Name: HTTP Supplied Realm Name: TEST.COM User ID: NULL SID Service Information: Service Name: krbtgt/TEST.COM Service ID: NULL SID Network Information: [...] read more
windows-server-2008
active-directory
kerberos
0votes
2answers

4 TB external disk on Centos 5

I have an old server running CentOS 5(Kernel 2.6.18-92.el5). It is running a legacy application so I can't retire it yet. I had connected a 2 TB USB disk to it to take backups and the disk is almost full right now. I bought a new 4 TB disk but [...] read more
partition
centos5
fdisk
parted
0votes
1answer

OpenVPN block SMTP Access Server completely

I've tried almost all iptables rules to block smtp on openvpn server but still clients clients can access remote smtp servers on port 25. I'm using openvpn access server. It's creating two interfaces as0t0 and as0t1. All users assigned ips from 172.16.0.0/12. Please help me what rules can be written [...] read more
iptables
smtp
openvpn
0votes
1answer

Network configuration fault

I'm moving my router from Rpi with Rasbian to another pc device with ubuntu server 14. I have: - local network 10.0.0.0/16, with my router gateway 10.0.0.1 - lte usb device 192.168.8.1 in network 192.168.8.0/24 - lte usb device 192.168.10.1 in network 192.168.10.0/24 I have moved all network settings with [...] read more
linux
ubuntu
iptables
routing
0votes
1answer

Captive portal with iptables and local dns server

I'm trying to redirect all the browser's requests from my wifi interface wlan1 to a captive portal. I have a node web server running on my target on 10.4.30.34:4040. It has to redirect the browser directly to the web server, on the good port, like I entered "10.4.30.34:4040" in the [...] read more
iptables
dnsmasq
captive-portal
0votes
1answer

CentOS Development Server Crashing Frequently

I am running a development server on a fairly old version of CentOS 5. This server has been live almost constantly for the past five years ago, so has been pretty stable. A while ago, it crashed during normal operation. I restarted it and it crashed again after a few [...] read more
centos
centos5
server-crashes
0votes
1answer

unable to find driver - lamp debian

This is my php sample script: <?php try{ $db=new PDO('mysql:dbname=_mydb;host=localhost', 'root', 'xxxxxx'); }catch(PDOException $e) { echo "Error: ".$e->getMessage(); } ?> And I have returned: could not find driver Also: user@nbook:~$ php -i|grep PDO PDO PDO support => enabled PDO drivers => mysql PDO Driver for MySQL => enabled This is [...] read more
mysql
php
pdo
0votes
1answer

"No inittab file found" after reset

An old dedicated server (Debian with Raid1) wasn't responding today and now can't boot after manual reset. Last message is > No inittab file found. I still have access to filesystem via rescue system. Ran fsck and checked raid (both arrays are clean). Booting 'Debian GNU/Linux, kernel 2.6.26-2-amd64 Default' root [...] read more
debian
raid
boot
inittab
0votes
1answer

PBR with iptables

I know question was answered multiple times, but this situation a bit different. So here is what I have: * All users must user default gateway on eth0, except one * That one must only use gateway on eth1 and must not under any circumstances use eth0 Separately this things [...] read more
debian
iptables
routing
policy-routing
0votes
1answer

LAMP server kerberos config to authenticate against a read only Windows KDC in a dmz

Background: We have a number of AD networks (domains) that are connected through VPNs and have established AD trust relationships. We have an externally hosted web server and have configured seamless authentication for any user within the trusted network. This works but the presence of the VPN to an external [...] read more
apache-2.2
active-directory
kerberos
dmz
domain
0votes
1answer

iptables rules for lvs using piranha gui

I am trying to bulid an lvs system, where 202.141.81.239 is the virtual IP and 202.141.81.241 and 202.141.81.242 are the lvs routers.Ths system is working fine in our intranet but is not through internet. The following is my iptables configuration # Generated by iptables-save v1.4.7 on Tue Mar 25 12:30:26 [...] read more
redhat
lvs
piranha
0votes
0answers

iptables 1.4.12 invert and --u32

This line in a script: iptables -A jk2_ddos -m u32 ! --u32 "0x1c=0xffffffff" -j ACCEPT will result in this error: iptables v1.4.12: u32: option "--u32" cannot be inverted. This seems not to work in iptables 1.4.12. In older versions it worked. I need something that does the same. The problem [...] read more
linux
iptables
0votes
1answer

debugging smtp | ubuntu 12.04, postfix, dovecot

I cannot sucessfully connect to my smtp server from my mail client. I am getting the following errors in my /var/log/mail.log file Dec 21 15:08:04 pareto postfix/smtpd[11101]: SSL_accept:SSLv3 flush data Dec 21 15:08:04 pareto postfix/smtpd[11101]: read from B96D2180 [B96C1EB3] (5 bytes => -1 (0xFFFFFFFF)) Dec 21 15:08:04 pareto postfix/smtpd[11101]: read [...] read more
email
postfix
smtp
vps
dovecot
0votes
0answers

CONNMARK restore not working for UDP based traffic ( exposed vi K8s Nodeport )

I have a K8s cluster hosting a UDP based application that is exposed via nodeport with externaltraffic policy local. The return traffic needs to routed back to two separate LBs which are deployed in DNAT mode. The default gateway of the worker nodes is local router, so the return traffic [...] read more
linux
networking
iptables
kubernetes
0votes
0answers

How to Clone OS from HDD to SSD with different sector sizes

I have an Asus laptop with 1TB HDD and I bought an NVME type SSD recently. I want to clone my OS from HDD to SSD and I'm getting different sector size error for both cloning and image restoring. Even the PC do not list down the SSD to install [...] read more
windows-10
hard-drive
ssd
clone
0votes
0answers

Vulkan won't run on Ubuntu 20.04 with TITAN RTX and nvidia-driver-450.51.05, any ideas?

I'm trying to run a vehicle simulator based on UE4 on a Linux machine with a TITAN RTX. The TITAN works smoothly for CUDA work and documentation says it supports Vulkan, but Vulkan won't run which stops the simulator from running. One possible complication is I'm running nvidia-driver-450 which is [...] read more
linux
drivers
graphics-card
nvidia
0votes
1answer

How to change Power options through registry or through command line?

I want to change powercfg.cpl "Power Options" directly through registry. Specifically I want to change this: enter image description here [https://i.stack.imgur.com/R2Fqq.png] To these settings: enter image description here [https://i.stack.imgur.com/mQyWK.png] I am using a desktop computer on alternating current power, therefore power saving is unnecessary and it impairs performance; I have [...] read more
windows-10
command-line
windows-registry
power-management
0votes
0answers

How to use wireguard and OpenVPN connect at the same time

My ifconfig looks like this: utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420 options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM> inet 10.1.0.100 --> 10.1.0.100 netmask 0xffffffff utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 172.27.245.240 --> 172.27.244.1 netmask 0xfffffe00 utun2 is my wireguard (MacOS app) interface which gives me access to IPs on the 10.1.0.0/24 network utun3 is my OpenVPN interface which somehow [...] read more
networking
vpn
openvpn
wireguard
0votes
0answers

Information needed on two parameters in power setting GUID in Windows 10

A windows powerplan sets a number of behaviors of the system and these are enumerated as separate power setting GUIDs. For example Power Setting GUID: 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 (System unattended sleep timeout) GUID Alias: UNATTENDSLEEP Minimum Possible Setting: 0x00000000 Maximum Possible Setting: 0xffffffff Possible Settings increment: 0x00000001 Possible Settings units: Seconds Current [...] read more
windows-10
power
0votes
1answer

How to make amdgpu.ppfeaturemask work with kernel 5.4.0 of ubuntu 20.04?

I can unlock the access to adjust clocks and voltages of my AMD GPU by appending the Kernel parameter amdgpu.ppfeaturemask=0xffffffff with kernel 5.8.x of Ubuntu 20.04 but not with kernel 5.4. Why not with kernel 5.4 ? With kernel 5.8, I can edit the file /sys/class/drm/card0/device/pp_od_clk_voltage but with kernel 5.4, [...] read more
ubuntu
kernel
overclocking
0votes
3answers

Virtual machine has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)

I have installed VB on a new machine running Windows 10 Pro 1803 (build 17134.556) and running any machine instance always fails with this error: The virtual machine 'linux' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in 'C:\Users\osama.shabrez\VirtualBox VMs\linux\Logs\VBoxHardening.log'. Result Code: E_FAIL [...] read more
virtualbox
0votes
2answers

Video from vhs via USB capture device on Linux

I want to transfer video from a VHS tape to my computer with Arch Linux, using a USB capture device that comes with Roxio Easy VHS to DVD, which I recently bought. I tried to plug in the device, and it was properly recognized. From /var/log/messages.log, em28xx #0: Identified as [...] read more
linux
video
video-capture
0votes
3answers

Disable/pause AHK script while game is minimized

I have an AHK script that allows me to bind joystick presses to keystrokes. These keystrokes are used to trigger functions in a trainer that runs in the background while I play a game. The script works fine, but the problem is that the joystick bindings send unwanted input to [...] read more
script
autohotkey
0votes
0answers

I got a SIGILL and JVM crashed when I booted a java application with --agentpath:libxxx.so on AIX 7.1

My dynamic shared library complied with CPPFlAGS: -q64 -G. The compiler version is IBM XL C/C++ for AIX, V11.1 (5724-X13) Version: 11.01.0000.0024 when it was started, then crashed, here is part of information in hs_err*.log. It seems that this error occurred by dlopen # # A fatal error has been [...] read more
crash
aix
jvm
0votes
1answer

UBI layout volume not found

I am following Bootlin's embedded Linux training which aims to put an embedded Linux system on an Atmel SAMA5D4 Xplained board (theory slides, practical lab instructions) and I am stuck a putting the whole system on the NAND flash. They ask me to put the DTB, the kernel, the root [...] read more
linux
embedded-linux
0votes
1answer

Why isn't my forced MAC address change working (Raspberry Pi)?

I'm working with Raspberry Pi Zeros on a subnet. I bought external Ethernet adapters for each one to connect them to one another. Unfortunately, these ethernet adapters all came with the exact same MAC addresses, making communication between the Pis near impossible. Because of that I've tried forcing a change [...] read more
linux
networking
raspberry-pi
subnet
0votes
1answer

Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings

My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more
windows-10
sleep
power-management
dell-inspiron
0votes
1answer

Two openvpn connections: one with redirect-gateway and a second one for private network

I have a personal VPN that I use as a default gateway for all Internet traffic when I'm on the road. This works great and I have no problem. I also have a work VPN, which I need to connect to reach machines on their private network. What I want [...] read more
networking
routing
openvpn
0votes
0answers

different speed ssd partitions

I have Samsung NVMe SSD 960EVO 250GB disk and it gives me some weird result when testing read speed using hdparm -tT. Speeds before trim /dev/nvme0n1: Timing cached reads: 24486 MB in 2.00 seconds = 12256.70 MB/sec Timing buffered disk reads: 5502 MB in 3.00 seconds = 1832.95 MB/sec jkalmar@supercomp:~> [...] read more
linux
ssd
performance
opensuse
0votes
0answers

Kworker thread has high CPU usage

I have a kworker thread with high cpu usage, which is causing my touchscreen to be very lag-y and unresponsive. Running a beaglebone with Debian. uname -r 4.1.15-ti-rt-r43 pid user pr ni virt res shr s %cpu %mem time+ command 90 root 20 0 0 0 0 R 34.7 0.0 [...] read more
linux
cpu
kernel
linux-kernel
threads
0votes
1answer

HP Proliant getting down with Critical error LED Blinking - what then?

After a few hours of correctling working, our proliant Server stop calculus with the System Healt LED 12 blinking, which according to the documentation ( http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c01706108-8.pdf ) is the sign of a "Critical system failure detected (processor, memory, regulator, thermal event, fan, NMI)" (page 96). SSH is then lost. We [...] read more
linux
ubuntu
memory
0votes
0answers

PPTP error 619 when accessed externally

I set up a PPTPD server on Arch Linux. If I connect to the VPN using the server's local IP (192.168.1.107), it works, but if I connect to the VPN using the external IP address, then the client results in error 619. Any help would be greatly appreciated! Output of [...] read more
linux
networking
vpn
arch-linux
pptp
0votes
2answers

Postfix SMTP SSL config: Can't send email but can receive it with SSL

I am trying to finish configuring my postfix/dovecot mail server that sits behind my home's router/firewall. I'm on Mint/Ubuntu 12.04. I'm close. I can connect/retrieve emails via SSL but can only send email from a client when not using SSL, just username/password. If I attempt an SSL connection with the [...] read more
email
ubuntu-12.04
ssl
postfix
dovecot
0votes
1answer

Recieved BSOD after restart

When i start my laptop i get this error "DPC_WATCHDOG_VIOLATION" i really donyt know what is the issue... can some one help.... -------------------------------------------------------------------------------- DUMP FILE Microsoft (R) Windows Debugger Version 6.3.9600.17336 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [I:\121115-55411-01.dmp] Mini Kernel Dump File: Only registers and [...] read more
windows-8
bsod
0votes
2answers

Windows 8.1 dual-boot with openSUSE boot failure

I already have Windows 8.1 on my newly built PC and wanted to dual-boot with openSUSE. I wrote the install image to a USB, but the install kept hanging so I used network install (also written to a bootable USB). Before install I created a separate 100 GB partition on [...] read more
linux
boot
windows-8.1
partitioning
opensuse
0votes
0answers

Suspend does not work on Debian Jessie

Today I observed that suspend sometimes does not work properly in freshly installed Debian Jessie. After executing suspend (Alt + Shut Down button) the following message appears on black screen: Loading, please wait... The syslog is as follows. I kindly as for any suggestions. Jul 12 18:53:10 svarog kernel: [ [...] read more
linux
debian
suspend
0votes
0answers

pm-hibernate does not turn off system

I'm trying to make pm-hibernate to work on my Ubuntu 14.04 system. When I invoke sudo pm-hibernate display turns off and I can't do anything anymore but computer does not turn off. All I have found in logs is: Mar 17 21:40:25 dmitry-pc kernel: [ 0.000000] PM: Registered nosave memory: [...] read more
linux
ubuntu
hibernate
ubuntu-14.04
0votes
1answer

Mono is crashing on MAC OS X with Keepass 2.23

Mono is crashing on MAC OS X (10.8.4) with Keepass 2.23 while accessing password database. Using keepasshttp with firefox. Any workaround for this ? =========================================================== Process: mono-sgen [7586] Path: /usr/bin/mono Identifier: mono-sgen Version: ??? Code Type: X86 (Native) Parent Process: bash [7194] User ID: 501 Date/Time: 2013-08-15 13:34:28.515 +0530 OS [...] read more
macos
keepass
mono-framework
0votes
2answers

Why can't I connect to an AFP server over VPN on OS X 10.8

I have set up a VPN connection on my MacBook Pro OS X 10.8.5 laptop, to my office network so I can access my AFP file server from home. The VPN connection appears to be working correctly. The Status reads Connected and I am getting both a connect time and [...] read more
macos
networking
mac
vpn
afp
0votes
1answer

Bluetooth / Bluez: No reply to ping over bnepX interface

I have trialed to use Network, NAP profiles on Bluetooth. On Host, xUbuntu 13.04 I have followed as here. This Host or XUbuntu machine is behind proxy & runs on virtual machine. It is installed with Bluetooth version 4.101 On embedded board, ping 173.194.112.211 responds as below: PING 173.194.112.211 (173.194.112.211) [...] read more
linux
networking
wireless-networking
bluetooth
0votes
0answers

command to write to physicaldrive?

I have a bat file that we use to write meaningless data to a harddisk. But I dont know what exactly it means... Here is the command: dtlite2 of=\\.\physicaldrive1 bs=256k limit=200m passes=1000 disable=cache pat_part1=0xffffffff pat_part2=0xffffffff pat_part3=0x0 pat_part4=0x0 dlimit=2048 platform is windows. This is run from a bat file. read more
windows
hard-drive
writing
0votes
1answer

Laptop computer grahpic opens and loads slowly

So i have this laptop whenever i open a folder, close a folder, or do anything graphical it runs slowly. and when i say slow i mean you can actually SEE in slowmo the animation running. Say for instance you want to open a folder. you can see the full [...] read more
windows-7
graphics-card
graphics
0votes
2answers

Wine crashes when trying to run portable version of Firefox

I think there is something wrong with my Wine setup, but I don't know how to fix it or even what it is. Others have gotten this program to work without problems in Wine. This is the console output that I get from Wine before it crashes. > fixme:system:SetProcessDPIAware stub! [...] read more
linux
ubuntu
firefox
ubuntu-10.04
wine
0votes
1answer

OSX Panic about once a week

I am running OSX 10.6.6 and I this is the second kernel panic in 2 weeks. Here is the log that gets sent to Apple. Help! Model Name: MacBook Pro Model Identifier: MacBookPro6,2 Processor Name: Intel Core i7 Processor Speed: 2.66 GHz Number Of Processors: 1 Total Number Of Cores: [...] read more
macos
kernel-panic
-1votes
0answers

I'm not understanding this function for stable train/test split even after updating the dataset

I am reading Auriel Geron's book 'Hands on Machine Learning', and I have been trying to understand the following function: def test_set_check(identifier, test_ratio): return crc32(np.int64(identifier)) & 0xffffffff < test_ratio * 2**32 According to the book: > to have a stable train/test split even after updating the dataset, a common > [...] read more
python
machine-learning
hash
crc32
-1votes
0answers

listview not working in flutter Android release mode

listview not working in flutter Android release mode I am using firebase as the database in my app. import 'dart:async'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:firebase_admob/firebase_admob.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; import 'package:velocity_x/velocity_x.dart'; import 'package:mbmelearning/constants.dart'; class UsefulLinkMb extends StatefulWidget { @override _UsefulLinkMbState createState() => _UsefulLinkMbState(); } class _UsefulLinkMbState extends State<UsefulLinkMb> { BannerAd _bannerAd; [...] read more
android
firebase
flutter
google-cloud-firestore
-1votes
2answers

RDP in 2008 R2 domain no longer working - possible Kerberos issue

Everything was working fine and no changes were made. For no apparent reason, we can no longer RDP to any domain computers except for the domain controllers themselves. This includes Windows 7 clients and non-controller 2008 R2 servers. After entering the password, we immediately get the following error message: "The [...] read more
windows-server-2008
remote-desktop
rdp
kerberos
-1votes
2answers

How to make an arbitrary Microsoft FILETIME?

I would like to make an arbitrary Microsoft FILETIME. The algorithm is more important than the Microsoft programming language. For example if today is June 2 2016, I would like to calculate the FILETIME at midnight June 2016. Any help is greatly appreciated. [EDIT June 2 2016 5:09 P.M Here [...] read more
windows-7
date-time
algorithm
-2votes
2answers

Bottom overflowed by x pixels when showing keyboard

I'm new to Flutter and I have a problem. When I click on TextField and keyboard is shown I get this error and also it's impossible to click button 'Kontynuuj'. A RenderFlex overflowed by 227 pixels on the bottom. The relevant error-causing widget was: Column file:///C:/../lib/ui/pages/EmailPage.dart:37:16 The overflowing RenderFlex has [...] read more
flutter
dart
-2votes
1answer

Can't use a method from another file in same package

That is my server.go file where I define my server struct and its methods. package main import ( "fmt" "log" "net/http" "github.com/gorilla/mux" ) type FrontendServer struct { Router *mux.Router } func (f *FrontendServer) Run(addr string) { log.Fatal(http.ListenAndServe(addr, f.Router)) } // func (f *FrontendServer) InitializeRoutes() { // f.Router.HandleFunc("/", f.handleHome) // } [...] read more
go
pointers
module
package
-2votes
0answers

Problem with stacked encryption and decryption XTEA in Python

I have a problem with my code. I need to stack encryption 100 000 times and then decrypt that thing 100 000 times. I cannot find an answer, why my code works properly with 11 repeats, but when I put in range the number bigger than 11, console returns incorrect [...] read more
python
python-3.x
encryption
xtea
-2votes
1answer

RenderBox was not laid out

This is the error I have: RenderBox was not laid out: RenderSemanticsGestureHandler#416ac NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE 'package:flutter/src/rendering/box.dart': Failed assertion: line 1940 pos 12: 'hasSize' The relevant error-causing widget was: Column file:///C:/Users/srini/AndroidStudioProjects/idealwieght/lib/Input%20Page.dart:21:13 Here is the code: import 'package:flutter/material.dart'; import 'constants.dart'; import 'Gesture detector.dart'; int height = 180; class InputPage extends StatefulWidget { @override [...] read more
flutter
-2votes
0answers

Python Struct() __init__() takes 2 positional arguments but 3 were given

I'm trying to convert Python 2 script to Python 3 and I'm stuck with Struct(), what I'm doing wrong? I think the problem is with Struct() but I don't see where is the problem. Error Traceback (most recent call last): File "C:\Users\xxx.py", line 206, in <module> main() File "C:\Users\xxx.py", line [...] read more
python
python-3.x
-2votes
1answer

Console bugging and bugged, evidently

It appears that a false file path has been installed on a home computer many of us use, that reroutes my emails from gmail, to an Entourage mail app that I do not use, and from my dock have no access to…. My question is, is this even possible, and [...] read more
macos
-4votes
1answer

How can I put visuals in my created console game? Can you help me with that

I am about to program a game which is a pong game and I have to set its graphics but I don't know how, can someone help me with that? I'm using dev c++. Attached is the pong game source codes that I copied from the internet. Bascically this doesn't [...] read more
c++
game-engine
-4votes
1answer

is there any web crawler can get access to users region for download?

Actually I am using Httrack as a web crawler, can it use my credentials to access members area and download the zip files because they are restricted from public access. Thank you in advance. Update: After all the problem was with my IPV6 it must be disabled; with (Windows 8 [...] read more
web-crawler

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0