English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 19 May 2021, 05:58   #1
Greyspirit
Registered User
 
Join Date: Jun 2014
Location: Groton / USA
Posts: 37
NPCap not working

Testing with WinUAE 4.4 and 4.5. I can do a2065 networking with host nic using win10pcap or winpcap (6 year old ndis 5) but the newer NPCap 1.10 does not work. Tested on both Win10 and Server 2012R2. Emulated Amiga is 3.9 with a2065, genesis TCP stack and C-Net BBS (online for ~3 years).

Discovered this after changing pcap driver to npcap which wireshark uses. Amiga networking stopped. Uninstalled npcap and reinstalled win10pcap and it works again.

Any suggestions or fixes?
Greyspirit is offline  
Old 19 May 2021, 14:38   #2
Exodous
Registered User
 
Join Date: Sep 2019
Location: Leicester / England
Posts: 201
I just use the bsdsocket.library for the network "interface" on my virtual Amiga, so I'm not entirely sure what you're doing Amiga side.

However, Wireshark comes with an older versin of Npcap, so what if you use the latest Npcap 1.31 available from here: https://nmap.org/npcap/

I'm not suggesting it will fix your problem, but it's probably a good place to start.
Exodous is online now  
Old 19 May 2021, 15:32   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Perhaps number of network devices changed and unit number is now wrong?

Check the log. (misc -> create winuaelog.txt log or -log command line parameter)

Detection seems to work fine:

Code:
uaenet: Npcap version 1.31, based on libpcap version 1.10.1-PRE-GIT
uaenet: detecting interfaces
rpcap://\Device\NPF_{F82DDFCA-D824-41D2-9F36-667123D880F0}
- Network adapter 'WAN Miniport (Network Monitor)' on local host
...
Toni Wilen is online now  
Old 20 May 2021, 03:40   #4
Greyspirit
Registered User
 
Join Date: Jun 2014
Location: Groton / USA
Posts: 37
So after some comparison between the log file and the config file I found an interesting difference. After changing from win10pcap to npcap, there is a missing "\Device\NPF_" that is not added in the config file. see comparison of entire line below. After manually adding in the missing part and restarting WinUAE, it worked.


Original
a2065_rom_options=mac=,rpcap://{B122A3EC-3DBF-4560-BF32-F4474ADD8D27}

With NPCAP
a2065_rom_options=mac=,rpcap://\Device\NPF_{B122A3EC-3DBF-4560-BF32-F4474ADD8D27}
Greyspirit is offline  
Old 20 May 2021, 20:06   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
There is not much WinUAE can do when host identifiers change but there is also no need to change config file manually:

Expansions -> Network adapters -> A2065 -> network mode -> select correct entry.
Toni Wilen is online now  
Old 21 May 2021, 01:22   #6
Greyspirit
Registered User
 
Join Date: Jun 2014
Location: Groton / USA
Posts: 37
that's the problem. There were none listed. All I had was the mac (x.x.x.x) entry.
Greyspirit is offline  
Old 21 May 2021, 21:27   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Did you click "MAC (xx:..)"? It is menu, not a plain button. (Second entry should be "Network mode")
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting one working Floppy Drive from two non-working ones Sim085 support.Hardware 31 03 March 2023 23:20
uaenet.device with npcap Phantasm support.WinUAE 1 02 January 2020 20:19
External Disk Drive working and not working fc.studio support.Hardware 12 10 August 2009 03:04
floppy df0 working / not working Dave_wb support.Hardware 3 07 January 2009 09:11
how do i get this working? duckieegg support.Games 5 28 November 2001 17:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:52.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07152 seconds with 13 queries