Posts Tagged usb

WiFi hotspot with an Ubuntu netbook

My task was to set up my Ubuntu netbook (Acer Aspire One D255E-13DQws) so that it acts as a wi-fi access point whenever I insert a USB WiFi adapter, and shares its existing connection, be it a wired RJ45 or WiFi connection on the built-in wi-fi card.

Among other use scenarios, it may be useful in hotels where only one WiFi client device is allowed in a room.

The below scenario is tested with Ubuntu 11.10, and it should work with older versions too. The TP-Link TL-WN821N is used by default, and also a Ralink3070 based adapter was working the same way.

Read the rest of this entry »

Advertisements

, , ,

1 Comment

OpenWRT patch for Edimax BR6104KP with USB rootfs

The Edimax BR6104KP router (also available as Omnima Embedded Controller from Omnima with JTAG and serial already soldered in) has only 2MB onboard flash, which is too small for any usable Linux setup.

The board has also two USB1.1 interfaces, and this patch introduces a new profile that builds two images: the flash image containing the LZMA loader and the kernel (less than 900KB), and a tar.gz archive of the root filesystem. The kernel looks to mount the rootfs as ext3 or ext2 on /dev/sda1.

The patches for include/image.mk and include/kernel-defaults.mk extend the existing functionality and should not hurt any existing profile.

To use the new profile, choose in menuconfig:

  • Target System: Infineon/ADMtek ADM5120 [2.6]
  • Target Profile: Edimax BR-6104KP (USB Root FS)

The patch was tested, and by default it supports the onboard switch and the USB storage. Other kernel modules should function as well.

The next step will be to utilize the unused space in the onboard flash to store the persistent configuration, so that updating the rootfs would not hurt it.

A copy of the patch is available here. It should work against the SVN trunk at revision 13018

, , , ,

Leave a comment