Virtual link

Discussion in 'Open Source' started by BONZI, Dec 12, 2004.

Thread Status:
Not open for further replies.
  1. BONZI

    BONZI New Member

    Joined:
    Oct 7, 2003
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Palakkad Kerala
    I am using PCQ Kppp needs to create a virtual link tp /dev/modem the link that the modem driver created was something else I am now creating the link by runing the command each time(I made an icon for that) how can I add that in the startup? Another provlem is that the modem needs to be loades eachtime can I make the module to run at the startup. Now I have to keep the terminal open. If I close the terminal the driver is unloaded
     
  2. nixcraft

    nixcraft New Member

    Joined:
    Nov 16, 2004
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    BIOS
    nohup /path/to/command-to-load driver &

    After closing terminal command will run in background

    Better way is to configure it in /etc/modules.conf and make changes in /etc/rc.local to load driver each time linux comes up.
     
  3. OP
    OP
    BONZI

    BONZI New Member

    Joined:
    Oct 7, 2003
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Palakkad Kerala
    The idea of nohup was excellent but it is not working for me. I tried entering nohup slmodemd to file:/etc/rc.d/rc.local but when the command is executed the pc stops booting. Ithink the problem is that the command nohup itself has to be closed. Any Idea of tweaking it??
     
  4. nixcraft

    nixcraft New Member

    Joined:
    Nov 16, 2004
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    BIOS
    LOL

    nohup used from commad line and not from script if you wanna use it from script then use following and you are done:
    /path/to/script &
     
  5. OP
    OP
    BONZI

    BONZI New Member

    Joined:
    Oct 7, 2003
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Palakkad Kerala
    Oh IC I will try actually I've never heard about nohup b4.Thnx for the info :).
     
  6. OP
    OP
    BONZI

    BONZI New Member

    Joined:
    Oct 7, 2003
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Palakkad Kerala
    That worked thnx nixcraft.
     
Thread Status:
Not open for further replies.

Share This Page