3g上網,IP變動問題 - Linux

By Lucy
at 2013-07-22T20:11
at 2013-07-22T20:11
Table of Contents
我有一台ubuntu server的機器,透過華為的3g網卡上網
網卡資訊 http://www.pcstore.com.tw/sogynet/M10266362.htm
網卡直接接在主機的usb插槽上
但是連上網路之後卻發現,ppp0取得的ip
和我用curl ifconfig取得的ip不一致
現在ubuntu出的去,但是我卻無法ssh進去
不知道有經驗的板友都是怎麼連線的呢?
麻煩各位了~謝謝~
補充
eth0 Link encap:Ethernet HWaddr 08:00:27:63:68:cd
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1360 errors:0 dropped:0 overruns:0 frame:0
TX packets:868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 KB)
Interrupt:17 Base address:0xc000
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:42.72.90.213 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:16479 (16.4 MB) TX bytes:14705 (14.7 KB)
--
網卡資訊 http://www.pcstore.com.tw/sogynet/M10266362.htm
網卡直接接在主機的usb插槽上
但是連上網路之後卻發現,ppp0取得的ip
和我用curl ifconfig取得的ip不一致
現在ubuntu出的去,但是我卻無法ssh進去
不知道有經驗的板友都是怎麼連線的呢?
麻煩各位了~謝謝~
補充
eth0 Link encap:Ethernet HWaddr 08:00:27:63:68:cd
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1360 errors:0 dropped:0 overruns:0 frame:0
TX packets:868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 KB)
Interrupt:17 Base address:0xc000
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:42.72.90.213 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:16479 (16.4 MB) TX bytes:14705 (14.7 KB)
--
Tags:
Linux
All Comments

By Zora
at 2013-07-26T15:21
at 2013-07-26T15:21

By Queena
at 2013-07-27T00:10
at 2013-07-27T00:10

By Regina
at 2013-07-30T06:35
at 2013-07-30T06:35

By Audriana
at 2013-08-03T22:59
at 2013-08-03T22:59

By Aaliyah
at 2013-08-07T07:50
at 2013-08-07T07:50

By Necoo
at 2013-08-07T12:37
at 2013-08-07T12:37

By Brianna
at 2013-08-10T07:37
at 2013-08-10T07:37
Related Posts
HackingThursday 固定聚會 (2013-07-25)

By Quanna
at 2013-07-22T12:03
at 2013-07-22T12:03
avconv 轉出來的音樂長度錯誤

By Enid
at 2013-07-21T22:16
at 2013-07-21T22:16
Xmanager連線問題

By Kama
at 2013-07-21T21:51
at 2013-07-21T21:51
ssh 遠端中文顯示問題

By Freda
at 2013-07-21T18:12
at 2013-07-21T18:12
在tcpdump時避免dropped by kernel

By Quintina
at 2013-07-21T16:57
at 2013-07-21T16:57