Monday, November 14, 2011

USB-Tethering with Android and Zen-Kernel

This Post is out of date. Use the updated version.

These are the modules I've enabled for usb-tethering with my Android phone.
I'm not sure if I really need the embedded arm module. I was too lazy to test it. ^^
Most important thing, it should work with these settings.


-> Device Drivers
 -> Network device support (NETDEVICES [=y])
  <m> Generic Media Independent Interface device support
  -> USB Network Adapters
   <m> Multi-purpose USB Networking Framework      
   -M-   CDC Ethernet support (smart devices such as cable modems)
    <m>   CDC EEM support
    <m>   Host for RNDIS and ActiveSync devices (EXPERIMENTAL)
    <m>   Simple USB Network Links (CDC Ethernet subset)
     [*]     Embedded ARM Linux links (iPaq, ...)


Just connect your phone via usb and enable usb-tethering in the settings. A new device called usb0 should appear.

If you don't use wicd or any other network manager which manages dhcp, then do the following as root in a shell to fetch an IP:

dhcpcd usb0

Thursday, November 3, 2011

Sunflower ebuild

I've wanted to make an ebuild for sunflower a while ago, but uni and moving kept me a little too busy.
But, a good news, someone did so and it's available in maksbotan overlay.
I haven't tested it yet nor do i know if it's a live ebuild.

To install sunflower do this:
layman -a maksbotan
emerge sunflower