For some reason, when I open wireshark, it only displays incoming packets (and broadcast), but there isn't a single outgoing traffic.
I searched in google and there was something about interfering software, but none of them are active on my computer.
Does anyone know why does it happen and how to fix it?
If you have "DNE Lightweight Filter" checked in your network adapter properties, uncheck it.
On Windows, Wi-Fi device drivers often mishandle promiscuous mode; one form of mishandling is failure to show outgoing packets.
In addition, promiscuous mode won't show you third-party traffic, so it doesn't help.
Try capturing with promiscuous mode turned off.
I tried disabling the extra drivers on my adapter but that didn't work. Turns out my problem was that I had previously installed an older version of Wireshark and I suspect that it's uninstaller failed to fully clean up after itself.
If you've previously installed nmap for Windows or an older version of Wireshark, check that you don't have any extra npcap/loopback adapters that might be interfering.
This worked for me:
Uninstall Wireshark and npcap
Open the Device Manager and expand the Network adapters list
Right-click any loopback adapters and click Uninstall
Now, hopefully everything works when you re-install Wireshark.
Related
Yesterday I started an Android Things project and I was testing the app using Android Studio. In order to connect to the device using adb.exe, I used the IP of the android device that I saw on the default OS's app (the starting screen). So, after the yesterday's testing it seems that my app is now the default app even if I don't have it connected to the PC.
The problem is that now I cannot see the device's IP address so I can connect to it using adb.exe.
Is there a way of going back to the default OS's app?
PS. The only solution I found is re-installing the Android Things OS.
To go back to default android thing logo screen.Uninstall the app using
adb uninstall <pkg name>
If you want to connect to AT without knowing ip use following command
adb connect Android.local
Also you can use serial cable to find ip of AT.
If you install multiple apps.AT will ask for your choice as below
uninstall the app using adb
adb uninstall <package-name>
if you have connected a keyboard to the raspberry pi board, you can go to the home screen by pressing escape button
(I don't have enough reputation to comment so I make an answer, sorry)
If you want to know the IP of your Raspeberry from your computer, you can use the ARP table.
From Ubuntu/Linux or Windows, just type arp -a
Your Android Things device will appear in this list with its IP !
If you don't need to uninstall your app, you can just close it:
adb shell am force-stop <package-name>
and of course you can close it from your app:
this.finish();
Also you can show your ip address in your app if you have screen. For me adb connect Android.local doesn't work.
An easy way is to log into your router and see all of the connected devices and pull the ip address from there. Really easy with Google Wifi
I assume Samsung forums devoted to Tizen would the the first place to resolve this issue but after reading through them it seems that nobody has succeeded with this and the support has not provided any valuable information either so I'll just hope that there are some SO users working with Tizen TVs who have encountered and maybe solved this themselves.
I am trying to connect to a Tizen Smart TV from the Tizen IDE to deploy a native application. As far as I understand this functionality is quite new and supported only in recent firmware releases. I've updated to the latest firmware (1411) but still neither the Tizen IDE (namely the Connection Explorer component) neither the native sdb command line tool seem to work ( I've described the behavior in detail in this post to the Samsung Tizen forum).
The sdb tool seems to fail with any command other than sdb connect. Connection seems to succeed but after that any other command like sdb dlog or sdb shell simply print that the connection has been closed. Wireshark also approves this - every TCP message gets a CLSE reply.
Is there anyone on SO who has successfully deployed a native application via the developer mode on a Tizen Smart TV and could share the recipe?
adding your workstation's ip to the TV's hosts is a must.
on the tv, go to apps, put focus on my apps and click 1,2,3,4,5 on the RCU.
a pop up message with ip input comes up.
enter your workstation's ip and reboot the tv (turn off, turn on)
try to reconnect, good luck
I had the same problem: when I tried to connect to Samsung Smart TV from Tizen SDK or sdb, It didn´t work.
For me, the solution was to define in the Samsung Smart TV ip config the IP from the Macbook where I am running the Tizen SDK (according to the recomendation in this link)
So, in my private network the Samsugn Smart TV was on ip 192.168.0.102, and the Notebook was on ip 192.168.0.103
I opened the developer mode in Samsugn Smart TV, it was ON and I change there the IP to 192.168.0.103 (It was the private Macbook ip)
After that, the sdb command and SDK work and my demo app is running on the Smart TV:
$ sdb connect 192.168.0.102:26101
connecting to 192.168.0.102:26101 ...
connected to 192.168.0.102:26101
My software and hardware versions are Samsung (JU6500) and Tizen SDK Version : 2.4.0_Rev7
I hope it answer could help you, may be you have the same problem... It tooks me a lot of time find this solution...
Try to Menu -> System-> Smart Security -> Settings: Deactivate network security
Then reboot device. Power off wait 30sec. power on.
Try to connect via the instr. of Samsung. Worked for me
I had the same problem after reset the TV to factory settings. For me, upgrading TV firmware from 1430 to 1443 did the trick.
To upgrade firmware:
Menu->Assistance->software update->update now
Good Luck
I just downloaded Wireshark on Windows 8.1, and when I try to capture packet it works just fine, just only for the current machine. I've "promiscuous mode" enabled, but nothing seems to happen? During the installation I installed WinPcap, and set it to run on boot. Is there any way to solve this? I've also tried to plug in a USB network adapter, without luck.
Wi-Fi network? Promiscuous mode generally doesn't work on those, especially on Windows; you need monitor mode, but, unfortunately, WinPcap doesn't support that, so Wireshark doesn't support it, either.
Switched wired network? Promiscuous mode isn't enough on a switched network; you need a "monitor port" or "SPAN port" or whatever the switch vendor calls it.
this message occurred when i run my APP
"the windows phone emulator wasn't able to connect to the windows phone operating system :
The phone didn't respond to the connect request .
some functionality may be disabled."
after searching i found this answer
"
Open Hyper-V Manager
Left column, left click on your computer name
Select Virtual Switch Manager
Select the Windows Phone Emulator Switch
Click on the remove button on the right side of the window.
launch the emulator
Accept the elevation of privilege asked
"
but message still appeared and my problem not solved
Hint:
Hyper V enabled
OS in my Laptop win 8.1 Enterprise (64-Bit)
Visual Studio 2012 Ultimate , Update 3
SDK 8
I also got this error message when I ran my app with the phone emulator:
the windows phone emulator wasn't able to connect to the windows phone operating system :
The phone didn't respond to the connect request .
some functionality may be disabled.
This is what I did, which worked perfectly for me:
First make sure you have closed your Visual Studio and the phone emulator, then
Open Hyper-V Manager
Left column, left click on your computer name
Select Virtual Switch Manager
Select the Windows Phone Emulator Switch
Choose Private Network and Click Apply
Then the trick is to restart your system and go through the same step above,
but this time:
Choose Internal Network and Click Apply
Note : You'll see some Loading in progress,that's all , then start your phone Emulator Again
I had the same problem and solved it by disabling firewall (AVG). Try this.
do you have installed symantec? If so thats the issue. i am able to run only after disabling symantec. so you may choose to do so.
Regards,
Pankaj
I had this happen and none of the solutions above helped unfortunately.
However, I noticed that in my actual network settings there were duplicate phone emulators. After disabling the duplicates that were unplugged my issue was solved.
control panel -> network and internet -> network sharing center -> change adapter settings: here is where you disable any duplicates you may have running for whatever reason.
go to network and sharing center
go to change adapter setting
go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
right click it and enable it(if already enabled then disable and enable it again).
I followed these steps and it solved my problem.
Move to “Control Panel\All Control Panel Items\Administrative
Tools”, Here remove each and every Virtual Machines listen under.
Remove Hyper-V and then Restart the System.
After restarting, Install Hyper-V once again.
Open Visual Studio and Run any Windows Phone 8 app to start the
emulator.
It will create again all needed Virtual Machines( you can notice
from Hyper-V Manager tools)
While loading emulator, it will prompt for letting the emulator
access the internet. say yes.
Let the emulator and your project fully load
Now you need to shutdown the emulator( by closing directly or use
Shift + F5) and close the Visual Studio.
Now Open Network and Sharing Centre
Click change Adapter Settings (Listed on the left hand side)
Now you will see there - “Control Panel\Network and
Internet\Network” Connections. some new adapter created by HyperV,
they should be called “vEthernet(…)”
Here, You need to focus on the vEthernet( Virtual Switch) and
vEthernet (Internal Ethernet Port Windows Phone Emulator Internal
Switch)
Now right click on vEthernet( Virtual Switch) and click on the
properties and navigate to the sharing tab.
Here, Choose Allow other Network users to connect and choose the
vEthernet (Internal Ethernet Port Windows Phone Emulator Internal
Switch) as the adapter and then save the changes and close Windows.
Everything work now.(Make sure your Wi-fi is working properly)
Source
It's a firewall issue as above top 2 answers. I uncheck 'Enable Firewall' at Symantec Endpoint Protection > Network Threat Protection > Option. After the VM started, firewall can be turned back on.
I noted that in my Device Manager I had a warning against Network adapters / "Hyper-V Virtual Switch Extension Adapter".
My resolution was to use Hyper V manager to remove the "Windows Phone Emulator Internal Switch":
1...Launch Hyper V Manager
2...Virtual Switch Manager
3...Under Virtual Switches list, select "Windows Phone Emulator Internal Switch" and click Remove
4...Refer back to Device Manager - the "Hyper-V Virtual Switch Extension Adapter" warning will have been removed
5...Create a new Virtual network switch (Internal), using the same name
6...You then need to open the Settings for each emulator and reconnect it's Network Adapter to the newly created internal switch
7...I also ran the Emulator repair (Control Panel / Program Features / right click Windows Phone 8.1 Emulators - ENU / Change / Repair) - not sure if this had any bearing on the fix
9...I then launched VS2013 and emulator now worked
I have tried all guides above, nothing help.
Finally, I uninstall vmware player 12 and then it's work.
Hope this tip could help you.
I had the same problem with my AVG Antivirus firewall. The only thing needed was to disable AVG network filter driver in vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) network.
You can find it in Control panel -> network and internet -> network sharing center -> change adapter settings. Right click vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch), select Properties, uncheck AVG network filter driver.
After that Visual Studio is able to connect Windows Phone Emulator.
follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).
Background
A few years ago I was developing for C#, WPF and Silverlight and then moved to developing for Android.
I've decided to give Windows phone a try, and install the newest Visual Studio Pro 2012 with its Windows phone sdk, together with the latest version of Windows - windows 8 pro.
I've created a new Windows phone project hoping I will start learning from a hello world project, and I've launched the emulator .
Some specs information
OS is windows 8 pro (final) . 64 bit CPU .
Visual Studio Pro 2012
Windows phone sdk 8
Connected by usb to a wireless D-Link device (DWA-140) .
The problem
Just as soon as I've started the emulator, a dialog came asking if I want to enable networking:
When I chose that I want, an error has appeared:
After selecting ok, the emulator crashed.
Knowing how to search for solutions on the internet, I've found a few (like here and here ) that suggested me to delete the network switches, create an internal switch, and whatnot.
The question
I don't understand what I'm doing wrong, and this is just my starting point. Can anyone please help me with this error and how to make the emulator work?
Please tell me the exact steps that I need to take.
EDIT: after uninstallation of anything related to VS and WP , i've re-installed them both and i still get the same errors.
Not only that , but when trying to create a new external switch (which some websites offered) , it showed me the next error :
How could such a basic feature of an emulator be missing out of the box ?
You might try a couple of things.
First, verify the network connection settings for the "vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)" adapter.
To do so, open "Control Panel\Network and Internet\Network Connections" in Control Panel. Right click on the "vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)" adapter, and choose "Properties". Under "This connection uses the following items:" verify that ONLY the following options are selected:
Client for Microsoft Networks
QoS Packet Scheduler
File and Printer Sharing for Microsoft Networks
Microsoft LLDP Protocol Driver
Link-Layer Topology Discovery Mapper I/O Driver
Link-Layer Topology Discovery Responder
Internet Protocol Version 6 (TCP/IPv6)
Internet Protocol Version 4 (TCP/IPv4)
In addition, you may want to review the network adapter settings for the emulator image in "Hyper-V Manager"
Verify the network adapters that are shown are valid. You might try disabling some (like the adapters connected to the WiFi or Wired Ethernet adapters on your machine) if the adapters they are bound to are not currently enabled in the OS.
Let me know if that helps!
I suspect you may be running afoul of UAC. As you've noted, it's trying to create a virtual device. Doing so requires elevated permissions. If I were you I would either run VS2012 as Administrator or completely disable UAC until it's all installed and configured, and then you can turn UAC back on if you prefer it on. I think Allen's comment about manually creating a VM with the appropriate networking is astute and a worthwhile experiment, since it sidesteps the possible UAC issues.