retrohackers.org
http://retrohackers.org/

Vice and Ethernet under Linux
http://retrohackers.org/viewtopic.php?f=1&t=237
Page 1 of 1

Author:  RaveGuru [ Tue Mar 13, 2007 4:53 am ]
Post subject:  Vice and Ethernet under Linux

I was trying during 4 hours tonight to make Ethernet support work in Vice under Linux (Ubuntu 6.10) but I just can't make it. I've read the KB article, and I've tried all different versions of the netlib and libpcap packages (both -dev and non-dev), including downloading and compiling the latest sources.

* I configured Vice with the --enable-ethernet option

* Everything configures and compiles fine

* I'm running as root

Still I don't get the "I/O Extensions/Ethernet" menu option in Vice. And I consider myself a Linux average... maybe not anymore :(

At best I got Vice to be linked with netlib (checking x64 with ldd) but no libpcap anywhere in there.

I don't get it. What am I missing out?

Plz!

Author:  lallafa [ Thu Mar 15, 2007 1:51 pm ]
Post subject: 

have a look at the output of configure. there are two lines stating the check for libnet and libpcap... if one these checks fails then you won't have any TFE support inside VICE.

if all checks were passed then you can verify in config.h if the corresponding TFE constants are defined. if yes then VICE is compiled with net support.

you need the libnet-1.0a-dev and any libpcap*-dev packets installed on your system. libnet-1.1/dev that is the newer one will NOT work!

hope that helps...

Author:  RaveGuru [ Tue Mar 20, 2007 3:06 pm ]
Post subject: 

Got this working now (thanks Andreas!)

Aparently libpcap is by default only installed as a static library instead of a shared and this was passed thru by the Vice configure script without errors. And yes, it had to be libnet-1.0.x (thanks, lallafa).

    So here's the really quick tutorial for enabling Ethernet in Vice under Linux;

    (This works for me, using Vice 1.21, libpcap 0.9.5 and libnet 1.0.2 under Linux 2.6.17-11 debian style)

    * Make sure libpcap is installed as a shared library (make install-shared) and has proper symlinks pointing to it.

    * Install libnet-1.0.x. (obsolete). Newer versions will not work as the called functions don't exist anymore.

    * Configure and compile Vice with the --enable-ethernet option and look carefully for any negative pcap or netlib output.

    * Run Vice as root!

You should now see the Ethernet settings in the I/O Extensions menu.


The links:

http://www.packetfactory.net/libnet/dis ... .2a.tar.gz
http://www.tcpdump.org/release/libpcap-0.9.5.tar.gz
http://www.zimmers.net/anonftp/pub/cbm/ ... .21.tar.gz

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/