Madwimax:调制解调器已连接但没有互联网

Madwimax:调制解调器已连接但没有互联网

我正在使用马德维马克斯用于将三星 USB 调制解调器连接到互联网的软件包。它以前在以前版本的 Ubuntu 上运行良好,但现在我升级到 Ubuntu 12.10,我遇到了连接问题。这是我所拥有的:

从我的系统日志中,我看到调制解调器可以很好地连接到互联网:

$ tail syslog
Nov 25 19:22:56 server_name kernel: [ 7643.313567] usb 1-1: >New USB device found, idVendor=04e8, idProduct=6761
Nov 25 19:22:56 server_name kernel: [ 7643.313585] usb 1-1: >New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 19:22:56 server_name kernel: [ 7643.313598] usb 1-1: >Product: Samsung USB mWiMAX Modem 
Nov 25 19:22:56 server_name kernel: [ 7643.313609] usb 1-1: >Manufacturer: SAMSUNG ELECTRONICS Co.Ltd.
Nov 25 19:22:56 server_name kernel: [ 7643.320211] scsi5 : usb-storage 1-1:1.1
Nov 25 19:23:02 server_name dhclient: DHCPDISCOVER on wimax0 to 255.255.255.255 port 67 interval 3
Nov 25 19:23:02 server_name dhclient: DHCPREQUEST of XXX.XXX.XXX.XXX on wimax0 to 255.255.255.255 port 67
Nov 25 19:23:02 server_name dhclient: DHCPOFFER of XXX.XXX.XXX.XXX from XXX.XXX.XXX.XXX
Nov 25 19:23:02 server_name dhclient: DHCPACK of XXX.XXX.XXX.XXX from XXX.XXX.XXX.XXX
Nov 25 19:23:02 server_name dhclient: bound to XXX.XXX.XXX.XXX -- renewal in 4311 seconds.

我在 dmesg 中没有看到任何奇怪的东西:

[ 6311.413438] scsi 3:0:0:0: >CD-ROM            Samsung  Install Disk     0.10 PQ: 0 ANSI: 0 CCS
[ 6311.445249] sr0: scsi3-mmc drive: 0x/0x caddy
[ 6311.445920] sr 3:0:0:0: >Attached scsi CD-ROM sr0
[ 6311.446619] sr 3:0:0:0: >Attached scsi generic sg1 type 5
[ 6311.455124] sr0: Hmm, seems the drive doesn't support multisession CD's
[ 6311.485119] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 6311.485629] sr: Sense Key : Hardware Error [current] 
[ 6311.485644] sr: Add. Sense: No additional sense information
[ 6509.366803] usb 1-1: >USB disconnect, device number 5
[ 6739.568110] usb 1-1: >new high-speed USB device number 6 using ehci_hcd
[ 6739.701153] usb 1-1: >New USB device found, idVendor=04e8, idProduct=6761
[ 6739.701171] usb 1-1: >New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6739.701184] usb 1-1: >Product: Samsung USB mWiMAX Modem  
[ 6739.701195] usb 1-1: >Manufacturer: SAMSUNG ELECTRONICS Co.Ltd.
[ 6739.710107] scsi4 : usb-storage 1-1:1.1
[ 6740.709747] scsi 4:0:0:0: >CD-ROM            Samsung  Install Disk     0.10 PQ: 0 ANSI: 0 CCS
[ 6740.741201] sr0: scsi3-mmc drive: 0x/0x caddy
[ 6740.741873] sr 4:0:0:0: >Attached scsi CD-ROM sr0
[ 6740.742613] sr 4:0:0:0: >Attached scsi generic sg1 type 5
[ 6740.755544] sr0: Hmm, seems the drive doesn't support multisession CD's
[ 6740.781039] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 6740.781357] sr: Sense Key : Hardware Error [current] 
[ 6740.781366] sr: Add. Sense: No additional sense information
[ 6964.229412] type=1400 audit(1353885097.721:13): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=14883 comm="apparmor_parser"
[ 6964.930207] type=1400 audit(1353885098.421:14): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=14882 comm="apparmor_parser"
[ 6964.934760] type=1400 audit(1353885098.425:15): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=14882 comm="apparmor_parser"
[ 6964.935108] type=1400 audit(1353885098.425:16): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=14882 comm="apparmor_parser"
[ 6965.218809] type=1400 audit(1353885098.709:17): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/tcpdump" pid=14885 comm="apparmor_parser"
[ 6966.215718] type=1400 audit(1353885099.705:18): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=14933 comm="apparmor_parser"
[ 6966.929916] type=1400 audit(1353885100.421:19): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=14932 comm="apparmor_parser"
[ 6966.930401] type=1400 audit(1353885100.421:20): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=14932 comm="apparmor_parser"
[ 6966.930743] type=1400 audit(1353885100.421:21): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=14932 comm="apparmor_parser"
[ 6967.212826] type=1400 audit(1353885100.705:22): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/tcpdump" pid=14935 comm="apparmor_parser"
[ 7098.436770] r8169 0000:02:00.0: >eth0: link down
[ 7098.436793] r8169 0000:02:00.0: >eth0: link down
[ 7098.437360] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7100.029494] r8169 0000:02:00.0: >eth0: link up
[ 7100.030390] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7408.143352] usb 1-1: >USB disconnect, device number 6
[ 7643.180108] usb 1-1: >new high-speed USB device number 7 using ehci_hcd
[ 7643.313567] usb 1-1: >New USB device found, idVendor=04e8, idProduct=6761
[ 7643.313585] usb 1-1: >New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7643.313598] usb 1-1: >Product: Samsung USB mWiMAX Modem  
[ 7643.313609] usb 1-1: >Manufacturer: SAMSUNG ELECTRONICS Co.Ltd.
[ 7643.320211] scsi5 : usb-storage 1-1:1.1

当我运行 madwimax 命令时,我也没有看到任何错误:

$ madwimax -v
Bus 001 Device 006: ID XXX:XXXX
Device found
Claimed interface
Chip info: cmc730_v2.1
Firmware info: u200_rev1-2.9.50-DA15
MAC: XXXXXXXXXXXXX
Allocated tap interface: wimax0

虽然,我没有看到IP出现在这里。我通常会看到 IP 连接出现,但现在只能在 syslog 中看到,并且由 ipconfig 确认:

$ ifconfig
eth0      Link encap:Ethernet  HWaddr XXXXXXXXXXX  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::201:c0ff:fe05:b366/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65197 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38986 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:80731178 (80.7 MB)  TX bytes:3893255 (3.8 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:1277 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1277 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:304270 (304.2 KB)  TX bytes:304270 (304.2 KB)

wimax0    Link encap:Ethernet  HWaddr XXXXXXXXXXXXXXX  
          inet addr:XXX.XXX.XXX.XXX  Bcast:XXX.XXX.XXX.XXX  Mask:255.255.248.0
          inet6 addr: XXXXXXXXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1386  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:698 (698.0 B)  TX bytes:1082 (1.0 KB)

我还刷新了所有 iptables 规则:

$ iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

如果我将此 USB 调制解调器插入另一台计算机,它就可以正常连接。有人有什么想法吗?

答案1

确保您的默认路由网关正确使用调制解调器的网关。尝试跟踪路由,它是否抱怨没有到主机的路由?

相关内容