Find the answer to your Linux question:
Results 1 to 4 of 4
i want to insert my own networking module in kernel to make my linux box a full fledge router.so i also want to insert routing protocols in kernel so that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    15

    inserting networking module in kernel


    i want to insert my own networking module in kernel to make my linux box a full fledge router.so i also want to insert routing protocols in kernel so that network packet follows those algorithms.Is it possible?if yes how?
    please help me as fast as you can because i am working on a project.......so any help will be appreciable

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    if you wanna insert a module in the kernel you use the modprobe command.
    have a look at its man page
    Code:
    man modprobe
    Linux and me it's a love story

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    15
    but how will i create a .ko file for this.And also after inserting with modprobe how i will be able to call my own modules instead of using inbuilt modules.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    loading an LKM(with modprobe or insmod for the matter) and building it are totally different tasks. you might want to check out.its not trivial to write a kernel module
    Linux and me it's a love story

Posting Permissions

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