Darren Kitchen Posted July 26, 2014 Posted July 26, 2014 add to /etc/rc.local "/root/uml295.sh" in /root/uml295.sh include: #!/bin/bash # Pantech Verizon: 10a9/606f/228 if lsusb | grep 10a9:6064 then ifconfig eth1 192.168.32.100 netmask 255.255.255.0 up route del default route add default gw 192.168.32.2 eth1 iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT logger Pineapple.modem: Verizon Pantech UML295 fi Modem connection establishes on boot. Autoconnect must be enabled on the device itself via its web interface. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.