Jump to content

Dmitry Fedoseev

Members
  • Posts

    1
  • Joined

  • Last visited

  1. I have Huawei E352 modem switched into NDIS mode: iface wwan0 inet dhcp pre-up /bin/echo -en 'AT^NDISDUP=1,1,"internet"\r\n' > /dev/ttyUSB0 post-down /bin/echo -en 'AT^NDISDUP=1,0\r\n' > /dev/ttyUSB0 root@orangepione-0:~# ip link show dev wwan0 5: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 02:50:f3:00:00:00 brd ff:ff:ff:ff:ff:ff I works: root@orangepione-0:~# ifup wwan0 Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/wwan0/02:50:f3:00:00:00 Sending on LPF/wwan0/02:50:f3:00:00:00 Sending on Socket/fallback DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 6 DHCPREQUEST on wwan0 to 255.255.255.255 port 67 DHCPOFFER from 100.69.222.113 DHCPACK from 100.69.222.113 bound to 100.69.222.116 -- renewal in 2978 seconds. but I can not ping anything: root@orangepione-0:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. ^C --- 8.8.8.8 ping statistics --- 28 packets transmitted, 0 received, 100% packet loss, time 27003ms but I can see the trafic: root@orangepione-0:~# tcpdump -n -i wwan0 icmp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on wwan0, link-type EN10MB (Ethernet), capture size 262144 bytes 17:12:10.868491 IP 100.69.222.116 > 8.8.8.8: ICMP echo request, id 984, seq 11, length 64 17:12:11.235952 IP 8.8.8.8 > 100.69.222.116: ICMP echo reply, id 984, seq 11, length 64 17:12:11.868462 IP 100.69.222.116 > 8.8.8.8: ICMP echo request, id 984, seq 12, length 64 17:12:12.207080 IP 8.8.8.8 > 100.69.222.116: ICMP echo reply, id 984, seq 12, length 64 On Debian Jessie same configuration works perfectly. Which Armbian specific points I miss? Where is trafic lost or blocked?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines