如何讓3G行動網卡分享給其他電腦? - Linux

Lily avatar
By Lily
at 2010-09-09T09:54

Table of Contents

※ 引述《Adama (So Say We All.)》之銘言:
: Debian系的設定檔結構不太一樣,網路設定在/etc/network/interfaces
: 另外如果有用network manager的話,ppp連線時原來的eth設定IP會被洗掉...

:→ Adama:是喔 那我就不知道為什麼了 也許ifconfig結果貼出來瞧瞧 09/09
09:49
:→ Adama:還有route -n 的結果 09/09 09:50

eth0 Link encap:Ethernet HWaddr 00:1f:d0:b8:94:65
inet addr:192.168.127.1 Bcast:192.168.127.255 Mask:255.255.255.0
inet6 addr: fe80::21f:d0ff:feb8:9465/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:454 errors:0 dropped:0 overruns:0 frame:0
TX packets:2625 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41701 (41.7 KB) TX bytes:197652 (197.6 KB)
Interrupt:25 Base address:0x2000

ppp0 Link encap:Point-to-Point Protocol
inet addr:114.136.248.15 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:9610 errors:0 dropped:0 overruns:0 frame:0
TX packets:11509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:5649754 (5.6 MB) TX bytes:1199989 (1.1 MB)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.127.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0
0.0.0.0 192.168.127.1 0.0.0.0 UG 0 0 0 eth0


--
Tags: Linux

All Comments

如何讓3G行動網卡分享給其他電腦?

Kumar avatar
By Kumar
at 2010-09-09T09:09
※ 引述《guestid (訪客ID)》之銘言: : 我手邊有一台PC, 一台小筆電, 都是Ubuntu 10.04, 想利用3G網卡讓兩台同時都能上網~ : iptables -t nat -A POSTROUTING -o $EIF -s $INNET -j MASQUERADE : policy都沒改, ...

如何讓3G行動網卡分享給其他電腦?

Yedda avatar
By Yedda
at 2010-09-09T08:55
我手邊有一台PC, 一台小筆電, 都是Ubuntu 10.04, 想利用3G網卡讓兩台同時都能上網~ 於是參考鳥哥的教學,用PC當NAT主機,做以下設定: EIF=and#34;ppp0and#34; # 3G網卡的網路介面 IIF=and#34;eth0and#34; # 對內的網路介面 INNET=a ...

Ubuntu Netbook 的視窗最大化套件?

Linda avatar
By Linda
at 2010-09-08T23:12
如題, 因為也不完全喜歡Netbook版的預設配置, 所以比較想用桌面版的Ubuntu+Docky+一些別的套件來最佳化使用經驗。 Global menu的部份已經知道是appmenu了, 但是那個最大化以後還能在panel上顯示視窗控制按鈕的卻不知道是哪個套件; 本來以為是maximus,但是裝了 ...

無法進入linux

Kama avatar
By Kama
at 2010-09-08T21:15
目前是雙硬碟(320g,160g) 320g那顆灌win7 160g那顆灌centos 然後灌完第一階段,重開機後 linux的部分完全無法進去 bios部分我是沒去調整,我想讓她自己跑開機選單出來 而,我也有灌grub,可是也沒有開機選單跑出來囧 怎麼跑都只是自己跑回win7 後來有用eas ...

Linux 驅動程式進階 <四> - 硬體事件的 …

Rosalind avatar
By Rosalind
at 2010-09-08T18:07
台北場講座時間更改 9/11(六)19:00~~21:00台北場講座, 將改為提前到14:00~~16:00舉辦。 歡迎您蒞臨參加! ※ 引述《candicehe (北鼻喵)》之銘言: : Embedded Linux System 系列講座十四 : 高雄、台北場 : 訊息連結 : http://tw. ...