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

325votes
22answers

Duplicate ID, tag null, or parent id with another fragment for com.google.android.gms.maps.MapFragment

I have an application with three tabs. Each tab has its own layout .xml file. The main.xml has its own map fragment. It's the one that shows up when the application first launches. Everything works fine except for when I change between tabs. If I try to switch back to [...] read more
android
android-fragments
android-maps
illegalargumentexception
21votes
3answers

Implementing a slider (SeekBar) in Android

I want to implement a slider, which is basically two lines, one vertical and one horizontal, crossing where the screen is touched. I have managed to make one but I have to issues: 1. The slider is not very smooth, there is a slight delay when I'm moving the finger [...] read more
android
slider
touch
seekbar
20votes
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
15votes
2answers

My app works but log gives "No package ID ff found for ID 0xffffffff."

I have an app that works fine on my emulators and on my own device. However, when I navigate between views I get the message No package ID ff found for ID 0xffffffff. all the time. I do not know what it means or where it comes from. Searching through [...] read more
android
11votes
5answers

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
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
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
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
8votes
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
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
7votes
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
7votes
6answers

android.app.RemoteServiceException Bad notification posted

Sometimes my application get this kind of exception: Fatal Exception: android.app.RemoteServiceException: Bad notification posted from package com.packagename: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.packagename user=UserHandle{0} id=136094146 tag=null score=0: Notification(pri=0 contentView=com.packagename/0x109007e vibrate=default sound=default defaults=0xffffffff flags=0x11 kind=[null])) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:149) at android.app.ActivityThread.main(ActivityThread.java:5257) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) at [...] read more
android
android-notifications
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
6votes
1answer

ASA site-to-site IPSec vpn to linux ipsec-tools endpoints stops working after a random period of time

We swapped to ASA's over the weekend, and we replaced our VPN infrastructure which was previously based on openvpn and are now using IPSec between our ASA 5520's and our other sites that have linux (CentOS) routers. The VPNs connect just fine, but after a period of time the connections [...] read more
linux
cisco
cisco-asa
ipsec
racoon
6votes
4answers

Get all IP addresses from a given IP address and subnet mask

In Java, I need to get list of all IP Addresses contained by a given IP network. For e.g. let the netowork be: 192.168.5.0/24 then the output will be (192.168.5.0 ... 192.168.5.255). I could think of the following way but it looks dirty, is there any elegant way? There is [...] read more
java
network-programming
ip
6votes
1answer

Solution needed for building a static IDT and GDT at assemble/compile/link time

This question is inspired by a problem many have encountered over the years, especially in x86 operating system development. Recently a related NASM question was bumped up by an edit. In that case the person was using NASM and was getting the assemble time error: > shift operator may only [...] read more
assembly
x86
nasm
ld
osdev
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
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

How to convert uint to int in C with minimal loss of result range

I want the difference between two unbounded integers, each represented by a uint32_t value which is the unbounded integer taken modulo 2^32. As in, for example, TCP sequence numbers. Note that the modulo 2^32 representation can wrap around 0, unlike more restricted questions that do not allow wrapping around 0. [...] read more
c
math
language-lawyer
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

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
4votes
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
4votes
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
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
2answers

How can I get FreeNAS to respond to libvirt shutdown requests

I have a KVM VM of FreeNAS 0.7.1 Shere (revision 5127) running on Ubuntu Server 10.04 and I'm unable to convince the VM to shutdown from the host virsh shutdown freenas I would expect this to send some ACPI? trigger to the VM and FreeNAS then do what it's told. [...] read more
ubuntu
kvm-virtualization
electrical-power
freenas
4votes
1answer

Marking packets with iptables with a NAT

I have to write bash scripts for a router to control bandwidth limitation for a given user on a given domain name. For this, I'm using iptables to mark the packets incoming from a restricted domain to a user ip address in the private network. With each couple user_ip/domain_ip I [...] read more
linux
iptables
routing
nat
qos
4votes
2answers

confusion about int, char, and EOF in C

I'm learning K&R's classic C programming book 2nd edition, here's an example on page 17: #include <stdio.h> /* copy input to output*/ main() { int c; // char c works as well!! while ((c = getchar()) != EOF) putchar(c); } it's stated in the book that int c is used [...] read more
c
char
int
eof
4votes
5answers

How to use "setTextColor(hexaValue)" on Kotlin for Android,

BACKGROUND In Java, I could directly change the text color of a TextView, using the standard hexa-decimal value of it: textView.setTextColor(0xffffffff); //white textView.setTextColor(0x00000000); //transparent textView.setTextColor(0xff000000); //black textView.setTextColor(0xff0000ff); //blue //etc... Very easy... THE PROBLEM On Kotlin, if I try to write such a thing, I get with a weird build error: [...] read more
android
textview
kotlin
4votes
4answers

Installing app takes minutes with dex2oat warnings

I have re-opened an Android Studio project after quite some time, and I'm seeing fast builds as usual, but now the "Install" step from Android Studio (3.5) is taking minutes, while it used to take seconds. If I open the device Logcat while installing, I can see a huge amount [...] read more
android
android-studio
dex
android-multidex
dex2oat
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
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
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
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 starts [...] read more
windows-registry
setup
deployment
sysprep
3votes
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
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
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 hardware [...] 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
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
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
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
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
2answers

iptables NAT with multiple interfaces

I have an ubuntu 10 machine I'm trying to set up with NAT. eth0 is the WAN interface, that uses DHCP. eth1, eth2, eth3 are LAN interfaces. They are connected to 192.168.0.50, .51, .52 respectively. NAT through eth1 works great. On eth2/3, I get nothing -- "no route to host" [...] read more
iptables
nat
3votes
1answer

Anyway to remove white screen after splash screen

When on a slow connection, my Ionic app shows a white screen briefly on a slow connection. I am not importing any providers and the page does not have cordova plugins so it should not be an issue. Is there any way to 100% remove this. What I was thinking, [...] read more
ionic-framework
ionic3
ionic-view
3votes
2answers

Make AppBar transparent and show background image which is set to whole screen

I have added AppBar in my flutter application. My screen already have a background image, where i don't want to set appBar color or don't want set separate background image to appBar. I want show same screen background image to appBar also. I already tried by setting appBar color as [...] read more
dart
flutter
flutter-appbar
3votes
2answers

MediaMetadataRetriever setDataSource failed: status = 0xFFFFFFED

I need to fetch frames from video located in the web. That's how I do this: class PlayerWrapper { private static final MediaMetadataRetriever mMediaMetadataRetriever = new MediaMetadataRetriever(); … public void initPlayback(final Context context, final VideoSurfaceView videoSurface, final String url) { new Thread(new Runnable() { @Override public void run() { … [...] read more
android
ffmpeg
android-mediaplayer
mediametadataretriever
3votes
2answers

