Jump to content

[modem] Verizon Pantech UML295


Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...