Configuring serial link with Windows to Minix using SLIP or PPP =============================================================== You can configure a link for direct connection using slip or ppp. I added a flag (-M) for modem emulation because I can not configure a direct connection usable in Windows 98. Under Windows Me/NT/2000/XP the problem is similar. ************************************************************************* NOTE: Compressed SLIP works fine versus Windows 98 and Second Edition. If you patch them with some service pack, Compressed SLIP may not work. If you experience this problem, try using SLIP without compression. Windows PPP seems to work fine with header compression. ************************************************************************* 1. edit config.h and enable EMUMDM. Recompile slip.drv or ppp.drv driver 2. you must add a new modem for direct connection in Windows a. Control Panel -> Modems -> Add b. select the check box "Don't run the hardware installation wizard" (text in Windows 98) and Next. c. The install new modem dialog appears, so check the box "Don't detect my modem I will select it from a list", and Next. d. in the standard modem types select any like Standard 19200 modem, Next, and the port (like COM1 or COM2) e. this will install the modem. You can return to the main modem selection and configure it to have any speed (into the properties). Remember this speed to use the same under Minix (-b flag). 3. configure in windows a new connection, use the name you like, and configure the new modem added 4. configure the dial number to any you like, i.e. 1 or 1234567 5. configure using compressed headers. If Minix will be your router, also check the default route. 6. configure static IP address. Remember that under windows you CAN NOT modify the net mask. So an address of 10.1.1.2 will automatically use netmask 255.0.0.0 and 172.1.1.1 will use 255.255.0.0, and 192.1.1.1 will use 255.255.255.0 (the default for each net type). 7. configure DNS pointing to your Minix machine, or you can use a HOST file (\windows\hosts in Windows 9x or \Winnt\system32\drivers\etc\hosts in NT and W2k) 8. configure Minix ip having clear the netmask (-n 0.0.0.0). This is usefull if Minix will use Windows as the gateway for everything, and also this avoid to configure default routes. If you are connecting both machines only, use the default mask for the network you like. 9. Minix to windows link must be started like slip.drv -M to enable the modem emulation code. Also slip needs -c if you check the compressed headers, if using ppp this is not necesary, but remember to use -M and -a. for ppp i.e. ppp.drv -M -b 115200 -a /dev/tty01 & 10. Fire the dial entry. Windows will ask you for user and password, but you can set any. After hitting connect, you will have a terminal screen that you will hit continue if you configure a SLIP connection. In PPP you will notice the username/password dialog. 11. After normal negotiation, dial-up in windows should be working. ping to the peer node to know if link is working. 12. to terminate the connection, disconnect from Windows. PPP will stop but the connection will be hang arround 30 seconds because dial-up is waiting for the modem status. This is normal. For slip you will notice the same issue.