Re: [問題] ifconfig的訊息 想請教一下
大家好
不好意思再請問一下 如果在文字介面上網路設定成功的話
回到視窗介面是不是應該也可以連線上網?
我急著想連線是因為公司主管希望我研究一下這個
(可能是主管學軟體的 覺得這個很easy... 沒想到讓我水深火熱 儘管我覺得有趣)
http://source.android.com/download
其中要download一個叫 repo的東西
$ curl http://android.git.kernel.org/repo >~/bin/repo
但是我輸入上式 它說我的curl not available
所以我就去找了curl的檔案想安裝 以驗證我有成功連線 (因為我回到圖型介面不能連線)
我在這裡下載curl http://curl.haxx.se/download.html
我解開這個tarball 它裡面的README文件告訴我照install-sh的內容來安裝
但是... 我完全看不懂install-sh裡面的東西...
因為這個文件的內容太多 我怕貼出來會讓大家看的不舒服 又不知道該貼哪
所以我貼在我無名的網誌上面 (絕非要衝人氣 我對人氣沒興趣 我也都沒在照顧blog)
http://www.wretch.cc/blog/aquaeelziq/31357852
請問這個該怎麼install...???
它一開始在介紹 後來突然來一句 # set DOITPROG to echo to test this script
我就開始頭暈了...
另外就是 我照版友教的用pppoeconfig
再看一次ifconfig 內容變成如下
我想我還是沒有連線成功 不過我能從下面的內容得到什麼資訊嗎?
非常感謝幫我解答的版友 讓你們看這麼長的問題真的不好意思 謝謝!
eth0 Link encap:Ethernet HWaddr 00:0d:61:2f:bf:91
inet6 addr: fe80::20d:61ff:fe2f:bf91/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15119 errors:0 dropped:0 overruns:0 frame:0
TX packets:7423 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2866380 (2.8 MB)
TX bytes:1344075 (1.3 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:156 errors:0 dropped:0 overruns:0 frame:0
TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12040 (12.0 KB)
TX bytes:12040 (12.0 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:118.168.163.113 P-t-P:122.120.112.254
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3465 errors:0 dropped:0 overruns:0 frame:0
TX packets:3368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:403868 (403.8 KB)
TX bytes:474307 (474.3 KB)
※ 引述《Adama (So Say We All.)》之銘言:
: ※ 引述《aquaeelziq (我是男的(真的啦...))》之銘言:
: : http://wiki.debian.org.hk/w/Connect_network_with_DHCP
: : http://www.mhes.chc.edu.tw/html/techdoc/net-debug.htm
: : 我找不到 /etc/sysconfig/network-scripts
: 這是Red Hat/Fedora系的設定,ubuntu是/etc/default/interfaces不過格式不一樣
: : 用 dhclient eth0 也不行
: 你用光世代應該是用撥接吧,那是pppoe不是用dhcp
: 更嚴格來說用network manager更好,不過ubuntu 9.10的NM有問題
: 所以要手動設定pppoe,爬文吧
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.168.169.11
討論串 (同標題文章)