It is currently Mon Jan 26, 2026 8:39 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Mar 13, 2007 4:53 am 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
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!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 15, 2007 1:51 pm 
Offline
User avatar

Joined: Mon Dec 11, 2006 7:26 pm
Posts: 5
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...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 20, 2007 3:06 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group