Find the answer to your Linux question:
Results 1 to 5 of 5
Okay, I need to recompile the suse kernel so that I can get a Wireless Modem to work in linux. Problem is I follow the install guide supplied and get ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    Recompiling the SuSE 10.0 2.6.13-15 kernel

    Okay, I need to recompile the suse kernel so that I can get a Wireless Modem to work in linux.
    Problem is I follow the install guide supplied and get stuck since the guide supplied requires some know-how which I dont yet have.

    Here is the first part:

    Installation

    The driver is available as source-only (ipw-0.4.tar.gz )
    Building the driver for your kernel, using the drivers' source only:

    Download ipw-0.4.tar.gz
    cd /usr/src/linux-2.6.11/drivers/usb/serial
    MINE: cd /usr/src/linux-2.6.13-15/drivers/usb/serial
    tar xvfz ~~/ipw.tar.gz

    This will extract 2 files, ipw.c, and ipw.h You now need to modify the kernel Makefile, and Kconfig file in the /usr/src/linux-2.6.0/drivers/usb/serial directory, to add the IPWireless driver so that you can choose to build it from "make menuconfig"

    * Edit the Kconfig file in /usr/src/linux-2.6.0/drivers/usb/serial/Kconfig
    * Find the line "config USB_EZUSB"

    Add the following lines in the whitespace preceding "config USB_EZUSB":

    config USB_SERIAL_IPW?
    tristate "USB IPWireless (3G UMTS TDD) Driver (EXPERIMENTAL)"
    depends on USB_SERIAL && EXPERIMENTAL

    <small>blank line</small>

    Note the trailing blank line has to be there between "config USB_EZUSB" and "depends on USB_SERIAL && EXPERIMENTAL".

    * Save the Kconfig file.
    * Now edit /usr/src/linux-2.6.0/drivers/usb/serial/Makefile

    Find the:

    obj-$(CONFIG_USB_SERIAL_SAFE?) += safe_serial.o

    line in the makefile, and following it, add a new line

    obj-$(CONFIG_USB_SERIAL_IPW?) += ipw.o

    * Now, chdir to /usr/src/linux-2.6.0/ and "make menuconfig"
    * Enable "Code maturity level options
    ---> Prompt for development and/or incomplete code/drivers"
    * Enable "Device Drivers
    ---> USB support
    ---> USB Serial Converter support
    ---> USB Serial Converter support " as a module <M>.
    * Then enable "USB IPWireless (3G UMTS TDD) Driver (EXPERIMENTAL)"
    at the bottom of the list, as a module.
    * Exit, and save the configuration
    * Make your kernel using "make", and "make modules_install"
    * I'm assuming here that you know what to do after having built a new kernel. (install vmlinz, run lilo, etc..)

    Now the line above is where I get stuck:

    once I've said:
    make (to recompile the kernel)
    what do I do?

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    cp arch/i386/boot/bzImage /boot/vmlinuz-wireless

    mkinitrd /boot/initrd-wireless

    Edit your bootloader configuration to load the new kernel and use the new initrd
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    Ok sooo...

    soo the total sequence to recompile it will be:

    make
    make modules_install
    cp arch/i386/boot/bzImage /boot/vmlinuz-wireless

    mkinitrd /boot/initrd-wireless

    ???????

  4. #4
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Edit /boot/menu.lst
    Duplicate the entry that currently works
    Change the kernel and initrd file to the new ones you created

    Then select it while booting and with soem luck it will boot
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  5. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    ok this is what i tried by myself

    Would the following do everything I need?

    make
    make modules_install
    make vmlinux
    make bzImage
    make install /boot/vmlinux-2.6.13-15-default

    ...If you reply, please be generous enough to the an entire break down of compiling the kernel...I get lost!

Posting Permissions

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