VOGONS


First post, by nadnadnad

User metadata
Rank Newbie
Rank
Newbie

I'm sorry if this is something stupid, but I've ventured throughout the whole forum, but I couldn't find a solution to this problem. Bear with me.

Using DOSBOX Daum build with HAL's NE2000, virtual printer, and so on...

Problem: Everything works 'cept for the NE2000, which I want soooo badly. 😢

What works so far: DOSBOX detects my Wi-Fi adapter, and the packet driver loads at 0x60.

What doesn't work: Arachne, Lynx, ping, dhcp, and so on... in other words, no internet (no IP)

Debug window info:
DOSBox version SVN-Daum
Copyright 2002-2013 DOSBox Team, published under GNU GPL.
---
GUI: Press Ctrl-F10 to capture/release mouse, Alt-F10 for configuration.
CONFIG:Loading primary settings from config file dosbox.conf
"vga" is not a valid value for variable: machine.
It might now be reset to the default value: svga_s3
Memory sizes above 31 MB are NOT recommended.
Stick with the default values unless you are absolutely certain.
forcerate I got ''

MIXER:Got different values from SDL: freq 16000, blocksize 512
SDLNet_TCP_Open: Couldn't connect to remote host

TiMidity: can't open control connection (host=127.0.0.1, port=7777)
SYNTH: Specify .SF2 sound font file with config=
MT32: Control ROM file not found
MIDI:Opened device:none
ISA Plug & Play BIOS enabled
Parallel1: BASE 378h
Glide:LFB access: read-write
Glide:Unable to load glide2x library, glide emulation disabled
Using Network interface:
wlp3s0
(no description)

Output does not support hardware scaling, switching to normal scalers

[END OF DEBUG]

Some images:
In the attachments.

Reply 1 of 6, by nadnadnad

User metadata
Rank Newbie
Rank
Newbie

Also, when I use DHCP, it says that the virtual NE2000 is recieving packets, but can not contact the DHCP server. Go figure.

MORE INFO: Arachne, after twiddling with its TCP/IP settings, claims that the DOSbox has an IP, but it can't reach my network and my network can't reach it (PING test fails). 😢

Reply 2 of 6, by nadnadnad

User metadata
Rank Newbie
Rank
Newbie

(BUMP)

Reply 3 of 6, by horribile

User metadata
Rank Newbie
Rank
Newbie

Is WinPcap installed on your host?

Reply 4 of 6, by Norton Commander

User metadata
Rank Member
Rank
Member

WinPcap won't help since he is running Linux (I am guessing from the screenshots) and it would have been helpful if OP mentioned that. Also helpful would have been contents of net.cfg of ODI driver.

Reply 6 of 6, by horribile

User metadata
Rank Newbie
Rank
Newbie
Norton Commander wrote:

WinPcap won't help since he is running Linux (I am guessing from the screenshots) and it would have been helpful if OP mentioned that. Also helpful would have been contents of net.cfg of ODI driver.

It's libpcap for Linux.
Yes it wasn't mentioned but adapter was detected and no traffic, so I supposed it's pcap problem.

So, on Linux it's libpcap2 at least on Ubuntu.
And to run it without root:
newgrp pcap
chown root:pcap /path/dosbox
chmod 750 /path/dosbox
setcap cap_net_raw,cap_net_admin,cap_dac_override +eip /path/dosbox

then make yourself a member of the pcap group