_mm_crc32_u8 gives different result than reference code

I've been struggling with the intrinsics. In particular I don't get the same results using the standard CRC calculation and the supposedly equivalent intel intrinsics. I'd like to move to using _mm_crc32_u16, and _mm_crc32_u32 but if I can't get the 8 bit operation to work there's no point. static UINT32 [...] read more
c
crc
3votes
3answers

StatefulWidget Page recreate when keyboard is open

In my profile page have edit option when use click edit icon i change Text widget to TextField Widget using Boolean condition like widget.isUpdate ? new Flexible(child: new TextField()) : Text("Text Widget") it working but when TextField focused the keyboard is open on that time StatefulWidget recreate so again Boolean [...] read more
keyboard
flutter
statefulwidget
3votes
3answers

Access to xmlhttprequest at from origin has been blocked by cors policy in Angular 6

I'm using Asp.Net Core Boilerplate framework for my server side project. Angular 6 using for the client side project. Server side project working without any errors. (Showing Swagger API - and APIs are also working) No any compile errors from Angular project. When run the angular project using Google chrome, [...] read more
c#
angular
asp.net-core
aspnetboilerplate
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
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
2votes
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
2votes
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
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

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 KB [...] 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
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
clock
xeon
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
5answers

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
3answers

How to configure an authoritative time server in Windows Server

I have a performance lab running behind a firewall, so none of the machines in the lab has internet access. All machines in the lab are part of a domain with the domain controller also present inside the lab. The problem is that some server's time are drifting heavily. Some [...] read more
windows-server-2003
windows-server-2008-r2
ntp
w32time
2votes
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
2votes
2answers

Normalizing a two complement number

I am working on some Tensilica processor and I don't understand the normalization process. NSA - Normalized Shift Amount Usage: NSA at, as NSA calculates the left shift amount that will normalize the twos complement contents of address register as and writes this amount (in the range 0 to 31) [...] read more
assembly
binary
normalization
twos-complement
fixed-point
2votes
2answers

Jna, Pointer already mapped to Proxy interface

I am trying to do a kotlin port of the openvr java binding and also updating it to 1.0.3 I got at the point of writing the IVRSystem struct/class I wrote all the methods manually to be sure that won't be any error from the automatic translator in Intellij I [...] read more
java
kotlin
jna
openvr
2votes
1answer

Android Media Player streaming - works in emulator, fails on hardware

I'm facing a weird problem related to Android, streaming and Media Player. The actual app is quite complex, but I have put the simplest possible test case: a 'Hello, World' activity launches Media Player with a hard-coded URL. This works fine in Android emulator, both API level 7 (which is [...] read more
android
media-player
emulation
hardware
2votes
1answer

Task Scheduler returns 0xFFFFFFFF in Windows 7

I created a Python script that collects data from a website and generates an Excel file based on a table in that website. I used pyinstaller with -w -F parameters to generate a .exe file. I ran this file a few times and it worked perfect so I decided to [...] read more
python
windows
task
pyinstaller
scheduler
2votes
2answers

What is the meaning of _BIG_ENUM=0xFFFFFFFF, in the last of the enum?

I am reading some codes and I found this _BIG_ENUM=0xFFFFFFFF in the last value of the enum.what is the correct meaning of this line. And this _BIG_ENUM is not used anywhere in the code; #define CLS_COMM_CONFIG PORT_0,BAUD_9600,DATA_BIT_8,ONE_STOP,NO_FLOW_CONTROL #define PLS_COMM_CONFIG PORT_1,BAUD_115200,DATA_BIT_8,ONE_STOP,NO_FLOW_CONTROL typedef enum _comm_config { _Zero=0, PORT_0=_Zero, BAUD_2400=_Zero, NONE=_Zero, HALF_STOP=_Zero, DATA_BIT_5=_Zero, [...] read more
c
enums
2votes
2answers

C++ VS Toolset 141 - 142 differences for cast

I am actually working on an old source code that use c-style cast. In that code, we cast some double values to unsigned long. The cast is correctly done when the code is compiled with VS2017 toolset v141. But now, we are migrating to VS2019 toolset v142, and the cast [...] read more
c++
casting
2votes
1answer

How to use IAudioClient3 (WASAPI) with Real-Time Work Queue API

I'm working on a lowest-possible latency MIDI synthetizer software. I'm aware of ASIO and other alternatives, but as they have apparently made significant improvements to the WASAPI stack (in shared mode, at least), I'm curious to try it out. I first wrote a simple event-driven version of program, but as [...] read more
c++
windows
winapi
windows-10
wasapi
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
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
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

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
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
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" [...] 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

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

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 in a Microsoft [...] read more
windows-server-2016
windows-update
credssp
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

Freebsd, ipfw sched - config type = QFQ get frozen

I have some freebsd soft-router $uname -r 8.2-STABLE code for ipfw: pipe 50 config bw 70Mbit/s sched 50 config type QFQ queue 502 config sched 50 weight 1 mask dst-ip 0xffffffff queue 501 config sched 50 weight 9 mask dst-ip 0xffffffff add 01501 queue 502 ip from 10.32.0.0/14 to 10.32.0.0/14 [...] read more
freebsd
traffic-shaping
ipfw
1vote
2answers

OpenVPN Network Unreachable

I'm working to set-up a VPN access to a group of virtual machines at Linode., the topology looks something like this: db.example.com LAN: (eth0:0) 192.168.154.127/255.255.128.0 utility.example.com LAN: (eth0:0) 192.168.164.229/255.255.128.0 And, more servers on the LAN with addresses in the same range. The utility server is hosting the OpenVPN Here's my [...] read more
ubuntu
mac-osx
routing
openvpn
1vote
1answer

Apache22 on FreeBSD - Starts, does not respond to requests

