home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / arachne / archn170.exe / SYSTEM / PKTDRVRS / IFCONFIG.BAT < prev    next >
Encoding:
DOS Batch File  |  2000-10-21  |  514 b   |  18 lines

  1. @echo off
  2. rem Please consider this batch file to be rather joke for Linux users ;-)
  3. rem Please change packet driver name and parameters on following line:
  4. if (%1)==(up) ne2000 0x60 10 0x300
  5. if (%1)==(down) ..\..\termin 0x60
  6. echo.
  7. pktchk 0x60
  8. if errorlevel 1 goto no
  9. pktstat 0x60
  10. goto end
  11. :no
  12. echo No packet driver installed - ethernet interface is down.
  13. :end
  14. echo.
  15. echo DOS ifconfig for packet driver ethernet interface, (G)2000 Arachne Labs
  16. echo.
  17. echo Usage: ifconfig, ifconfig up, ifconfig down
  18.