Hi Yuan, 

I have to do the same think on my Galaxy Samsung S2, but I'm not able
to find the /proc/config.gz to reconfigure the kernel.

Please, can you explain me better how can I add the veth device driver to 
the kernel?
Thanks
Gaetano


Il giorno martedì 22 febbraio 2011 21:24:05 UTC+1, Te-Yuan Huang ha scritto:
>
> I solved this problem, and for others' reference:
>
> The veth device driver is not included in android kernel as default,
> thus, one needs to included it in order for 'ip link add type veth' to work
>
> To be more specific, set
> CONFIG_VETH=y
>
> then everything will work.
>
> -Te-Yuan
>
> On Mon, Feb 21, 2011 at 1:38 AM, Te-Yuan Huang 
> <hua...@gmail.com<javascript:>> 
> wrote:
> > Hi all,
> > (posted a similar post on android-platform, but maybe android-kernel
> > is a more suitable for this question )
> >
> > I would like to create a virtual network interface on android, just
> > like usb0 or rmnet0/1/2.
> > I tried to follow the traditional way on linux, that is: "ip link add
> > type veth".
> > Therefore, I cross-compiled busybox, and it works fine on andoird.
> > However, when I try to execute "busybox ip link add type veth",
> > kernel complains: "ip: RTNETLINK answers: Operation not supported"
> >
> > I checked the kernel configuration, all the modules needed by iproute2
> > are included.
> > I.e.:
> > CONFIG_NETFILTER_NETLINK=y
> > CONFIG_NETFILTER_NETLINK_QUEUE=y
> > CONFIG_NETFILTER_NETLINK_LOG=y
> > CONFIG_NF_CT_NETLINK=y
> > CONFIG_SCSI_NETLINK=y
> > CONFIG_IP_ADVANCED_ROUTER=y
> > CONFIG_NET_SCH_INGRESS=y
> > CONFIG_NET_SCHED=y
> > IP_MULTIPLE_TABLES=y
> > NETFILTER_XT_TARGET_MARK=y
> >
> > Can anyone shed me some light on this?
> > Have been stuck here for a few days.
> >
> > Many Thanks,
> > Te-Yuan
> >
> > --
> > unsubscribe: android-kerne...@googlegroups.com <javascript:>
> > website: http://groups.google.com/group/android-kernel
>
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to