Some hints for your Linux/FreeBSD netbook using the BQ with USB tethering as a router to Internet
#!/bin/sh
#
# change routing (...) to the Ubuntu phone BQ Aqaris E4.5
#
ifconfig ue0 || {
printf "interface ue0 not found -- exit.\n"
exit 1
}
ifconfig wlan0 down
route delete default
killall dhclient
rm -f /etc/resolv.conf
dhclient ue0
# route add default 10.42.0.1
test -f /etc/resolv.conf || {
cat < /etc/resolv.conf
# Generated by ~guru/route2BQ.sh
nameserver 10.42.0.1
EOF
}
/etc/rc.d/sendmail stop
sleep 3
/etc/rc.d/sendmail startLast updated