Pokrewne
- Strona Główna
- Sams' Teach Yourself Linux In 24 Hours
- Teach yourself linux in 24 hours
- 100 linux tips and tricks
- Learning Debian GNU Linux
- Kurs Linux dla poczatkujacych i nie tylko
- Linux Shell Scripting Tutorial
- Redhat Linux 7.2 Bible
- The Linux Users' Guide
- Sienkiewicz Henryk Ogniem i mieczem
- Mann, Thomas Der Zauberberg
- zanotowane.pl
- doc.pisz.pl
- pdf.pisz.pl
- negatyw24.htw.pl
[ Pobierz całość w formacie PDF ]
.The mapping ofinterfaces to ports differs in the 2.0 kernels and the 2.2 kernels.In the 2.0 kernels, the mapping washardwired in the drivers/net/Spacd.c file in the kernel source.The default mappings in this fileare:Interface I/O Port IRQplip0 0x3BC 7plip1 0x378 7plip2 0x278 5If you configured your printer port in a different way, you must change these values indrivers/net/Space.c in the Linux kernel source and build a new kernel.In the 2.2 kernels, the PLIP driver uses the parport parallel port sharing driver developed by PhilipBlundell.[5] The new driver allocates the PLIP network device names serially, just as for the Ethernet orPPP drivers, so the first PLIP device created is plip0, the second is plip1, and so on.The physicalparallel port hardware is also allocated serially.By default, the parallel port driver will attempt to detectyour parallel port hardware with an autoprobe routine, recording the physical device information in theorder found.It is better practice to explicitly tell the kernel the physical I/O parameters.You can do thisby supplying arguments to the parport_pc.o module as you load it, or if you have compiled thedriver into your kernel, using lilo to supply arguments to the kernel at boot time.The IRQ setting of anydevice may be changed later by writing the new IRQ value to the related /proc/parport/*/irqfile.Configuring the physical I/O parameters in a 2.2 kernel when loading the module is straightforward.Forinstance, to tell the driver that you have two PC-style parallel ports at I/O addresses 0x278 and 0c378and IRQs 5 and 7, respectively, you would load the module with the following arguments:modprobe parport_ pc io=0x278,0x378 irq=5,7The corresponding arguments to pass to the kernel for a compiled-in driver are:parport=0x278,5 parport=0x378,7You would use the lilo append keyword to have these arguments passed to the kernel automatically atboot time.When the PLIP driver is initialized, either at boot time if it is built-in, or when the plip.o module isloaded, each of the parallel ports will have a plip network device associated with it.plip0 will beassigned to the first parallel port device, plip1 the second, and so on.You can manually override thisautomatic assignment using another set of kernel arguments.For instance, to assign parport0 tonetwork device plip0, and parport1 to network device plip1, you would use kernel arguments of:plip=parport1 plip=parport0This mapping does not mean, however, that you cannot use these parallel ports for printing or otherpurposes.The physical parallel port devices are used by the PLIP driver only when the correspondinginterface is configured up.Notes[1] Fight to clear the hacking name! Always use cracker when you are referring to people who areconsciously trying to defeat the security of a system, and hacker when you are referring to peoplewho have found a clever way of solving a problem.Hackers can be crackers, but the two shouldnever be confused.Consult the New Hackers Dictionary (popularly found as the Jargon file) for amore complete understanding of the terms.[2] The enhanced parallel port adaptor patch for 2.0 kernel is available fromhttp://www.cyberelk.demon.co.uk/parport.html.[3] NCSA telnet is a popular program for DOS that runs TCP/IP over Ethernet or PLIP, and supportstelnet and FTP.[4] Niibe can be reached at gniibe@mri.co.jp.[5] You can reach Philip at Philip.Blundell@pobox.com.Prev Home NextEthernet Installation Up The PPP and SLIP Drivers[ Please note that the University of Edinburgh is not responsible for the content ofthese WWW pages.For queries please contact user@ph.ed.ac.uk whereuser appears after the ~ and before the / in the URL for this page ]Linux Network Administrators GuidePrev NextChapter 3.Configuringthe NetworkingHardwareThe PPP and SLIP DriversPoint-to-Point Protocol (PPP) and Serial Line IP (SLIP) are widely used protocols for carrying IP packetsover a serial link.A number of institutions offer dialup PPP and SLIP access to machines that are on theInternet, thus providing IP connectivity to private persons (something that's otherwise hardly affordable).No hardware modifications are necessary to run PPP or SLIP; you can use any serial port.Since serialport configuration is not specific to TCP/IP networking, we have devoted a separate chapter to this.Please refer to Chapter 4, for more information.We cover PPP in detail in Chapter 8, and SLIP inChapter 7.Prev Home NextThe PLIP Driver Up Other Network Types[ Please note that the University of Edinburgh is not responsible for the content ofthese WWW pages.For queries please contact user@ph.ed.ac.uk whereuser appears after the ~ and before the / in the URL for this page ]Linux Network Administrators GuidePrev NextChapter 3.Configuringthe NetworkingHardwareOther Network TypesMost other network types are configured similarly to Ethernet [ Pobierz całość w formacie PDF ]
zanotowane.pl doc.pisz.pl pdf.pisz.pl agnieszka90.opx.pl
.The mapping ofinterfaces to ports differs in the 2.0 kernels and the 2.2 kernels.In the 2.0 kernels, the mapping washardwired in the drivers/net/Spacd.c file in the kernel source.The default mappings in this fileare:Interface I/O Port IRQplip0 0x3BC 7plip1 0x378 7plip2 0x278 5If you configured your printer port in a different way, you must change these values indrivers/net/Space.c in the Linux kernel source and build a new kernel.In the 2.2 kernels, the PLIP driver uses the parport parallel port sharing driver developed by PhilipBlundell.[5] The new driver allocates the PLIP network device names serially, just as for the Ethernet orPPP drivers, so the first PLIP device created is plip0, the second is plip1, and so on.The physicalparallel port hardware is also allocated serially.By default, the parallel port driver will attempt to detectyour parallel port hardware with an autoprobe routine, recording the physical device information in theorder found.It is better practice to explicitly tell the kernel the physical I/O parameters.You can do thisby supplying arguments to the parport_pc.o module as you load it, or if you have compiled thedriver into your kernel, using lilo to supply arguments to the kernel at boot time.The IRQ setting of anydevice may be changed later by writing the new IRQ value to the related /proc/parport/*/irqfile.Configuring the physical I/O parameters in a 2.2 kernel when loading the module is straightforward.Forinstance, to tell the driver that you have two PC-style parallel ports at I/O addresses 0x278 and 0c378and IRQs 5 and 7, respectively, you would load the module with the following arguments:modprobe parport_ pc io=0x278,0x378 irq=5,7The corresponding arguments to pass to the kernel for a compiled-in driver are:parport=0x278,5 parport=0x378,7You would use the lilo append keyword to have these arguments passed to the kernel automatically atboot time.When the PLIP driver is initialized, either at boot time if it is built-in, or when the plip.o module isloaded, each of the parallel ports will have a plip network device associated with it.plip0 will beassigned to the first parallel port device, plip1 the second, and so on.You can manually override thisautomatic assignment using another set of kernel arguments.For instance, to assign parport0 tonetwork device plip0, and parport1 to network device plip1, you would use kernel arguments of:plip=parport1 plip=parport0This mapping does not mean, however, that you cannot use these parallel ports for printing or otherpurposes.The physical parallel port devices are used by the PLIP driver only when the correspondinginterface is configured up.Notes[1] Fight to clear the hacking name! Always use cracker when you are referring to people who areconsciously trying to defeat the security of a system, and hacker when you are referring to peoplewho have found a clever way of solving a problem.Hackers can be crackers, but the two shouldnever be confused.Consult the New Hackers Dictionary (popularly found as the Jargon file) for amore complete understanding of the terms.[2] The enhanced parallel port adaptor patch for 2.0 kernel is available fromhttp://www.cyberelk.demon.co.uk/parport.html.[3] NCSA telnet is a popular program for DOS that runs TCP/IP over Ethernet or PLIP, and supportstelnet and FTP.[4] Niibe can be reached at gniibe@mri.co.jp.[5] You can reach Philip at Philip.Blundell@pobox.com.Prev Home NextEthernet Installation Up The PPP and SLIP Drivers[ Please note that the University of Edinburgh is not responsible for the content ofthese WWW pages.For queries please contact user@ph.ed.ac.uk whereuser appears after the ~ and before the / in the URL for this page ]Linux Network Administrators GuidePrev NextChapter 3.Configuringthe NetworkingHardwareThe PPP and SLIP DriversPoint-to-Point Protocol (PPP) and Serial Line IP (SLIP) are widely used protocols for carrying IP packetsover a serial link.A number of institutions offer dialup PPP and SLIP access to machines that are on theInternet, thus providing IP connectivity to private persons (something that's otherwise hardly affordable).No hardware modifications are necessary to run PPP or SLIP; you can use any serial port.Since serialport configuration is not specific to TCP/IP networking, we have devoted a separate chapter to this.Please refer to Chapter 4, for more information.We cover PPP in detail in Chapter 8, and SLIP inChapter 7.Prev Home NextThe PLIP Driver Up Other Network Types[ Please note that the University of Edinburgh is not responsible for the content ofthese WWW pages.For queries please contact user@ph.ed.ac.uk whereuser appears after the ~ and before the / in the URL for this page ]Linux Network Administrators GuidePrev NextChapter 3.Configuringthe NetworkingHardwareOther Network TypesMost other network types are configured similarly to Ethernet [ Pobierz całość w formacie PDF ]