You're quite right, that was a typo by me, I followed the manual that far.
the command shoulde be mknod /dev/tap0 c 36 16.
> Hello from Gregg C Levine from Jedi Knight Computers
> Are you quite sure about those major-minor numbers for the tap#
> character device drivers? The text file, that is for ethertap, gives a
> totally different set. And I shall quote here, from "ethertap.txt" :
> First you will have to enable Ethertap in the kernel configuration.
> Then you will need to create any number of ethertap device files,
> /dev/tap0->/dev/tap15. This is done by the following command.
> mknod /dev/tap* c 36 16 ( 17 18 19 20 for tap1,2,3,4...)
> ** Replace * with the proper tap device number you need. **
> Now with your kernel that has ethertap enabled, you will need
> to ifconfig /dev/tap* 192.168.1.1 (replace 192.168.1.1 with the
> proper IP number for your situation.)"
> It then goes on to say what you have already figured out, in your setup.
> For my setup personally, I think I can get what it says to do, in the
> text file, correctly. Do not try contacting the author, of the device
> driver, as he is not interested in replying to any of it. Just my two
> credits here. Also thank you for agreeing with me, that the 3C509 would
> be a better choice then the ne2k networking card. Prior to the 3C905
> family, that is all I used. Of course, there were moments, but that is
> another story.
> Gregg C Levine drwho8@...
> "The Force will be with you...Always." Obi-Wan Kenobi
> "Use the Force, Luke." Obi-Wan Kenobi
> (This company dedicates this E-Mail to General Obi-Wan Kenobi )
> (This company dedicates this E-Mail to Master Yoda )
> > -----Original Message-----
> > From: bochs-developers-admin@...
> > admin@...] On Behalf Of Stefan G=F6rling
> > Sent: Sunday, March 24, 2002 2:56 PM
> > To: Bryce Denney
> > Cc: Bochs Developers
> > Subject: [Bochs-developers] Successfully running networking with linu=
> > ethertap.
> > Dear Bryce,
> > Back from vacation I took a look into the networking issues. After
> setting up
> > my routes properly and compiling the newest release it works fine,
> i've been
> > able to ping both ways and establish connections from my
> DLX-linux-image to my
> > host os and routing the packages all over the internet by iptables. A=
> > ISP uses the 10.0.0.0 net (even thught it should be reserved) I've
> used the
> > 192.168.2.0 net instead. The following is my route commands if anyone
> > interested:
> > My sucessfull setup:
> > Linux Host:
> > /sbin/insmod ethertap
> > mknod /dev/tap0 c 36 26 # if not already there
> > ifconfig tap0 192.168.2.1
> > route add -host 192.168.2.1 tap0
> > route add -net 192.168.2.0 netmask 255.255.255.0 tap0
> > DLX Linux:
> > ifconfig eth0 192.168.2.2
> > route add -host 192.168.2.2 eth0
> > route add -net 192.168.2.0 netmask 255.255.255.0 eth0
> > route add default gw 192.168.2.1 # (only necessary if you want to
> > beyound your network)
> > #masquerade all packages going out on eth0, from 192.168.2.0
> > #If you want to forward this to the rest of the world, enable iptable=
> in your
> > kernel and write the following.
> > #make sure you have forwarding enabled and all modules compiled and
> > /sbin/iptables -F POSTROUTING -t nat
> > /sbin/iptables -t nat -A POSTROUTING -o eth0 -s
> 192.168.2.0/255.255.255.0 -j
> > SNAT --to-source xx.yy.zz.vv # where xx.yy.zz is your global ip on
> > The same should apply when running windows in the emulator (setting u=
> > detected nic with ip 192.168.2.2, netmask 255.255.255.0 and gateway
> > 192.168.2.1)
> > After looking into the ne2k code a bit deeper and comparing it to the
> > from the linux sourcecode I'm very interested in rewriting the
> networking to
> > 3c509 instead of ne2k as it's _a lot_ cleaner to implement in the
> > model. Does anyone know where to get the specifications for the card?
> As Peter
> > stated before 3c509 does everything via a single IO-port, and is
> > cleaner than the current dma-implementation. If we're going to share
> code with
> > the Plex86 project I belive that it would be easier to write the 3c50=
> > than porting the ne2k model. One of the great things about the curren=
> > though is that it works!
> > Best Regards,
> > Stefan G=F6rling
> > _______________________________________________
> > bochs-developers mailing list
> > bochs-developers@...
> > https://lists.sourceforge.net/lists/listinfo/bochs-developers
> bochs-developers mailing list