I'm running Apache 2.2.17 with the peruser MPM on FreeBSD 8.2-RC1 on Amazon's EC2 (so it's XEN). It was installed from ports. My problem is that, although Apache is running, listening for, and accepting connections, it doesn't actually respond to any or show them in the log at all. If [...] read more
apache-2.2
freebsd
1vote
1answer

MDADM Array Being Limited to 2.0TB

I have an MDADM array with four 1TB disks in a RAID5 configuration. Here's the relevant part of mdadm --detail /dev/md1: Version : 00.90 Raid Level : raid5 Array Size : 2929537920 (2793.83 GiB 2999.85 GB) Used Dev Size : 976512640 (931.28 GiB 999.95 GB) Raid Devices : 4 Total [...] read more
ubuntu
software-raid
mdadm
filesystems
1vote
3answers

Why is it necessary to set a netmask of 255.255.255.255 for “alias” addresses in FreeBSD?

From FreeBSD handbook on the topic of virtual hosts: > For a given interface, there must be one address which correctly represents the network's netmask. Any other addresses which fall within this network must have a netmask of all 1s (expressed as either 255.255.255.255 or 0xffffffff). Can anybody explain why [...] read more
networking
freebsd
alias
interface
1vote
1answer

NetLogon and RPC Errors

Situation: Co-located DCs connected by T1 to client working location. The T1 is averaging at about 2/3 usage. All 1 Active Directory. I am trying to deploy a start-up script to clients at the working location though GPO. It seems to work on some computers and not on others, but [...] read more
domain-name-system
active-directory
group-policy
netlogon
1vote
2answers

Linker file vector table for bootloader setup

I am currently trying to use a bootloader application created using MCUXPresso that requires that my application start address is located at 0x80000. According to the following documentation:enter image description here [https://i.stack.imgur.com/yTwDO.png] However, the .bin I generate is created with Kinetis Design Studio (an earlier version of MCUXpresso) and does [...] read more
c
embedded
microcontroller
linker-scripts
1vote
4answers

How to disable 'interrupt watchdog' in ESP32 OR increase ISR time limit?

I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding. I am facing an issue right now that the module uses hardware interrupt for playing [...] read more
arduino
arduino-ide
adafruit
esp32
1vote
2answers

Android Canvas.drawString display problem

I encounter this problem when displaying text on SurfaceView, some chars can climb up on others, code is here: private static void fakeDraw(Canvas c) { Paint mPaint = new Paint(); int color = 0xff000000; mPaint.setColor(color); mPaint.setStrokeWidth(2); mPaint.setStyle(Style.FILL); mPaint.setAntiAlias(true); FontMetricsInt fm = mPaint.getFontMetricsInt(); int fh = Math.abs(fm.top); int left = 0; [...] read more
android
canvas
metrics
drawtext
1vote
2answers

pinch zoom the layout in android

This is the zoom the layout. public class Zoom extends FrameLayout { /** * Zooming view listener interface. * * @author karooolek * */ public interface ZoomViewListener { void onZoomStarted(float zoom, float zoomx, float zoomy); void onZooming(float zoom, float zoomx, float zoomy); void onZoomEnded(float zoom, float zoomx, float zoomy); } [...] read more
android
pinchzoom
1vote
3answers

getting warning "assignment makes integer from pointer without a cast"

I get this warning on line 59: > assignment makes integer from pointer without a cast. How can I fix it? Here is the whole file (copied from http://pastebin.com/BrmjBAS0): /* bkerndev - Bran's Kernel Development Tutorial * By: Brandon F. (friesenb@gmail.com) * Desc: Global Descriptor Table management * * Notes: [...] read more
c
compiler-warnings
1vote
1answer

AutoHotKey - repeating if statement keeps treating its condition as true in a loop

I'm trying to create an autoclicker using AutoHotKey for a game which has a system for fishing. This system makes an icon of a black exclamation mark surrounded by a large square border of white appear above your head, at which point you have to spam left click to catch [...] read more
loops
if-statement
autohotkey
1vote
1answer

Xamarin.iOS cannot register with Azure Notification Hub in iOS 13.1.2

I have been dealing with this issue for a few days now. Yesterday an update was released for the Xamarin.Azure.NotificationHubs.iOS NuGet package. The way to register for the notification hub is NOW different in the sample on the Github link for the nuget package than in the Microsoft Azure documentation. [...] read more
azure
xamarin.ios
apple-push-notifications
1vote
1answer

remove streamBuilder loading widget

I get data from the cache. When clicking the search button showing RefreshProgressIndicator and then showing material_search page. Is it possible to remove loading on if(snapshot.hasdata){}else{loading widget} without null error message? If it is impossible, then how to use 'StreamBuilder' inside 'MaterialSerach' page? I used MaterialSearch plugin. builder: (BuildContext context) [...] read more
flutter
dart
1vote
2answers

Android crash on 'boolean com.mapbox.mapboxsdk.maps.Style.isFullyLoaded()' on a null object reference,

Hi I am trying MapBox for navigation and getting crash like this 2019-01-20 19:00:16.331 32005-32005/com.example.mapboxtest E/Mbgl-MapChangeReceiver: Exception in onDidFinishLoadingStyle android.content.res.Resources$NotFoundException: Resource ID #0xffffffff at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:225) at android.content.res.Resources.getDrawableForDensity(Resources.java:887) at android.content.res.Resources.getDrawable(Resources.java:827) at android.content.Context.getDrawable(Context.java:626) at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:463) at com.mapbox.mapboxsdk.location.Utils.getDrawable(Utils.java:75) at com.mapbox.mapboxsdk.location.LayerBitmapProvider.generateBitmap(LayerBitmapProvider.java:26) at com.mapbox.mapboxsdk.location.LocationLayerController.styleForeground(LocationLayerController.java:303) at com.mapbox.mapboxsdk.location.LocationLayerController.applyStyle(LocationLayerController.java:109) at com.mapbox.mapboxsdk.location.LocationLayerController.initializeComponents(LocationLayerController.java:92) at com.mapbox.mapboxsdk.location.LocationLayerController.<init>(LocationLayerController.java:84) at com.mapbox.mapboxsdk.location.LocationComponent.initialize(LocationComponent.java:991) at com.mapbox.mapboxsdk.location.LocationComponent.activateLocationComponent(LocationComponent.java:292) at [...] read more
android
maps
mapbox
mapbox-android
1vote
1answer

how to determine shared memory usage in Solaris 11

I new to Solaris, am trying to get shared memory usage in Solaris 11. I logged-in as root and tried below commands. ipcs -am IPC status from <running system> as of Tue Oct 1 12:14:30 IST 2019 T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME [...] read more
parameters
kernel
solaris
1vote
1answer

System.MissingMethodException: Method not found: 'UInt32 Npgsql.NpgsqlStatement.get_Rows()

Since today in the morning i get this error when i update or insert anything in the database. This has worked without any problems. Can´t find anything how to solve this. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.MissingMethodException: Method not found: [...] read more
asp.net-core
entity-framework-6
npgsql
1vote
1answer

Access Zynq BRAM from PS and PL

I'm trying to write some Data to a Dual Port BRAM and read it from PL. I created a customised BRAM from the IP Catalog and put it in a wrapper so i can use it in the Block diagram. PORTA width is 32-bit and PORTB width is 256-bit. I [...] read more
memory
fpga
xilinx
zynq
1vote
1answer

cmake error when generate NMake Makefiles

my system is windows, installed Visual Studio 2010 and cmake-3.4.1. I want to use follow commands to generate NMake Makefiles: SET PATH=D:\Program Files\CMake\bin;D:\Program Files\Microsoft Visual Studio 10.0\VC\bin;D:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE SET LIB=D:\Program Files\Microsoft Visual Studio 10.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib cmake -G"NMake Makefiles" .. then, error appears: -- The C compiler [...] read more
visual-studio-2010
cmake
nmake
1vote
2answers

Problem with Scan-Line Polygon Filling algorithm in java

(please don't mark this question as not clear, I spent a lot of time posting it ;) ) Okay, I am trying to make a simple 2d java game engine as a learning project, and part of it is rendering a filled polygon as a feature. I am creating this [...] read more
java
algorithm
pixel
1vote
0answers

Cannot receive data more than once with 433Mhz on Arduino

I am currently building myself some lighting for my apartment using Arduinos and strips of WS2812b LEDs. My plan was to control them with an app from my smartphone and a Raspberry Pi. The phone sends data (like color, mode etc.) to the Pi and the Pi transmits that via [...] read more
arduino
wireless
led
adafruit
fastled
1vote
1answer

need help to make crc calculation's class thread safe

when we added paralllism elaboration on our application (dotnet service) we found some unexpected behavoir on crc calculation over text documents. to isolate the issue i created a test case. the crc calculation fails when invoked from parallel looop. in this test case replacing parallel foreach with standard always fine. [...] read more
c#
task-parallel-library
parallel.foreach
1vote
0answers

How to delete file from SD card with SdFat

I'm trying to delete the oldest file from an sd card with SdFat with no success I've found that function on Arduino forumsHere void deleteOldestFile(){ SdFile dirFile; SdFile file; SdFile oldestFile; dir_t dir; uint32_t oldestModified = 0xFFFFFFFF; uint32_t lastModified; if (!dirFile.open("/", O_READ)) { sd.errorHalt("open root failed"); } while (file.openNext(&dirFile, O_WRITE)) [...] read more
arduino
sd-card
arduino-c++
0votes
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
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

Linux booting stop at Starting kernel when using Yocto build image with SD card

I'm tring to porting linux on imx6 PDK B/D(imx6-qaudplus-sabreauto) with Yocto build image. my customize sdcard image (mixed imx6/8)= * u-boot.bin(iMX6 Yocto bitbake result) * zImage(iMX6 Yocto bitbake result) * .dtb file(iMX6 Yocto bitbake result) * rootfs(iMX8 Yocto bitbake result) but stop at Starting kernel... and no more console printed. [...] read more
linux
boot
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
0answers

Linux-Yocto, ARM: VFS: Cannot open root device "ubi0:root" or unknown-block(0,0):

I'm booting from NAND zImage and rootfs (UBIFS) to the ARM board (yocto-project building). global.bootm.image="/dev/nand0.root.ubi.kernel" global.bootm.oftree="/dev/nand0.root.ubi.oftree" global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=root rootfstype=ubifs" The process is just erase, format UBI volume and write UBIFS. ubiformat /dev/nand0.root ubiattach /dev/nand0.root ubimkvol -t static /dev/nand0.root.ubi kernel 8M ubimkvol -t static /dev/nand0.root.ubi oftree 1M ubimkvol -t dynamic /dev/nand0.root.ubi [...] read more
linux
partitioning
root
yocto-project
0votes
2answers

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
0votes
0answers

debugging boltd and Dell TB16 on Dell Latitude 5491 and Xubuntu 18.04

Every now and then my Dell TB16 dock device stops working i.e. port replication is off, also the dock's white LED goes off. * OS: Xubuntu 18.04.2 LTS * Kernel: 4.15.0-54-generic #58 * System: Dell Latitude 5491 BIOS 1.8.1 05/23/2019 I've installed the thunderbolt daemon boltd but the boltctl command [...] read more
dell-latitude
xubuntu
docking-station
thunderbolt
0votes
2answers

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
0answers

Cannot down-clock AMD GPU on Manjaro

So, I have an RX590 FatBoy, which albeit very nice comes factory overclocked which is bad, since it's cooling isn't up to par. On Windows, I lowered the voltages via the Catalyst app and voila - all overheating problems were gone while retaining all the performance I needed. On Manjaro [...] read more
linux
overclocking
manjaro
amd-graphics-card
0votes
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
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
0answers

Traffic going to both eth0 and tun1

I'm working on Transmission over OpenVPN with split tunneling but I'm facing an issue with the firewall rules. So I decided to disable the firewall and check if it's working. It is but in a strange way. IPTables is set up to allow Transmission over tun1 only. The whole rules [...] read more
linux
networking
vpn
iptables
transmission
0votes
0answers

Kernel migration from 3.10 to 4.19 causes JFFS2/MTD/CFI mounting issues

I am trying to upgrade the kernel from 3.10 to 4.19 on an Atmel at91sam9260 system, everything otherwise unchanged. The system has 8 partitions on a NOR flash that work fine on 3.10. Booting into an initramfs on 4.19 followed by mounting the unchanged JFFS2 partitions reveals a lot of [...] read more
linux
boot
filesystems
embedded-linux
0votes
0answers

PCI Read Error on QNX for PowerPC

My team is developping on an MPC8313 PowerPC Dev Board and we're trying to write a network driver. The network card is a PCIe card connected to a PCIe-to-PCI bridge (PI7C9X111SL). The pci utility detects the card and can read and write the PCI config space. The problem is when [...] read more
drivers
pci-express
pci
powerpc
ppc
0votes
0answers

Replacing an ssd on notebook (asus N501VW)

I'm finally running out of space on a 128GB ssd on a notebook (N501VW) and am thinking of replacing it with a larger, 500GB, drive. The setup: * 1 notebook (N501VW) running Win 10 (x64) * 3 drives (128GB ssd (M2) (C:), 1TB hdd (D:), 500GB ssd (M2)) 128GB: C:\WINDOWS\system32>fsutil [...] read more
partitioning
ssd
backup
filesystems
file-management
0votes
0answers

Debugging MTP transmission/driver on windows

Basically I'm developing USB device, which will be using MTP for file transmission. It works fine with Konqueror, and Dolphin I can successfully copy files around, also mtp-getfile works (on Linux). On windows I can see my device and list files, but when I try to copy any of them, [...] read more
windows
usb
drivers
debug
mtp
0votes
0answers

Wine x64 w/ 32-bit prefix "page fault on read access to 0xffffffff in 16-bit code"

I'm trying to setup an old education program my wife wants to try with our kids. Unfortunately, it was built in the Windows 3.1 / Windows 95 era. I'm running Fedora 29 x86_64 with Wine 4.0-0.3.rc2. I've setup a 32-bit prefix per https://wiki.winehq.org/FAQ#How_do_I_create_a_32_bit_wineprefix_on_a_64_bit_system.3F . When I run the setup.exe on [...] read more
linux
wine
16-bit
windows-95
windows-3.1
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
0answers

System hang and black screen BugCheckCode 278 and BugCheckCode 0

For past two days the system would hang up or enter black screen and won't restart right away (after pressing restart button) but at one instant it generated Blue Screen (BugCheck Code 278). This issue has been occurring only during gaming(for one game during loading screen for other mid game [...] read more
windows-7
freeze
bsod
crash
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
0answers

Windows 10 Explorer crashes when opening "new" context menu, need help deciphering dump file

As the title says, whenever I attempt to open the "new" sub-menu of the right click context menu in Windows 10 explorer locks up and then crashes a few moments later. This issue only appeared in the last couple days and I suspect it is a result of the Creator's [...] read more
windows
windows-explorer
windows-update
context-menu
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

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
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
0votes
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
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
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
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
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
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
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
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 IP [...] read more
postgresql
freebsd
0votes
0answers

Understanding Routes and Gateway for a TUN VPN in OPENVPN

I am trying to understand the network setup that gets configured in my machine everytime I connect to an OpenVPN (Tun mode). My OpenVPN client creates the following Routes: Destination Gateway Flags Refs Use Netif Expire 10 10.240.0.5 UGSc 1 1 utun1 10.128.16/24 10.240.0.5 UGSc 1 0 utun1 10.240.0.1/32 10.240.0.5 [...] read more
linux
networking
vpn
openvpn
mac-osx
0votes
0answers

Calling Google Translator Service using C3 .net

I am using the below code for calling Google translator but getting an error. using System; using System.Net; using System.Security.Authentication; namespace ConsoleApp3 { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); string input="Hello"; string languagePair="En/Fr"; string url = String.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1}", input, languagePair); WebClient webClient = new WebClient(); webClient.Encoding = [...] read more
asp.net
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

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
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
1answer

traffic shaping, prioritizing packets without using a bitrate ceil/max

I've written a script that shapes traffic into 3 pipes. The first pipe needs to be high priority and always be send first. This works perfectly now on 1 condition. I enter a correct ceil/max bitrate. This script is written to work an a device that will work with lots [...] read more
linux
networking
traffic-shaping
0votes
1answer

BAT file will not run from Task Scheduler but will from Command Line

I'm trying to run a BAT script from Task Scheduler in Windows 2008 R2 and it runs for 3 seconds and then stops. It says it successfully completes but I know it doesn't. I can run this script from the command line directly, and it runs just fine. The bat [...] read more
windows-server-2008-r2
task-scheduler
0votes
2answers

Add route on OpenBSD for DSL modem on external network

I'd like to be able to access my DSL modem, which is acting as a bridge, from within my local network. I've got a setup like this: {Local network 192.168.1/24} | rl0:192.168.1.250 [OpenBSD Router] rl1:up tun0:pppoe | [Bridge DSL modem IP:192.168.1.254] | {Internet} I'd like to access the Bridge. To [...] read more
networking
router
routing
openbsd
0votes
1answer

Dynamics CRM 365 Business Apps Page Could Not Be Found

I am getting the following error trying to access a Business App in Chrome using MS CRM 365 (on premise version 8.2.10.24): > The page that you are looking for could not be found. This may be a temporary issue. Please try again later or contact your administrator. If I [...] read more
dynamics-crm
dynamics-365
0votes
0answers

Why I got white blinking while resizing resizing the images of the swapchain with VK_PRESENT_MODE_FIFO_KHR present mode?

When resizing the images of the swapchain (because the window size changed) I am getting some white blinking. I don't really understand why is the source of this issue. I have this issue only while using VK_PRESENT_MODE_FIFO_KHR present mode with my Intel(R) UHD Graphics 630 integrated GPU, I don't have [...] read more
vulkan
0votes
0answers

How to connect to firebase database with proxy in android studio

Im trying to connect to firebase database in android studio but i get this error log D/NetworkManagementSocketTagger: tagSocket(64) with statsTag=0xffffffff, statsUid=-1I've tried to many codes by proxy but still not working can any one helps?? System.setProperty("https.proxyHost", "0.0.0.0"); System.setProperty("https.proxyPort", "0000"); System.setProperty("com.google.api.client.should_use_proxy", "true"); When i turn vpn on the problem will solve [...] read more
android
firebase-realtime-database
proxy
0votes
0answers

How to split a dataset into a train and test dataset using hashcode method

I am following the code of the Hands on Machine learning with Sci-kit learn and tensorflow 2nd edition. In the creating train and test dataset section they followed this procedure to create the training and testing dataset as follows: from zlib import crc32 def test_set_check(identifier, test_ratio): return crc32(np.int64(identifier)) & 0xffffffff [...] read more
machine-learning
train-test-split
0votes
1answer

Data payload for ZigBee thermostat to change the system mode of the thermostat in API mode

Can anyone tell me what is the data payload to change the system mode of the ZigBee based thermostat? I have found the cluster ID and attribute ID for the system mode i.e 0x0201 (cluster ID) & 0x001C (attribute ID) but unable to frame the data payload. Zigbee walker output [...] read more
xbee
zigbee
nest-thermostat
0votes
1answer

How to store selected value in a string so that after restart app it shows last selected value?

I'm setting up flutter local notification, all is going well but i want to store the selected value in a text so if the app restart it will show selected value rather then resetting to default. For example if I choose notification at 08:08:08 so after selecting it and restarting [...] read more
flutter
notifications
flutter-dependencies
0votes
0answers

How to change gstreamer omxh264enc profile?

I am trying to convert a webcam on a raspberry pi to x264, but keep running into an error about an " Unsupported profile constrained-baseline". GST_DEBUG=3 /home/pi/gst-rtsp-server/examples/test-launch "( v4l2src device=/dev/video0 ! videoconvert ! omxh264enc ! h264parse ! rtph264pay name=pay0 )" stream ready at rtsp://127.0.0.1:8554/test 0:00:03.043939441 10314 0x75c08350 WARN v4l2src gstv4l2src.c:692:gst_v4l2src_query:<v4l2src0> [...] read more
gstreamer
gstreamer-1.0
0votes
0answers

python calculate signed crc32 integer to checksum

I have the following string I would like to calculate a checksum for. 3556.5:200:3557.0:2:3556.4:84:3557.4:4:3555.7:6:3557.7:14:3555.1:46:3558.6:21:3552.9:14:3558.7:10:3552.8:194:3558.8:106:3552.7:10:3558.9:10:3552.6:25:3560.2:178:3552.5:4:3560.5:111:3551.7:1:3561.7:1:3551.6:65:3562.5:18:3551.0:103:3562.6:111:3550.7:3:3562.7:3:3550.6:4:3562.8:185:3550.5:1:3563.7:1:3550.3:84:3564.2:1:3550.2:156:3564.8:153:3550.0:82:3565.0:400:3549.7:1:3565.9:60:3548.4:104:3566.1:20:3547.2:177:3566.5:40:3545.9:1:3568.0:20:3545.1:11:3569.4:12:3545.0:71:3570.0:82:3544.9:1:3570.6:4 I do it the following string2 = string.encode('ascii') checksum = zlib.crc32((string2)) This gives me an integer of 3467096777. However, the server provider says it should be -949017128. Additionally, I tried many variants of the string and [...] read more
python
crc32
0votes
0answers

IOError: [Errno -9998] Invalid number of channels when using PyAudio on Spyder (Python 2.7)

I'M FAIRLY NEW TO CODING AND I'M TRYING TO MAKE AN AUDIO VISUALIZER ON SPYDER. CURRENTLY I'VE BEEN GETTING AN ERROR MESSAGE WHICH IS: runfile('/Users/christinanguyen/Downloads/audio visualizer code.py', wdir='/Users/christinanguyen/Downloads') Traceback (most recent call last): File "<ipython-input-34-a74bf7660894>", line 1, in <module> runfile('/Users/christinanguyen/Downloads/audio visualizer code.py', wdir='/Users/christinanguyen/Downloads') File "/Users/christinanguyen/anaconda2/lib/python2.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 704, in runfile execfile(filename, [...] read more
python
python-2.7
audio
spyder
pyaudio
0votes
0answers

Sprintf buffer-overflow - RIP register contains garbage data

I try to exploit sprintf c function in my program which is used like this: char line[512]; sprintf(line,"[%s]", UserCommand); As you can see the line can be exploited and trigger something else. I found how to change rbp register but when it comes to RIP register, I can change it [...] read more
c
printf
buffer-overflow
exploit
0votes
1answer

How to get the color of a pixel in python as fast as possible?

I'm on ubuntu and I want to check every 0.1sec the color of a specific pixel on my screen. How can I do that? I know about PIL but this would need a full screenshot every 0.1sec just for one single pixel. Then I found this method using ctypes.windll : [...] read more
python
python-2.7
image-processing
0votes
1answer

Unable to create OpenFlow13 message with Scapy

I am writing a code where I am capturing openflow13 packets using tcpdump and wireshark. I am running mininet topo and floodlight SDN controller. Once I get my SDN controller IP and port details from the capture, I intent to create multiple OFPTHello messages and send it to the SDN [...] read more
python-3.x
scapy
sdn
openflow
0votes
0answers

Read a packed decimal (Comp-3) number value which is 8 characters; but holds a 13 digit number and convert to 13 digits numeric value

Can anyone has code to read a txt file which is in packed decimal (Comp -3) numeric value which was created in main frames system and is 8 characters, but holds a 13 digit number in packed decimal format. I came across below code private Decimal Unpack(byte[] inp, int scale) [...] read more
c#
.net
comp-3
packed-decimal
0votes
1answer

'System.AggregateException' when attempting to connect to my Common Data Service web api

Here is my code: string url = "https://myOrg.api.crm.dynamics.com"; string apiVersion = "9.1"; string webApiUrl = $"{url}/api/data/v{apiVersion}/"; var authParameters = AuthenticationParameters.CreateFromResourceUrlAsync(new Uri(webApiUrl)).Result; My last line of code is failing with:enter image description here [https://i.stack.imgur.com/SiRvt.png] The ouput is: MyAPITest.vshost.exe Error: 0 : 11/05/2019 19:20:17: - AuthenticationParameters: System.ArgumentException: Unauthorized Http Status Code (401) [...] read more
c#
api
cds
0votes
1answer

ESP32 OTA update keeps crashing on start

I'm trying to OTA update the ESP32 by letting it make a get request to a file on Azure blob storage. For some unknown reason it won't let me use the WifiClient.connect() function, since it always returns a 0. So now I'm using the HTTPClient library to make a get [...] read more
c++
azure
arduino
esp32
0votes
1answer

Flutter - ClipPath

How to create the above custom clipPath widget? (I attached the screenshot) I tried but it's not exact output Clipper class class MessageClipper extends CustomClipper<Path> { final double borderRadius = 15; @override Path getClip(Size size) { double width = size.width; double height = size.height; double rheight = height - height [...] read more
flutter
dart
0votes
0answers

PCIe FPGA device returns 0xffffffff

I use x86 device with FPGA device. The FPGA device acts strangely with Linux, while with other OS on same HW there is no issue. Other PCIe device with Linux OS acts fine without any issues. Doing lspci after reset, sometimes the device appear and other times not enumerated at [...] read more
linux-device-driver
fpga
pci
0votes
0answers

DeviceIoControl returns 1306 with IOCTL_SCSI_PASS_THROUGH

I am trying to use DeviceIoControl with IOCTL_SCSI_PASS_THROUGH control code in C#. But DeviceIoControl returns error code 1306. What I want to do is to get S.M.A.R.T of INTEL NVMe SSD. I've tried referring to the source code of Crystal Disk Info. It works successfully in C or C++. Where [...] read more
c#
deviceiocontrol
0votes
2answers

Linux kernel fails to detect rootfs from SD card while booting

I am trying to manually build a mainline kernel and boot in Pine64_Plus board. Linux kernel unable to mount the boot partition. And wierdly it doesn't display any partition under available partition in boot log. I did the below steps. Cloned the linux mainline git repo git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git --depth=1 [...] read more
linux
linux-kernel
arm
embedded-linux
boot
0votes
0answers

WinGdi SetPixelFormat failure and returns 0xFFFFFFFF

i am trying to attach window to opengl (wglCreateContext) but before doing it, i need to set a pixel format for it. ChoosePixelFormat succeeds but SetPixelFormat returns always 0xFFFFFFFF (-1). Calling GetLastError returns 0 (success) so i am confused about what is wrong. MSDN says that SetPixelFormat should return only [...] read more
opengl
gdi
0votes
1answer

List all supported codecs/fourcc tags on Raspberry Pi 4 using python, opencv

This is my code for recording videos on Raspberry Pi 4 running Raspbian Buster: fourcc = cv2.VideoWriter_fourcc(*'MJPG') writer = cv2.VideoWriter(tempVideo.path, fourcc, framerate, resolution, True) writer.write(frame) However, no matter what codec I try, I keep getting errors like: OpenCV: FFMPEG: tag 0x47504a4d/'MJPG' is not supported with codec id 7 and format [...] read more
python
opencv
video
raspberry-pi
codec
0votes
0answers

How use python download file from mega

How can I download file from mega, i had tried to fix mega.py (because its for python2, 3 is not work), but it still not work, can someone tell me how to fix it or is there other way to download it? Following codes all are feom mega.py's repo, and [...] read more
python
download
0votes
1answer

How to stop GNU Fortran Compiler to show debug info during runtime?

The following lin is used to compile an executable from the Fortran source code gfortran -funderscoring -O3 -Wall -c -fmessage-length=0 -o "src/abc.o" "../src/abc.f" When I run my program in command prompt and errors occur, it will show runtime errors in the command prompt (see the runtime error example below). I [...] read more
gcc
gfortran
0votes
0answers

Smali: wide register index out of range

I'm modifying an apk and I have added code to close after comparing dates. I tried it in another application and it works perfectly. But I don't understand why it doesn't work with another apk. The application that gives me an error is made in kotlin (in its internal structure [...] read more
smali
0votes
0answers

NTP timestamp is not correctly parsed c++

I want to send an SNTP req and then parse the response, hence I started by simply creating a timestamp convert it to ntp and then try to read the seconds and the fractional part. The issue is that the seconds part is not correctly parsed in the first place, [...] read more
c++
windows
bit-manipulation
bitwise-operators
ntp
0votes
0answers

Qemu: Emulating Raspberry pi with Buster OS on MacOS X (CLI works, but blank screen)

Trying to figure out why I have a blank screen for my Raspberry Pi running Buster OS in Qemu but do have a function CLI? Here's what I run: $ qemu-system-arm -M versatilepb -cpu arm1176 -m 256 -hda ./raspbian-buster-full.qcow -net nic -net user,hostfwd=tcp::5022-:22 -dtb ./versatile-pb.dtb -kernel ./kernel-qemu-4.19.50-buster -append 'root=/dev/sda2 panic=1 [...] read more
macos
raspberry-pi
qemu
raspberry-pi-zero
0votes
0answers

How to solve the problem (HTTPLog)-Static: isSBSettingEnabled false

I was trying to make a crawler. It worked in text, but I couldn't do it in image. I think the error is about network problem. But I can't know the exact problem. Here's the code. MainActivity.java package com.example.crwalcrawl; import android.os.AsyncTask; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import [...] read more
java
android-studio
web-crawler
jsoup
0votes
0answers

'flutter run' on android command stuck at : [Waiting for observatory port ...]

So I'm struggling with compatibilities problem for 4 days now, iOS run and build works perfectly fine but the android version is struggling. The thing is that when trying to "flutter run" on an android device with API 27,28 or 29 the compiler get stuck onto this line : [ [...] read more
android
flutter
dart
0votes
0answers

Exception when using int 21h from inline assembly in Visual Studio

this is my first code using "inline" assembly in C++. I need to display a few char in the console but when run the code VS gives me > Exception thrown at 0x00DA1712 in ConsoleApplication1.exe: 0xC0000005: Access violation reading location 0xFFFFFFFF. void print() { __asm { mov DL, 10 mov [...] read more
c++
windows
assembly
visual-c++
dos
0votes
0answers

slow hashing (sha256) on uboot 2009 (iMX25 processor)

Below calculation is done with uboot (2009 an older version) on iMX25 processor. I am running sha256_process() function (sha256.c) under uboot to process 50Mbytes of data to get the hash. It takes more than 100sec to complete the calculation. While the same hashing takes no time if run with openssl [...] read more
hash
u-boot
0votes
0answers

Using littlefs - what is the sych function about?

The sync function is called once, in the function at the end of this post. Since the file has been written I do not understand synch's purpose. My only supposition is "I suppose synch is to invalidate all the caches so they aren't re-written?" I have searched a lot for [...] read more
synchronization
filesystems
0votes
1answer

What is the highest bit depth greyscale image I can export from FreeImage?

As context, I'm working with building a topographic program which needs relatively extreme detail. I do not expect the files to be small, and they do not formally need to be viewed on a monitor, they just need to have very high resolution. I know that most image formats are [...] read more
d
tiff
grayscale
freeimage
bpp
0votes
0answers

linux kernel virtual memory layout

I'm using the 32bit 4.1.8 linux kernel , RT patch (no high memory) and changing the following configurations: * CONFIG_LOWMEM_SIZE (Maximum low memory size) * CONFIG_PAGE_OFFSET (Virtual address of memory base) * CONFIG_TASK_SIZE (Size of user task space) My goal is to increase low memory size by reducing size of [...] read more
linux-kernel
virtual-memory
0votes
1answer

Flutter - How to use container widget with image and text/icons below image

I am having a bit of a problem trying to create an image and text/icons below that image within a container in flutter. What I have so far , I want to include three row widgets under the image, each row will have a text widget or an icon widget [...] read more
android-studio
user-interface
dart
widget
flutter
0votes
1answer

Fatal Error When Calling A Function From A Class Object

I'm trying to get started on a program that has to read from a file and in trying to call a function on an object I get fatal error code. I've only determined that this is the source of the error because I deleted all the code in my .cpp [...] read more
c++
function
class
object
fatal-error
0votes
3answers

Setting delay for capacitive touch sensor to prevent "double press"

I am building a number numpad using 3 different capacitive touch sensor. So my function will be to label each the 3 touch sensors with a different number to create a password system. However i realised that whenever i try to press the button to key in the number, for [...] read more
c++
arduino
0votes
2answers

INI file editing, Save format

So i have a working code. i just learned about this today but am wondering if there is a way to save the formatting. (found it on here btw). $ini = Get-IniContent c:\temp\ini.ini $ini["posscreen"]["BitmapFile"] = "C:\Temp\FileC.bmp" $ini | Out-IniFile -FilePath c:\temp\ini2.ini This is how it looks normally: [ShapePageFnt] Position=1.73 -2.76 [...] read more
powershell
format
ini
editing
0votes
0answers

Error in generating HTML Report using updated version of Gauge and Gauge plugins

Good day, I'm doing an automation test using Gauge and I've recently updated its version and also updated all of the plugins I'm using. Here is the response when I checked gauge --version Gauge version: 1.0.6 Commit Hash: 2bc49db Plugins ------- html-report (4.0.8) java (0.7.2) screenshot (0.0.1) I'm running my [...] read more
getgauge
0votes
1answer

Figuring out what exactly this bitwise AND and LSL does in C

1. long int temp; 2. int product = -1; 3. temp = (long int)product & 0xFFFFFFFF; 4. temp = temp << 32; I know that temp is 64-bit while product is 32-bit. I am slightly confused about lines 3 and 4. We are casting product as a long int, which [...] read more
c
binary
hex
bitwise-operators
bit-shift
0votes
2answers

Question about setg and comparison in Assembly

I'm having problem understanding this exercise. I'll try my best to give my reasoning and I hope you guys can give me an idea what each line of code demonstrates. The Assembly we use is x86 assume the value stored in %rax = x xorq %rax, %rax // value stored [...] read more
assembly
x86-64
0votes
1answer

FLUTTER:- I need to return a widget from a method after Navigator.push() method

I have made a login app using Flutter and BLOC architecture. If login becomes success I need to return a widget to the scaffold and also want to navigate to the next screen using Navigator.push(). I have tried following ways:- 1. Method 1:- Navigator.push(context,MaterialPageRoute(builder: (context) => DashboardPage())); return ButtonWidget(); But [...] read more
android
flutter
dart
0votes
1answer

Getting MemoryError when opening large Zip file around 1.5GB in python 3.7.4

I am running the following code to caluclate CRC32 of ZIP file buf = open("C:\\users\\Raj\\temp\\ZIPs\\XXX.ZIP",'rb').read() MemoryError If i restart the machines it works fine and after running this command for multiple times i am getting the same error This is the code i am using for caluclating CRC of ZIP [...] read more
python
0votes
0answers

Link error LNK1104 when using CMake and vc142 with boost

What I have missed? I can't build a simple project using CMake + vc142 + boost 1.71.1 on a windows host. What is funny, this project remotely built on WSL Debian compiles and runs correctly. Boost installation is correct, the new Vcproj with additional includes and libs linked to ENV{BOOST_ROOT} [...] read more
c++
visual-c++
boost
cmake
0votes
0answers

Unity videoplayer not work on android rk3288

Hi i am trying to display a video in an android device with a rk3288 chip. The program work well with all other devices but on this one it give me this error: AndroidPlayer(ADB@127.0.0.1:34999) AndroidVideoMedia: Error -10000 while starting codec. (Filename: ./PlatformDependent/AndroidPlayer/Modules/Video/Private/AndroidVideoMedia.cpp Line: 2163) AndroidPlayer(ADB@127.0.0.1:34999) AndroidVideoMedia: Decoder setup error. (Filename: [...] read more
android
unity3d
0votes
2answers

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
linux-kernel
embedded-linux
u-boot
0votes
0answers

Runtime delay loop calibration

INTRODUCTION TO THE UNDERLAYING PROBLEM [Please scroll down to "The actual (stackoverflow) problem" if you just want to see what I have a problem with] Consider the following delay loop code, using clock_type = std::chrono::steady_clock; std::atomic<uint64_t> m_word; constexpr uint64_t tokens_mask = 0xffffffff; double measure_delay_loop_in_ms(int delay_loop_size, int inner_loop_size) { auto start [...] read more
c++
statistics
0votes
2answers

How to overlay text on image in opencv without modifying the underlying matrix

I need a way to overlay text on opencv image without actually modifying the underlying image. For example inside a while loop i create a random point for each iteration and I want to display it. If I use puttext the matrix gets overwritten with the added text in each [...] read more
image
opencv
text
overlay
0votes
1answer

Notification LED not turning on

I tried almost every fix posted here but this code won't turn on Notification LED at all. public void onMessageReceived(RemoteMessage remoteMessage) { Intent intent = new Intent(this, MainActivity.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_ONE_SHOT); String channelId = getString(R.string.defaultChannelId); Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this,channelId) .setLights(Color.RED,200,1000) [...] read more
java
android
firebase-cloud-messaging
android-notifications
0votes
0answers

Direct3D dpeth complexity visualization

I'm a begginer at Direct3D :D I tried to visualization depth complexity with stencil buffer Visualization, but it looks something wrong. Look closely hills in this picture you can know what I'm talking about. If the camera move left, depth complexity increase, while it decrease if move right. Please see [...] read more
c++
direct3d
depth
0votes
1answer

Unable to get HiRedis TLS example-ssl to connect

I'm trying to use the HiRedis API to perform a TLS connection to a Redis server fronted by a device that can perform TLS termination. My project has a need to send customer data over the internet to a Redis server hosted in the Cloud. I need to secure the [...] read more
c
redis
hiredis
0votes
1answer

Python >> Operator returns different output than in javascript >>>

a = -506298134 d = 6 d = a >> d & 0xFFFFFFFF d = twos_comp(d, 32) def twos_comp(val, bits): """compute the 2's complement of int value val""" if (val & (1 << (bits - 1))) != 0: # if sign bit is set e.g., 8bit: 128-255 val = val [...] read more
javascript
python
bitwise-operators
bit-shift
0votes
1answer

The output value differs from the value received as argument within the function when performing a direct operation

I tried to make 11..10..0 (which is binary number with consecutive 32-n zeros in small digits). // Can assume that 0 <= n <= 31 int masking(int n) { return (~0)<<(~n+33); } However, when I put 0 in input n, I expected 0, but I got -1(0xffffffff). Without using input, [...] read more
c
0votes
3answers

how to find least significant byte of an integer in Java?

I need help with the following problem: Write an expression that results in the least significant byte of an integer x being set to 0, but all other bits unchanged. For example: 0x98234493 becomes 0x98234400. I am confused on how to access the least significant byte. public static int Q3(int [...] read more
bitwise-operators
bit-shift
0votes
2answers

Visual Studio 2017 Tools -> Android disabled

When I try to run a new blank Android app I get an error: > "The Android SDK Directory could not be found...". I searched in google for a solution and I found out that I need to go to Tools -> Android -> Android SDK Manager, and then I [...] read more
android
visual-studio
xamarin
visual-studio-2017
0votes
0answers

asio::async_write performance limit

i'm developing a server using asio to dispatch data over tcp. I have an implementation (you can see the send at the bottom of the question) very similar to the one exposed in this answer. I added some measuremet and observed that the boost::asio::async_send method takes sometimes a long time. [...] read more
c++
boost-asio
-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
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
-2votes
1answer

go program out of memory ec2 resources too small?

I'm wondering if I am either incorrectly writing my Go program or if my server resources too small. I have the following code: spotXmlFile:='/var/www/html/app/public/xml/appdata.xml' xmlFile,err:=os.Open(spotXmlFile) defer xmlFile.Close() byteValue,_:=ioutil.ReadAll(xmlFile) var listings Listings xml.Unmarshal(byteValue,&listings) It processes an xml file that is 2.5GB. I'm using aws ec2 t3.large to try and process the [...] read more
go
amazon-ec2
out-of-memory
-3votes
3answers

panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x8 pc=0x48be5c] goroutine 1 [running]:

I am trying to implement addition of polynomials using linked list. The program adds the power 0 coefficients successfully but after the first traversal it panics. Here is the code I have written so far. after initializing temp1!= nil the loop iterates over else but doesn't enter if loop when [...] read more
go
linked-list
-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
-4votes
2answers

What is the difference between y=-1 and y=0xFFFFFFFF?

y=-1; y=0xFFFFFFFF; The question is, is there a difference between these two statements in your code? Explain. If there is a difference, make sure to provide an example. I was thinking there is no difference, but if the variable y is unsigned, there is a big difference? read more
c

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