Hacks‎ > ‎

Ipkg

This hack consists in installing ipkg (Itsy Package Management System) into your SE208BW to install various programs without a debian chroot.



Method 1


Requirements: 

1. Your SE208BW 

2. A USB flash drive or a usb hard drive with more than 1 gigabyte of space left. 

3. A telnet client on your pc, phone or tablet.

4. A pc with linux.


Steps: 

1. If you haven't done so before, format your USB key using a pc with linux in ext2 or ext3. If you can't or don't want to format it you can use method 2.x.

2. Download these files to the root of your USB drive by downloading them into your phone or PC and then copying them directly or using the ftp/samba server of the SE208BW into the root of your USB drive or by using this guide: Download Station

https://dl.dropboxusercontent.com/u/58286949/ipkg.sh

https://dl.dropboxusercontent.com/u/58286949/mkipkg.sh

3. Connect the USB drive to your SE208BW and telnet into it. 

4. Type:

sh /mnt/usbs/mkipkg.sh


5. Install the packages you want to install.

6. When you need to access ipkg again after a reboot simply telnet into the SE208BW and type:

sh /mnt/usbs/ipkg.sh





Method 2


Requirements: 

1. Your SE208BW 

2. A USB flash drive or a usb hard drive with more than 1 gigabyte of space left.

3. A telnet client on your PC, phone or tablet.


Steps: 

1. Download these files to the root of your USB drive by downloading them into your phone or PC and then copying them directly or using the ftp/samba server of the SE208BW into the USB drive or by using this guide: Download Station

https://dl.dropboxusercontent.com/u/58286949/lipkg.sh

https://dl.dropboxusercontent.com/u/58286949/loopipkg.tar.gz

2. Connect your usb drive to the SE208BW, telnet into it and type: 

cd /mnt/usbs

tar -xzf loopipkg.tar.gz 

sh /mnt/usbs/lipkg.sh


3. If you want to create a custom-sized loop file with ipkg than should use method 2.1. 

4. Install the packages you want to install.

5. When you need to access ipkg again after a reboot simply telnet into your SE208BW and type:

sh /mnt/usbs/lipkg.sh





Method 2.1


Requirements: 

1. Your SE208BW 

2. A USB drive bigger than the size of the loop file that you are going to create. 

3. A Linux pc. 

4. A telnet client on your PC, phone or tablet.


Steps. 

1. Download these files to the root of your USB drive by downloading them into your phone or PC and then copying them directly or using the ftp/samba server of the SE208BW into the USB drive or by using this guide: Download Station

https://dl.dropboxusercontent.com/u/58286949/mklipkg.sh

https://dl.dropboxusercontent.com/u/58286949/lipkg.sh

2. On your PC create a loop file by typing in the terminal 

dd if=/dev/zero of=/path/to/loop bs=1M count=size in megabytes of the loop file you want to create 

mkfs.ext2 /path/to/loop 

y


3. Copy the loop file on the USB drive and connect it to the SE208BW. 

4. Telnet into your SE208BW and type: 

sh /mnt/usbs/mklipkg.sh


5. Install all the programs you want to install. 

6. When you need to access ipkg again after a reboot simply telnet into your SE208BW and type:

sh /mnt/usbs/lipkg.sh


7. If you can't or don't want to use a PC you can use method 2.2





Method 2.2


Requirements: 

1. Your SE208BW 

2. A USB drive bigger than the size of the loop file that you are going to create. 

3. A telnet client on your pc, phone or tablet. 

4. Debian chroot (Method 2.x)


Steps. 

1. Download these files to the root of your debian chroot USB drive by downloading them into your phone or PC and then copying them directly or using the ftp/samba server of the SE208BW into the USB drive or by using this guide: Download Station

https://dl.dropboxusercontent.com/u/58286949/lipkg.sh

https://dl.dropboxusercontent.com/u/58286949/mklipkg.sh

2. Connect your debian chroot usb drive to the SE208BW, telnet into it and type: 

sh /mnt/usbs/lchroot.sh #

exit

dd if=/dev/zero of=/loop/debian/loopipkg bs=1M count=size in megabytes of the loop file you want to create 

sh /mnt/usbs/lchroot.sh #

mkfs.ext2 /loopipkg

y

exit

mv /loop/debian/loopipkg /mnt/usbs

sh /mnt/usbs/mklipkg.sh


5. Install all the programs you want to install.

6. When you need to access ipkg again after a reboot simply telnet into you SE208BW and type: sh /mnt/usbs/lipkg.sh


# If you are using my SuperHub firmware, instead of typing sh /mnt/usbs/lchroot.sh simply type: lch.sh


Tip: If something doesn't work, try to chmod 777 all the downloaded files.


Enjoy your SE208BW with ipkg!