在終端機打NetworkManager 右上方的工具列會多一個圖示 (注意大小寫)
按下去之後 就會出現可以連線到哪裡的選項
用來連無線網路很方便 = =+
而且可以直接連到有加密的AP 他會自動叫你輸入密碼
就跟在XP下連無線網路一樣方便 XDD
--
安裝:
yum install NetworkManager
2009年8月30日 星期日
2009年8月28日 星期五
Fedora 7 - install gcc 3
yum install compat-gcc-34 compat-gcc-34-c++
--
Ref:
http://www.mjmwired.net/resources/mjm-fedora-f7.html
--
Ref:
http://www.mjmwired.net/resources/mjm-fedora-f7.html
2009年8月19日 星期三
make hostap - error message
In file included from /usr/include/openssl/ssl.h:179,
from tls_openssl.c:23:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from tls_openssl.c:23:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c:1786: dereferencing pointer to incomplete type
tls_openssl.c:1786: dereferencing pointer to incomplete type
tls_openssl.c:1790: dereferencing pointer to incomplete type
tls_openssl.c:1791: dereferencing pointer to incomplete type
tls_openssl.c:1792: dereferencing pointer to incomplete type
tls_openssl.c:1794: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c:2014: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_keyblock_size':
tls_openssl.c:2285: dereferencing pointer to incomplete type
tls_openssl.c:2286: dereferencing pointer to incomplete type
tls_openssl.c:2287: dereferencing pointer to incomplete type
tls_openssl.c:2290: dereferencing pointer to incomplete type
tls_openssl.c:2294: dereferencing pointer to incomplete type
make: *** [tls_openssl.o] Error 1
------------------------------------
solve:
$ CPPFLAGS=-I/usr/kerberos/include
$ export CPPFLAGS
$ make
------
reference:
http://www.cjsdn.net/post/view?bid=11&id=138287&sty=1&tpg=10&age=0
from tls_openssl.c:23:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from tls_openssl.c:23:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c:1786: dereferencing pointer to incomplete type
tls_openssl.c:1786: dereferencing pointer to incomplete type
tls_openssl.c:1790: dereferencing pointer to incomplete type
tls_openssl.c:1791: dereferencing pointer to incomplete type
tls_openssl.c:1792: dereferencing pointer to incomplete type
tls_openssl.c:1794: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c:2014: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_keyblock_size':
tls_openssl.c:2285: dereferencing pointer to incomplete type
tls_openssl.c:2286: dereferencing pointer to incomplete type
tls_openssl.c:2287: dereferencing pointer to incomplete type
tls_openssl.c:2290: dereferencing pointer to incomplete type
tls_openssl.c:2294: dereferencing pointer to incomplete type
make: *** [tls_openssl.o] Error 1
------------------------------------
solve:
$ CPPFLAGS=-I/usr/kerberos/include
$ export CPPFLAGS
$ make
------
reference:
http://www.cjsdn.net/post/view?bid=11&id=138287&sty=1&tpg=10&age=0
2009年8月12日 星期三
設定預設閘道
有時候 default gateway 會變成不是你要的那個
打 ip route show 可以查詢
如果要把192.168.0.1設成default gateway 可以打這個指令
route add default gw 192.168.0.1
--
from
http://210.34.15.15/linux.vbird.org/linux.vbird.org/0140networkcommand.php.htm
打 ip route show 可以查詢
如果要把192.168.0.1設成default gateway 可以打這個指令
route add default gw 192.168.0.1
--
from
http://210.34.15.15/linux.vbird.org/linux.vbird.org/0140networkcommand.php.htm
訂閱:
文章 (Atom)