Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

USB 3g modem NDIS mode problem

Featured Replies

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?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.