[Armadillo:04597] Re: TUN/TAPのインストール方法をお教えください。
Yoshihiro Imura
email@hidden
2009年 9月 23日 (水) 11:06:31 JST
$B0fB<$H?=$7$^$9!#(B
$B$^$:$O!"%I%i%$%P$NF3F~J}K!$K$D$$$F(B
> > $B%+!<%M%k$NFbIt5!G=$H$7$FAH$_9~$s$G;HMQ!!(B---- $B-!(B
> > $B%m!<%@%V%k%b%8%e!<%k$H$7$FMxMQ!!!!!!!!!!(B---- $B-"(B
$B$3$l$K4X$7$F$o$+$k$3$H$@$12sEz$7$^$9!#(B
$B$^$:!"-!$O!"%+!<%M%k$NFbIt$K<B9T%b%8%e!<%k$r%j%s%/$9$k(B
$BJ}K!$G$9$N$G!"%+!<%M%k$N%5%$%:$,Bg$-$/$J$j$^$9!#(B
$B-"$O!"I,MW;~$K(BFlash$B%a%b%j$+$i%m!<%I$9$kJ}K!$G$9$N$G%I%i%$%P(B
$B%b%8%e!<%k$r%U%!%$%k%7%9%F%`$K3JG<$7$^$9$N$G%+!<%M%k$N%5%$%:(B
$B$OBg$-$/$J$j$^$;$s!#(B
$B2<5-$N%I%-%e%a%s%H$O!"-"$email@hidden@$G$9$N$G!"$9$3$7Fq$7$$$G$9!#(B
$B$?$H$($P!"(Binsmod$B%3%^%s%I$K$F!"<B9T;~$K%m!<%I$9$k>l=j$K(Btun.o$B$r(B
$B3JG<$7$?$$$j$7$^$9!#!J$9$J$o$A!"(BA220$B$KMxMQ$9$k$K$O!"%+!<%M%k$H(B
$B%U%!%$%k%7%9%F%`$NN>J}$r99?7$9$kI,MW$,$"$j$^$9!K(B
$B$G$9$N$G!"$^$:$O!"-!$G(Bmake menuconfig$B$r$5$l$F$O$$$+$,$G$7$g$&!#(B
make menuconfig$B$r(Broot$B$G<B9T$7!"(BDriver$B"*(BNetwork$B$X$H?J$_(B
Universal TUN/TAP device driver support$B$N:8$K$"$k!!(B< >$B$r(B
$B%V%i%s%/%-!<$r#22s2!$7$F!"(B*$B$K$7$F$/$@$5$$!#(B
<*>$B$,(Bbuilt-in$B$GFbIt$KAH$_9~$`J}K!$G!J"+$3$A$i$,-!J}K!$G$9!K(B
<M>$B$,(Bexcludes$B$G%b%8%e!<%k7A<0$G$9!#!J-"$NJ}K!!K(B
$B$=$N8e!"(Bmake $B$7$F$/$@$5$$!#(B
$B"((BTUN/TAP$B$N$_$G$7$?$i!"$3$l$@$1$G(Btun$B%I%i%$%P$rFbIt$K<h$j9~$a$^$9!#(B
$B=PMh>e$,$C$?(Bkernel$B$r(BA220$B$X%m!<%I$7$F0lEY!"F0:n$r3NG'$7$F$_$F$/$@$5$$!#(B
$B%+!<%M%k$N=i4|5/F0%a%C%;!<%8$O!"(Bdmesg$B$G8+$k$3$H$,$G$-$^$9!#(B
$B$=$3$G!"(B/dev/tun$B$,F0:n$7$F$$$k$+$r$_$F$/$@$5$$!#(B
$B!tA4BN$r$-$A$s$HF0:n$5$;$k$K$O!"%I%-%e%a%s%H$rFI$s$G%"%W%j%1!<%7%g%s4D6-(B
$B!!$N9=C[$,I,MW$G$9!#(B
$B0J>e(B
On Wed, 23 Sep 2009 00:56:20 +0900
joshua45 <email@hidden> wrote:
> $B?9$G$9!#(B
>
> $B<c43<+J,$J$j$email@hidden$X?J$a$F$_$^$7$?!#(B
>
> make menuconfig
> $B$K(BTUN/TAP$B$N%G%P%$%9%I%i%$%P$,$"$k$N$O$o$+$j$^$7$?!#$=$l(B
> $B$email@hidden$9$k$H!"3N$+$K!"%I%-%e%a%s%H$K$"$j$^$9%G%#%l%/%H%j(B
>
> /usr/arm-linux/src/linux/driver/net
>
> $B$KBP1~$9$k%G%#%l%/%H%j$K(Btun.o$B$,=PMh$F$$$k$3$H$,3NG'$G$-(B
> $B$^$7$?!#(B
> $B$^$:$O!"$3$N$^$^(B
> make modules
> make
> $B$H$7$F!"%+!<%M%k$r:n$C$F$_$^$7$?!#=PMh>e$,$C$?(B
> linux.bin.gz $B$r%m!<%I$7$F$_$^$7$?$,!"(BTUN/TAP$B%I%i%$%P$O(B
> $BF0:n$7$F$$$J$$MM;R$G$9!#(B
> $B!J(B/dev/net/tun$B$,8=$l$J$$!#!K(B
>
> $B0lJ}!"%I%-%e%a%s%H$N8eH>$K!"(B
>
> ------------------------------------------------
> 8. $B%b%8%e!<%k%U%!%$%k$N%m!<%I(B
>
> $B%b%8%e!<%k%U%!%$%k(B tun.o $B$r%m!<%I$7$^$9!#(B
> $B%m!<%I$K$O(B insmod $B%3%^%s%I$r;HMQ$7$^$9!#(B
>
>
> [armadillo /]#cd /lib/modules/2.4.16-rmk2-armadillo/
> [armadillo /lib/modules/2.4.16-rmk2-armadillo/]# insmod tun.o
>
> ------------------------------------------------
>
>
> $B$H$$$&$N$,$"$j$^$9$N$G!"(Bromfs$B$K(Btun.o$B$r%3%T!<(B
> $B$7!"(Bromfs.img.gz$B$r%m!<%I$7!"(B
>
> insmod tun.o
>
> $B$r<B9T$7$F$_$^$7$?$,!"(B
>
> [email@hidden (ttyp0) /lib/modules/2.6.12.3-a9-17]# insmod tun.o
> insmod: cannot insert `tun.o': Invalid module format (-1): Exec format
> error
>
> $B$H$$$&7k2L$K$J$j$^$9!#(Bchmod 0755 tun.o $B$H$7$F<B9T$7$F$b(B
> $B$_$^$7$?$,!"$=$b$=$b%U%)!<%^%C%H$,0[$J$C$F$$$k$h$&$G(B
> $B$9(B.....$B!#(B
>
> $B$H$$$&$o$1$G!"$3$email@hidden$-5M$^$C$F$7$^$$$^$7$?!#(B
>
>
> > $B%+!<%M%k$NFbIt5!G=$H$7$FAH$_9~$s$G;HMQ(B
> > $B%m!<%@%V%k%b%8%e!<%k$H$7$FMxMQ(B
>
> $B$3$N$$$:$l$NJ}K!$b$h$/$o$+$i$J$$>u67$G$9(B....$B!#(B
>
>
> $B?9!!$R$m$R$5(B
>
>
>
> On 2009/09/22, at 22:24, joshua45 wrote:
>
> > $B$3$s$K$A$O(B
> >
> > $B?9$H$b$&$7$^$9!#(BArmadillo-220 $B$r;H$C$F$$$^$9!#$5$F!"$3$N(B
> > linux$B%+!<%M%k$K(BTUN/TAP$B$rAH$_9~$s$G;H$$$?$$$N$G$9$,!"(B
> > $B$=$NJ}K!$,$h$/$o$+$j$^$;$s!#$*$o$+$j$K$J$kJ}$*65$(4j$($^$;(B
> > $B$s$G$7$g$&$+!#(B
> > atmark-techno.com$B$N%[!<%`%Z!<%8$G(BTUN/TAP$B$N5-=R$rD4$Y$k$H!"(B
> >
> > http://armadillo.atmark-techno.com/howto/ppxp-manual-a
> >
> > $B$,8+$D$+$j$^$9!#(BPPxP$B$r;H$&$?$a$K(BTUN/TAP$B$rAH$_9~(B
> > $B$`J}K!$,=q$+$l$F$$$^$9$,!"(B($B;d$O(BTUN/TAP$B$N$_$,F@(B
> > $B$i$l$l$PNI$$$N$G$9$,(B...)
> >
> >
> >
> > ---------------------------------------------------------
> > make menuconfig
> > $B$r<B9T8e(B
> > make modules
> > $B$r<B9T$7!"=PMh>e$,$C$?(Btun.o$B$r(Barmadillo$B>e$K%3(B
> > $B%T!<$7$^$9!#(B
> > ($B:#2s!"3F%U%!%$%k$r(Barmadillo$B>e$N!V(B/lib/modules/2.4.16-
> > rmk2-armadillo/$B!W%G%#%l%/%H%j$KJ]B8$7$^$9!#(B)
> > .....
> >
> > ---------------------------------------------------------
> >
> > $B$H=q$+$l$F$$$k$N$_$G$9!#(Bmake menuconfig$B$G$I$N$h$&$K%3(B
> > $B%s%U%#%0$r$9$k$N$+!"$^$C$?$/8+Ev$,$D$-$^$;$s!#(B
> > $B$^$?!"(Bmake modules$B$r9T$C$F$b$J$K$b=PMh$^$;$s!#(B
> >
> > $B$3$N%I%-%e%a%s%H$N:G=i$K$O!"(B
> >
> > ---------------------------------------------------------
> > Universal TUN/TAP device driver support
> > $B5!G=$rM-8z$K$9$k$?$a$K%+!<%M%k$email@hidden$r9T$$$^$9!#(B
> >
> > $B>e5-$N5!G=$r;H$&$?$a$K$O0J2<$N#2DL$j$NJ}K!$,$"$j$^$9!#(B
> >
> > $B%+!<%M%k$NFbIt5!G=$H$7$FAH$_9~$s$G;HMQ(B
> > $B%m!<%@%V%k%b%8%e!<%k$H$7$FMxMQ(B
> >
> > ---------------------------------------------------------
> > $B$H$$$&5-=R$,$"$j$^$9!#$3$NN>J}$NJ}K!$K$D$$$F65$($F$$$?$@$1(B
> > $B$?$i$"$j$,$?$$$G$9!#(B
> > $B$I$&$+$h$m$7$/$*4j$$$7$^$9!#(B
> >
> > $B9q:]F|K\J82=8&5f%;%s%?!<(B
> > $B?9!!$R$m$R$5(B
> >
> >
> > _______________________________________________
> > armadillo mailing list
> > email@hidden
> > http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
armadillo メーリングリストの案内