Find the answer to your Linux question:
Results 1 to 10 of 10
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Command that list all device drivers not just modules


    Is there a command that will do this? I'm wondering why my distro has plipconfig and not plip. What would be the point.

    Thanks in advance!

  2. #2
    If you are trying to configure a PLIP device, then I think you want the plip module. Look for it like this:
    Code:
    modinfo plip
    
    find /lib/modules/`uname -r`/|grep plip
    load it:
    Code:
    modprobe parport
    modprobe parport_pc 0x3BC irq=none
    modprobe plip
    configure it:
    Code:
    ifconfig plip0 <IPADDR> netmask <NETMASK> up
    hth

  3. #3
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Red face I think were on to something! You should write a tutorial on this!

    [kbs@localhost ~]$ find /lib/modules/`pete -r`/|grep plip
    Command not found.
    /lib/modules//2.6.34.8-68.fc13.i686.PAE/kernel/drivers/net/plip.ko
    /lib/modules//2.6.33.3-85.fc13.i686.PAE/kernel/drivers/net/plip.ko
    [kbs@localhost ~]$

    Does this mean the plip driver is installed?

    How do I transfer files if the daemon is working? Commands?

    Are there any search terms I could use to exhaust this subject?

    Thanks!

  4. $spacer_open
    $spacer_close
  5. #4
    Yes, looks like it is installed for two kernels on your system. But the command there is literally `uname -r`, not your user name. Try again using that exact command.

    also, did you modprobe the modules?

    I know *nothing* more than what I already told you about PLIP, but once you have a PLIP network interface up (e.g., plip0) and configured with an IP address, then I imagine you connect the parallel port to the parallel port of another device capable of communicating via PLIP (i.e., another Linux box?) and then copying files the standard way; scp, ftp, etc.

  6. #5
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Here is the code.

    [kbs@localhost ~]$ su
    Password:
    [root@localhost kbs]# find /lib/modules/`uname -r`/|grep plip
    /lib/modules/2.6.34.8-68.fc13.i686.PAE/kernel/drivers/net/plip.ko
    [root@localhost kbs]# modprobe parport
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@localhost kbs]# modprobe parport_pc 0x3BC irq=none
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@localhost kbs]# modprobe plip
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@localhost kbs]#

    I noticed that you joined last month and have almost 300 post.Mingia!
    Last edited by theKbStockpiler; 07-25-2011 at 01:39 AM.

  7. #6
    Those warnings are harmless, but we can get rid of them if you want. Have you tried the configuring the plip device yet? What does Mingia mean?

  8. #7
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Mingia is a mostly Italian/American expression simular to "Wholy Cow!"

    Link to Wholy Cow. Holy cow (expression) - Wikipedia, the free encyclopedia The context that it is usually used in, is in place of a curse word like hell is. So it is a low impact curse word like saying "God Damn". I just mean to express that 300 posts in under two months is quite a feat! The actual meaning of Mingia has been taken out of context quite a bit. I think it really means not to cry. I'll run that code soon and post it. Thanks again. I imagine that Italians say it in a sarcastic manner after someone curses that really should not be cursing but as I don't speak Italian I don't know any better.

  9. #8
    Ah, thanks for the explanation, and you're welcome!

  10. #9
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Full code

    [kbs@localhost ~]$ su
    Password:
    [root@localhost kbs]# find /lib/modules/`uname -r`/|grep plip
    /lib/modules/2.6.34.8-68.fc13.i686.PAE/kernel/drivers/net/plip.ko
    [root@localhost kbs]# modprobe parport
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@localhost kbs]# modprobe parport_pc 0x3BC irq=none
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@localhost kbs]# modprobe plip
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@localhost kbs]# ifconfig plip0 <IPADDR> netmask <NETMASK> up
    bash: IPADDR: No such file or directory
    [root@localhost kbs]#



    I actually loaned out my other computer so I can't test it with another piece of equipment hooked up to it right now. Thanks again for the help! I'll check to see if one of my printers has a parallel port as well as a usb for the hell of it. "Mingia!"

  11. #10
    in that ifconfig command, you'll need to substitute YOUR ip address and netmask for the <IPADDR> and <NETMASK> place-holders, e.g.:

    Code:
    ifconfig plip0 192.168.1.2 netmask 255.255.255.0 up
    then you can check the status of the device:

    Code:
    ifconfig plip0
    this is of course when you get back your other PC.

    w00t!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •