Featured Post

Using USB CDMA modem to setup a home/private WiFi network

The idea here is to give a ‘how-to’ on setting up a a home WiFi network using mobile, CDMA based USB modem, hoping that bandwidth that you obtain from this service is satisfactory :-) Hardware Requirements: Linux PC/Notebook/Netbook Wifi Access point connected to ethernet port of the Linux box CDMA-1x USB Modem (Device used: Reliance M880) Software/OS Requirements: Linux Operating System with “usbserial” and “cdc_acm” device driver modules “pppd”, “wvdial”, “iptables”, and “dnsmasq” applications and their dependencies installed on the System Setup: The steps followed in setting up this CDMA based connectivity can be split into 3 steps, as follows. Configuring kernel modules for auto-loading at bootup Configuring “wvdial” application for dialup / ppp connection Initializing / starting the CDMA modem connection Setting up “iptables” for NAT forwarding Setting up “dnsmasq” for resolving DNS and as DHCP server Configuring kernel modules for auto-loading at bootup Open

Creating GRUB/Syslinux splash images

GRUB splash image creation:
  • Open GIMP application.
  • Create an image of size 640x480 pixels. You may open an existing image and resize it too.
  • Reduce the number of colors to 14 by selecting menu item “Image->Mode->Indexed”. Don’t use any color dithering.
  • Save the resulting image as splash.xpm and close GIMP.
  • Compress the image file by running; gzip splash.xpm
  • Copy the resulting splash.xpm.gz file to /boot/grub.
  • Run update-grub to upgrade the grub configuration to include this splash image.

Syslinux splash image creation:
  • Open GIMP application.
  • Create an image of size 640x480 pixels. You may open an existing image and resize it too.
  • Reduce the number of colors to 14 by selecting menu item “Image->Mode->Indexed”. Don’t use any color dithering.
  • Save the resulting image as splash.ppm and close GIMP.
  • Install the package syslinux-common by running; apt-get install syslinux-common as sudo/root. 
  • Convert the saved image to syslinux format by running; ppmtolss16 ‘#ffffff=7’ <splash.ppm >splash.rle
  • The resulting splash.rle image can be included in /boot/syslinux and syslinux.cfg file should be edited accordingly to include this splash image.

Comments

Popular posts from this blog

How to extract an initrd image

Using USB CDMA modem to setup a home/private WiFi network

Debian Squeeze and Mac OSX Lion - Dual boot